猫妈狗爸伴宠师小程序前端代码
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.

358 lines
6.9 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <view>
  3. <view class="containers po-r">
  4. <image src="" mode="" class="mainBg"></image>
  5. <view class="w-100 po-a content">
  6. <stepProgress :step="3"></stepProgress>
  7. <view class="step mt24">
  8. <view class="li flex-rowl">
  9. <view class="num flex-rowc">
  10. 1
  11. </view>
  12. <view class="item">
  13. <view class="flex-between mb10">
  14. <view class="flex-rowl">
  15. <image class="img" src="@/static/images/ydd/end12.png" mode=""></image>
  16. <text class="size-30 color-000 fw700">实名认证</text>
  17. </view>
  18. <view class="size-22 color-ffb">
  19. 已完成
  20. </view>
  21. </view>
  22. <view class="info">
  23. <view class="size-22 color-777">
  24. 真实姓名刘思恩
  25. </view>
  26. <view class="size-22 color-777">
  27. 身份证号码48234792837458923
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="li flex-rowl po-r">
  33. <view class="line po-a">
  34. </view>
  35. <view class="num flex-rowc">
  36. 2
  37. </view>
  38. <view class="item">
  39. <view class="flex-between mb10">
  40. <view class="flex-rowl">
  41. <image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image>
  42. <text class="size-30 color-000 fw700">履约保证金缴纳</text>
  43. </view>
  44. <view class="size-22 color-ffb jiao">
  45. 去缴纳
  46. </view>
  47. </view>
  48. <view class="info color-777 size-22">
  49. 请缴纳履约保证金保证金注销时可申请退还
  50. </view>
  51. </view>
  52. </view>
  53. <view class="li flex-rowl po-r">
  54. <view class="line po-a" style="height: 150rpx;">
  55. </view>
  56. <view class="num flex-rowc">
  57. 3
  58. </view>
  59. <view class="item">
  60. <view class="flex-between mb10">
  61. <view class="flex-rowl">
  62. <image class="img" src="@/static/images/ydd/end1(4).png" mode="widthFix"></image>
  63. <text class="size-30 color-000 fw700">添加客服微信</text>
  64. </view>
  65. <view class="size-22 color-ffb jiao">
  66. 去缴纳
  67. </view>
  68. </view>
  69. <view class="info color-777 size-22 flex-rowc">
  70. <text class="size-22 color-777">微信二维码</text>
  71. <image src="" mode="" style="width: 150rpx;height: 150rpx;"></image>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="li flex-rowl po-r">
  76. <view class="line po-a" style="height: 150rpx;">
  77. </view>
  78. <view class="num flex-rowc">
  79. 4
  80. </view>
  81. <view class="item">
  82. <view class="flex-between mb10">
  83. <view class="flex-rowl">
  84. <image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image>
  85. <text class="size-30 color-000 fw700">服务工具准备</text>
  86. </view>
  87. <view class="size-22">
  88. 查看工具包
  89. </view>
  90. </view>
  91. <view class="info color-777 size-22">
  92. <view class="flex-between">
  93. <text class="size-22">所在地区:</text>
  94. <input type="text" placeholder="请选择" />
  95. </view>
  96. </view>
  97. <view class="info color-777 size-22 mt20">
  98. <view class="flex-between">
  99. <text class="size-22">详细地址:</text>
  100. <input type="text" placeholder="请输入道路、小区、门牌号等" />
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="footer-btn" @click="onClick">
  107. <view class="btn">
  108. 提交审核
  109. </view>
  110. </view>
  111. </view>
  112. </view>
  113. <image src="@/static/images/ydd/chat.png" mode="widthFix" class="chat"></image>
  114. </view>
  115. </template>
  116. <script setup>
  117. import {
  118. reactive
  119. } from "vue";
  120. import stepProgress from '../components/stepProgress.vue';
  121. const state = reactive({
  122. list: [{
  123. type: "input",
  124. label: "姓名",
  125. key: "name",
  126. placeholder: "请输入您的真实姓名",
  127. },
  128. {
  129. type: "input",
  130. label: "身份证号",
  131. key: "idCard",
  132. placeholder: "请输入您的真实身份证号",
  133. },
  134. {
  135. type: "radio",
  136. label: "性别",
  137. key: "sex",
  138. options: [{
  139. name: "男"
  140. },
  141. {
  142. name: "女"
  143. }
  144. ]
  145. },
  146. {
  147. type: "input",
  148. label: "年龄",
  149. key: "gender",
  150. placeholder: "请输入您的年龄",
  151. },
  152. {
  153. type: "input",
  154. label: "养宠经验",
  155. key: "shij",
  156. placeholder: "请输入您的养宠年限",
  157. unit: "年"
  158. },
  159. {
  160. type: "select",
  161. label: "是否有专业执照",
  162. key: "shij",
  163. placeholder: "请选择",
  164. options: [{
  165. name: "是"
  166. }, {
  167. name: "没有"
  168. }]
  169. },
  170. ]
  171. })
  172. const onClick = () => {
  173. // todo
  174. }
  175. </script>
  176. <style lang="scss" scoped>
  177. .chat {
  178. width: 96rpx;
  179. position: fixed;
  180. right: 20rpx;
  181. bottom: 400rpx;
  182. z-index: 9999;
  183. background-color: #fff;
  184. }
  185. .line {
  186. width: 3rpx;
  187. height: 100rpx;
  188. background-color: #BDBDBD;
  189. left: 25rpx;
  190. top: -50rpx;
  191. }
  192. .jiao {
  193. padding: 5px 20rpx;
  194. border-radius: 30rpx;
  195. background-color: #FFBF60;
  196. color: #fff;
  197. }
  198. .li {
  199. width: 710rpx;
  200. .num {
  201. width: 50rpx;
  202. height: 50rpx;
  203. border-radius: 50%;
  204. background-color: #FFBF60;
  205. color: #fff;
  206. font-weight: 700;
  207. font-size: 26rpx;
  208. margin-right: 20rpx;
  209. }
  210. }
  211. .item {
  212. padding: 26rpx 36rpx;
  213. border-radius: 24rpx;
  214. background-color: #fff;
  215. margin-bottom: 24rpx;
  216. width: 590rpx;
  217. .info {
  218. padding: 16rpx;
  219. background-color: #f3f3f3;
  220. border-radius: 16rpx;
  221. }
  222. }
  223. .img {
  224. width: 40rpx;
  225. height: 40rpx;
  226. margin-right: 8rpx;
  227. }
  228. .bt120 {
  229. margin-bottom: 120rpx;
  230. width: 716rpx;
  231. box-sizing: border-box;
  232. }
  233. .footer-btn {
  234. z-index: 9999;
  235. width: 100vw;
  236. height: 144rpx;
  237. background-color: #fff;
  238. display: flex;
  239. justify-content: center;
  240. position: fixed;
  241. bottom: 0;
  242. left: 0;
  243. align-items: center;
  244. .btn {
  245. font-size: 30rpx;
  246. color: #fff;
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. width: 574rpx;
  251. height: 94rpx;
  252. border-radius: 94rpx;
  253. background-color: #FFBF60;
  254. }
  255. }
  256. .type {
  257. width: 190rpx;
  258. margin-bottom: 74rpx;
  259. }
  260. .form {
  261. padding: 40rpx 32rpx;
  262. box-sizing: border-box;
  263. width: 716rpx;
  264. }
  265. .title {
  266. &::before {
  267. content: "";
  268. display: block;
  269. width: 9rpx;
  270. height: 33rpx;
  271. background-color: #FFBF60;
  272. margin-right: 7rpx;
  273. }
  274. }
  275. .mb6 {
  276. margin-bottom: 6rpx;
  277. }
  278. .containers {
  279. .neir {
  280. padding: 47rpx 27rpx 36rpx 27rpx;
  281. border-radius: 16rpx;
  282. box-sizing: border-box;
  283. width: 716rpx;
  284. .steps {
  285. .line {
  286. width: 163rpx;
  287. height: 3rpx;
  288. background-color: #BDBDBD;
  289. margin-bottom: 30rpx;
  290. }
  291. .num {
  292. width: 50rpx;
  293. height: 50rpx;
  294. background-color: #FFBF60;
  295. border-radius: 50%;
  296. }
  297. }
  298. }
  299. .mainBg {
  300. width: 100vw;
  301. height: 442rpx;
  302. background-image: linear-gradient(to bottom, #FFBF60, #f5f5f5);
  303. }
  304. .content {
  305. top: 0;
  306. left: 0;
  307. padding: 16rpx;
  308. padding-bottom: 200rpx;
  309. .logo {
  310. width: 194rpx;
  311. height: 70rpx;
  312. }
  313. .renz {
  314. image {
  315. width: 26rpx;
  316. height: 26rpx;
  317. }
  318. }
  319. }
  320. }
  321. </style>