<template>
  <div class="app-container">
    <div style="background-color: #fff;padding: 20px;border-radius: 10px;">
      <p style="margin: 0; font-weight: 800;font-size: 16px;color: #343434;display: flex;align-items: center;margin-bottom: 20px;">
        <img src="../../../assets/images/icon_htgl_btzs.png" alt="" style="width: 16px;height: 20px;">
       <span style="margin-left: 10px;">物业费管理</span>
      </p>
      <div style="background: #F3F3F3;padding: 20px 15px; padding-bottom: 0;margin-bottom: 20px;">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px">
          <el-row>
            <el-col :span="24">
              <el-col :span="8">
                <el-form-item label="年度时间" prop="year">
                        <el-date-picker clearable
                          v-model="queryParams.year"
                          type="year"
                          value-format="yyyy"
                          placeholder="请选择年度时间">
                        </el-date-picker>
                      </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="所属房号" prop="detailedAddress">
                        <el-select v-model="queryParams.detailedAddress" placeholder="请选择所属房号" >
                          <el-option
                           @click.native="itneg(dict)"
                            v-for="dict in houseInfoLise"
                            :key="dict.houseId"
                            :label="dict.detailedAddress"
                            :value="dict.houseId"
                          />
                        </el-select>
                      </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="是否缴费" prop="isExpense">
                        <el-select v-model="queryParams.isExpense" placeholder="请选择是否缴费" clearable>
                          <el-option
                            v-for="dict in dict.type.sys_yes_no"
                            :key="dict.value"
                            :label="dict.label"
                            :value="dict.value"
                          />
                        </el-select>
                      </el-form-item>
              </el-col>
            </el-col>
          </el-row>
          <el-form-item class="butt bnjle">
            <el-button type="primary"   @click="handleQuery">搜索</el-button>
            <el-button   @click="resetQuery">重置</el-button>
          </el-form-item>
        </el-form>
      </div>


      <div class="casr">
              <el-row :gutter="10" class="mb8">
                <!-- <el-col :span="1.5">
                  <div style="font-weight: bold;font-size: 14px;color: #343434; display: flex;align-items: center;">
                    当夜全选
                  </div>
                </el-col> -->
                <el-col :span="1.5">
                  <el-button
                    type="primary"
                    plain
                    size="mini"
                    @click="handleAdd"
                    v-hasPermi="['wuYe:fee:add']"
                  >添加</el-button>
                </el-col>
                <!-- <el-col :span="1.5">
                  <el-button
                    type="success"
                    plain
                    size="mini"
                    :disabled="single"
                    @click="handleUpdate"
                    v-hasPermi="['system:post:edit']"
                  >修改</el-button>
                </el-col>
                <el-col :span="1.5">
                  <el-button
                    type="danger"
                    plain
                    size="mini"
                    :disabled="multiple"
                    @click="handleDelete"
                    v-hasPermi="['system:post:remove']"
                  >删除</el-button>
                </el-col> -->
                <el-col :span="1.5">
                  <el-button
                    type="warning"
                    plain
                    size="mini"
                    @click="handleExport"
                    v-hasPermi="['wuYe:fee:export']"
                  >导出</el-button>
                </el-col>
                 <el-col :span="1.5">
                   <el-button
                     type="success"
                     plain
                     size="mini"
                     @click="handleDeleteyi"
                     v-hasPermi="['wuYe:fee:callPaymentAll']"
                   >一键催缴</el-button>
                 </el-col>
              </el-row>
              <div>
                <div style="background: #F1F6FF;border-radius: 6px;border: 1px solid #196CFF;padding: 16px 42px; display: flex;justify-content: space-around;margin-top: 20px;">
                   <div style="display: flex;justify-content: space-between;flex: 1; padding-right: 50px;">
                     <div class="bottekq">
                       <p>已缴物业费/元</p>
                       <p>{{statisticsLise.yjwyf == null?'暂无数据' : statisticsLise.yjwyf}}</p>
                     </div>
                     <div class="bottekq">
                       <p>未缴物业费/元</p>
                       <p>{{statisticsLise.wjwyf == null?'暂无数据' : statisticsLise.wjwyf}}</p>
                     </div>
                   </div>
                   <div style="display: flex;justify-content: space-between;flex: 1; position: relative;padding: 0 50px;">
                     <img src="../../../assets/images/icon_wyht_wyfgl_sxfg.png" alt="" style="position: absolute;left: 0;top: 50%;transform: translateY(-50%);">
                     <div class="bottekq">
                       <p>已缴车位费/元</p>
                       <p style="color: #28C529;">{{statisticsLise.yjcwf == null?'暂无数据' : statisticsLise.yjcwf}}</p>
                     </div>
                     <div class="bottekq">
                       <p>未缴车位费/元</p>
                       <p style="color: #28C529;">{{statisticsLise.wjcwf == null?'暂无数据' : statisticsLise.wjcwf}}</p>
                     </div>
                     <img src="../../../assets/images/icon_wyht_wyfgl_sxfg.png" alt="" style="position: absolute;right: 0;top: 50%;transform: translateY(-50%);">
                   </div>
                   <div style="display: flex;justify-content: space-between;flex: 1;padding-left: 50px;">
                     <div class="bottekq">
                       <p>已缴能耗费/元</p>
                       <p style="color: #FFB132;">{{statisticsLise.yjnhf == null?'暂无数据' : statisticsLise.yjnhf}}</p>
                     </div>
                     <div class="bottekq">
                       <p>已缴能耗费/元</p>
                       <p style="color: #FFB132;">{{statisticsLise.wjnhf == null?'暂无数据' : statisticsLise.wjnhf}}</p>
                     </div>
                   </div>
                </div>
              </div>
              <div class=" infinite-list" :style="dynamicStyle">
                <el-row :gutter="10" v-if="feeList.length !=0" style="width: 100%;margin-left: 0;">
                  <el-col :span="6" v-for="(item,index) in feeList" :key="index" >
                    <!-- @click="isac(item)" -->
                    <div v-if="isshoe"  :class=" item.isnum ==true ? 'ingwe' :'' " style="position: relative; background-color: #fff;box-shadow: 0px 0px 10px 0px #CDCDCD;border-radius: 4px;margin-bottom: 10px;">
                     <div class="carlist houselist">
                     	<div class="ctop flexc" style="justify-content: flex-start;">
                     		<img src="../../../assets/images/icon_htgl_wyf_fh.png" class="imgs" style="margin-right: 10px;" />
                     		<!-- <image src="../../../assets/images/icon_fwgl_zhs.png" class="imgs" v-if="ite.type==2"></image> -->
                     		<div class="tit">{{item.communityName == null? '暂无数据' : item.communityName}}{{item.detailedAddress == null? '暂无数据' : item.detailedAddress}}
                        <p style="margin: 0;font-size: 14px;color: #AAAAAA;margin-top: 8px;">{{item.year == null? '暂无数据' : item.year}}</p>
                        </div>

                     	</div>
                     	<div class="clists">
                     		<div class="w50 flexc">
                     			<div class="clist" style="color: #161616;width: 100%; font-size: 20px;font-weight: 700;">
                            <div class="tit" style="color: #666666;">应缴总额 /元：</div>{{item.totalExpense == null? '暂无数据' : item.totalExpense}}</div>
                     		</div>
                     		<div class="w50 flexc">
                     			<div class="clist" style="color: #666666;width: 100%;">
                            <div class="tit" style="color: #666666;">物业费用：</div>{{item.tenementExpense == null? '暂无数据' : item.tenementExpense}}</div>
                     		</div>
                     		<div class="w50 flexc">
                     			<div class="clist" style="color: #666666;width: 100%;">
                            <div class="tit" style="color: #666666;">车位费用：</div>{{item.parkingExpense == null? '暂无数据' : item.parkingExpense}}</div>
                     		</div>
                        <div class="w50 flexc">
                        	<div class="clist" style="color: #666666;width: 100%;">
                            <div class="tit" style="color: #666666;">能耗费用：</div>{{item.energyExpense == null? '暂无数据' : item.energyExpense}}</div>
                        </div>
                     		<!-- <div class="clist"><div class="tit">手机号码</div>13656788668</div> -->
                     	</div>
                     </div>
                      <div class="bortt tongty" style="justify-content: space-between;cursor: pointer;">
                        <p ><span   style="color: #28C529;" @click="handleUpdate(item)">历史账单</span>  </p>
                        <!-- <span @click="handleUpdatef(item)">查看</span> -->
                        <p v-if="item.isExpense == 'N'" @click="handleDelete(item)" v-hasPermi="['wuYe:fee:callPayment']" style="border-left: 1px solid #DADADA;">催缴</p>
                        <p v-if="item.isExpense == 'Y'"  style="border-left: 1px solid #DADADA;">已缴费</p>
                      </div>
                      <img v-if="item.isnum == true" src="../../../assets/images/icon_htgl_kp_gx.png" alt="" style="width: 35px;height: 35px;position: absolute;bottom: 0;right: 0;">
                    </div>
                  </el-col>
                </el-row>
                <div style="margin-top: 20px;display: flex;justify-content: center;align-items: center;" v-if="feeList.length ==0">
                   <img   src="../../../assets/images/zwshjbig.png" alt="" style="">
                </div>
              </div>
      </div>


      <pagination
        v-show="total>0"
        :total="total"
        :page.sync="queryParams.pageNum"
        :limit.sync="queryParams.pageSize"
        @pagination="getList"
      />
    </div>

    <!-- 添加或修改岗位对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="640px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-row>
          <el-col :span="24">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="家庭住址" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="15">
            <el-form-item label="岗位名称" prop="postName">
              <el-input v-model="form.postName" placeholder="请输入岗位名称" />
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="备注" prop="remark">
              <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
            </el-form-item>
          </el-col>
          <el-col :span="24" class="unimg">
            <el-form-item label="上传头像" prop="remark">
              <image-upload v-model="form.entrancePermit"/>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
    <el-dialog :title="titlel" :visible.sync="openl" width="440px" append-to-body class="botr">
      <div class="carlist houselist" v-for="(item,index) in lsieshle">
      	<div class="ctop flexc" style="justify-content: flex-start;">
      		<img src="../../../assets/images/icon_lszd_rq.png" class="imgs" style="margin-right: 10px;" />
      		<!-- <image src="../../../assets/images/icon_fwgl_zhs.png" class="imgs" v-if="ite.type==2"></image> -->
      		<div class="tit">{{item.communityName == null? '暂无数据' : item.communityName}}{{item.detailedAddress == null? '暂无数据' : item.detailedAddress}}
         <p style="margin: 0;font-size: 14px;color: #AAAAAA;margin-top: 8px;">{{item.year == null? '暂无数据' : item.year}}/01 -{{item.year == null? '暂无数据' : item.year}}/12</p>
         </div>
         <div class="flex1"></div>
         <div class="txt ca" v-if="item.isExpense == 'Y'"> 已缴费</div>
         <div class="txt ca" v-else  style="color: red;">未缴费</div>
      	</div>
      	<div class="clists">
      		<div class="w50 flexc">
      			<div class="clist" style="color: #161616;width: 100%; font-size: 20px;font-weight: 700;">
             <div class="tit" style="color: #666666;">应缴总额 /元：</div>{{item.totalExpense == null? '暂无数据' : item.totalExpense}}</div>
      		</div>
      		<div class="w50 flexc">
      			<div class="clist" style="color: #666666;width: 100%;">
             <div class="tit" style="color: #666666;">物业费用：</div>{{item.tenementExpense == null? '暂无数据' : item.tenementExpense}}</div>
      		</div>
      		<div class="w50 flexc">
      			<div class="clist" style="color: #666666;width: 100%;">
             <div class="tit" style="color: #666666;">车位费用：</div>{{item.parkingExpense == null? '暂无数据' : item.parkingExpense}}</div>
      		</div>
         <div class="w50 flexc">
         	<div class="clist" style="color: #666666;width: 100%;">
             <div class="tit" style="color: #666666;">能耗费用：</div>{{item.energyExpense == null? '暂无数据' : item.energyExpense}}</div>
         </div>
      		<!-- <div class="clist"><div class="tit">手机号码</div>13656788668</div> -->
      	</div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import { listPost, getPost, delPost, addPost, updatePost } from "@/api/system/post";
