| | |
| | | data() { |
| | | return { |
| | | list: [], |
| | | $webHost:'https://rbb98765.zrgy-bbg.com', |
| | | } |
| | | }, |
| | | created() { |
| | | const _this = this; |
| | | uni.request( { |
| | | url: _this.$webHost + "/api/v2/renpin/H5/getPlatformProtocolNew", |
| | | data: { |
| | | customerId: uni.getStorageSync('ygxLogin').customerId, |
| | | appId: uni.getStorageSync('ygxLogin').appId |
| | | }, |
| | | method: 'GET', |
| | | success(res) { |
| | | console.log(111,res.data.data); |
| | | 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({ |
| | |
| | | zIndex="3"> |
| | | <uv-cell-group> |
| | | <view class="popup-title"> |
| | | <view style="margin: auto;text-align: center;padding: 20rpx;">请阅读以下协议</view> |
| | | <view>请阅读以下协议</view> |
| | | </view> |
| | | <view class="setting-list-item"> |
| | | <view |
| | | class="setting-text" |
| | | style="font-size: 32rpx; font-weight: bold; justify-content: left;padding-left: 30rpx;" |
| | | style="font-size: 32rpx; font-weight: bold; justify-content: left" |
| | | >平台服务协议</view |
| | | > |
| | | </view> |
| | | <view class="list" style="height: 51vh;overflow: scroll;"> |
| | | <view class="list" style="height: 50vh;"> |
| | | <view class="li" @click="toProtocol(item)" v-for="(item,index) in list" :key="index" > |
| | | |
| | | <view style="font-size: 30rpx">{{item.name}}</view> |
| | |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: center; |
| | | |
| | | margin: auto; |
| | | margin-top: 38rpx; |
| | | text-align: center; |
| | | } |
| | | .setting-list-item { |
| | | display: flex; |