index.vue 15 KB

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