Pārlūkot izejas kodu

Merge branch 'bobo/fix/welfgo-220209' into pre

bobo 3 gadi atpakaļ
vecāks
revīzija
4ffeeda83b

+ 2 - 1
pages/welfareMall/couponFitFood/index.wxss

@@ -52,8 +52,9 @@
     line-height: 46rpx;
 }
 ._pro_item ._star {
-    font-size: 40rpx;
+    font-size: 28rpx;
     vertical-align: middle;
+    margin-right: 8rpx;
 }
 ._pro_item ._text {
     vertical-align: middle;

+ 4 - 8
pages/welfareMall/couponFitStore/index.js

@@ -42,9 +42,7 @@ Page({
                         that.loadStoreListData()
                     },
                     fail() {
-                        wx.navigateBack({
-                          delta: -1,
-                        })
+                        that.loadStoreListData()
                     }
                 })
                 }else {
@@ -63,9 +61,7 @@ Page({
                                     that.loadStoreListData()
                                 },
                                 fail() {
-                                    wx.navigateBack({
-                                        delta: -1,
-                                    })
+                                    that.loadStoreListData()
                                 }
                             })     
                         }
@@ -170,8 +166,8 @@ Page({
     loadStoreListData: function() {
         activity.getStoreListByCoupon({
             couponId: this.data.couponId,
-            latitude: this.data.latitude,
-            longitude: this.data.longitude,
+            latitude: this.data.latitude || null,
+            longitude: this.data.longitude || null,
             page: this.data.page,
             keyword: this.data.keyword,
             pageSize: 10,