| | |
| | | import kkIcon from '@/static/imgs/icons/kk.png' |
| | | import addAddress from "@/pages/quanyi/components/addAddress"; |
| | | import agreement from "@/pages/quanyi/components/agreement"; |
| | | |
| | | import textBox from "@/components/textBox/index.vue"; |
| | | export default { |
| | | name: "add", |
| | | components: { |
| | | addAddress,agreement |
| | | addAddress,agreement,textBox |
| | | }, |
| | | data() { |
| | | return { |
| | | getPlatformProtocolNewList:[], |
| | | showTextBox: false, |
| | | loginAct: false, |
| | | $webHost:'https://rbb98765.zrgy-bbg.com', |
| | | protocolChecked: [1], |
| | |
| | | }) |
| | | |
| | | |
| | | 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) { |
| | | _this.getPlatformProtocolNewList = res.data.data; |
| | | _this.showTextBox = true; |
| | | _this.$nextTick(() => { |
| | | _this.$refs.textBox && _this.$refs.textBox.open() |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | kk(){ |
| | |
| | | </uv-popup> |
| | | |
| | | |
| | | <text-box v-if="showTextBox" ref="textBox" :getPlatformProtocolNewList="getPlatformProtocolNewList"></text-box> |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | padding-top: 40rpx; |
| | | .clo{ |
| | | display: flex; |
| | | padding: 30rpx 0rpx; |
| | | margin: 0 40rpx; |
| | | |
| | | background: #FBFBFB !important; |
| | | border-radius: 24rpx 24rpx 24rpx 24rpx; |
| | | border: 2rpx solid #EEEEEE; |
| | | padding: 30rpx 20rpx; |
| | | margin-bottom: 40rpx; |
| | | margin: 0 40rpx 40rpx; |
| | | |
| | | .label{ |
| | | width: 160rpx; |
| | | height: 40rpx; |
| | |
| | | }, |
| | | method: 'GET', |
| | | success(res) { |
| | | console.log(111,res.data.data); |
| | | _this.list = res.data.data; |
| | | } |
| | | }) |
| | |
| | | <script> |
| | | |
| | | |
| | | import textBox from "@/components/textBox/index.vue"; |
| | | export default { |
| | | components: { |
| | | textBox |
| | | }, |
| | | |
| | | async created() { |
| | | const _this = this; |
| | | |
| | | await uni.request({ |
| | | url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone, |
| | | data:{ |
| | |
| | | success:function (info){ |
| | | _this.memberPeriodConfigInfo = info.data.data; |
| | | uni.setStorageSync('memberPeriodConfigInfo',_this.memberPeriodConfigInfo) |
| | | _this.showTextBox = true; |
| | | _this.$nextTick(() => { |
| | | _this.$refs.textBox && _this.$refs.textBox.open() |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | qxgLogin:{}, |
| | | protocolChecked: [0], |
| | | isAgree: false, |
| | | showTextBox: false, |
| | | tm: null, |
| | | time:null, |
| | | text:10, |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | goHome(){ |
| | | uni.switchTab({ |
| | |
| | | |
| | | </view> |
| | | </view> |
| | | <textBox v-if="showTextBox" ref="textBox" :code="memberPeriodConfigInfo.protocolCode" :title="memberPeriodConfigInfo.protocolName"></textBox> |
| | | </view> |
| | | </template> |
| | | |