diff --git a/example/app.json b/example/app.json index 705fe306..1c070cf4 100644 --- a/example/app.json +++ b/example/app.json @@ -97,5 +97,6 @@ "van-collapse": "../../dist/collapse/index", "van-collapse-item": "../../dist/collapse-item/index", "van-picker": "../../dist/picker/index" - } -} + }, + "sitemapLocation": "sitemap.json" +} \ No newline at end of file diff --git a/example/sitemap.json b/example/sitemap.json new file mode 100644 index 00000000..ca02add2 --- /dev/null +++ b/example/sitemap.json @@ -0,0 +1,7 @@ +{ + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", + "rules": [{ + "action": "allow", + "page": "*" + }] +} \ No newline at end of file diff --git a/packages/notice-bar/index.less b/packages/notice-bar/index.less index 4d980fc9..1aac11fd 100644 --- a/packages/notice-bar/index.less +++ b/packages/notice-bar/index.less @@ -12,14 +12,9 @@ } &__left-icon { - height: 18px; - min-width: 20px; - box-sizing: border-box; - - &-image { - width: 16px; - height: 16px; - } + width: 16px; + height: 16px; + margin-right: 4px; } &__right-icon { diff --git a/packages/notice-bar/index.wxml b/packages/notice-bar/index.wxml index d50e0441..85a60b1d 100644 --- a/packages/notice-bar/index.wxml +++ b/packages/notice-bar/index.wxml @@ -4,9 +4,11 @@ style="color: {{ color }}; background-color: {{ backgroundColor }};" bind:tap="onClick" > - - - + {{ text }}