推广小程序前端代码
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.

189 lines
4.1 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="page">
  3. <view class="head-box"></view>
  4. <uv-navbar title="招募" leftIcon=" " bgColor="transparent" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar>
  5. <view class="content">
  6. <view class="search-box">
  7. <view class="search-box-r">
  8. <uv-search placeholder="搜索感兴趣的活动" v-model="keyword" shape="square" :showAction="false" color="#fff" placeholderColor="#BDABAC" :clearabled="false" searchIconColor="#fff" searchIconSize="50rpx" bgColor="#4A2A2B" height="63rpx"></uv-search>
  9. </view>
  10. </view>
  11. <view class="user-box">
  12. <uv-avatar src="https://via.placeholder.com/200x200.png/2878ff" size="98rpx" shape="circle"></uv-avatar>
  13. <view class="user-msg">
  14. <view class="user-msg-top">
  15. <view>点击授权登录</view>
  16. <view class="level-box">普通用户</view>
  17. </view>
  18. <view class="id-box">
  19. <text>ID:000001</text>
  20. <text class="copy-text">复制</text>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="swipe-box">
  25. <uv-swiper :list="list" height="280rpx" bgColor="transparent" radius="30rpx"></uv-swiper>
  26. </view>
  27. <view class="zlr-box" @click="toRenzheng">
  28. <view class="zlr-box-l">
  29. <image src="@/static/image/member/zlr-icon.png" mode="widthFix"></image>
  30. <view>主理人认证</view>
  31. </view>
  32. <view class="zlr-box-r">
  33. <view>获取更多身份特权</view>
  34. <image src="@/static/image/member/zlr-arrow.png" mode="widthFix"></image>
  35. </view>
  36. </view>
  37. <view class="list-box">
  38. <zhaomu-item></zhaomu-item>
  39. </view>
  40. </view>
  41. <tabber select="member" />
  42. </view>
  43. </template>
  44. <script>
  45. import tabber from '@/components/base/tabbar.vue'
  46. import zhaomuItem from '@/components/zhaomu/zhaomu-item.vue'
  47. import { mapState } from 'vuex'
  48. export default {
  49. components: {
  50. tabber,
  51. zhaomuItem
  52. },
  53. data() {
  54. return {
  55. list: [
  56. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  57. ]
  58. };
  59. },
  60. computed : {
  61. },
  62. onLoad({leftClick}) {
  63. },
  64. onShow() {
  65. },
  66. methods:{
  67. toRenzheng() {
  68. uni.navigateTo({
  69. url:'/pages_zlx/zlx-form'
  70. })
  71. }
  72. }
  73. }
  74. </script>
  75. <style lang="scss">
  76. page {
  77. background-color: #060504;
  78. }
  79. </style>
  80. <style lang="scss">
  81. .page {
  82. .head-box {
  83. background: url('@/static/image/nav-bg.png') no-repeat;
  84. background-size: 100% 100%;
  85. width: 100%;
  86. height: 534rpx;
  87. position: absolute;
  88. }
  89. .content {
  90. padding: 0 30rpx;
  91. padding-top: calc(var(--status-bar-height) + 100rpx);
  92. .search-box {
  93. display: flex;
  94. align-items: center;
  95. margin-bottom: 32rpx;
  96. &-r {
  97. flex:1;
  98. }
  99. }
  100. .user-box {
  101. display: flex;
  102. align-items: center;
  103. margin-bottom: 33rpx;
  104. .user-msg {
  105. margin-left: 20rpx;
  106. .user-msg-top {
  107. font-weight: 600;
  108. font-size: 32rpx;
  109. color: #E6E6E6;
  110. display: flex;
  111. align-items: center;
  112. .level-box {
  113. width: 108rpx;
  114. height: 31rpx;
  115. background: RGBA(40, 19, 4, 1);
  116. border-radius: 16rpx;
  117. font-weight: 400;
  118. font-size: 20rpx;
  119. color: #FF9C00;
  120. text-align: center;
  121. margin-left: 14rpx;
  122. }
  123. }
  124. .id-box {
  125. color: #999999;
  126. font-size: 22rpx;
  127. margin-top: 20rpx;
  128. .copy-text {
  129. font-weight: 400;
  130. font-size: 22rpx;
  131. color: #E6E6E6;
  132. margin-left: 18rpx;
  133. }
  134. }
  135. }
  136. }
  137. .swipe-box {
  138. margin-bottom: 31rpx;
  139. }
  140. .zlr-box {
  141. background: url('@/static/image/member/zlr-bg.png') no-repeat;
  142. background-size: 100% 100%;
  143. height: 124rpx;
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. padding: 0 40rpx 0 46rpx;
  148. margin-bottom: 32rpx;
  149. &-l {
  150. font-weight: 600;
  151. font-size: 32rpx;
  152. color: #FF3B47;
  153. display: flex;
  154. align-items: center;
  155. image {
  156. width: 72rpx;
  157. margin-right: 24rpx;
  158. }
  159. }
  160. &-r {
  161. font-weight: 400;
  162. font-size: 25rpx;
  163. color: #FF8E00;
  164. display: flex;
  165. align-items: center;
  166. image {
  167. width: 12rpx;
  168. margin-left: 12px;
  169. }
  170. }
  171. }
  172. .list-box {
  173. }
  174. }
  175. }
  176. </style>