index.vue 15 KB

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