about page add phone number
This commit is contained in:
parent
51c6a3b820
commit
5b89988e4d
@ -17,7 +17,7 @@
|
||||
</view>
|
||||
<view>
|
||||
<text class="title">联系我们</text>
|
||||
<text class="tips">0539-09875421</text>
|
||||
<text class="tips">{{ phoneNumber }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -29,10 +29,12 @@ export default {
|
||||
version: '',
|
||||
phone_type: "",
|
||||
status: '',
|
||||
phoneNumber: '',
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.getVersion();
|
||||
this.getPhone();
|
||||
this.phone_type = this.$u.os();
|
||||
},
|
||||
methods: {
|
||||
@ -46,6 +48,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getPhone() {
|
||||
this.$u.api.getConfigInfo({
|
||||
code: 'site_tel400'
|
||||
}).then(res => {
|
||||
this.phoneNumber = res.data.config.value;
|
||||
})
|
||||
},
|
||||
viewAboutUs() {
|
||||
this.$u.route('/pageE/mine/ArticleDetails', {
|
||||
type: 2
|
||||
|
Loading…
Reference in New Issue
Block a user