yfx
2026-03-13 07d0d98b4e0e3a33a64252d29e86ba55500a887d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<script>
 
 
export default {
 
  async  created() {
    const _this = this;
    await uni.request({
      url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
      success: function (res) {
        _this.qxgLogin = res.data.data;
        uni.setStorageSync('qxgLogin',_this.qxgLogin)
        uni.request({
          url: _this.$webHost+'/api/v2/buryingPoint/record',
          method:'PUT',
          data:{
            businessType:4,
            appId:res.data.data.appId,
            customerId:res.data.data.customerId,
          }
        })
 
 
        uni.request({
          url: _this.$webHost+'/api/v2/pay/memberPeriodConfigInfo',
          data:{
            appId:res.data.data.appId,
            customerId:res.data.data.customerId,
            orderNo:res.data.data.orderNo,
          },
          success:function (info){
            _this.memberPeriodConfigInfo = info.data.data;
            uni.setStorageSync('memberPeriodConfigInfo',_this.memberPeriodConfigInfo)
          }
        })
      }
    })
 
    let mk =  setInterval(()=>{
      this.text -=1;
      if(!this.text){
        clearInterval( mk)
      }
    },1000)
    this.time= setTimeout(()=>{
      this.protocolChecked =  [1];
      this.tm = true;
      this.isAgree = true;
    },10000)
 
  },
 
  data() {
    return  {
      qxgLogin:{},
      protocolChecked: [0],
      isAgree: false,
      tm: null,
      time:null,
      text:10,
      memberPeriodConfigInfo: {
        totalBenefitsAmount: "",
        installmentPeriods: "",
      }
    }
  },
  methods: {
    goHome(){
      uni.switchTab({
        url: '/pages/index/index'
      });
    },
    toWeb(){
      uni.navigateTo({
        url: '/pages/web/index'
      })
    },
 
    link(url) {
      uni.navigateTo({
        url
      })
    },
 
 
    submit(){
 
 
      const _this = this;
      if(!this.isAgree) {
        uni.showToast({
          title: '请阅读并同意协议',
          icon: 'none'
        })
        return;
      }
      uni.navigateTo({
        url: '/pages/quanyi/add'
      })
 
 
 
 
 
    }
  },
  watch:{
    protocolChecked(val) {
      this.tm = true;
      if(this.time){
        clearTimeout(this.time)
      }
    }
  }
 
}
</script>
 
