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

395 lines
8.0 KiB

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