studioDetail.vue 2.94 KB
<template>
  <div>
    <div>
      <div class="box">
        <el-card class="mt30 borderRadius10">
          <h3>{{ form.name }}
            <div class="tagbox">
              <span>专业团队</span>
              <span>大牌化妆品</span>
              <span>金牌化妆师</span>
              <span>连锁</span>
            </div>
          </h3>
          <p class="infoLine">
           <span>
                <el-icon><OfficeBuilding/></el-icon>
                成立<i class="text-primary">6</i>
           </span>
            <span>
                <el-icon><User/></el-icon>
                <i class="text-primary">12</i>名化妆师
            </span>
            <span><el-icon><Iphone/></el-icon>
              800-820-8820</span>
            <span><el-icon><Location/></el-icon>
              江苏无锡梁溪区南长街5D-601</span>
          </p>
        </el-card>
        <el-row :gutter="20" class="photoWall mt20">
          <el-col :span="9">
            <el-image class="as16_9"/>
          </el-col>
          <el-col :span="5">
            <el-row :gutter="20">
              <el-col :span="12" class="h50-10px"><el-image/></el-col>
              <el-col :span="12" class="h50-10px"><el-image/></el-col>
              <el-col :span="24" class="h50-10px mt20"><el-image/></el-col>
            </el-row>
          </el-col>
          <el-col :span="5">
            <el-image/>
          </el-col>
          <el-col :span="5">
            <el-row :gutter="20">
              <el-col :span="12" class="h50-10px"><el-image/></el-col>
              <el-col :span="12" class="h50-10px"><el-image/></el-col>
              <el-col :span="24" class="h50-10px mt20"><el-image/></el-col>
            </el-row>
          </el-col>
        </el-row>
        <el-card class="mt20 mb60">


        </el-card>
      </div>
    </div>
  </div>
</template>

<script setup>
import {ref} from "vue"
const form = ref({
  name: '美妆小店'
})
</script>

<style scoped lang="scss">
.tagbox {
  margin: 15px 0;

  a {
    color: #AFB5B9;
    font-size: 12px;
  }

  span {
    border-radius: 13px;
    font-size: 12px;
    padding: 4px 10px;
    margin-right: 10px;
    font-weight: 400;
  }

  span:nth-child(4n) {
    background: rgba(50, 177, 108, 0.2);
    color: rgba(50, 177, 108, 1);
  }

  span:nth-child(4n+1) {
    background: rgba(243, 152, 0, 0.2);
    color: rgba(243, 152, 0, 1);
  }

  span:nth-child(4n+2) {
    background: rgba(0, 160, 233, 0.2);
    color: rgba(0, 160, 233, 1);
  }

  span:nth-child(4n+3) {
    background: rgba(247, 64, 166, 0.2);
    color: rgba(247, 64, 166, 1);
  }
}
.infoLine{font-weight: 400;margin: 7px 0;
  font-size: 14px;
  color: #929AA0;
  i{font-style: normal;}
  span{margin-right: 10px;
    i.text-primary{padding: 0 4px;}
  }
  .el-icon{position: relative;top:2px;margin-right: 4px;}
}
.photoWall{
  .el-row{height: 100%;}
  .el-image{
    width: 100%;border-radius: 10px;height: 100%;
  }
}
.h50-10px{height: calc(50% - 10px)}
</style>