<template>
  <div class="detail">
    <div class="header">
      <img src="./img/down-icon.png" alt="" class="logo-img">
      <div class="text-info">
        <p>薇诺娜服饰专营店</p>
        <div>
          <img src="./img/down-icon.png" alt="" class="local-icon">
          <span>陕西省西安市新城区中山门街道168号陕西省西安市新城区中山门街道168号</span>
        </div>
      </div>
    </div>
    <div class="content">
      <div class="title">基础信息</div>
      <div class="info">
        <span>店主</span>
        <span class="color-333">林轶峰</span>
      </div>
      <div class="info">
        <span>电话</span>
        <span class="color-3D94FB">17214317899</span>
      </div>
      <div class="info">
        <span>身份证</span>
        <span class="color-333">42080134140193413</span>
      </div>
      <div class="img-list">
        <div class="info">
          <span>门店照片</span>
        </div>
        <img src="./img/down-icon.png" alt="">
      </div>
      <div class="info">
        <span>地图</span>
        <span class="color-3D94FB">定位</span>
      </div>
    </div>
    <div class="content">
      <div class="title">店员信息</div>
      <div class="info">
        <span>林轶峰</span>
        <span class="color-3D94FB">17214317899</span>
      </div>
      <div class="info">
        <span>林轶峰</span>
        <span class="color-3D94FB">17214317899</span>
      </div>
    </div>
    <AiGap h="112"/>
    <div class="btn">新增店员</div>
  </div>
</template>

<script>
import {mapState} from 'vuex'

export default {
  name: 'detail',
  data() {
    return {
      
    }
  },
  computed: {...mapState(['user'])},
  created() {

  },
  onShow() {
    document.title = "商户详情"
  },
  methods: {
    
  }
}
</script>

<style lang="scss" scoped>
.detail {
  .header{
    width: 100%;
    background-color: #fff;
    padding: 48px 32px;
    box-sizing: border-box;
    margin-bottom: 8px;
    .logo-img{
      width: 96px;
      height: 96px;
      margin-right: 24px;
      vertical-align: top;
    }
    .text-info{
      display: inline-block;
      width: calc(100% - 120px);
      p{
        font-size: 32px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #333;
        line-height: 44px;
        margin-bottom: 6px;
        word-break: break-all;
      }
      .local-icon{
        width: 26px;
        height: 26px;
        margin-right: 6px;
      }
      span{
        display: inline-block;
        width: calc(100% - 32px);
        font-size: 28px;
        font-family: PingFangSC-Regular, PingFang SC;
        color: #90969E;
        line-height: 40px;
        vertical-align: text-top;
      }
    }
  }
  .content{
    background-color: #fff;
    padding: 0 32px;
    margin-bottom: 8px;
    .title{
      font-size: 32px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #333;
      line-height: 44px;
      padding: 32px 0;
    }
    .info{
      display: flex;
      justify-content: space-between;
      font-size: 32px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #999;
      line-height: 44px;
      padding: 14px 0;
      .color-333{
        color: #333;
      }
      .color-3D94FB{
        color: #3D94FB;
      }
    }
    .img-list{
      img{
        width: 100%;
        height: 320px;
      }
    }
  }
  .btn{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    height: 112px;
    line-height: 112px;
    background: #3975C6;
    box-shadow: inset 0px 2px 0px 0px #EEEEEE;
    font-size: 32px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #FFF;
  }
}
</style>
