2024/09/26多门店版本提交

main
LGX 2 months ago
parent 929729816b
commit 99518a47e3
  1. 19
      pages/annex/vip_paid/index.vue
  2. 8
      pages/index/index.vue
  3. 3
      utils/request.js

@ -171,9 +171,9 @@
<view class="popupboxtitle">
{{guzkneirong.title}}
</view>
<view class="neir" v-html="guzkneirong.content">
<scroll-view class="neir" scroll-y="true" style="" v-html="guzkneirong.content">
<!-- {{guzkneirong.content}} -->
</view>
</scroll-view>
</view>
</uni-popup>
</view>
@ -317,7 +317,8 @@
discountId:this.newcomer_products[this.libaoindex].id,
member_type: this.memberType[this.tykindex].id
};
postCartAdd(data).then(res => {
postCartAdd(data)
.then(res => {
console.log(987, res);
uni.navigateTo({
url: '/pages/goods/order_confirm/index?huiyuanka=1&product_id=""&discountInfos' +
@ -328,7 +329,11 @@
.tykindex].price +
'&vipprice=' + this.memberType[this.tykindex].pre_price+'&member_type=' + this.memberType[this.tykindex].id
})
})
}).catch(res => {
this.$util.Tips({
title: res
});
});
} else {
this.$util.Tips({
@ -618,6 +623,12 @@
height: 400px;
overflow-y: auto;
}
.neir ::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
}
.fotbut {

@ -448,10 +448,10 @@
onShow() {
this.getLocation()
if (this.cartNum > 0) {
// uni.setTabBarBadge({
// index: 3,
// text: this.cartNum > 99 ? '99+' : this.cartNum + ''
// })
uni.setTabBarBadge({
index: 2,
text: this.cartNum > 99 ? '99+' : this.cartNum + ''
})
uni.hideTabBarRedDot({
index: 3
})

@ -67,7 +67,7 @@ function baseRequest(url, method, data, {
header: header,
data: data || {},
success: (res) => {
console.log(res);
if (res.data.data && res.data.gzde === 1) {
try{
res.data.data = JSON.parse(decompress(res.data.data));
@ -107,6 +107,7 @@ function baseRequest(url, method, data, {
} else if(res.data.status == 403){
reject(res.data);
} else
console.log(res.data.msg)
reject(res.data.msg || '系统错误');
},
fail: (msg) => {

Loading…
Cancel
Save