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

245 lines
5.5 KiB

2 months ago
  1. <template>
  2. <view class="">
  3. <view class="head-box"></view>
  4. <uv-navbar autoBack title="主理人认证" leftIconColor="#fff" bgColor="transparent" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar>
  5. <view class="content">
  6. <view class="user-box">
  7. <uv-avatar src="https://via.placeholder.com/200x200.png/2878ff" size="98rpx" shape="circle"></uv-avatar>
  8. <view class="user-msg">
  9. <view class="user-msg-top">
  10. <view>点击授权登录</view>
  11. <view class="level-box">普通用户</view>
  12. </view>
  13. <view class="id-box">
  14. <text>ID:000001</text>
  15. <text class="copy-text">复制</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="base-msg">
  20. <view class="title-box">基础信息</view>
  21. <view class="form-box">
  22. <view class="form-box-line">
  23. <view class="label-box">真实姓名</view>
  24. <view class="value-box">
  25. <uv-input placeholder="请输入真实姓名" v-model="info.name" border="none" color="#fff"></uv-input>
  26. </view>
  27. </view>
  28. <view class="form-box-line">
  29. <view class="label-box">联系方式</view>
  30. <view class="value-box">
  31. <uv-input placeholder="请输入联系方式" v-model="nfo.phone" border="none" color="#fff"></uv-input>
  32. </view>
  33. </view>
  34. <view class="form-box-line">
  35. <view class="label-box">身份证号</view>
  36. <view class="value-box">
  37. <uv-input placeholder="请输入身份证号" v-model="nfo.idCard" border="none" color="#fff"></uv-input>
  38. </view>
  39. </view>
  40. <view class="form-box-line">
  41. <view class="label-box">简历附件</view>
  42. <view class="value-box">
  43. <uv-input placeholder="请输入真实姓名" v-model="nfo.jianli" border="none" color="#fff"></uv-input>
  44. <view class="upload-btn">上传简历</view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="xie-box">
  50. <view class="title-box">阅读并同意协议</view>
  51. <view class="xie-box-val">
  52. <view class="val-text">
  53. <view>我已经阅读并同意</view>
  54. <view class="xieyi-val">主理人协议</view>
  55. </view>
  56. <view class="choose-box" @click="isAgree = !isAgree">
  57. <view class="normol-box" v-if="!isAgree"></view>
  58. <image src="@/static/image/member/choose-icon.png" mode="widthFix" v-else></image>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="btn-box">
  64. <uv-button text="保存" color="#381615" shape="circle" :customStyle="btnCustomStyle"></uv-button>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. export default{
  70. data() {
  71. return {
  72. isAgree:false,
  73. btnCustomStyle:{
  74. color:'#FF5858'
  75. },
  76. info:{
  77. name:'',
  78. phone:'',
  79. idCard:'',
  80. jianli:''
  81. }
  82. }
  83. }
  84. }
  85. </script>
  86. <style lang="scss">
  87. page {
  88. background-color: #060504;
  89. }
  90. </style>
  91. <style lang="scss" scoped>
  92. .head-box {
  93. background: url('@/static/image/nav-bg.png') no-repeat;
  94. background-size: 100% 100%;
  95. width: 100%;
  96. height: 534rpx;
  97. position: absolute;
  98. }
  99. .content {
  100. padding: 0 30rpx;
  101. padding-top: calc(var(--status-bar-height) + 100rpx);
  102. .user-box {
  103. display: flex;
  104. align-items: center;
  105. margin-bottom: 74rpx;
  106. .user-msg {
  107. margin-left: 20rpx;
  108. .user-msg-top {
  109. font-weight: 600;
  110. font-size: 32rpx;
  111. color: #E6E6E6;
  112. display: flex;
  113. align-items: center;
  114. .level-box {
  115. width: 108rpx;
  116. height: 31rpx;
  117. background: RGBA(40, 19, 4, 1);
  118. border-radius: 16rpx;
  119. font-weight: 400;
  120. font-size: 20rpx;
  121. color: #FF9C00;
  122. text-align: center;
  123. margin-left: 14rpx;
  124. }
  125. }
  126. .id-box {
  127. color: #999999;
  128. font-size: 22rpx;
  129. margin-top: 20rpx;
  130. .copy-text {
  131. font-weight: 400;
  132. font-size: 22rpx;
  133. color: #E6E6E6;
  134. margin-left: 18rpx;
  135. }
  136. }
  137. }
  138. }
  139. .title-box {
  140. display: inline-block;
  141. font-weight: bold;
  142. font-size: 29rpx;
  143. color: #FFFFFF;
  144. position: relative;
  145. z-index: 2;
  146. &::after{
  147. content: "";
  148. position: absolute;
  149. bottom: 0;
  150. left: 0;
  151. width: 100%;
  152. height: 9rpx;
  153. background: #FF2828;
  154. border-radius: 4rpx 4rpx 4rpx 4rpx;
  155. opacity: 0.2;
  156. z-index: 1;
  157. }
  158. }
  159. .base-msg {
  160. .form-box {
  161. background: #1B1713;
  162. border-radius: 27rpx;
  163. padding:0 40rpx;
  164. margin-top: 20rpx;
  165. .form-box-line {
  166. height: 112rpx;
  167. border-bottom: 1px solid #403D3A;
  168. display: flex;
  169. align-items: center;
  170. &:last-child {
  171. border: none;
  172. }
  173. .label-box {
  174. font-weight: 500;
  175. font-size: 29rpx;
  176. color: #FFFFFF;
  177. margin-right: 34rpx;
  178. }
  179. .value-box {
  180. display: flex;
  181. align-items: center;
  182. justify-content: space-between;
  183. .upload-btn {
  184. font-weight: 400;
  185. font-size: 28rpx;
  186. color: #FF5858;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. .xie-box {
  193. margin-top:37rpx;
  194. .xie-box-val {
  195. margin-top: 25rpx;
  196. height: 116rpx;
  197. background: #1B1713;
  198. border-radius: 27rpx 27rpx 27rpx 27rpx;
  199. display: flex;
  200. align-items: center;
  201. justify-content: space-between;
  202. padding: 0 36rpx;
  203. .val-text {
  204. font-weight: 400;
  205. font-size: 25rpx;
  206. color: #FFFFFF;
  207. display: flex;
  208. align-items: center;
  209. .xieyi-val {
  210. color: #FF5858;
  211. }
  212. }
  213. .choose-box {
  214. .normol-box {
  215. width: 31rpx;
  216. height: 31rpx;
  217. border: 1px solid #fff;
  218. border-radius: 5rpx;
  219. }
  220. image {
  221. width: 31rpx;
  222. height: 31rpx;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. .btn-box {
  229. position: fixed;
  230. bottom: 70rpx;
  231. left: 0;
  232. right: 0;
  233. padding: 0 40rpx;
  234. }
  235. </style>