小牛集卡web 客户端
chenwei
2021-06-08 e41faf1640e2e71febf4ba347a301e0c043b6ce9
src/components/agopage/comment/BoxAdress.vue
@@ -2,9 +2,12 @@
  <div>
    <div class="form-input">
      <div class="tibox-adres">
        <el-input @focus="tiFocus" readonly v-model="playBox"></el-input>
        <el-input @focus="tiFocus" readonly v-model="playBox" @blur="boxBlur"></el-input>
        <div class="select-tibox" v-if="isTShow">
          <el-tabs v-model="subform.CityId" @tab-click="handleClick">
          <div class="empty" v-if="boxaddress.length==0">
              暂 无 数 据
          </div>
          <el-tabs v-else v-model="subform.CityId" @tab-click="handleClick">
            <el-tab-pane
              v-for="(item, cindex) in boxaddress"
              :key="cindex+6"
@@ -69,6 +72,12 @@
        tiFocus(){
            this.isTShow=true;
        },
        boxBlur(){
          console.log(this.returnBoxAdress)
          if(this.returnBoxAdress.length==0){
            this.isTShow = false;
          }
        },
        handleClick(val){
            console.log(val);
        },
@@ -119,4 +128,9 @@
.suffix-txt .shortcut:hover {
  color: #409eff;
}
.empty{
  text-align: center;
  padding: 6px 0px;
  color: #c3c3c3;
}
</style>