特易招,招聘小程序
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.

201 lines
4.5 KiB

2 months ago
2 months ago
2 months ago
  1. <template>
  2. <!-- 邀请积分 -->
  3. <view class="page">
  4. <navbar title="邀请积分" bgColor="#3796F8" leftClick color="#fff" @leftClick="$utils.navigateBack" />
  5. <view class="TopBlock">
  6. <view class="TopBlock-box">
  7. <view class="TopBlock-top">
  8. <image src="../static/mine/characteristic.png" mode="aspectFill" />
  9. <view>您当前的正式积分</view>
  10. </view>
  11. <view class="TopBlock-balance">100</view>
  12. <view class="TopBlock-button"
  13. @click="$utils.navigateTo('/pages_order/mine/IntegralRecord')">
  14. <view>积分明细</view>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="card">
  19. <view class="card-box">
  20. <view class="card-top">获取正式积分</view>
  21. <view style="background-color: #EDEDED; height: 1rpx;" />
  22. <view class="card-cell">
  23. <uv-cell-group>
  24. <uv-cell>
  25. <!-- 自定义左侧标题 -->
  26. <template #title>
  27. <text style="font-size: 12px;">邀请好友赚积分</text>
  28. </template>
  29. <!-- 自定义左侧标题下面的内容 -->
  30. <template #label>
  31. <view style="font-size: 20rpx;color: #999999; padding: 10rpx 0;">
  32. <view>成功邀请一名好友注册可获得2正式积分</view>
  33. <view>可叠加</view>
  34. </view>
  35. </template>
  36. <!-- 自定义右侧值 -->
  37. <template #value>
  38. <text style="font-size: 24rpx; color: #4280FD;">去邀请</text>
  39. </template>
  40. <!-- 自定义左侧图标 -->
  41. <template #icon>
  42. <uv-icon size="50" name="../static/mine/notepad.png" />
  43. </template>
  44. <!-- 自定义右侧图标 -->
  45. <template #right-icon>
  46. <uv-icon color="#4280FD" size="30rpx" name="arrow-right"></uv-icon>
  47. </template>
  48. </uv-cell>
  49. </uv-cell-group>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="card">
  54. <view class="card-box">
  55. <view class="card-top">招工找活</view>
  56. <view style="background-color: #EDEDED; height: 1rpx;" />
  57. <view class="card-cell">
  58. <uv-cell-group>
  59. <uv-cell>
  60. <!-- 自定义左侧标题 -->
  61. <template #title>
  62. <text style="font-size: 12px;">我要找工作</text>
  63. </template>
  64. <!-- 自定义左侧标题下面的内容 -->
  65. <template #label>
  66. <view style="font-size: 20rpx;color: #999999; padding: 10rpx 0;">
  67. <view>查看招工信息</view>
  68. </view>
  69. </template>
  70. <!-- 自定义右侧值 -->
  71. <template #value>
  72. <text style="font-size: 24rpx; color: #4280FD;">去找活</text>
  73. </template>
  74. <!-- 自定义左侧图标 -->
  75. <template #icon>
  76. <uv-icon size="50" name="../static/mine/notepad.png" />
  77. </template>
  78. <!-- 自定义右侧图标 -->
  79. <template #right-icon>
  80. <uv-icon color="#4280FD" size="30rpx" name="arrow-right"></uv-icon>
  81. </template>
  82. </uv-cell>
  83. </uv-cell-group>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="service">如有疑问请联系客服<text>4008-678-918</text></view>
  88. </view>
  89. </template>
  90. <script>
  91. import { mapState } from 'vuex'
  92. export default {
  93. data() {
  94. return {
  95. }
  96. },
  97. onLoad() {
  98. this.$store.commit('getUserExtensionInfo')
  99. },
  100. computed : {
  101. ...mapState(['UserExtensionInfo']),
  102. },
  103. methods: {
  104. }
  105. }
  106. </script>
  107. <style scoped lang="scss">
  108. .page {
  109. .TopBlock {
  110. height: 260rpx;
  111. background-color: #3796F8;
  112. .TopBlock-box {
  113. width: 90%;
  114. margin-left: 5%;
  115. .TopBlock-top {
  116. display: flex;
  117. align-items: center;
  118. padding: 20rpx 0;
  119. view {
  120. font-size: 32rpx;
  121. color: #FFf;
  122. margin-left: 20rpx;
  123. }
  124. image {
  125. width: 40rpx;
  126. height: 40rpx;
  127. }
  128. }
  129. .TopBlock-balance {
  130. font-size: 48rpx;
  131. color: #fff;
  132. font-weight: 600;
  133. }
  134. .TopBlock-button {
  135. display: flex;
  136. justify-content: flex-end;
  137. font-size: 28rpx;
  138. color: #4280FD;
  139. view {
  140. background-color: #fff;
  141. padding: 15rpx 40rpx;
  142. border-radius: 40rpx;
  143. font-weight: 600;
  144. }
  145. }
  146. }
  147. }
  148. .card {
  149. width: 94%;
  150. margin-left: 3%;
  151. background-color: #fff;
  152. margin-top: 30rpx;
  153. .card-box {
  154. width: 94%;
  155. margin-left: 3%;
  156. .card-top {
  157. font-size: 28rpx;
  158. color: #000;
  159. font-weight: 600;
  160. padding: 20rpx 0;
  161. }
  162. .card-cell {
  163. /deep/ .uv-cell__body {
  164. padding: 20rpx 0;
  165. }
  166. }
  167. }
  168. }
  169. .service {
  170. width: 94%;
  171. margin-left: 3%;
  172. font-size: 24rpx;
  173. text-align: center;
  174. margin-top: 20rpx;
  175. padding: 25rpx 0;
  176. background-color: #fff;
  177. border-radius: 12rpx;
  178. }
  179. }
  180. </style>