Browse Source

修改砍价首次进入无法获取数据的问题

zyh
Gaoxs 4 years ago
parent
commit
6bf7005904
  1. 1
      config/index.js
  2. 8
      pages.json
  3. 5
      pages/activity/DargainDetails/index.vue

1
config/index.js

@ -5,4 +5,3 @@ export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api';
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';
export const VUE_APP_RESOURCES_URL = 'https://wx.yixiang.co/static';

8
pages.json

@ -423,12 +423,8 @@
"navigationBarTitleText": "Yshop",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
// #ifndef H5
"navigationStyle": "default",
// #endif
// #ifdef H5
"navigationStyle": "custom"
// #endif
"navigationStyle": "default"
},
"tabBar": {
"color": "#282828",

5
pages/activity/DargainDetails/index.vue

@ -236,10 +236,9 @@
} else {
//
that.bargainId = that.$yroute.query.id;
that.bargainUid = that.$yroute.query.partake || 0
that.bargainUid = that.$yroute.query.partake
}
if (!this.bargainUid) {
if (this.bargainUid == 0 || !this.bargainUid) {
// urluiduid
that.bargainUid = that.userInfo.uid;
}

Loading…
Cancel
Save