fixed bug 8.11
This commit is contained in:
parent
003bc07c6b
commit
4739ef71a9
@ -353,7 +353,12 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
type: res.errCode == 0 ? 'success' : 'warning',
|
duration: 1000,
|
||||||
|
callback: () => {
|
||||||
|
if(res.errCode == 0) {
|
||||||
|
this.showSpec = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -495,6 +500,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$u.api.settlementOrder(params).then(res => {
|
this.$u.api.settlementOrder(params).then(res => {
|
||||||
if(res.errCode == 0) {
|
if(res.errCode == 0) {
|
||||||
|
// console.log('type' + this.type);
|
||||||
this.$store.commit('setOrderType', this.type);
|
this.$store.commit('setOrderType', this.type);
|
||||||
this.$store.commit('updateOrderInfo', res.data)
|
this.$store.commit('updateOrderInfo', res.data)
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
|
@ -148,7 +148,7 @@ export default {
|
|||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.orderType = this.$store.state.orderType;
|
this.orderType = this.$store.state.orderType;
|
||||||
this.orderInfo = this.$store.state.orderInfo;
|
this.orderInfo = this.$store.state.orderInfo;
|
||||||
// console.log(this.orderType);
|
console.log('orderType' + this.orderType);
|
||||||
// console.log(this.orderInfo);
|
// console.log(this.orderInfo);
|
||||||
this.getGoodsClass();
|
this.getGoodsClass();
|
||||||
this.setTotalPrice();
|
this.setTotalPrice();
|
||||||
@ -204,6 +204,8 @@ export default {
|
|||||||
this.withImmediate();
|
this.withImmediate();
|
||||||
} else if(this.orderType == 1) {
|
} else if(this.orderType == 1) {
|
||||||
this.sendOrder(0);
|
this.sendOrder(0);
|
||||||
|
} else if(this.orderType == 3) {
|
||||||
|
this.sendOrder(0);
|
||||||
} else {
|
} else {
|
||||||
this.sendOrder(1);
|
this.sendOrder(1);
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
switchCurrent(current) {
|
switchCurrent(current) {
|
||||||
if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
|
if(current == 3 && this.current == 3) this.priceOrderAsc = !this.priceOrderAsc;
|
||||||
this.current = current;
|
this.current = current;
|
||||||
},
|
},
|
||||||
setViewHeight() {
|
setViewHeight() {
|
||||||
|
@ -98,7 +98,7 @@ export default {
|
|||||||
},
|
},
|
||||||
onNavigationBarButtonTap(e) {
|
onNavigationBarButtonTap(e) {
|
||||||
if( e.index == 0 ) uni.navigateBack();
|
if( e.index == 0 ) uni.navigateBack();
|
||||||
if( e.index == 1 ) this.customers();
|
// if( e.index == 1 ) this.customers();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customers(){
|
customers(){
|
||||||
|
@ -46,7 +46,7 @@ export default {
|
|||||||
this.$u.api.getMemberPointsStat().then((res)=>{
|
this.$u.api.getMemberPointsStat().then((res)=>{
|
||||||
if (res.errCode == 0) {
|
if (res.errCode == 0) {
|
||||||
this.memberInfo = res.data;
|
this.memberInfo = res.data;
|
||||||
this.nodes = common.unescapeHTML(this.memberInfo.points_rule);
|
this.nodes = common.unescapeHTML(this.memberInfo.points_rule.document_content);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
14
pages.json
14
pages.json
@ -881,14 +881,14 @@
|
|||||||
"text":"取消",
|
"text":"取消",
|
||||||
"float":"left",
|
"float":"left",
|
||||||
"fontSize":"14"
|
"fontSize":"14"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"none",
|
|
||||||
"text":"\ue62d",
|
|
||||||
"float":"right",
|
|
||||||
"fontSrc": "/static/fonts/customer.ttf",
|
|
||||||
"fontSize":"20"
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// "type":"none",
|
||||||
|
// "text":"\ue62d",
|
||||||
|
// "float":"right",
|
||||||
|
// "fontSrc": "/static/fonts/customer.ttf",
|
||||||
|
// "fontSize":"20"
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
<view>收货地址</view>
|
<view>收货地址</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="toOtherPage('/more/AfterSalesHelp')">
|
<view @click="toOtherPage('/more/AfterSalesHelp')">
|
||||||
<image src="/static/image/mine/9.png"></image>
|
<image src="/static/image/mine/38.png"></image>
|
||||||
<view>售后政策</view>
|
<view>售后政策</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="toOtherPage('/more/MineHelp')">
|
<view @click="toOtherPage('/more/MineHelp')">
|
||||||
|
BIN
static/image/mine/38.png
Normal file
BIN
static/image/mine/38.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
Loading…
Reference in New Issue
Block a user