apply.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <template>
  2. <view class="wrapper">
  3. <view class="top-box" style="height: 135rpx;">
  4. <image src="../../static/img/vip-bg.png" mode=""></image>
  5. </view>
  6. <view class="top">
  7. <view class="top-tit">
  8. 陀罗商城美容院身份
  9. </view>
  10. <view class="top-btm">
  11. <text class="hx"></text><text>购买美容院礼包即可升级为美容院身份</text><text class="hx"></text>
  12. </view>
  13. </view>
  14. <view class="item">
  15. <view class="item-top">特权一</view>
  16. <view class="item-tit">
  17. 享受3.5折拿货价
  18. <view class="line"></view>
  19. </view>
  20. <view class="item-info">
  21. <view class="info-y"></view>
  22. <view class="info">美容院专区商品享受3.5折的拿货价</view>
  23. </view>
  24. </view>
  25. <view class="item">
  26. <view class="item-top">特权二</view>
  27. <view class="item-tit">
  28. 金豆奖励
  29. <view class="line"></view>
  30. </view>
  31. <view class="item-info">
  32. <view class="info-y"></view>
  33. <view class="info">购买美容院产品享受返10%的金豆奖励</view>
  34. </view>
  35. </view>
  36. <!-- <view class="item">
  37. <view class="item-top">特权三</view>
  38. <view class="item-tit">
  39. 开实体店奖励
  40. <view class="line"></view>
  41. </view>
  42. <view class="item-info">
  43. <view class="info-y"></view>
  44. <view class="info">享受伞下全部用户产生的业绩奖励</view>
  45. </view>
  46. </view> -->
  47. <view class="more">
  48. <image src="../../static/icon/i-left.png" mode=""></image>
  49. <view class="more-tit">
  50. 更多店长特权持续开放中,敬请期待
  51. </view>
  52. <image src="../../static/icon/i-right.png" mode=""></image>
  53. </view>
  54. <view class="btn" @click="changeStep">立即申请成为美容院</view>
  55. </view>
  56. </template>
  57. <script>
  58. import { mapState, mapMutations } from 'vuex';
  59. import { register, verify } from '@/api/login.js';
  60. import { upload ,enter} from '@/api/user.js';
  61. export default {
  62. data() {
  63. return {
  64. };
  65. },
  66. onLoad() {
  67. let obj = this
  68. obj.speed_id = uni.getStorageSync('spread') || '';
  69. if(obj.speed_id == '') {
  70. obj.speed_id = obj.userInfo.spread_uid || ''
  71. }
  72. },
  73. methods: {
  74. changeStep() {
  75. uni.navigateTo({
  76. url:'/pages/category/fillTable'
  77. })
  78. },
  79. }
  80. };
  81. </script>
  82. <style lang="scss" scoped>
  83. .wrapper {
  84. height: 100%;
  85. }
  86. .top {
  87. position: relative;
  88. z-index: 2;
  89. margin: 0 auto 49rpx;
  90. width: 674rpx;
  91. background: linear-gradient(-23deg, #ffe7be, #fed591);
  92. border-radius: 10rpx;
  93. padding-bottom: 40rpx;
  94. .top-tit {
  95. padding-top: 80rpx;
  96. text-align: center;
  97. font-size: 49rpx;
  98. font-family: Source Han Sans CN;
  99. font-weight: 500;
  100. color: #6A4714;
  101. }
  102. .top-btm {
  103. margin-top: 40rpx;
  104. font-size: 19rpx;
  105. font-family: Source Han Sans CN;
  106. font-weight: 400;
  107. color: #6A4714;
  108. text-align: center;
  109. display: flex;
  110. justify-content: center;
  111. align-items: center;
  112. text {
  113. display: inline-block;
  114. padding: 0 4rpx;
  115. }
  116. .hx {
  117. width: 66rpx;
  118. height: 1rpx;
  119. background: #81504A;
  120. }
  121. }
  122. }
  123. .item {
  124. margin: 44rpx auto;
  125. width: 674rpx;
  126. // height: 176rpx;
  127. box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.2);
  128. border-radius: 10rpx;
  129. padding-bottom: 40rpx;
  130. .item-top {
  131. width: 85rpx;
  132. line-height: 36rpx;
  133. background-color: #fed591;
  134. border-radius: 10rpx 18rpx 18rpx 0;
  135. text-align: center;
  136. font-size: 20rpx;
  137. font-family: Source Han Sans CN;
  138. font-weight: 400;
  139. color: #975f4a;
  140. }
  141. .item-tit {
  142. display: inline-block;
  143. padding: 0 10rpx;
  144. font-size: 26rpx;
  145. font-family: Source Han Sans CN;
  146. font-weight: 500;
  147. color: #202020;
  148. margin-left: 68rpx;
  149. margin-top: 20rpx;
  150. .line {
  151. // width: 197rpx;
  152. margin-top: -10rpx;
  153. height: 15rpx;
  154. background: #FFF0C5;
  155. }
  156. }
  157. .item-info {
  158. display: flex;
  159. align-items: flex-start;
  160. padding-left: 68rpx;
  161. padding-top: 15rpx;
  162. // align-items: center;
  163. font-size: 21rpx;
  164. font-family: Source Han Sans CN;
  165. font-weight: 400;
  166. color: #6F6F6F;
  167. line-height: 40rpx;
  168. .info-y {
  169. width: 24rpx;
  170. height: 24rpx;
  171. background: #343238;
  172. border-radius: 50%;
  173. margin-right: 14rpx;
  174. margin-top: 8rpx;
  175. flex-shrink: 0;
  176. }
  177. .info {
  178. padding-right: 20rpx;
  179. }
  180. }
  181. }
  182. .btn {
  183. margin: 133rpx auto;
  184. width: 606rpx;
  185. height: 80rpx;
  186. background: linear-gradient(-23deg, #ffe7be, #fed591);
  187. border-radius: 40rpx;
  188. font-size: 35rpx;
  189. font-family: Source Han Sans CN;
  190. font-weight: 500;
  191. color: #704e1c;
  192. line-height: 80rpx;
  193. text-align: center;
  194. }
  195. .top-box {
  196. position: relative;
  197. z-index: 1;
  198. image {
  199. width: 750rpx;
  200. height: 236rpx;
  201. position: absolute;
  202. top: 0;
  203. }
  204. }
  205. .more {
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. font-size: 21rpx;
  210. font-family: Source Han Sans CN;
  211. font-weight: 400;
  212. color: #6F6F6F;
  213. height: 40rpx;
  214. line-height: 40rpx;
  215. image {
  216. height: 15rpx;
  217. width: 40rpx;
  218. }
  219. view {
  220. padding: 0 8rpx;
  221. }
  222. }
  223. </style>