Browse Source

新增logo图片
打包编译bug
修复购物车无法删除的问题

yongzonghuang 3 năm trước cách đây
mục cha
commit
bc01e1c8c5

+ 10 - 18
pages/tabbar/cart/components/DeleteModal.vue

@@ -8,7 +8,7 @@
 <template>
   <div class="content">
     <TuiModal
-        :show="show"
+        :show="isShow"
         :custom="true"
         :fadein="true"
     >
@@ -22,7 +22,7 @@
         <view class="flex-display flex-sp-between">
           <view
               class="btn"
-              @click="show = false"
+              @click="$emit('update:showTip',false)"
           >
             点错了
           </view>
@@ -44,26 +44,18 @@ export default {
   name: "DeleteModal",
   components:{TuiModal},
   data() {
-    return {}
-  },
-  model:{
-    prop: 'showDeleteModal',
-    event: 'change'
+    return {
+      isShow:false
+    }
   },
   props:{
-    showDeleteModal:{
-      type:Boolean,
-      default:()=>false
+    showTip:{
+      type:Boolean
     }
   },
-  computed:{
-    show:{
-      get(){
-        return this.showDeleteModal
-      },
-      set(val){
-        this.$emit('change',val)
-      }
+  watch:{
+    showTip(val){
+      this.isShow = val
     }
   },
   methods: {}

+ 3 - 1
pages/tabbar/cart/index.vue

@@ -229,7 +229,7 @@
 
       <!-- 删除确认弹窗 -->
       <DeleteModal
-          v-model="showDeleteModal"
+          :showTip.sync="showDeleteModal"
           @confirm="handleDoDelete"
       ></DeleteModal>
     </view>
@@ -705,6 +705,8 @@ export default {
         icon: 'none'
       })
       this.showDeleteModal = true
+      console.log(123123,this.settleAccountsObj,this.showDeleteModal)
+
     }
     ,
 

+ 1 - 1
pages_category_page1/orderModule/index.vue

@@ -207,7 +207,7 @@ export default {
       this.tabCurrentType = options.type
       this.orderState = options.type
     }
-    // #
+    // #endif
     this.handleRefreshList()
   },
   onReachBottom() {

+ 2 - 2
pages_category_page2/userModule/unsubscribe.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
 		<view class="topbg">
-			<image src="../../static/images/unsubscribeBg.png" mode=""></image>
+			<image src="https://zk-cereshop.oss-cn-shenzhen.aliyuncs.com/z…043464279494de4b8129f5155135d6e_unsubscribeBg.png" mode=""></image>
 		</view>
 		<view class="content-text">
 			<view class="text-align fs32 fs-bold">
@@ -63,7 +63,7 @@
 						url:'unsubscribeCode'
 					})
 				}
-				
+
 			}
 		}
 	}