import { listFee, getFee, delFee, addFee, updateFee,statistics,callPayment,callPaymentAll } from "@/api/wuguan/fee";
import { listHouseInfo,listNoPage, getHouseInfo, delHouseInfo, addHouseInfo, updateHouseInfo, } from "@/api/wuguan/houseInfo";
import 'videojs-flash'
export default {
   name: "Fee",
    dicts: ['sys_yes_no'],
  data() {
    return {
      // 遮罩层
      loading: true,
      titlel:'历史账单',
      openl:false,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 物业费管理表格数据
      feeList: [],
       houseInfoLise:[],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        postCode: undefined,
        postName: undefined,
        status: undefined
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        postName: [
          { required: true, message: "岗位名称不能为空", trigger: "blur" }
        ],
        postCode: [
          { required: true, message: "岗位编码不能为空", trigger: "blur" }
        ],
        postSort: [
          { required: true, message: "岗位顺序不能为空", trigger: "blur" }
        ]
      },
      activeName:'first',
      videoState: false, // 视频播放状态
      poster:true,
      controls:true,
      videoData:{},
       player: null,
       isshoe:true,
       statisticsLise:{},
       tableMaxHeight:'200',
      };
    },
    computed: {
      dynamicStyle() {
        return {
          overflowY:'auto',
          height: this.tableMaxHeight+ 'px',
           paddingTop:'10px'
        }
      }
      },
  created() {
    this.getList();
    this.getListhouvr()
    this.getListsts()
  window.onresize = () => {
  	      this.changeTableMaxHeight()
  	    }
  	    this.changeTableMaxHeight()
  },
  mounted() {
  	window.onresize = () => {
  	          this.changeTableMaxHeight()
  	        }
  	        this.changeTableMaxHeight()
  },
  beforeDestroy() {
      if (this.player) {
        this.player.dispose()
      }
    },
  methods: {
    /** 查询物业费管理列表 */
        getList() {
          this.loading = true;
          listFee(this.queryParams).then(response => {
            this.feeList = response.rows;
            this.total = response.total;
            this.loading = false;
          });
        },
        getListhouvr() {
           listNoPage().then(response => {
             this.houseInfoLise  = response.rows;
           });
         },
         getListsts() {
            statistics().then(response => {
              this.statisticsLise  = response.data;
            });
          },

    getge(valy){

        this.$nextTick(() => {
             setTimeout(() => {
        for(var i =0; i < valy.length;i++){
          let du = document.getElementById("myVideo" + i) //获取组件下的video
                 var hour = parseInt((du.duration) / 3600);
                 var minute = parseInt((du.duration % 3600) / 60);
                 var second = parseInt(du.duration % 60);
                 let result = ''
                 if (hour > 0) {
                 result = this.formatTimeStr(hour) + ':' + this.formatTimeStr(minute) + ':' + this
                 .formatTimeStr(second)
                           } else {
                              result = this.formatTimeStr(minute) + ':' + 
                            this.formatTimeStr(second)
                            }

                       this.isshoe = false
                       valy[i].result = result
                       this.isshoe = true
                       console.log(valy[i],result,du)
          //                   return result //转化成分，秒
                       }
                      }, 1200)

                    })
    },
    formatTimeStr(val) {
            if (val > 9) {
              return val
            } else {
              return '0' + val
            }
          },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
              propertyId: null,
              houseId: null,
              ownerName: null,
              location: null,
              area: null,
              propertyUnitNumber: null,
              detailedAddress: null,
              hasParkingSpace: null,
              parkingNumber: null,
              communityName: null,
              year: null,
              time: null,
              tenementExpense: null,
              parkingExpense: null,
              energyExpense: null,
              totalExpense: null,
              isExpense: null,
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              remark: null
            };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.queryParams.houseId = null;
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.propertyId)
            this.single = selection.length!==1
            this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加物业费管理";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.resetForm("queryForm");
           const propertyId = row.houseId
           let sgse={'houseId':propertyId}
           this.openl = true
           listFee(sgse).then(response => {
             this.lsieshle = response.rows;
           });
    },
    /** 提交按钮 */
    submitForm: function() {
      this.$refs["form"].validate(valid => {
              if (valid) {
                if (this.form.propertyId != null) {
                  updateFee(this.form).then(response => {
                    this.$modal.msgSuccess("修改成功");
                    this.open = false;
                    this.getList();
                  });
                } else {
                  addFee(this.form).then(response => {
                    this.$modal.msgSuccess("新增成功");
                    this.open = false;
                    this.getList();
                  });
                }
              }
            });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const propertyId = row.houseId
      let sgse={'houseId':propertyId}
      // this.openl = true
      callPayment(propertyId).then(response => {
        this.$modal.msgSuccess("操作成功");
      });
     // const propertyIds = row.propertyId || this.ids;
     //       this.$modal.confirm('是否确认删除物业费管理编号为"' + propertyIds + '"的数据项？').then(function() {
     //         return delFee(propertyIds);
     //       }).then(() => {
     //         this.getList();
     //         this.$modal.msgSuccess("删除成功");
     //       }).catch(() => {});
    },
    // 一键催缴
    handleDeleteyi(row) {
      const propertyId = row.houseId
      let sgse={'houseId':propertyId}
      // this.openl = true
      callPaymentAll().then(response => {
        this.$modal.msgSuccess("操作成功");
      });

    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('wuYe/fee/export', {
              ...this.queryParams
            }, `fee_${new Date().getTime()}.xlsx`)
    },

      handleClick(){

      },
    isac(val){
      console.log(5,val)
      val.isnum = !val.isnum
      this.isshoe = false
      this.isshoe = true
    },
    itneg(item){
      this.queryParams.houseId = item.houseId
      this.queryParams.detailedAddress = item.detailedAddress
    },
    // 获取屏幕高度
    showFilterForm () {
          this.filterActive = !this.filterActive
          this.changeTableMaxHeight()
        },

        changeTableMaxHeight () {
          let height = document.body.offsetHeight // 网页可视区域高度
          // if (this.filterActive) {
          //   this.tableMaxHeight = height - 320
          // } else {
            this.tableMaxHeight = height - 150
          // }
          console.log(height)
        }

  }
};
</script>
<style  lang="scss">
  .botr{
    .el-dialog__body{
      background-color: #F2F3FD;
    }
  }
  .unimg{
    .el-upload--picture-card{
      width:102px;
      height: 102px;
      line-height: 102px;
    }
  }

  .bnjle{
    margin-left: 20px;
  }
  .butt{
    .el-button--small{
      padding: 9px 23px !important;
      font-size: 14px;
    }
  }
  .casr{
    .el-tabs__item.is-active{
      color: #196CFF;
    }
    .el-tabs--card > .el-tabs__header .el-tabs__item{
      padding: 0  30px !important;
    }
  }
  .el-table .el-table__header-wrapper th{
    background-color:#F5F6F8;
    color:#343434;
  }
  .el-table{
    color:#343434;
  }
