修改服务协议名称
This commit is contained in:
parent
e42a52ab29
commit
e53f9cb4f7
|
@ -5,7 +5,7 @@
|
|||
</view>
|
||||
<view class="description">
|
||||
<text class="text">我已阅读并同意</text>
|
||||
<text class="link" @click="utils.toPage('/pages/detail/detail?type=register')">《注册协议》</text>
|
||||
<text class="link" @click="utils.toPage('/pages/detail/detail?type=service')">《服务协议》</text>
|
||||
<text class="link" @click="utils.toPage('/pages/detail/detail?type=privacy')">《隐私政策》</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
@ -144,7 +144,7 @@ export default {
|
|||
return resolve({
|
||||
about: response.data.about,
|
||||
privacy: response.data.xieyi,
|
||||
register: response.data.zhuce,
|
||||
service: response.data.zhuce,
|
||||
serviceMobile: response.data.mobile,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
|||
content: response.data.content,
|
||||
};
|
||||
});
|
||||
} else if (e.type == "about" || e.type == "privacy" || e.type == "register") {
|
||||
} else if (e.type == "about" || e.type == "privacy" || e.type == "service") {
|
||||
await this.$store.dispatch("system/platformData");
|
||||
if (e.type == "about") {
|
||||
this.pageTitle = "关于我们";
|
||||
|
@ -77,8 +77,8 @@ export default {
|
|||
this.pageTitle = "隐私政策";
|
||||
this.info.content = this.platformData.privacy;
|
||||
} else {
|
||||
this.pageTitle = "注册协议";
|
||||
this.info.content = this.platformData.register;
|
||||
this.pageTitle = "服务协议";
|
||||
this.info.content = this.platformData.service;
|
||||
}
|
||||
this.info.content = this.info.content.replace(/\<img/gi, '<img style="max-width:100%;height:auto"');
|
||||
uni.setNavigationBarTitle({
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<text class="iconfont icon-jinru"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="widget-item" @click="toPage('/pages/detail/detail?type=register')">
|
||||
<text class="title limit-line clamp-1">注册协议</text>
|
||||
<view class="widget-item" @click="toPage('/pages/detail/detail?type=service')">
|
||||
<text class="title limit-line clamp-1">服务协议</text>
|
||||
<view class="item-content">
|
||||
<text class="iconfont icon-jinru"></text>
|
||||
</view>
|
||||
|
|
|
@ -8,7 +8,7 @@ export default {
|
|||
platformData: {
|
||||
loaded: false,
|
||||
about: "",
|
||||
privacy: "",
|
||||
service: "",
|
||||
register: "",
|
||||
serviceMobile: "",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue