From 5136f8b3ddeaaf7f70c18a80c9e5d8b53b44ef84 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Fri, 22 Dec 2023 14:31:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E7=AB=AF=E6=A5=BC=E5=B1=82=E8=A3=85=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/shop/modelList/notEnough.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 +