Przeglądaj źródła

fix: 调整部分功能模块

wenxingxing 12 godzin temu
rodzic
commit
f8be2740be
3 zmienionych plików z 6 dodań i 2 usunięć
  1. 1 1
      api/coupon.js
  2. 1 1
      pages_mall/cart.vue
  3. 4 0
      pages_user/user/storeProductRelation.vue

+ 1 - 1
api/coupon.js

@@ -22,7 +22,7 @@ export function receive(data) {
 	return request('/app/coupon/receive', data, 'POST', 'application/json;charset=UTF-8');
 }
 export function getMyCouponList(data) {
-	return request('/app/coupon/getMyCouponList', data, 'GET');
+	return request('/store/app/coupon/getMyCouponList', data, 'GET');
 }
 export function getMyEnableCouponList(data) {
 	return request('/store/app/coupon/getMyEnableCouponList', data, 'GET');

+ 1 - 1
pages_mall/cart.vue

@@ -11,7 +11,7 @@
 			</view>
 		</view> -->
 
-		<scroll-view scroll-y class="cart-scroll" :style="{marginTop: (statusBarHeight + 44) + 'px'}">
+		<scroll-view scroll-y class="cart-scroll" :style="{marginTop: (statusBarHeight) + 'px'}">
 			<view class="cart-list">
 				<view v-if="carts.length === 0" class="empty-cart">
 					<image src="/static/images/empty.png" mode="aspectFit"

+ 4 - 0
pages_user/user/storeProductRelation.vue

@@ -50,6 +50,10 @@
 						tip: '暂无数据'
 					}
 				},
+				downOption: {   //下拉刷新
+				 	use:true,
+					auto: false // 不自动加载 (mixin已处理第一个tab触发downCallback)
+				},
 				// 列表数据
 				dataList: [],
 			};