index.vue 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. <template>
  2. <!--申请已提交-->
  3. <!--提交资料:初始化、待提交、已提交待审核、已提交审核通过-->
  4. <!--预约办理时间:初始化、待预约、已预约-->
  5. <!--现场办理:初始化、现场办理完成-->
  6. <!--放款成功:初始化、已放款-->
  7. <div class="wrapper">
  8. <div class="header">
  9. <h2>申请进度</h2>
  10. <a href="tel:400-234-2344">
  11. <img src="./image/btn_dianhua@2x.png" alt="">
  12. <span>专属客服</span>
  13. </a>
  14. </div>
  15. <ul class="content">
  16. <li class="flow flow-0 has-border active">
  17. <div class="left-wrap">
  18. <img src="./image/active_flow_0@2x.png" alt="">
  19. </div>
  20. <div class="right-wrap">
  21. <p class="title">
  22. <span>已提交申请“中行贷”</span>
  23. </p>
  24. <p class="description">
  25. <span>需求金额:</span>
  26. <span>50万元</span>
  27. <span>|</span>
  28. <span>小静</span>
  29. </p>
  30. <p class="time">2020-12-23 19:23</p>
  31. <p class="tip">1个工作日内会有专席客服与您取得联系</p>
  32. </div>
  33. </li>
  34. <template v-if="true">
  35. <li class="flow flow-1 has-border active">
  36. <div class="left-wrap">
  37. <img src="./image/init_flow_1@2x.png" alt="" v-if="false">
  38. <img src="./image/active_flow_1@2x.png" alt="" v-else>
  39. </div>
  40. <div class="right-wrap">
  41. <p class="title">
  42. <span>提交资料</span>
  43. <span style="font-weight: 600; color: #D73634;" v-if="false">(等待资料核对)</span>
  44. <span style="color: #4BD863;" v-if="true">(通过审核)</span>
  45. </p>
  46. <router-link class="jump-attest" :to="{path: '/attest'}" v-if="false">上传资料</router-link>
  47. <template>
  48. <p class="description">
  49. <span v-if="false">主贷人征信报告、房产信息凭证照片</span>
  50. <span v-else>已上传主贷人征信报告、房产信息凭证</span>
  51. </p>
  52. <div class="attest-wrap">
  53. <div v-for="i in 2" :key="i">
  54. <img src="" alt="">
  55. </div>
  56. </div>
  57. <p class="time">2020-12-23 19:23</p>
  58. </template>
  59. </div>
  60. </li>
  61. <li class="flow flow-2 has-border active">
  62. <div class="left-wrap">
  63. <img src="./image/init_flow_2@2x.png" alt="" v-if="false">
  64. <img src="./image/active_flow_2@2x.png" alt="" v-else>
  65. </div>
  66. <div class="right-wrap">
  67. <p class="title">
  68. <span>预约办理时间</span>
  69. </p>
  70. <router-link class="jump-bespeak" :to="{path: '/bespeak'}" v-if="false">预约时间</router-link>
  71. <template v-if="false">
  72. <p class="description">
  73. <span>您已预约:</span>
  74. <span style="font-weight: 600;">2021-02-23 上午9:30</span>
  75. </p>
  76. <p class="store" style="font-weight: 600;color: #D73634;">到“文三路支行”网点办理</p>
  77. <p class="time">2020-12-23 19:23</p>
  78. </template>
  79. <template v-if="true">
  80. <p class="description">
  81. <span>您已预约:2021-02-23 上午9:30</span>
  82. </p>
  83. <p class="store">到“文三路支行”网点办理</p>
  84. <p class="time">2020-12-23 19:23</p>
  85. </template>
  86. </div>
  87. </li>
  88. <li class="flow flow-3 has-border init">
  89. <div class="left-wrap">
  90. <img src="./image/init_flow_3@2x.png" alt="" v-if="false">
  91. <img src="./image/active_flow_3@2x.png" alt="" v-else>
  92. </div>
  93. <div class="right-wrap">
  94. <p class="title">
  95. <span>现场办理</span>
  96. </p>
  97. <p class="description">
  98. <i class="label">现场办理完成 银行经理预计可放款</i>
  99. <i class="value" v-for="(str, index) in '30万元'" :key="index">{{ str }}</i>
  100. <i class="label"> ,最终以实际放款额度为准</i>
  101. </p>
  102. <p class="time">2020-12-23 19:23</p>
  103. </div>
  104. </li>
  105. <li class="flow flow-4 init">
  106. <div class="left-wrap">
  107. <img src="./image/init_flow_4@2x.png" alt="" v-if="false">
  108. <img src="./image/active_flow_4@2x.png" alt="" v-else>
  109. </div>
  110. <div class="right-wrap">
  111. <p class="title">
  112. <span>放款成功</span>
  113. </p>
  114. <p class="success">成功放款金额:30万元人民币</p>
  115. </div>
  116. </li>
  117. </template>
  118. <li class="fail" v-if="false">因xxxxxxx原因,未成功放款</li>
  119. <li class="order-info border-top-1px">
  120. <p>创建时间:2020-12-23 19:23</p>
  121. <p>申请单号:202012337688b</p>
  122. </li>
  123. </ul>
  124. </div>
  125. </template>
  126. <script>
  127. export default {
  128. name: 'detail'
  129. }
  130. </script>
  131. <style lang="scss" scoped>
  132. .wrapper {
  133. display: flex;
  134. flex-direction: column;
  135. align-items: center;
  136. width: 100%;
  137. padding: 15px 0 91px;
  138. }
  139. .header {
  140. display: flex;
  141. justify-content: space-between;
  142. align-items: center;
  143. width: 343px;
  144. h2 {
  145. padding-left: 8px;
  146. line-height: 33px;
  147. font-size: 24px;
  148. font-weight: 500;
  149. color: #333;
  150. }
  151. a {
  152. display: flex;
  153. align-items: center;
  154. padding: 11px 12px;
  155. background: #FFFFFF;
  156. border-radius: 100px 0 0 100px;
  157. img {
  158. width: 29px;
  159. height: 29px;
  160. }
  161. span {
  162. margin-left: 3px;
  163. line-height: 22px;
  164. font-size: 16px;
  165. font-weight: 500;
  166. color: #C7AC8B;
  167. }
  168. }
  169. }
  170. .content {
  171. display: flex;
  172. flex-direction: column;
  173. align-items: center;
  174. width: 343px;
  175. padding-top: 23px;
  176. margin-top: 16px;
  177. border-radius: 4px;
  178. background: #FFFFFF;
  179. }
  180. .flow {
  181. position: relative;
  182. left: 0;
  183. top: 0;
  184. display: flex;
  185. width: 311px;
  186. min-height: 68px;
  187. margin-top: 18px;
  188. &:nth-of-type(1) {
  189. margin-top: 0;
  190. }
  191. }
  192. .init {
  193. &.has-border:before {
  194. position: absolute;
  195. left: 15px;
  196. top: 0;
  197. content: '';
  198. width: 1px;
  199. height: 100%;
  200. border-left: 1px dashed #D8D8D8;
  201. }
  202. .title {
  203. color: #999;
  204. }
  205. }
  206. .active {
  207. &.has-border:before {
  208. position: absolute;
  209. left: 15px;
  210. top: 0;
  211. content: '';
  212. width: 1px;
  213. height: 100%;
  214. border-left: 1px dashed #CBB091;
  215. }
  216. .title {
  217. color: #333;
  218. }
  219. }
  220. .flow-0 {
  221. .time {
  222. margin-top: 18px;
  223. }
  224. }
  225. .flow-1 {
  226. .title {
  227. span:nth-of-type(2) {
  228. padding-top: 3px;
  229. line-height: 20px;
  230. font-size: 14px;
  231. }
  232. }
  233. .attest-wrap {
  234. display: flex;
  235. margin-top: 6px;
  236. div {
  237. width: 41px;
  238. height: 41px;
  239. margin-left: 10px;
  240. overflow: hidden;
  241. background: pink;
  242. &:nth-of-type(1) {
  243. margin-left: 0;
  244. }
  245. img {
  246. display: block;
  247. width: 100%;
  248. }
  249. }
  250. }
  251. .time {
  252. margin-top: 6px;
  253. }
  254. }
  255. .flow-2 {
  256. .store {
  257. line-height: 20px;
  258. font-size: 14px;
  259. word-break: break-all;
  260. color: #333;
  261. }
  262. .time {
  263. margin-top: 14px;
  264. }
  265. }
  266. .flow-3 {
  267. .description {
  268. flex-flow: row wrap;
  269. }
  270. i {
  271. line-height: 20px;
  272. font-size: 14px;
  273. }
  274. .label {
  275. color: #333;
  276. }
  277. .value {
  278. font-weight: 600;
  279. color: #D73634;
  280. }
  281. .time {
  282. margin-top: 11px;
  283. }
  284. }
  285. .flow-4 {
  286. margin-bottom: 14px;
  287. }
  288. .left-wrap {
  289. position: relative;
  290. left: 0;
  291. top: 0;
  292. z-index: 1;
  293. img {
  294. display: block;
  295. width: 32px;
  296. height: 31px;
  297. }
  298. }
  299. .right-wrap {
  300. margin-left: 16px;
  301. }
  302. .title {
  303. display: flex;
  304. padding-top: 6px;
  305. span {
  306. line-height: 22px;
  307. font-size: 16px;
  308. font-weight: 500;
  309. color: inherit;
  310. }
  311. }
  312. .description {
  313. display: flex;
  314. margin-top: 6px;
  315. span {
  316. line-height: 20px;
  317. font-size: 14px;
  318. color: #333;
  319. &:nth-of-type(2) {
  320. color: #D73634;
  321. }
  322. }
  323. }
  324. .jump-attest,
  325. .jump-bespeak {
  326. display: block;
  327. width: 106px;
  328. height: 44px;
  329. margin: 20px 0 23px;
  330. border-radius: 4px;
  331. line-height: 44px;
  332. font-size: 14px;
  333. text-align: center;
  334. color: #fff;
  335. background: linear-gradient(90deg, #DBC3A9 0%, #C7AB8A 100%);
  336. box-shadow: 0 14px 9px -10px rgba(219, 208, 194, 1);
  337. }
  338. .time {
  339. line-height: 17px;
  340. font-size: 12px;
  341. color: #666;
  342. }
  343. .tip {
  344. margin-top: 14px;
  345. line-height: 20px;
  346. font-size: 14px;
  347. font-weight: 600;
  348. color: #D73634;
  349. }
  350. .success,
  351. .fail {
  352. line-height: 25px;
  353. font-size: 18px;
  354. font-weight: 600;
  355. word-break: break-all;
  356. color: #D73634;
  357. }
  358. .success {
  359. margin-top: 2px;
  360. }
  361. .fail {
  362. width: 311px;
  363. padding-left: 8px;
  364. margin: 12px 0 23px;
  365. }
  366. .order-info {
  367. width: 329px;
  368. padding: 20px 0 24px;
  369. @include border-top-1px(#E8E8E8);
  370. p {
  371. padding-left: 17px;
  372. line-height: 20px;
  373. font-size: 14px;
  374. color: #666;
  375. &:nth-of-type(2) {
  376. margin-top: 2px;
  377. }
  378. }
  379. }
  380. </style>