<div class="page">
  <!-- 头部 -->
  <HeaderMain></HeaderMain>
  <!-- 工具栏 -->
  <div class="history-tools">
    <div class="left">
      <el-dropdown trigger="click">
        <el-button type="primary">所属项目 <i class="el-icon-caret-bottom icon-right"></i>
        </el-button>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item>黄金糕黄金糕黄金糕</el-dropdown-item>
          <el-dropdown-item>狮子头</el-dropdown-item>
          <el-dropdown-item>螺蛳粉</el-dropdown-item>
          <el-dropdown-item>双皮奶</el-dropdown-item>
          <el-dropdown-item>蚵仔煎</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
      <el-dropdown trigger="click">
        <el-button type="primary">更新时间 <i class="el-icon-caret-bottom icon-right"></i>
        </el-button>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item>按创建时间排序</el-dropdown-item>
          <el-dropdown-item>按更新时间排序</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
    </div>
    <div class="right">
      <el-button type="primary" icon="el-icon-circle-plus-outline" @click="createTest">创建测试</el-button>
    </div>
  </div>
  <!-- 列表 -->
  <div class="test-list">
    <div class="item" v-for="(item,index) in lists" :key="item.index" :class="{ itemCopy: isCopy && index == 0 }">
      <div class="tools">
        <img class="item-img delete" src="" alt="" @click="deleteTest(index)">
        <img class="item-img copy" src="" alt="" @click="copyTest">
        <img class="item-img share" src="" alt="" @click="shareTest()">
        <img class="item-img edit" src="" alt="" @click="editTest" style="float:right;margin-right:10px;">
      </div>
      <img class="item-img" mode="" src="https://dm.static.elab-plus.com/diaoyanbao/coverImg/GT95_preview.jpg" alt="">
      <div class="title">定制你的家具香气{{item.index}}</div>
      <div class="desc">无锡WIII</div>
      <div class="bottom">
        <span>共21题</span>
        <span>1天前</span>
      </div>
    </div>
    <div class="item add" @click="createTest">
      <i class="el-icon-circle-plus add-icon"></i>
      <span>创建测试</span>
    </div>
  </div>
  <!-- 分享设置 -->
  <ShareSetting v-show="isShareSetting" :close="closeShare"></ShareSetting>
</div>