温馨提示

main
lion 1 year ago
parent b124bad385
commit a21b79d60a

@ -43,7 +43,8 @@
indicatorActiveColor: '#b98b44', indicatorActiveColor: '#b98b44',
currentSwiperIndex: 0, currentSwiperIndex: 0,
form: { form: {
code: '', code: '',
limit_tag:1
}, },
banner3:[] banner3:[]
@ -87,7 +88,7 @@
this.$u.api.getDates(this.form).then(res => { this.$u.api.getDates(this.form).then(res => {
uni.setStorageSync('vuex_card_state', { uni.setStorageSync('vuex_card_state', {
card_number: this.form.card_number, card_number: this.form.card_number,
card: res.card card: res.card,
}) })
uni.navigateTo({ uni.navigateTo({
url: '/packages/card/detail' url: '/packages/card/detail'

@ -357,13 +357,7 @@
this.form.password = uni.getStorageSync("vuex_card") ? uni.getStorageSync("vuex_card").password : '' this.form.password = uni.getStorageSync("vuex_card") ? uni.getStorageSync("vuex_card").password : ''
// uni.removeStorageSync("vuex_card") // uni.removeStorageSync("vuex_card")
} }
//
const configs = uni.getStorageSync("configs")
configs.map(item => {
if (item.key === 'tips') {
this.tips = item.value
}
})
this.getAddress() this.getAddress()
this.getDates() this.getDates()
// this.getExpress() // this.getExpress()
@ -468,7 +462,21 @@
} }
} else { } else {
toast("当前无可提货时间") toast("当前无可提货时间")
} }
//
let product = res.product
if(!isNull(res.product.tip)){
this.tips = res.product.tip
}else{
const configs = uni.getStorageSync("configs")
configs.map(item => {
if (item.key === 'tips') {
this.tips = item.value
}
})
}
}).then(res => { }).then(res => {
}) })

Loading…
Cancel
Save