<div :style="[style]">
  <div class="table_show">
      <div class="table_header table_one clearfix">
        <div v-for="header in headers" :key="header" class="item test_center">{{header}}</div>
        <div v-if="details" class="item test_center">操作</div>
      </div>
      <div class="table_bodyer" :style="[bodyStyle]" @click="handleClick($event)">
        <scroll :data="data" class="seamless-warp" :class-option="swiperOption">
          <div v-for="(line, index) in data" :key="index" class="table_one clearfix item_height">
            <div class="item test_center ellipsis_1" v-for="(item, itemIndex) in dataName" :key="itemIndex" >{{line[item]}}</div>
            <div v-show="details" class="item test_center ellipsis_1" style="cursor: pointer;" :data-item="JSON.stringify(line)">查看详情</div>
          </div>
        </scroll>
      </div>
  </div>
</div>
