shish 1 mese fa
parent
commit
ed7d6b5b72

+ 7 - 3
ghsApp/src/admin/billing/index2.vue

@@ -380,11 +380,15 @@ export default {
 			this.cartItemShow = false
 		},
 		/**
-		 * 弹框内清空购物车
+		 * 弹框内清空购物车:确认后再关闭弹框并清除
 		 */
 		clearCartInPopup() {
-			this.cartItemShow = false
-			this.removeFromSave()
+			const that = this
+			that.$util.confirmModal({ content: '确认清除花材?' }, () => {
+				that.cartItemShow = false
+				that.removeFromSaveDirect()
+				that.$msg('已清除')
+			})
 		},
 		/**
 		 * 获取购物车单项单价

+ 1 - 1
hdApp/src/pagesPurchase/components/item.vue

@@ -404,7 +404,7 @@ export default {
 				font-size: 28upx;
 				color: #ff2842;
 				flex: 1;
-				top:60upx;
+				top:64upx;
 				font-weight:550;
 			}
 			& .open-bx {