diff --git a/src/components/sidebar-view/index.vue b/src/components/sidebar-view/index.vue index 098e065..649d707 100644 --- a/src/components/sidebar-view/index.vue +++ b/src/components/sidebar-view/index.vue @@ -39,7 +39,7 @@ function isCurrent(index) { - + diff --git a/src/components/tab-view/index.vue b/src/components/tab-view/index.vue index 213d25e..5614796 100644 --- a/src/components/tab-view/index.vue +++ b/src/components/tab-view/index.vue @@ -3,6 +3,7 @@ import {reactive} from "vue"; import {onLoad} from "@dcloudio/uni-app"; import SidebarView from "@/components/sidebar-view/index.vue" import Item from "@/components/tab-view/components/item"; + const props = defineProps({ tabs: { type: Array, @@ -58,25 +59,27 @@ onLoad(() => { - - - - + + @@ -85,5 +88,7 @@ onLoad(() => { diff --git a/src/manifest.json b/src/manifest.json index 5493523..ced93b1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -60,7 +60,9 @@ "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位 } - } + }, + "mergeVirtualHostAttributes": true, + "scopedSlotsCompiler": "augmented" }, "mp-alipay" : { "usingComponents" : true diff --git a/src/pages/commodity/commodity.vue b/src/pages/commodity/commodity.vue index 5fe4654..b604188 100644 --- a/src/pages/commodity/commodity.vue +++ b/src/pages/commodity/commodity.vue @@ -2,18 +2,38 @@ - + - + - + @@ -22,10 +42,13 @@ diff --git a/src/pages/commodity/components/comments/index.vue b/src/pages/commodity/components/comments/index.vue new file mode 100644 index 0000000..d9d9500 --- /dev/null +++ b/src/pages/commodity/components/comments/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/commodity/components/shop-title.vue b/src/pages/commodity/components/shop-title/index.vue similarity index 100% rename from src/pages/commodity/components/shop-title.vue rename to src/pages/commodity/components/shop-title/index.vue