<template>
  <div class="mobile-become-store">
    <div class="mobile-all-content">
      <register></register>
    </div>
  </div>
</template>
<script>
  import { Register } from '~components/mobile/register-saler'
  export default {
    name: 'mobile',
    layout: 'mobile',
    middleware: 'authenticated',
    components: {
      Register
    },
    computed: {
      user () {
        return this.$store.state.option.user
      }
    }
//    mounted () {
//      if (!this.user.logged) {
//        this.$http.get('/login/page', {params: {returnUrl: window.location.href}}).then(response => {
//          if (response.data) {
//            window.location.href = response.data.content + '&baseUrl=' + encodeURIComponent(window.location.protocol + '//' + window.location.host + response.data.baseUrl)
//          }
//        })
//      }
//    }
  }
</script>
<style>
  /* 公共模块 */
  .mobile-become-store{
    width: 100%;
    background: #F5F5F5;
    margin: 0 auto;
    /*height: 100%;*/
    position: fixed;
    top: 0.88rem;
    left: 0;
    right: 0;
    bottom: 0.98rem;
  }
  .mobile-become-store .mobile-all-content .h3{
    font-size: 24px;
    line-height: 80px;
    text-align: center;
    font-weight: bold;
  }
  .mobile-become-store .mobile-all-content .header-title{
    width: 70%;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  .mobile-become-store .mobile-all-content .header-title .col-md-6{
    padding: 0 45px;
  }
  .mobile-become-store .mobile-all-content .header-title .col-md-6 img {
    margin-left: 95px;
  }
  .mobile-become-store .mobile-all-content .header-title h4{
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
  }
  .mobile-become-store .mobile-all-content .header-title p{
    font-size: 14px;
    line-height: 25px;
    color: #666;
    margin-bottom: 30px;
  }
  .step-menu{
    width: 100%;
    margin: 0 auto;
    height: 34px;
    background: #e8e8e8;
    line-height: 34px;
  }
  .step-menu ul{
    width: 100%;
    margin: 0 auto;
  }
  .step-menu ul li{
    width: 33.33333333%;
    float: left;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    color: #555;
    text-align: center;
    position: relative;
    cursor: default!important;
  }
  .step-menu ul li:hover{
    cursor: pointer;
    /*background: #0099ff;
    color: #fff;*/
  }
  .step-menu ul li.active{
    background: #5078cb;
    color: #fff;
  }
  .mobile-become-store .section{
    width: 100%;
    margin: 0 auto;
  }
  .mobile-become-store .section .register{
    width: 95%;
    margin: 0 auto;
    padding-top: 30px;
  }
  .mobile-become-store .section .register .row{
    line-height: 34px;
    padding-bottom: 15px;
    margin: 0 auto;
  }
  .mobile-become-store .section .register .row p{
    margin-bottom: 0;
  }
  .mobile-become-store .section .register .row .form-control{
    border-color: #ccc;
    border-radius: 0;
    box-shadow: none;
  }
  .x-form-set-header {
    position: relative;
    margin-bottom: 45px;
  }
  .x-form-set-header h4 {
    font-size: 20px;
    font-weight: 400;
    color: #888;
    margin-top: 0;
    padding-bottom: 14px;
    text-align: center;
  }
  .x-form-set-header:after {
    content: "";
    width: 120px;
    height: 2px;
    background: #5078cb;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
  }
  .x-required:before {
    position: relative;
    bottom: -5px;
    content: "* ";
    font-size: 18px;
    color: #f4645f;
  }
  .register label{
    font-size: 14px;
    color: #555;
    text-align: right;
    padding-right: 10px;
  }
  .mobile-tab-list .next-btn{
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .mobile-tab-list .step-two-btn {
    border-top: 1px solid #d3d3d3;
  }
  .mobile-tab-list .next-btn button{
    font-size: 0.28rem;
    width: 50%;
    padding: 0;
    height: 0.74rem;
    line-height: 0.74rem;
    border-radius: 0;
    letter-spacing: 4px;
    background: #fff;
    color: #3f84f6;
    margin-right: 0px;
    border: 0px;
  }
  .no-apply{
    width: 150px;
    height: 34px;
    line-height: 34px;
    background: #0099ff;
    text-align: center;
    border: none;
    font-size: 14px;
    color: #fff;
    margin-top: 30px;
    margin: 0 20px;
    float: right;
    border-radius: 3px;
  }
  .mobile-tab-list .next-btn button:hover,.mobile-tab-list .next-btn button:focus {
    background: #3765cb;
    color: #fff;
  }
  .mobile-agreement{
    width: 100%;
    margin: 0 auto;
  }
  .step-last{
    width: 92%;
    margin: 0 auto;
  }
  .step-last .h4{
    font-size: 18px;
    line-height: 40px;
    margin: 20px 0 0 0;
  }
  .step-last p.title{
    font-size: 14px;
    color: #666;
    line-height: 30px;
    text-align: left;
    width: 100% !important;
  }
  .apply-include{
    width: 100%;
    margin: 0 auto;
    height: 300px;
    border: #e8e8e8 1px solid;
    line-height: 300px;
    font-size: 18px;
    text-align: center;
  }
  /*服务协议*/
  .mobile-join_xieyi{
    border: 1px solid #d3d3d3;
    margin: 0.2rem 0.2rem;
    border-radius: 5px;
    background: #fff;
  }
  .mobile-join_xieyi div.article-flag {
    width: 100%;
    display: inline-block;
    height: 0.72rem;
    line-height: 0.72rem;
    box-shadow: 0px 5px 5px #dcdcdc;
  }
  .mobile-join_xieyi div.article-flag span {
    text-align: center;
    cursor: pointer;
    color: #a0a0a0;
    font-size: 0.24rem;
    width: 50%;
    display: inline-block;
  }
  .mobile-join_xieyi div.article-flag span:first-child {
    border-bottom: none;
  }
  /*.join_xieyi div.article-flag span:hover {
    color: #708ed2;
    border-color: #708ed2;
    background: #fff;
  }*/
  .mobile-join_xieyi div.article-flag span.active {
    color: #708ed2;
    border-color: #708ed2;
    background: #fff;
  }

  .mobile-join_xieyi div.text-area {
    max-height: calc(100vh - 0.72rem - 0.4rem - 0.88rem - 0.98rem - 1.85rem - 0.8rem);
    overflow: auto;
    word-break: break-all;
    outline: none;
    border-left: none;
  }
  .mobile-tab-list .checkbox-inline{
    font-size: 0.24rem;
  }
  .x-btn-blank{
    border: 1px solid #ccc;
    background: #fff;
    color: #888;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: block;
    height: 34px;
    line-height: 31px;
  }
  .file-input{
    position: absolute;
    font-size: 14px;
    top: 0;
    left: 0;
    opacity: 0;
  }
  .x-btn-blank i{
    margin-left: 5px;
    color: #888;
    font-size: 16px;
    position: relative;
    top: 2px;
  }
  .register .col-sm-5 i.fa-info-circle{
    font-size: 16px;
    color: #888;
    position: relative;
    top: 2px;
    margin-right: 5px;
  }
  .register .col-sm-5 p, .register .col-sm-5 p i{
    color: red !important;
  }
  .register .col-sm-5 span.fa-map-marker, .register .col-sm-5 span.web{
    position: absolute;
    top: 1px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    color: #999;
    font-size: 16px;
    left: 12px;
  }
  .register .col-sm-5 span.web{
    font-size:14px;
    left:25px;
  }
  /* 开店申请模块 */
  .com-input{
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    display: inline-block !important;
  }
  .el-upload-list--picture-card .el-upload-list__item{
    width: 160px;
    height: 120px;
    top: 69px;
  }
  .mobile-tab-list div.mobile-vendor_store_apply {
    background-color: #f1f3f6;
  }


  .mobile-tab-list div.mobile-vendor_store_apply .title_row {
    margin-bottom: 20px;
    border-bottom: #e8e8e8 1px solid;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .custom_col {
    margin: 0.2rem;
    border-radius: 5px;
    border: 1px solid #d3d3d3;
    background: #fff;
    padding: 0 0 0.2rem 0;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .infoTextMobile {
    color: #999;
    font-size: 0.28rem
  }

  .mobile-tab-list div.mobile-vendor_store_apply .custom_col img.previewImage {
    width: 100%;
    cursor: pointer;
    height: 1.09rem;
    /*padding: 0 30px;*/
  }

  .mobile-tab-list div.mobile-vendor_store_apply .row h2 {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .row span {
    /*display: block;*/
    /*padding: 10px 0;*/
    font-size: 14px;
    color: #000000;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .mobile-register-brand-name {
    font-size: 0.28rem;
    color: #226ce7;
    border-bottom: 1px solid #d3d3d3;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .mobile-register-brand-name input {
    font-size: 0.28rem;
    color: #999;
    width: 5rem;
  }

  .mobile-tab-list div.mobile-vendor_store_apply #file_upload {
    width: 100px;
    height: 100px;
    border:1px solid #CDCDCD;
    /*background: url("static/img/vendor/images/upload.png");*/
  }

  .mobile-tab-list div.mobile-vendor_store_apply #upload_qualification {
    width: 100px;
    height: 100px;
    opacity: 0;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .custom_tab {
    margin: 0 15px;
    width: 90px;
    text-align: center;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .nav li.custom_tab.active>a,
  .mobile-tab-list div.mobile-vendor_store_apply .nav li.custom_tab.active>a:focus,
  .mobile-tab-list div.mobile-vendor_store_apply .nav li.custom_tab.active>a:hover {
    border: 1px solid #5078CB;
    border-bottom-color: transparent;
    color: #5078cb;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .uploadify-button {
    display: block;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .custom_col .show_image_area {
    height: 1.09rem;
    position: relative;
    /*overflow: hidden;*/
    width: 1.09rem;
    border: #dcdcdc 1px solid;
    padding: 0;
  }
  .nav-tabs{
    height: 41px;
    background: none;
    padding: 0 40px;
  }
  .nav-tabs>li>a{
    border-radius: 0;
    color: #333;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .btn-primary{
    background: #5078cb;
    border-radius: 0;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .btn-primary:hover{
    background: #3f7ae3;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .com_row .col-md-2{
    width: 120px;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .com_row .col-md-10 span{
    color: #666;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .brand-small-upload {margin-top:0.2rem;}
  /*修改的样式*/
  .hover-show{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 120px;
    left: 0;
    background: rgba(0,0,0,.5);
  }
  .mobile-tab-list div.mobile-vendor_store_apply .custom_col .show_image_area .hover-show{
    top: 0;
  }
  .mobile-tab-list .hover-show .delete{
    padding: 0;
    width: 0.3rem;
    height: 0.3rem;
    float: right;
    text-align: center;
    position: absolute;
    right: -0.15rem;
    top: -0.15rem;
  }
  .mobile-tab-list .hover-show .delete:hover{
    cursor: pointer;
  }
  .mobile-tab-list .hover-show .delete i{
    color: red;
    font-size: 14px;
  }
  .mobile-tab-list .hover-show a{
    display: inline-block;
    width: 100%;
    height: 1.09rem;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 1.09rem;
  }
  .mobile-tab-list .hover-show a i{
    margin-right: 0.05rem;
    font-size: 14px;
  }
  .mobile-tab-list .brand-type{
    line-height: 34px;
    font-size: 14px;
    margin: 20px 20px 5px 20px;
  }
  .mobile-tab-list .brand-type .brand-small-img{
    position: relative;
    width: 1.09rem;
    height: 1.09rem;
    /*overflow: hidden;*/
    text-align: center;
    border: #e8e8e8 1px solid;
  }
  .mobile-tab-list .brand-type .brand-small-img .preview img{
    max-width: 84px;
    max-height: 84px;
  }
  .mobile-tab-list .brand-type em{
    color: #ff0000;
  }
  .mobile-tab-list .brand-type .col-md-7,.mobile-tab-list .brand-type .col-md-1{
    margin-top: 25px;
  }
  .mobile-tab-list .brand-small-upload .file-text,.mobile-tab-list .brand-type .brand-small-img{
    float: left;
  }
  .mobile-tab-list .brand-small-upload .file-text{
    font-size: 0.24rem;
    color: #999;
    line-height: 1.09rem;
    margin-left: 0.2rem;
    width: auto;
  }
  .mobile-tab-list .brand-small-upload .delete{
    /*float: right;*/
    /*text-align: center;*/
    /*line-height: 1.09rem;*/
  }
  .mobile-tab-list .brand-small-upload .delete i{
    font-size: 14px;
    color: #5078cb;
    float: left
  }
  .mobile-tab-list .brand-small-upload .delete:hover{
    cursor: pointer;
  }
  .mobile-tab-list .brand-small-upload .delete:hover i{
    color: #f00;
  }
  .mobile-tab-list .brand-small-upload .brand-small-img .hover-show{
    top: 0;
  }
  .mobile-tab-list .brand-small-upload .brand-small-img .hover-show{
  }
  .mobile-tab-list .brand-small-upload .brand-small-img .hover-show span i{
    color: red;
  }
  .mobile-tab-list .brand-small-upload .brand-small-img .hover-show span.delete{
    /*line-height: 30px;*/
    /*padding: 0;*/
    /*right: -0.35rem;*/
    /*position: absolute;*/
    /*display: inline-block;*/
    /*margin-top: -0.25rem;*/
  }
  .mobile-tab-list #image-box,.mobile-tab-list  .image-box{
    display: table;
    /* overflow: hidden; */
    _position: relative;
    width: 100%;
    height: auto;
    position: fixed;
    top: 50%;
    margin-top: -30%;
    left: 50%;
    margin-left: -50%;
    z-index: 2000;
  }
  .mobile-tab-list #image-box .x-floating img,.mobile-tab-list  .image-box .x-floating img {
    width: 100%;
    height: 100%;
  }
  .mobile-tab-list .brand-small-upload .brand-small-img .hover-show a{
    /*line-height: 30px;*/
    /*height: 30px;*/
    /*margin-top: -0.2rem;*/
  }
  .mobile-tab-list .mobile-tab-content .com_row .col-md-12{
    color: #999;
    margin-top: 20px;
    font-size: 12px;
    padding-left: 50px;
  }
  .mobile-tab-list .mobile-tab-content .row {margin: 0px !important;}
  .mobile-tab-list .brand-small-upload .col-md-12{
    color: #999;
    font-size: 12px;
    padding-left: 0;
  }
  .mobile-tab-list .mobile-tab-content .com_row .col-md-12 em,.mobile-tab-list .brand-small-upload .col-md-12 em{
    color: #f00;
  }
  .mobile-tab-list .add-brand{
    text-align: center;
    border: 0.02rem solid #b5b5b6;
    border-radius: 3px;
    font-size: 0.32rem;
    color: #666;
    height: 0.77rem;
    line-height: 0.77rem;
    background: #fff;
    margin: 0 0.2rem;
  }
  .mobile-tab-list .add-brand i.fa-plus-circle{
    color: #999;
  }
  .unpass-reason {
    margin: 0 40px;
    line-height: 34px;
  }

  /* 预览框 end */

  .mobile-tab-list .brand-type .dropdown-menu {
    width: 95%;
    height: 3rem;
    display: block;
    overflow-y: auto;
  }
  .mobile-tab-list .brand-type .dropdown-menu li {
    font-size: 0.24rem;
  }
  .mobile-tab-list .com-del-box{
    position: fixed;
    z-index: 2;
    height: 152px;
    opacity: 1;
    background-color: white;
    width: 310px;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    margin: -155px 0 0 -75px;
    top: 55%;
    left: 50%;
  }
  .mobile-tab-list .com-del-box .title{
    height: 30px;
    background-color: #5078cb;
    text-align: right;
    padding-right: 15px;
    line-height: 30px;
  }
  .mobile-tab-list .com-del-box .title a{
    color: white;
    font-size: 16px;
  }
  .mobile-tab-list .com-del-box .content{
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .mobile-tab-list .com-del-box .content p{
    line-height: 50px;
    font-size: 14px;
    padding-top: 10px;
  }
  .mobile-tab-list .com-del-box .content p i{
    color: #5078cb;
    font-size: 16px;
    margin-right: 10px;
  }
  .mobile-tab-list .com-del-box .content div{
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .mobile-tab-list .com-del-box .content div a{
    width: 55px;
    height: 26px;
    line-height: 26px;
    display: inline-block;
    text-align: center;
    font-size: 14px;
  }
  .mobile-tab-list .com-del-box .content div a:first-child{
    background: #b4b5b9;
    color: #333;
    margin-right: 10px;
  }
  .mobile-tab-list .com-del-box .content div a:last-child{
    background: #5078cb;
    color: #fff;
  }
  .mobile-tab-list .com-del-box .content div a:hover{
    background: #3f7ae3;
    color: #fff;
  }
  .mobile-tab-list .hoverShow{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0px;
    right: 0;
    background: rgba(0,0,0,.4);
    display: none;
  }

  .mobile-tab-list div.mobile-vendor_store_apply .custom_col .show_image_area:hover .hoverShow{
    display: block;
  }
  .mobile-tab-list div.mobile-vendor_store_apply .custom_col .show_image_area .deleteImg{
    position: absolute;
    right: 7px;
    top: 0;
    display: inline-block;
    padding: 0;
    margin-top: 6px;
    font-size: 18px;
    color: #fff;
  }
  .mobile-tab-list .hover-show a{
    color: #fff;
    text-decoration: none;
    font-size: 0.24rem;
  }
  .mobile-tab-list .hover-show a:hover, .mobile-tab-list .hover-show a:active, .mobile-tab-list .hover-show a:focus{
    color: #fff;
    text-decoration: none;
  }
  .mobile-tab-list .btn-area {
    margin-top: 0.2rem;
    text-align: center;
  }
  .mobile-tab-list .btn-area span {
    text-align: center;
    border: 0.02rem solid #3f84f6;
    border-radius: 3px;
    font-size: 0.32rem;
    color: #fff;
    height: 0.77rem;
    line-height: 0.77rem;
    background: #3f84f6;
    margin: 0 0.2rem 0.2rem 0.2rem;
    display: block;
  }
</style>
