特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

260 lines
4.6 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <!-- 会员充值 -->
  3. <view class="page">
  4. <navbar title="会员充值" bgColor="#3796F8" leftClick color="#fff" @leftClick="$utils.navigateBack" />
  5. <view class="head">
  6. <view class="headImage">
  7. <image :src="headImage" mode="aspectFill"></image>
  8. </view>
  9. <view class="info">
  10. <view class="name">
  11. 倾心.
  12. <view>
  13. <uv-icon name="edit-pen" size="40rpx" color="#fff"></uv-icon>
  14. 修改资料
  15. </view>
  16. </view>
  17. <view class="tips">
  18. 手机号1300000000
  19. </view>
  20. </view>
  21. </view>
  22. <view class="openvip">开通VIP</view>
  23. <view class="options">
  24. <view class="option" v-for="(item,index) in 3" :key="index">
  25. <view style="font-weight: 600;">普通VIP会员</view>
  26. <view style="color: #FF2E2E;">
  27. <text style="font-size: 20rpx;"></text>
  28. <text style="font-size: 36rpx;">8</text>
  29. </view>
  30. <view>包年</view>
  31. </view>
  32. </view>
  33. <view class="block">
  34. <view class="privilege">普通专属特权</view>
  35. <view class="cells">
  36. <view class="cell">
  37. <image src="../static/mine/characteristic.png" mode="aspectFill" />
  38. <view class="text">
  39. <view>特权一</view>
  40. <view style="font-size: 24rpx;">该特权每天可免费查看2个号码</view>
  41. </view>
  42. </view>
  43. <view class="cell">
  44. <image src="../static/mine/integral.png" mode="aspectFill" />
  45. <view class="text">
  46. <view>特权二</view>
  47. <view style="font-size: 24rpx;">快速发布优先审核</view>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="tail">
  52. <view>
  53. <uv-radio-group v-model="radiovalue">
  54. <uv-radio size="30rpx">
  55. </uv-radio>
  56. </uv-radio-group>
  57. </view>
  58. <view>开通前请阅读会员服务协议</view>
  59. </view>
  60. </view>
  61. <view class="confirm">
  62. <view class="box">
  63. <view>
  64. 总计金额8
  65. </view>
  66. <view>
  67. 确认协议并支付
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </template>
  73. <script>
  74. export default {
  75. data() {
  76. return {
  77. radiovalue: false
  78. }
  79. },
  80. computed: {
  81. headImage() {
  82. return '/static/image/center/headImage.png'
  83. },
  84. },
  85. methods: {
  86. },
  87. }
  88. </script>
  89. <style scoped lang="scss">
  90. .page {
  91. background-color: #fff;
  92. height: 100vh;
  93. .head {
  94. display: flex;
  95. background-color: $uni-color;
  96. padding: 40rpx 20rpx;
  97. align-items: center;
  98. position: relative;
  99. color: #fff;
  100. padding-bottom: 70rpx;
  101. .headImage {
  102. width: 120rpx;
  103. height: 120rpx;
  104. background-size: 100% 100%;
  105. overflow: hidden;
  106. border-radius: 50%;
  107. margin-right: 40rpx;
  108. image {
  109. height: 100%;
  110. width: 100%;
  111. }
  112. }
  113. .info {
  114. font-size: 28rpx;
  115. .name {
  116. font-size: 32rpx;
  117. display: flex;
  118. padding-bottom: 10rpx;
  119. view {
  120. display: flex;
  121. font-size: 20rpx;
  122. align-items: center;
  123. padding-left: 20rpx;
  124. }
  125. }
  126. .tips {
  127. font-size: 26rpx;
  128. color: #fff;
  129. }
  130. }
  131. }
  132. .openvip {
  133. width: 100%;
  134. text-align: center;
  135. padding: 40rpx 0;
  136. font-size: 36rpx;
  137. font-weight: 500;
  138. }
  139. .options {
  140. display: flex;
  141. justify-content: space-around;
  142. .option {
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. flex-direction: column;
  147. border: 2rpx solid #3796F8;
  148. width: 220rpx;
  149. height: 240rpx;
  150. border-radius: 16rpx;
  151. view {
  152. margin-top: 15rpx;
  153. font-size: 28rpx;
  154. }
  155. }
  156. }
  157. .block {
  158. width: 90%;
  159. margin-left: 5%;
  160. .privilege {
  161. font-size: 34rpx;
  162. padding: 60rpx 0rpx 40rpx;
  163. }
  164. .cells {
  165. display: flex;
  166. flex-direction: column;
  167. justify-content: space-between;
  168. height: 170rpx;
  169. .cell {
  170. display: flex;
  171. align-items: center;
  172. .text {
  173. margin-left: 20rpx;
  174. color: #707070;
  175. font-size: 28rpx;
  176. }
  177. image {
  178. height: 70rpx;
  179. width: 70rpx;
  180. }
  181. }
  182. }
  183. .tail {
  184. display: flex;
  185. align-items: center;
  186. margin-top: 30rpx;
  187. view:nth-child(2) {
  188. margin-left: 10rpx;
  189. color: #707070;
  190. font-size: 24rpx;
  191. }
  192. }
  193. }
  194. .confirm {
  195. display: flex;
  196. position: fixed;
  197. bottom: 0px;
  198. width: 100%;
  199. justify-content: center;
  200. align-items: center;
  201. padding: 8rpx 0;
  202. box-shadow: 0 -2rpx 6rpx 0 #d9d9d9 ;
  203. .box {
  204. display: flex;
  205. align-items: center;
  206. justify-content: space-between;
  207. width: 92%;
  208. font-size: 28rpx;
  209. view:nth-child(1) {
  210. color: #999999;
  211. }
  212. view:nth-child(2) {
  213. padding: 25rpx 60rpx;
  214. color: #FFFFFF;
  215. background-color: #3796F8;
  216. border-radius: 12rpx;
  217. }
  218. view:nth-child(1) {
  219. color: #999999;
  220. }
  221. }
  222. }
  223. }
  224. </style>