<template>
  <div id="rightinfo">
    <el-col :span="24">
      <el-tabs v-model="activeName" type="card" @tab-click="handleClick" class="xuqiu">
        <el-tab-pane label="我的需求" name="first">
          <el-col :span="24" class="context">
            <el-tabs v-model="activeName1" @tab-click="handleClick" class="shenhe">
              <el-tab-pane label="已审核信息" name="first1">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> 编辑</el-col>
                          <el-col class="fbListCenterQ">彻底删除 </el-col>
                          <el-col class="fbListCenterQ">查看详情 </el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col>
                </el-col>
              </el-tab-pane>
              <el-tab-pane label="未审核信息" name="second2">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> </el-col>
                          <el-col class="fbListCenterQ">彻底删除 </el-col>
                          <el-col class="fbListCenterQ">查看详情 </el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col> </el-col
              ></el-tab-pane>
              <el-tab-pane label="审核中信息" name="third3">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> 状态</el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col>
                </el-col>
              </el-tab-pane>
            </el-tabs>
          </el-col>
        </el-tab-pane>
        <el-tab-pane label="我的供给" name="second">
          <el-col :span="24" class="context">
            <el-tabs v-model="activeName1" @tab-click="handleClick" class="shenhe">
              <el-tab-pane label="已审核信息" name="first1">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> 编辑</el-col>
                          <el-col class="fbListCenterQ">彻底删除 </el-col>
                          <el-col class="fbListCenterQ">查看详情 </el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col>
                </el-col>
              </el-tab-pane>
              <el-tab-pane label="未审核信息" name="second2">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> </el-col>
                          <el-col class="fbListCenterQ">彻底删除 </el-col>
                          <el-col class="fbListCenterQ">查看详情 </el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col> </el-col
              ></el-tab-pane>
              <el-tab-pane label="审核中信息" name="third3">
                <el-col :span="24">
                  <el-col :span="24" class="fblist1" v-for="(item, index) in fbList" :key="index">
                    <el-col :span="24" class="fbListTop">
                      <el-col :span="20"> 信息号：{{ item.id }} </el-col>
                      <el-col :span="4">{{ item.date }}</el-col>
                    </el-col>
                    <el-col :span="24">
                      <el-col :span="9">
                        <el-col :span="10" class="image_1"><el-image :src="item.pic"></el-image> </el-col>
                        <el-col :span="14" class="fbListCenterC">
                          <el-col class="listname">产品：{{ item.name }}</el-col>
                          <el-col class="listtype">类别：{{ item.type }}</el-col>
                          <el-col class="listMoney">{{ item.maoney }}/台</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="11" class="fbListCenterTwo">
                        <el-col>
                          <el-col class="faTop"> 最新申请</el-col>
                          <el-col class="faTxt">我要买</el-col>
                        </el-col>
                      </el-col>
                      <el-col :span="4">
                        <el-col class="fbListCenterR">
                          <el-col class="fbListCenterQ"> 状态</el-col>
                        </el-col>
                      </el-col>
                    </el-col>
                  </el-col>
                  <el-col class="page">
                    <el-pagination
                      @size-change="handleSizeChange"
                      @current-change="handleCurrentChange"
                      :current-page="currentPage"
                      layout="total,  prev, pager, next, jumper"
                      :total="1"
                    >
                    </el-pagination>
                  </el-col>
                </el-col>
              </el-tab-pane>
            </el-tabs>
          </el-col>
        </el-tab-pane>
      </el-tabs>
    </el-col>
  </div>
</template>

<script>
export default {
  name: 'rightinfo',
  props: {
    fbList: null,
  },
  components: {},
  data: () => ({
    activeName: 'first',
    activeName1: 'first1',
    currentPage: 1,
  }),
  created() {},
  computed: {},
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
  },
};
</script>

<style lang="less" scoped>
/deep/.xuqiu .el-tabs__item.is-active {
  color: #ffffff;
  background-color: #215299;
}
/deep/.xuqiu .shenhe .el-tabs__item.is-active {
  color: blue;
  background-color: #ffffff;
}

/deep/.el-tabs__item {
  padding: 0 20px;
  height: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 40px;
  display: inline-block;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  position: relative;
  border-bottom: 1px solid #e4e7ed;
}

/deep/ .el-tabs--card > .el-tabs__header {
  border-bottom: 1px solid #215299;
}

/deep/.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: none;
  border-bottom: none;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.context {
  width: 900px;
  margin: 30px 20px 0 20px;
  min-height: 710px;
}
.fblist1 {
  width: 888px;
  height: 183px;
  border: 1px solid #ccc;
  margin-top: 20px;
}
.fbListTop {
  height: 43px;
  margin-left: 1px;
  background: #fafafa;
  line-height: 43px;
  text-indent: 10px;
  font-size: 13px;
  color: #888888;
  width: 885px;
}
.image_1 {
  width: 110px;
  height: 119px;
  float: left;
  margin: 10px 0 0 10px;
}
.listname {
  width: 110px;
  height: 119px;
  float: left;
  margin: 10px 0 0 20px;
  height: 30px;
  font-size: 16px;
  color: #555555;
}
.listtype {
  width: 110px;
  height: 119px;
  float: left;
  margin: 0 0 0 20px;
  height: 30px;
  font-size: 16px;
  color: #555555;
}
.listMoney {
  height: 30px;
  font-size: 16px;
  color: #fe0000;
  width: 196px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;

  margin: 0 0 0 20px;
}
.faTop {
  padding-left: 10px;
  width: 374px;
  font-size: 14px;
  height: 35px;
  line-height: 35px;
  color: #215299;
}

.fbListCenterC[data-v-3bd16ea3] {
  width: 199px;
  border-right: 1px solid #ccc;
  float: left;
  padding-right: 0px;
  height: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;

  margin: 15px 0 0 0;
}
.fbListCenterTwo {
  width: 385px;
  float: left;
  margin-left: 10px;
  margin-right: 10px;
  background: #fafafa;
  height: 100px;
  margin-top: 10px;
}
.faTxt {
  padding-left: 10px;
  width: 374px;
  height: 55px;
  font-size: 14px;
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.fbListCenterR {
  border-left: 1px solid #ccc;
  width: 125px;
  height: 100px;
  float: left;
  margin: 18px 0 0 0;
}
.fbListCenterQ {
  color: #215299;
  margin: 0 30px 0 30px;
}
.page {
  margin: 30px 30px 0;
  text-align: center;
}
</style>
