index.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. <template>
  2. <div class="become-store">
  3. <div class="content">
  4. <reg-header></reg-header>
  5. <register></register>
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. import { RegHeader, Register } from '~components/register-saler'
  11. export default {
  12. name: 'index',
  13. components: {
  14. RegHeader,
  15. Register
  16. }
  17. }
  18. </script>
  19. <style>
  20. /* 公共模块 */
  21. body{
  22. background: #F5F5F5;
  23. font-family: "Microsoft Yahei", "微软雅黑";
  24. }
  25. .become-store{
  26. width: 100%;
  27. margin: 0 auto;
  28. }
  29. .become-store .content{
  30. width: 1026px;
  31. margin: 0 auto;
  32. background: #fff;
  33. padding-bottom: 40px;
  34. border: #e8e8e8 1px solid;
  35. }
  36. .become-store .content .h3{
  37. font-size: 24px;
  38. line-height: 80px;
  39. text-align: center;
  40. font-weight: bold;
  41. }
  42. .become-store .content .header-title{
  43. width: 70%;
  44. margin: 0 auto;
  45. margin-bottom: 40px;
  46. }
  47. .become-store .content .header-title .col-md-6{
  48. padding: 0 45px;
  49. }
  50. .become-store .content .header-title h4{
  51. font-size: 18px;
  52. line-height: 30px;
  53. text-align: center;
  54. }
  55. .become-store .content .header-title p{
  56. font-size: 14px;
  57. line-height: 25px;
  58. color: #666;
  59. }
  60. .step-menu{
  61. width: 96%;
  62. margin: 0 auto;
  63. height: 34px;
  64. background: #e8e8e8;
  65. line-height: 34px;
  66. }
  67. .step-menu ul{
  68. width: 100%;
  69. margin: 0 auto;
  70. }
  71. .step-menu ul li{
  72. width: 33.33333333%;
  73. float: left;
  74. height: 34px;
  75. line-height: 34px;
  76. font-size: 14px;
  77. color: #555;
  78. text-align: center;
  79. }
  80. .step-menu ul li:hover{
  81. cursor: pointer;
  82. /*background: #0099ff;
  83. color: #fff;*/
  84. }
  85. .step-menu ul li.active{
  86. background: #0099ff;
  87. color: #fff;
  88. }
  89. .become-store .section{
  90. width: 100%;
  91. margin: 0 auto;
  92. }
  93. .become-store .section .register{
  94. width: 95%;
  95. margin: 0 auto;
  96. padding-top: 30px;
  97. }
  98. .become-store .section .register .row{
  99. line-height: 34px;
  100. padding-bottom: 10px;
  101. width: 80%;
  102. margin: 0 auto;
  103. }
  104. .become-store .section .register .row p{
  105. margin-bottom: 0;
  106. }
  107. .become-store .section .register .row .form-control{
  108. border-color: #ccc;
  109. border-radius: 0;
  110. box-shadow: none;
  111. }
  112. .x-form-set-header {
  113. position: relative;
  114. margin-bottom: 20px;
  115. }
  116. .x-form-set-header h4 {
  117. font-size: 20px;
  118. font-weight: 400;
  119. color: #888;
  120. margin-top: 0;
  121. padding-bottom: 8px;
  122. border-bottom: 1px solid #ebebeb;
  123. }
  124. .x-form-set-header:after {
  125. content: "";
  126. width: 120px;
  127. height: 2px;
  128. background: #5078cb;
  129. position: absolute;
  130. left: 0;
  131. bottom: 0;
  132. }
  133. .x-required:before {
  134. position: relative;
  135. bottom: -5px;
  136. content: "* ";
  137. font-size: 18px;
  138. color: #f4645f;
  139. }
  140. .register label{
  141. font-size: 14px;
  142. color: #555;
  143. text-align: right;
  144. padding-right: 10px;
  145. }
  146. .next-btn{
  147. width: 100%;
  148. margin: 0 auto;
  149. text-align: center;
  150. padding-top: 30px !important;
  151. }
  152. .next-btn button{
  153. width: 120px;
  154. height: 34px;
  155. background: #5078CB;
  156. text-align: center;
  157. border: none;
  158. font-size: 14px;
  159. color: #fff;
  160. margin-top: 30px;
  161. border-radius: 3px;
  162. margin: 0 20px;
  163. }
  164. .no-apply{
  165. width: 150px;
  166. height: 34px;
  167. line-height: 34px;
  168. background: #0099ff;
  169. text-align: center;
  170. border: none;
  171. font-size: 14px;
  172. color: #fff;
  173. margin-top: 30px;
  174. margin: 0 20px;
  175. float: right;
  176. border-radius: 3px;
  177. }
  178. .next-btn button:hover, .next-btn button:focus {
  179. background: #3765cb;
  180. color: #fff;
  181. }
  182. .agreement{
  183. width: 100%;
  184. margin: 0 auto;
  185. }
  186. .step-last{
  187. width: 92%;
  188. margin: 0 auto;
  189. }
  190. .step-last .h4{
  191. font-size: 18px;
  192. line-height: 40px;
  193. margin: 20px 0 0 0;
  194. }
  195. .step-last p.title{
  196. font-size: 14px;
  197. color: #666;
  198. line-height: 30px;
  199. text-align: left;
  200. width: 100% !important;
  201. }
  202. .apply-include{
  203. width: 100%;
  204. margin: 0 auto;
  205. height: 300px;
  206. border: #e8e8e8 1px solid;
  207. line-height: 300px;
  208. font-size: 18px;
  209. text-align: center;
  210. }
  211. /*服务协议*/
  212. .join_xieyi{ width:92%; margin:0px auto; border-top:#eee 1px solid;border-bottom:#eee 1px solid; padding-top:50px; padding-bottom:50px; margin-bottom: 30px;}
  213. .join_xieyi h3{ font-size:24px; color:#0099ff; text-align:center; padding-bottom:10px;}
  214. .join_xieyi p{ font-size:14px; color:#666; line-height:35px; width:100%; margin:0px auto;}
  215. .join_xieyi p span{ font-size:16px; font-weight:bold; color:#333; position:relative; margin-left:14px; height:30px; display:inline-block; margin-top:20px;}
  216. /* .section{
  217. display: none;
  218. } */
  219. .x-btn-blank{
  220. border: 1px solid #ccc;
  221. background: #fff;
  222. color: #888;
  223. position: relative;
  224. overflow: hidden;
  225. text-align: left;
  226. display: block;
  227. height: 34px;
  228. line-height: 31px;
  229. }
  230. .file-input{
  231. position: absolute;
  232. font-size: 100px;
  233. top: 0;
  234. right: 0;
  235. left: 0;
  236. bottom: 0;
  237. width: 100%;
  238. opacity: 0;
  239. }
  240. .x-btn-blank i{
  241. margin-left: 5px;
  242. color: #888;
  243. font-size: 16px;
  244. position: relative;
  245. top: 2px;
  246. }
  247. .register .col-sm-5 i.fa-info-circle{
  248. font-size: 16px;
  249. color: #888;
  250. position: relative;
  251. top: 2px;
  252. margin-right: 5px;
  253. }
  254. .register .col-sm-5 p, .register .col-sm-5 p i{
  255. color: red !important;
  256. }
  257. .register .col-sm-5 span.fa-map-marker, .register .col-sm-5 span.web{
  258. position: absolute;
  259. top: 1px;
  260. z-index: 2;
  261. display: block;
  262. width: 34px;
  263. height: 34px;
  264. line-height: 34px;
  265. text-align: center;
  266. color: #999;
  267. font-size: 16px;
  268. left: 12px;
  269. }
  270. .register .col-sm-5 span.web{
  271. font-size:14px;
  272. left:25px;
  273. }
  274. /* 开店申请模块 */
  275. .com-input{
  276. width: 100%;
  277. height: 100%;
  278. text-align: center;
  279. position: absolute;
  280. bottom: 0;
  281. left: 0;
  282. opacity: 0;
  283. display: inline-block !important;
  284. }
  285. .el-upload-list--picture-card .el-upload-list__item{
  286. width: 160px;
  287. height: 120px;
  288. top: 69px;
  289. }
  290. div.vendor_store_apply {
  291. margin: 0 auto;
  292. width: 1026px;
  293. background-color: #FFFFFF;
  294. margin-bottom: 20px;
  295. margin-top: 20px;
  296. }
  297. div.vendor_store_apply .com_row {
  298. padding: 0 40px;
  299. min-height: 40px;
  300. }
  301. div.vendor_store_apply .title_row {
  302. margin-bottom: 20px;
  303. border-bottom: #e8e8e8 1px solid;
  304. }
  305. div.vendor_store_apply .custom_col {
  306. margin: 0;
  307. padding: 0;
  308. }
  309. div.vendor_store_apply .custom_col img.previewImage {
  310. max-width: 160px;
  311. max-height: 120px;
  312. cursor: pointer;
  313. /*padding: 0 30px;*/
  314. }
  315. div.vendor_store_apply .row h2 {
  316. padding: 10px 0;
  317. font-size: 16px;
  318. font-weight: 500;
  319. color: #000000;
  320. }
  321. div.vendor_store_apply .row span {
  322. display: block;
  323. padding: 10px 0;
  324. font-size: 14px;
  325. color: #000000;
  326. }
  327. div.vendor_store_apply #file_upload {
  328. width: 100px;
  329. height: 100px;
  330. border:1px solid #CDCDCD;
  331. /*background: url("static/img/vendor/images/upload.png");*/
  332. }
  333. div.vendor_store_apply #upload_qualification {
  334. width: 100px;
  335. height: 100px;
  336. opacity: 0;
  337. }
  338. div.vendor_store_apply .custom_tab {
  339. margin: 0 15px;
  340. width: 90px;
  341. text-align: center;
  342. }
  343. div.vendor_store_apply .nav li.custom_tab.active>a,
  344. div.vendor_store_apply .nav li.custom_tab.active>a:focus,
  345. div.vendor_store_apply .nav li.custom_tab.active>a:hover {
  346. border: 1px solid #5078CB;
  347. border-bottom-color: transparent;
  348. color: #5078cb;
  349. }
  350. div.vendor_store_apply .uploadify-button {
  351. display: block;
  352. }
  353. div.vendor_store_apply .custom_col .show_image_area {
  354. height: 120px;
  355. display: flex;
  356. justify-content: center;
  357. align-items: center;
  358. }
  359. .nav-tabs{
  360. height: 41px;
  361. background: none;
  362. padding: 0 40px;
  363. }
  364. .nav-tabs>li>a{
  365. border-radius: 0;
  366. color: #333;
  367. }
  368. div.vendor_store_apply .btn-primary{
  369. background: #5078cb;
  370. border-radius: 0;
  371. }
  372. div.vendor_store_apply .btn-primary:hover{
  373. background: #3f7ae3;
  374. }
  375. div.vendor_store_apply .com_row .col-md-2{
  376. width: 120px;
  377. }
  378. div.vendor_store_apply .com_row .col-md-10 span{
  379. color: #666;
  380. }
  381. /*修改的样式*/
  382. div.vendor_store_apply .custom_col .show_image_area{
  383. position: relative;
  384. overflow: hidden;
  385. }
  386. .hover-show{
  387. position: absolute;
  388. width: 100%;
  389. height: 100%;
  390. top: 120px;
  391. left: 0;
  392. background: rgba(0,0,0,.5);
  393. }
  394. div.vendor_store_apply .custom_col .show_image_area .hover-show{
  395. top: 0;
  396. }
  397. .hover-show .delete{
  398. padding: 0;
  399. width: 30px;
  400. height: 30px;
  401. float: right;
  402. text-align: center;
  403. }
  404. .hover-show .delete:hover{
  405. cursor: pointer;
  406. }
  407. .hover-show .delete i{
  408. color: #fff;
  409. font-size: 18px;
  410. }
  411. .hover-show a{
  412. display: inline-block;
  413. width: 100%;
  414. height: 60px;
  415. font-size: 14px;
  416. color: #fff;
  417. text-align: center;
  418. line-height: 60px;
  419. }
  420. .hover-show a i{
  421. margin-right: 5px;
  422. font-size: 16px;
  423. }
  424. .brand-type{
  425. line-height: 34px;
  426. font-size: 14px;
  427. margin: 20px 20px 5px 20px;
  428. }
  429. .brand-type .brand-small-img{
  430. position: relative;
  431. width: 84px;
  432. height: 84px;
  433. overflow: hidden;
  434. text-align: center;
  435. border: #e8e8e8 1px solid;
  436. }
  437. .brand-type .brand-small-img .preview img{
  438. max-width: 84px;
  439. max-height: 84px;
  440. }
  441. .brand-type em{
  442. color: #ff0000;
  443. }
  444. .brand-type .col-md-7,.brand-type .col-md-1{
  445. margin-top: 25px;
  446. }
  447. .brand-small-upload .file-text,.brand-type .brand-small-img{
  448. float: left;
  449. }
  450. .brand-small-upload .file-text{
  451. width: 120px;
  452. margin-left: 10px;
  453. line-height: 20px;
  454. margin-top: 6%;
  455. }
  456. .brand-small-upload .delete{
  457. float: right;
  458. text-align: center;
  459. line-height: 84px;
  460. }
  461. .brand-small-upload .delete i{
  462. font-size: 18px;
  463. color: #5078cb;
  464. }
  465. .brand-small-upload .delete:hover{
  466. cursor: pointer;
  467. }
  468. .brand-small-upload .delete:hover i{
  469. color: #f00;
  470. }
  471. .brand-small-upload .brand-small-img .hover-show{
  472. top: 0;
  473. }
  474. .brand-small-upload .brand-small-img .hover-show{
  475. }
  476. .brand-small-upload .brand-small-img .hover-show span i{
  477. color: #fff;
  478. }
  479. .brand-small-upload .brand-small-img .hover-show span.delete{
  480. line-height: 30px;
  481. padding: 0;
  482. }
  483. .brand-small-upload .brand-small-img .hover-show a{
  484. line-height: 30px;
  485. height: 30px;
  486. }
  487. .tab-content .com_row{
  488. margin:40px 0 0;
  489. border-bottom: #ccc 1px dashed;
  490. padding-bottom: 40px !important;
  491. }
  492. .tab-content .com_row .col-md-12{
  493. color: #999;
  494. margin-top: 20px;
  495. font-size: 12px;
  496. padding-left: 50px;
  497. }
  498. .brand-small-upload .col-md-12{
  499. color: #999;
  500. font-size: 12px;
  501. padding-left: 0;
  502. }
  503. .tab-content .com_row .col-md-12 em,.brand-small-upload .col-md-12 em{
  504. color: #f00;
  505. }
  506. .add-brand{
  507. text-align: center;
  508. border-bottom: #ccc 1px dashed;
  509. margin: 0 0 20px 0;
  510. height: 34px;
  511. }
  512. .add-brand a{
  513. font-size: 14px;
  514. color: #5078cb;
  515. width: 200px;
  516. height: 15px;
  517. display: inline-block;
  518. border: #ccc 1px dashed;
  519. border-top: 0;
  520. border-bottom-left-radius: 50px;
  521. border-bottom-right-radius: 50px;
  522. margin-top: 31px;
  523. background: #fff;
  524. line-height: 15px;
  525. text-decoration: none;
  526. }
  527. .add-brand a i{
  528. margin-right: 5px;
  529. font-size: 20px;
  530. vertical-align: middle;
  531. }
  532. .add-brand a em{
  533. position: relative;
  534. top: -10px;
  535. font-weight: bold;
  536. font-style: inherit;
  537. }
  538. .add-brand a:hover em, .add-brand a:active em, .add-brand a:focus em{
  539. color: #d32526;
  540. text-decoration: none;
  541. }
  542. .unpass-reason {
  543. margin: 0 40px;
  544. line-height: 34px;
  545. }
  546. /* 预览框 end */
  547. .brand-type .dropdown-menu {
  548. width: 95%;
  549. }
  550. .brand-type .dropdown-menu li {
  551. font-size: 14px;
  552. }
  553. .com-del-box{
  554. position: fixed;
  555. z-index: 2;
  556. height: 152px;
  557. opacity: 1;
  558. background-color: white;
  559. width: 310px;
  560. -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
  561. box-shadow: 0 5px 15px rgba(0,0,0,.5);
  562. margin: -155px 0 0 -75px;
  563. top: 55%;
  564. left: 50%;
  565. }
  566. .com-del-box .title{
  567. height: 30px;
  568. background-color: #5078cb;
  569. text-align: right;
  570. padding-right: 15px;
  571. line-height: 30px;
  572. }
  573. .com-del-box .title a{
  574. color: white;
  575. font-size: 16px;
  576. }
  577. .com-del-box .content{
  578. width: 100%;
  579. text-align: center;
  580. margin: 0 auto;
  581. }
  582. .com-del-box .content p{
  583. line-height: 50px;
  584. font-size: 14px;
  585. padding-top: 10px;
  586. }
  587. .com-del-box .content p i{
  588. color: #5078cb;
  589. font-size: 16px;
  590. margin-right: 10px;
  591. }
  592. .com-del-box .content div{
  593. width: 100%;
  594. text-align: center;
  595. margin: 0 auto;
  596. }
  597. .com-del-box .content div a{
  598. width: 55px;
  599. height: 26px;
  600. line-height: 26px;
  601. display: inline-block;
  602. text-align: center;
  603. font-size: 14px;
  604. }
  605. .com-del-box .content div a:first-child{
  606. background: #b4b5b9;
  607. color: #333;
  608. margin-right: 10px;
  609. }
  610. .com-del-box .content div a:last-child{
  611. background: #5078cb;
  612. color: #fff;
  613. }
  614. .com-del-box .content div a:hover{
  615. background: #3f7ae3;
  616. color: #fff;
  617. }
  618. div.vendor_store_apply .custom_col .show_image_area{
  619. width: 160px;
  620. border: #dcdcdc 1px solid;
  621. margin: 0 10px 0 0;
  622. padding: 0;
  623. }
  624. div.vendor_store_apply .tab-content .custom_col{
  625. width: 280px;
  626. }
  627. div.vendor_store_apply .tab-content .custom_col:first-child{
  628. margin-left: 50px;
  629. }
  630. div.vendor_store_apply .custom_col .row .col-md-5:last-child{
  631. width: 110px;
  632. }
  633. div.vendor_store_apply .custom_col .row .col-md-5:last-child span{
  634. margin-top: 85% !important;
  635. padding-bottom: 0 !important;
  636. }
  637. .hoverShow{
  638. position: absolute;
  639. width: 30px;
  640. height: 30px;
  641. top: 0px;
  642. right: 0;
  643. background: rgba(0,0,0,.4);
  644. display: none;
  645. }
  646. div.vendor_store_apply .custom_col .show_image_area:hover .hoverShow{
  647. display: block;
  648. }
  649. div.vendor_store_apply .custom_col .show_image_area .deleteImg{
  650. position: absolute;
  651. right: 7px;
  652. top: 0;
  653. display: inline-block;
  654. padding: 0;
  655. margin-top: 6px;
  656. font-size: 18px;
  657. color: #fff;
  658. }
  659. .hover-show a{
  660. color: #fff;
  661. text-decoration: none;
  662. }
  663. .hover-show a:hover, .hover-show a:active, .hover-show a:focus{
  664. color: #fff;
  665. text-decoration: none;
  666. }
  667. </style>