index.vue 17 KB

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