| | |
| | | <template> |
| | | <view class="box"> |
| | | <view class="item"> |
| | | <view class="item" @click="jumpService(4)"> |
| | | <text>《用户服务协议》</text> |
| | | <image src="/static/icon/ic_ar2@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="item" @click="jumpService(5)"> |
| | | <text>《用户隐私协议》</text> |
| | | <image src="/static/icon/ic_ar2@2x.png" mode="widthFix"></image> |
| | | </view> |
| | |
| | | return { |
| | | show: false |
| | | }; |
| | | }, |
| | | methods: { |
| | | jumpService(flag) { |
| | | uni.navigateTo({ |
| | | url: '/pagesA/pages/rich-text-page/rich-text-page?flag='+flag |
| | | }) |
| | | }, |
| | | loginOut() { |
| | | this.$u.api.logOff() |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | | this.$store.commit('clear') |
| | | uni.switchTab({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |