增加无忧保页面
This commit is contained in:
parent
fadeb2cf0e
commit
433a407029
|
@ -30,7 +30,7 @@ export default {
|
|||
AppLayout,
|
||||
},
|
||||
onLoad(e) {
|
||||
if (!e.id || !e.type) {
|
||||
if (!e.type) {
|
||||
return this.$utils.toast("参数错误").then(() => {
|
||||
this.$utilst.toPage("", {}, "back");
|
||||
});
|
||||
|
@ -52,6 +52,16 @@ export default {
|
|||
this.$utils.toast(response.msg);
|
||||
}
|
||||
});
|
||||
} else if (e.type == "care") {
|
||||
this.$request({
|
||||
api: "system.carefree",
|
||||
}).then((response) => {
|
||||
this.info = {
|
||||
title: response.msg,
|
||||
date: "",
|
||||
content: response.data.content,
|
||||
};
|
||||
});
|
||||
}
|
||||
},
|
||||
onShow() {},
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<text class="title limit-line clamp-1">我要提现</text>
|
||||
<text class="iconfont icon-jinru"></text>
|
||||
</view>
|
||||
<view class="widget-item" @click="showCarefree">
|
||||
<view class="widget-item" @click="toPage('/pages/detail/detail?type=care')">
|
||||
<text class="title limit-line clamp-1">服务无忧保</text>
|
||||
<text class="iconfont icon-jinru"></text>
|
||||
</view>
|
||||
|
@ -183,15 +183,7 @@ export default {
|
|||
}
|
||||
this.$utils.toPage(url);
|
||||
},
|
||||
showCarefree() {
|
||||
// this.showCarefreeModal = true;
|
||||
// this.$request({
|
||||
// api: "system.carefree",
|
||||
// }).then((response) => {
|
||||
// this.carefreeContent = response.data.content;
|
||||
// });
|
||||
},
|
||||
setServiceState(state) {
|
||||
setServiceState() {
|
||||
this.$models.user.setServiceState().then(async () => {
|
||||
await this.$store.dispatch("user/info", true);
|
||||
this.acceptState = this.acceptOrder;
|
||||
|
|
Loading…
Reference in New Issue