</style>
<style scoped lang="scss">
  .flexc{
    display: flex;
    justify-content: space-between;
  }
  	.carlist{background: #FFFFFF;border-radius: 10px;margin-bottom: 14px;
  		.ctop{border-bottom: 1px solid #E5E5E5;padding:13px 12px;
  			.imgs{width: 20px;height: 21px;margin-right: 15px;}
  			.tit{font-size: 16px;color: #272727;font-weight: bold;margin-right: 7px;}
  			.txt{font-weight: 500;font-size: 14px;
  				&.ca{color: #3565ED;}
  				&.cb{color: #FE5A0E;}
  				&.cc{color: #28C529;}
  			}
  			.txta{font-weight: 500;font-size: 14px;color: #AAAAAA;}
  			.num{font-size: 14px;color: #AAAAAA;}
  		}
  		.btn{height: 17px;border-radius: 9px;display: flex;align-items: center;justify-content: center;padding: 0 5px;font-size:12px;margin-right: 12px;
  			&.btna{border: 1px solid #06C770;color: #06C770;}
  			&.btnb{border: 1px solid #3565ED;color: #3565ED;}
  			&.btnc{border: 1px solid #FE5A0E;color: #FE5A0E;}
  			&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 18px;}
  			&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 18px;}
  			&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 18px;}
  		}
  		.clists{padding: 12px 12px 4px;
  			.clist{font-weight: 500;margin-bottom: 8px;
  	font-size: 13px;color: #272727;display: flex;line-height: 17px;
  				.tit{font-size: 14px;color: #AAAAAA;flex: 0 0 auto;margin-right: 8px;text-align-last: justify;}
  				.imgas{display: flex;align-items: center;flex-wrap: wrap;
  					image{width: 71px;height: 71px;margin-right: 15px;margin-top:4px;}
  				}
  			}
  			.w50{
  				.clist{width: 50%;}
  			}
  		}
  	}
  	.houselist{
  		.clists{padding-bottom: 1px !important;}
  		.clist{margin-bottom: 11px !important;}
  	}
  .goe{
    p{
      margin: 0;
      font-weight: 800;
      font-size: 16px;
      color: #161616;
      margin-top: 10px;
      margin-bottom: 3px;
      padding: 0 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      display:-webkit-box; //作为弹性伸缩盒子模型显示。
      -webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
      -webkit-line-clamp:1; //显示的行
    }
    p:nth-child(2){

    }
  }
  .ingwe{
    border: 2px solid #196CFF;
  }
  .renyuangs{
    p{
      font-weight: 500;
      font-size: 14px;
      color: #161616;
      padding: 0;
    }
  }
  .tongty{
    display: flex;
    align-items: center;
  }
  .bortt{
    border-top: 1px solid #DADADA;
    margin-top: 15px;

    p{
      margin: 0;
      font-weight: bold;
      font-size: 14px;
      color: #5F8BF4;
      width:50%;
      padding: 10px;
      text-align: center;
    }
  }
  .bottekq{
    p{
      font-family: PingFang SC;
      font-weight: 500;
      font-size: 14px;
      color: #666666;
      margin: 0;
    }
    p:nth-child(2){
      font-family: PingFang SC;
      font-weight: 500;
      font-size: 20px;
      color: #196CFF;
      margin-top: 20px;
    }
  }
  </style>


