|
@@ -48,23 +48,23 @@ export default {
|
|
doDlowActivityExchange(this.form).then(res => {
|
|
doDlowActivityExchange(this.form).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
|
|
|
|
- this.$refs.popup.open()
|
|
|
|
- this.content = "恭喜获得120G移动数据流量"
|
|
|
|
- this.isShow = true
|
|
|
|
- // if (res.code === 0) {
|
|
|
|
- // this.$refs.popup.open()
|
|
|
|
- // this.content = res.data
|
|
|
|
- // this.isShow = true
|
|
|
|
- // } else {
|
|
|
|
- //
|
|
|
|
- // // console.log(res.data.message)
|
|
|
|
- // uni.showToast({
|
|
|
|
- // title: res.message,
|
|
|
|
- // icon: 'none',
|
|
|
|
- // mask: true,
|
|
|
|
- // duration: 2000
|
|
|
|
- // })
|
|
|
|
- // }
|
|
|
|
|
|
+ // this.$refs.popup.open()
|
|
|
|
+ // this.content = "恭喜获得120G移动数据流量"
|
|
|
|
+ // this.isShow = true
|
|
|
|
+ if (res.code === 0) {
|
|
|
|
+ this.$refs.popup.open()
|
|
|
|
+ this.content = res.data
|
|
|
|
+ this.isShow = true
|
|
|
|
+ } else {
|
|
|
|
+
|
|
|
|
+ // console.log(res.data.message)
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.message,
|
|
|
|
+ icon: 'none',
|
|
|
|
+ mask: true,
|
|
|
|
+ duration: 2000
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
|