<template>
  <view style="background-image: url('/static/imgs/QYBACKA.png');background-repeat: no-repeat;background-size: 100% 100%;background-color: #FFF4FA;">
 
    <view class="head" style="position: relative">
      <view style="display: flex;justify-content: flex-start;z-index: 9">
        <view  @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back icon-shouye4" :style="{ height:  '20rpx',lineHeight:  '80rpx'}" ></view>
      </view>
 
      <view style="margin-left: 20rpx;display: flex;justify-content: space-between;">
 
        <view>
          <view style="margin-top: 60rpx;"><image src="/static/imgs/SMTTA.png" style="width: 378rpx;height: 88rpx;"></image></view>
 
          <view style="margin-top: 10rpx;">
            <image src="/static/imgs/QQXGLK.png" style="width: 178rpx;height: 54rpx;"></image>
          </view>
        </view>
        <view>
          <image src="/static/imgs/VIPSOA.png" style="width: 272rpx;height: 272rpx;"></image>
        </view>
      </view>
 
    </view>
    <view class="content" style="overflow-y: scroll;padding:  30rpx;padding-top: 0;margin-top: -30rpx;">
      <view class="tips" style="font-size: 28rpx;padding: 28rpx 32rpx;background-image: url('/static/imgs/TIPSBACK.png');background-repeat: no-repeat;background-size: 100% 100%;padding-bottom: 32rpx;">
        <view style="font-size: 28rpx;color: #333333">① {{memberPeriodConfigInfo.showTitle}}商城会员年卡是本商城为会员特别打造的专属服务。成为会员后,您可享受各类商品折扣、促销优惠、生活权益及专属特权,并根据会员等级获赠相应超值礼品,体验我们为您准备的尊享会员服务。</view>
        <view style="font-size: 28rpx;color: #333333">② 保险权益赠送:{{memberPeriodConfigInfo.showTitle}}商城会员年卡用户有机会获赠涵盖重疾险、意外险、事故险等的综合保障服务。尚未享受持牌机构服务的会员,亦有机会获取此项权益,具体详情请查阅会员中心相关说明。</view>
        <view style="font-size: 28rpx;color: #333333">③ 平台保留根据实际情况新增或优化会员权益内容的权利。</view>
      </view>
 
 
      <view  class="QXFJH"  style="background-image: url('/static/imgs/QXFJH.png');background-size: 100% 100%;text-align: center;background-repeat: no-repeat;padding: 28rpx 0;margin-top: 18rpx;margin-bottom: 16rpx;color: #333333;line-height: 48rpx;">
        <view style="font-weight: 600;">{{memberPeriodConfigInfo.showTitle}}商城会员专享特权</view>
 
        <view>年卡费用:{{memberPeriodConfigInfo.totalBenefitsAmount }}元/年</view>
        <view>支付期数:{{memberPeriodConfigInfo.installmentPeriods }}期</view>
        <!--        <view>支付期数:{{memberPeriodConfigInfo.installmentPeriods }}期(每期{{memberPeriodConfigInfo.totalBenefitsAmount / memberPeriodConfigInfo.installmentPeriods}}元)</view>-->
 
 
      </view>
 
      <view style="font-size: 22rpx;padding: 36rpx 32rpx 24rpx 32rpx;background-image: url('/static/imgs/CLOSAN.png');background-repeat: no-repeat;background-size: 100% 100%;margin-bottom: 32rpx;">
        <view style="font-size: 24rpx;margin-bottom: 30rpx;color: #333333">会员先享后付,包年会员服务、免息,购买成功后可在个人中心查看订单详情。会员服务开通成功不支持取消、退款。</view>
        <view style="font-size: 24rpx;color: #333333">点击按钮即表示知晓并同意以上内容,自愿加入本商城年卡会员,且同意平台及平台权益合作方在账单日收入会员费。</view>
      </view>
 
 
 
 
      <view style="display: flex;gap: 20rpx;">
        <button
            style="height: 100rpx;color: #666666;border-radius: 24rpx;font-size: 34rpx;line-height: 100rpx;width: 170rpx;background-color: unset;"
            @click="goHome"
        >暂不开通</button>
        <button
            style="height: 100rpx;color: white;border-radius: 24rpx;font-size: 34rpx;line-height: 100rpx;flex: 1;"
            :disabled="!tm"
            @click="submit"
 
            :class="tm &&protocolChecked.length?'activityBut':'disabledBut'"
        >同意并开通<text v-if="!tm">({{text}}秒)</text></button>
      </view>
      <view style="display: flex;margin-top: 20rpx;display: flex;font-weight: 600;">
        <uv-checkbox-group activeColor="#FF1472"   @change='isAgree=!isAgree'  >
          <uv-checkbox  :checked="isAgree ? true : false" activeColor="#FF1472" iconSize="14" size="16" :name="1" shape="circle">
          </uv-checkbox>
          <view style="font-size: 24rpx;color: #8B8D96">我已阅读并同意<text style="display: inline;font-size: 24rpx;color: #4766FE" @click="link(`/pages/web/xieyi?code=${memberPeriodConfigInfo.protocolCode}&title=${memberPeriodConfigInfo.protocolName}`)">{{ memberPeriodConfigInfo.protocolName }}</text></view>
        </uv-checkbox-group>
 
      </view>
    </view>
  </view>
</template>
 
<style scoped lang="scss">
.activityBut{
  background: #FF1472;
  font-weight: 600;
}
.disabledBut{
  background: #666666;
  font-weight: 600;
}
.disabledBut{
  background: #999 !important;
}
.head{
  padding: 30rpx 10rpx 0 30rpx;
 
  font-size: 32rpx;
  color: #252938;
  .title{
    display: flex;
    flex-direction: row;
    text-align: center;
    color: #252938;
    font-size: 32rpx;
    font-weight: bold;
    .num{
      color: #4766FE;
      display: contents;
    }
  }
  .tips{
    color: #666666;
    font-size: 26rpx;
    margin-bottom: 115rpx;
  }
 
}
 
.content{
  .pt40{
    padding-top: 40rpx;
  }
  .mr{
    margin-right: 20rpx;
  }
  .tips{
    position: relative;
    &::after{
      content: '';
      display: block;
      position: absolute;
      bottom: -38rpx;
      right: 22rpx;
      width: 14rpx;
      height: 62rpx;
      background: #FFD3DD;
      border-radius: 78rpx 78rpx 78rpx 78rpx;
      z-index: 2;
    }
    &::before{
      content: '';
      display: block;
      position: absolute;
      bottom: -38rpx;
      width: 14rpx;
      height: 62rpx;
      background: #FFD3DD;
      border-radius: 78rpx 78rpx 78rpx 78rpx;
      z-index: 2;
    }
  }
}
.QXFJH{
  position: relative;
  &::after{
    content: '';
    display: block;
    position: absolute;
    bottom: -38rpx;
    right: 22rpx;
    width: 14rpx;
    height: 62rpx;
    background: #FFD3DD;
    border-radius: 78rpx 78rpx 78rpx 78rpx;
    z-index: 2;
  }
  &::before{
    content: '';
    display: block;
    position: absolute;
    bottom: -38rpx;
    width: 14rpx;
    height: 62rpx;
    left: 32rpx;
    background: #FFD3DD;
    border-radius: 78rpx 78rpx 78rpx 78rpx;
    z-index: 2;
  }
}
.back{
 
  background-image: url("/static/imgs/ba.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 22rpx 30rpx;
  display: flex;
  flex-direction: row;
}
 
</style>