diff --git a/buyer/src/pages/shopEntry/ShopEntry.vue b/buyer/src/pages/shopEntry/ShopEntry.vue index 78a7ce54..5d215fb6 100644 --- a/buyer/src/pages/shopEntry/ShopEntry.vue +++ b/buyer/src/pages/shopEntry/ShopEntry.vue @@ -26,7 +26,7 @@ - +
@@ -42,6 +42,7 @@ @@ -180,7 +184,7 @@ export default { max-height: 500px; ::v-deep img{ max-width: 100%; - max-height: 200px; + } } .success-page { diff --git a/im/vue.config.js b/im/vue.config.js index e30c983c..129c00df 100644 --- a/im/vue.config.js +++ b/im/vue.config.js @@ -12,16 +12,11 @@ function resolve(dir) { const assetsCDN = { externals: { vue: 'Vue', - 'vue-router': 'VueRouter', - vuex: 'Vuex', - axios: 'axios', + }, css: [], js: [ - 'https://unpkg.com/vue@2.6.11/dist/vue.min.js', - 'https://unpkg.com/vue-router@3.4.9/dist/vue-router.min.js', - 'https://unpkg.com/vuex@3.5.1/dist/vuex.min.js', - 'https://unpkg.com/axios@0.21.0/dist/axios.min.js', + 'https://cdn.pickmall.cn/cdn/vue.min.js', ], } diff --git a/seller/src/views/shop/modelList/notEnough.vue b/seller/src/views/shop/modelList/notEnough.vue index fc00097a..21356467 100644 --- a/seller/src/views/shop/modelList/notEnough.vue +++ b/seller/src/views/shop/modelList/notEnough.vue @@ -16,7 +16,7 @@

{{item.name}}

- {{item.price | unitPrice('¥')}} + {{item.price | unitPrice('¥')}}

@@ -100,10 +100,10 @@ export default { }, handleSelectGoods(item) { // 调起选择商品弹窗 if(item) this.selected = item; - this.$refs.liliDialog.open('goods', 'single') - setTimeout(() => { - this.$refs.liliDialog.goodsData = [this.selected] - }, 500); + this.$refs.liliDialog.flag = true; + this.$refs.liliDialog.goodsFlag = true; + this.$refs.liliDialog.singleGoods(); + }, // 选择商品回调 selectedGoodsData(val){ @@ -175,16 +175,16 @@ export default { cursor: pointer; } border-right: 1px solid #eee; - + } li:last-of-type{ border: none; } - + .curr{ p:nth-child(1){ background-color: $theme_color; - + color: #fff; } p:nth-child(2){ @@ -223,4 +223,4 @@ export default { } } } - \ No newline at end of file +