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 +