宜呗小程序--微信小程序
Lzk
2025-08-05 b7bcaf556aa2424e808b6e6426ab22df9cfe11c1
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
<script>
import {vipBuy, vipList} from "@/api/modules/user";
 
export default {
  name: "index",
  data() {
    return {
      li:[
        {
          img:this.$images+'/static/img/vip/buy1.png',
          title:'多家资金匹配',
          text:' <div style="font-size: 14px; color: rgba(154, 145, 137, 1);">通过率<span style="  color: rgba(255, 124, 0, 1);">更高</span></div>'
        },
        {
          img:this.$images+'/static/img/vip/buy2.png',
          title:'多渠道匹配',
          text:' <div style="font-size: 14px; color: rgba(154, 145, 137, 1);">会员<span style="  color: rgba(255, 124, 0, 1);">1V1服务</span></div>'
        },
        {
          img:this.$images+'/static/img/vip/buy3.png',
          title:'多重福利',
          text:' <div style="font-size: 14px; color: rgba(154, 145, 137, 1);">会员<span style="  color: rgba(255, 124, 0, 1);">1000+</span>福利</div>'
        },
        {
          img:this.$images+'/static/img/vip/buy4.png',
          title:'专享信贷产品',
          text:' <div style="font-size: 14px; color: rgba(154, 145, 137, 1);"> <span style="  color: rgba(255, 124, 0, 1);">会员专享</span>福利</div>'
        },
        {
          img:this.$images+'/static/img/vip/buy5.png',
          title:'加速审核进度',
          text:' <div style="font-size: 14px; color: rgba(154, 145, 137, 1);">时效提高<span style="  color: rgba(255, 124, 0, 1);">90%</span></div>'
        },
      ]
    };
  },
  onShow() {
    uni.removeStorageSync('CHECK_BY_PAYMENT')
  },
  created() {
    vipList()
  },
  methods: {
    handleToPurchase(){
      uni.showLoading({
        title: '请稍候...',
        mask: true,
      })
      vipBuy('61d80a027901c147f4db8642')
    },
    toProtocol(){
      let title = '会员相关协议';
      let code = 'MEMBER_SERVICE_AGREEMENT_APP_KDN';
      uni.navigateTo({
        url: `/pages/protocol/index?code=${code}&title=${title}`
      });
    }
  }
}
</script>
 
<template>
  <view class="content">
    <view class="main-vip">
      <view class="li" v-for="(item,index) in li" :key="index">
        <view>
          <image style="width: 84rpx;height: 84rpx;margin-right: 16rpx;" :src="item.img"></image>
        </view>
        <view>
          <view style=" color: rgba(244, 218, 177, 1);margin-bottom: 10rpx;">{{item.title}}</view>
          <view style="display: flex;flex-direction: row;font-size: 30rpx">
            <rich-text :nodes="item.text"></rich-text>
          </view>
        </view>
      </view>
    </view>
    <view class="tips">
      <view class="title">
        <view style="display: flex;justify-content: center"><image class="dio"  :src="`${$images}/static/img/vip/juxing.png`"></image></view>
        特别提醒
        <view style="display: flex;justify-content: center"><image class="dio"  :src="`${$images}/static/img/vip/juxing.png`"></image></view>
      </view>
      <view class="cnt">
        购买会员后,我们将推送给你“预审通过的信贷产品”,您可以在本APP中完成贷款操作或下载预审通过的信贷产品。
      </view>
    </view>
    <view class="btn">
      <button class="sub" @click="handleToPurchase">立即开通 ¥99/半年</button>
    </view>
 
    <view style="text-align: center;margin: auto">
 
      <view style="display: flex;flex-direction: row;color: #797F94;font-size: 24rpx">
        点击“立即开通”即表示同意
        <view style="color: #2966F3;font-size: 24rpx" @click="toProtocol">《会员相关协议》</view>
      </view>
    </view>
  </view>
</template>
 
<style scoped lang="scss">
.content{
  background: url(#{$iconHttps}/static/img/vip/bg.png) no-repeat;
  background-size: 100% 100%;
  min-height: 100%;
  .main-vip{
    padding: 30rpx;
    margin-top: 250rpx;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    .li{
      width: calc( 50% - 10rpx);
      display: flex;
      flex-direction: row;
      background-color: rgba(66, 73, 98, 1);
      border-radius: 22rpx;
      padding: 26rpx 0 26rpx 20rpx;
      margin-bottom: 20rpx;
    }
  }
  .tips{
    margin:0 30rpx;
    background: #566494;
    border-radius: 24rpx;
    padding: 20rpx;
    .title{
      display: flex;
      flex-direction: row;
      justify-content: center;
      color: white;
      font-size: 30rpx;
      .dio{
        width: 20rpx;height: 20rpx;
        display: flex;
        justify-content: center;
        margin-left: 20rpx;
        margin-right: 20rpx;
      }
    }
    .cnt{
      color: white;
      font-size: 28rpx;
      margin-top: 14rpx;
    }
  }
  .btn{
    margin:0 70rpx;
    margin-top: 60rpx;
    .sub{
      text-align: center;
      height: 100rpx;
      line-height: 100rpx;
      background: linear-gradient( 270deg, #DAA864 0%, #FCE6BC 100%);
      border-radius: 50rpx;
      color: #75361F;
      font-weight: 700;
      font-size: 34rpx;
    }
  }
}
 
</style>