فهرست منبع

修复ios微信支付bug

huanggang 7 سال پیش
والد
کامیت
2021f7ef78

+ 13 - 13
src/components/blocks/HomeGrid.vue

@@ -42,17 +42,17 @@
     }
 </script>
 <style>
-    .brand_list:last-child:before {
-        content: " ";
-        position: absolute;
-        left: 100%;
-        top: 0;
-        width: 1px;
-        border-left: 1px solid #C7C7C7;
-        color: #C7C7C7;
-        -webkit-transform-origin: 0 0;
-        transform-origin: 0 0;
-        -webkit-transform: scaleX(0.5);
-        transform: scaleX(0.5);
-    }
+    /*.brand_list:last-child:before {*/
+        /*content: " ";*/
+        /*position: absolute;*/
+        /*left: 100%;*/
+        /*top: 0;*/
+        /*width: 1px;*/
+        /*border-left: 1px solid #C7C7C7;*/
+        /*color: #C7C7C7;*/
+        /*-webkit-transform-origin: 0 0;*/
+        /*transform-origin: 0 0;*/
+        /*-webkit-transform: scaleX(0.5);*/
+        /*transform: scaleX(0.5);*/
+    /*}*/
 </style>

+ 1 - 1
src/components/blocks/goods_item.vue

@@ -23,7 +23,7 @@
                     <div class="price_box" v-if="summery['act_type'] == 1">
                         <p class="text_right desc">专柜价{{summery["goods_price"]}}</p>
                         <div>
-                            <span class="f_left desc" style="margin-top: 20px;position: relative;top: 4px;">仅剩{{grouptime}}天</span>
+                            <span class="f_left desc" style="margin-top: 20px;position: relative;top: 3px;">仅剩{{grouptime}}天</span>
                             <div class="f_right">
                                 <span class="desc groupbuy_label">抢购特价</span>
                                 <span class="bonus_price">¥{{parseFloat(summery["goods_promotion_price"])}}</span>

+ 1 - 1
src/components/blocks/goods_list.vue

@@ -18,7 +18,7 @@
         },
         computed:{
             specialGoodsStyle(){
-                if(this.$route.query['is_special'] == 'false') {
+                if(this.$route.query['is_special'] == 'false' || this.$route.query['is_special'] == false) {
                     return true;
                 }
             }

+ 3 - 1
src/components/confirm_order/confirm_order.vue

@@ -127,7 +127,9 @@
                         position: 'middle',
                         width: '600px'
                     });
-                    this.$router.go(-1);
+                    setTimeout(()=>{
+                        this.$router.go(-1);
+                    },400);
                 }
                 else {
                     this.datas = res.body['datas'];

+ 7 - 3
src/components/goods/goods_detail.vue

@@ -257,9 +257,13 @@
                         this.$store.commit('updateLoadingStatus', {isLoading: false});
                 })
                 }
-                else {
-                    this.$router.push({path:'/confirm_order',query:{goods_id:goods_id,iscart:0,num:this.goodsNumber}});
-                }
+                else if(navigator.userAgent.match(/iPhone|iPad|iPod/i)){
+                        let host = window.location.protocol + '//' + window.location.host;
+                        window.location.href = host = "/confirm_order?goods_id="+goods_id+"&iscart=0&num="+this.goodsNumber;
+                    }
+                    else {
+                        this.$router.push({path:'/confirm_order',query:{goods_id:goods_id,iscart:0,num:this.goodsNumber}});
+                    }
             },
             goods_num_handle(type,goods_storage,act_type){
                if(act_type !== 0) {

+ 4 - 0
src/components/main/shop-car/shopping_cart.vue

@@ -279,6 +279,10 @@
                         width: '600px'
                     });
                 }
+                else if (navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
+                    let host = window.location.protocol + '//' + window.location.host;
+                    window.location.href = host = "/confirm_order?cart_id=" + carts_items + "&iscart=1";
+                }
                 else {
                     this.$router.push({path: '/confirm_order', query: {iscart: 1, cart_id: carts_items}});
                 }