| | |
| | | const _this = this; |
| | | uni.request( { |
| | | url: _this.$webHost + "/api/v2/renpin/H5/getPlatformProtocolNew", |
| | | data: { |
| | | customerId: uni.getStorageSync('qxgLogin').customerId, |
| | | appId: uni.getStorageSync('qxgLogin').appId |
| | | }, |
| | | method: 'GET', |
| | | success(res) { |
| | | console.log(res.data.data); |
| | | _this.list = res.data.data; |
| | | } |
| | | }) |
| | |
| | | this.$refs.agreement.open(); |
| | | }, |
| | | toProtocol(e){ |
| | | console.log(e); |
| | | let title = e.name; |
| | | let code = e.code; |
| | | uni.navigateTo({ |
| | |
| | | >平台服务协议</view |
| | | > |
| | | </view> |
| | | <view class="list" style="height: 50vh;"> |
| | | <view class="list" style="height: 50vh;overflow: scroll;"> |
| | | <view class="li" @click="toProtocol(item)" v-for="(item,index) in list" :key="index" > |
| | | |
| | | <view style="font-size: 30rpx">{{item.name}}</view> |