// 查看出入库任务
<template>
  <div class="container">
    <el-row>
      <el-col :span="12">
        <h2 class="bg-left title">查看出入库任务</h2>
      </el-col>
      <el-col :span="12" class="bg-right">
        <el-button class="bg-bottom" type="primary" size="small" @click="returnsales()">
          <img
            width="6"
            height="10"
            style="vertical-align: bottom; margin-right: 3px"
            src="../../../public/img/lujing.png"
            alt
          />返回
        </el-button>
      </el-col>
    </el-row>
    <div class="basicInformation">
      <div class="nav">
        <span class="ziti">
          任务类型：
          <h1 class="ziti1" v-show="dataList.inOutType == '移库入库'||dataList.inOutType == '移库出库'"> 移库任务</h1>
          <h1 class="ziti1" v-show="dataList.inOutType == '销售出库'||dataList.inOutType == '暂存出库'||dataList.inOutType == '贸易服务出库'||dataList.inOutType == '采购出库'"> 出库任务</h1>
          <h1 class="ziti1" v-show="dataList.inOutType == '采购入库'||dataList.inOutType == '暂存入库'||dataList.inOutType == '贸易服务入库'||dataList.inOutType == '退库'"> 入库任务</h1>
        </span>
      </div>
      <div class="nav2"></div>
      <div v-if="dataList.taskTypeKey != 2&&dataList.taskTypeKey != 4" class="center1">
        <!--出库=-->
        <div class="small-title">
          <img
            style="position: relative; top: 40px; left: -22px;"
            width="19"
            height="19"
            src="../../../public/img/cangku.png"
            alt
          />
          <h3>出库任务({{ dataList.inOutTaskNo }} )</h3>
        </div>
        <el-form ref="dataList" :model="dataList" label-width="140px">
          <!-- 仓库名 -->
          <el-form-item label="仓库名">
            <el-option
              v-for="item in warehouseNameList"
              :key="item.constKey"
              :label="item.warehouseName"
              :value="item.warehouseName"
            />
            {{dataList.warehouseName}}
            <!-- </el-select> -->
          </el-form-item>
          <!-- 出库类型 -->
          <el-form-item label="出库类型">
            <el-option
              v-for="item in storageType"
              :key="item.constKey"
              v-if="
                  (dataList.taskTypeKey == 1 &&
                    item.constValue != '移库出库') ||
                  (dataList.taskTypeKey == 3 &&
                    item.constValue == '移库出库') ||
                  (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
                "
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList.inOutType}}
            <!-- </el-select> -->
          </el-form-item>
          <!-- 合同编号 -->
          <el-form-item label="合同编号">
            <!-- <el-option
              v-for="item in contractNoList"
              :key="item.constKey"
              :label="item.contractNo"
              :value="item.contractNo"
            ></el-option> -->
            <div v-if="dataList.inOutType == '移库入库' || dataList.inOutType == '移库出库'">  {{dataList.moveTaskNo}}</div>
            <div v-if="dataList.inOutType != '移库入库' || dataList.inOutType != '移库出库'">  {{dataList.contractNo}}</div>
            <!-- </el-select> -->
          </el-form-item>
          <!-- 货名 -->
          <el-form-item label="货名" class="huom">
            <el-option
              v-for="item in goodnameList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            ></el-option>
            {{dataList.goodsName}}
            <!-- </el-select> -->
          </el-form-item>
          <!--重量（吨）-->
          <el-form-item label="重量（吨）" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList.weight}}
          </el-form-item>
          <!-- 品级 -->
          <el-form-item label="品级">
            <el-option
              v-for="item in gradeList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList.grade}}
            <!-- </el-select> -->
          </el-form-item>
          <!--容重（克/升）>=-->
          <el-form-item label="容重（克/升）>=">
            {{dataList.bulkDensity}}
          </el-form-item>
          <!--水分（%）<=-->
          <el-form-item label="水分（%）<=" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList.waterContent}}
          </el-form-item>
          <!--单价(元/吨)-->
          <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px">
            {{dataList.unitPrice}}
          </el-form-item>
          <!--预计出库日期-->
          <el-form-item label="预计出库日期" span="1" prop="predictDate" class="deliverydate">
            {{dataList.predictDate}}
          </el-form-item>
          <!--经办人-->
          <el-form-item label="出库经办人">
            {{dataList.agent}}
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.staffName"
              :value="item.staffName"
            />
          </el-form-item>
          <!--业务描述=-->
          <el-form-item label="业务描述">
            {{dataList.businessDescribe}}
          </el-form-item>
        </el-form>
      </div>
      <div v-if="dataList.taskTypeKey != 1" class="center1">
        <div class="small-title">
          <img
            style="position: relative; top: 40px; left: -22px;"
            width="19"
            height="19"
            src="../../../public/img/cangku.png"
            alt
          />
          <h3>入库任务({{dataList1.inOutTaskNo }} )</h3>
        </div>
        <el-form ref="form" :model="form" label-width="140px">
          <!-- 仓库名 -->
          <el-form-item label="仓库名">
            {{dataList1.warehouseName}}
            <el-option
              v-for="item in warehouseNameList"
              :key="item.constKey"
              :label="item.warehouseName"
              :value="item.warehouseName"
            />
          </el-form-item>
          <!-- 出库类型 -->
          <el-form-item label="入库类型">
            <el-option
              v-for="item in storageType1"
              :key="item.constKey"
              v-if="
                  (dataList.taskTypeKey == 2 &&
                    item.constValue != '移库入库') ||
                  (dataList.taskTypeKey == 3 &&
                    item.constValue == '移库入库') ||
                  (dataList.taskTypeKey == 4 && item.constValue == '退库')
                "
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList1.inOutType}}
            <!-- </el-select> -->
          </el-form-item>
          <!-- 合同编号 -->
          <el-form-item label="合同编号">
            <!-- <el-option
              v-for="item in contractNoList"
              :key="item.constKey"
              :label="item.contractNo"
              :value="item.contractNo"
            ></el-option> -->
               <div v-if="dataList.inOutType == '移库入库' || dataList.inOutType == '移库出库'">  {{dataList.moveTaskNo}}</div>
            <div v-if="dataList.inOutType != '移库入库' || dataList.inOutType != '移库出库'">  {{dataList.contractNo}}</div>
          </el-form-item>
          <!-- 货名 -->
          <el-form-item label="货名" class="huom">
            <el-option
              v-for="item in goodnameList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            ></el-option>
            {{dataList1.goodsName}}
          </el-form-item>
          <!--重量（吨）-->
          <el-form-item label="重量（吨）" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList1.weight}}
          </el-form-item>
          <!-- 品级 -->
          <el-form-item label="品级">
            <el-option
              v-for="item in gradeList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList1.grade}}
          </el-form-item>
          <!--容重（克/升）>=-->
          <el-form-item label="容重（克/升）>=">
            {{dataList1.bulkDensity}}
          </el-form-item>
          <!--水分（%）<=-->
          <el-form-item label="水分（%）<=" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList1.waterContent}}
          </el-form-item>
          <!--单价(元/吨)-->
          <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px">
            {{dataList1.unitPrice}}
          </el-form-item>
          <!--预计出库日期-->
          <el-form-item label="预计入库日期" span="1" prop="predictDate" class="deliverydate">
            {{dataList1.predictDate}}
          </el-form-item>
          <!--经办人-->
          <el-form-item label="入库经办人">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.staffName"
              :value="item.staffName"
            />
            {{dataList1.agent}}
          </el-form-item>
          <!--业务描述=-->
          <el-form-item label="业务描述">
            {{dataList1.businessDescribe}}
          </el-form-item>
        </el-form>
      </div>
      <div v-if="dataList.taskTypeKey == 4" class="center1">
        <!--出库=-->
        <div class="small-title">
          <img
            style="position: relative; top: 40px; left: -22px;"
            width="19"
            height="19"
            src="../../../public/img/cangku.png"
            alt
          />
          <h3>出库任务({{ dataList.inOutTaskNo }} )</h3>
        </div>
        <el-form ref="dataList" :model="dataList" label-width="140px">
          <!-- 仓库名 -->
          <el-form-item label="仓库名">
            <el-option
              v-for="item in warehouseNameList"
              :key="item.constKey"
              :label="item.warehouseName"
              :value="item.warehouseName"
            />
            {{dataList.warehouseName}}
          </el-form-item>
          <!-- 出库类型 -->
          <el-form-item label="出库类型">
            <el-option
              v-for="item in storageType"
              :key="item.constKey"
              v-if="
                  (dataList.taskTypeKey == 1 &&
                    item.constValue != '移库出库') ||
                  (dataList.taskTypeKey == 3 &&
                    item.constValue == '移库出库') ||
                  (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
                "
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList.inOutType}}
            <!-- </el-select> -->
          </el-form-item>
          <!-- 合同编号 -->
          <el-form-item label="合同编号">
            <el-option
              v-for="item in contractNoList"
              :key="item.constKey"
              :label="item.contractNo"
              :value="item.contractNo"
            ></el-option>
            {{dataList.contractNo}}
            <!-- </el-select> -->
          </el-form-item>
          <!-- 货名 -->
          <el-form-item label="货名" class="huom">
            <el-option
              v-for="item in goodnameList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            ></el-option>
            {{dataList.goodsName}}
            <!-- </el-select> -->
          </el-form-item>
          <!--重量（吨）-->
          <el-form-item label="重量（吨）" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList.weight}}
          </el-form-item>
          <!-- 品级 -->
          <el-form-item label="品级">
            <el-option
              v-for="item in gradeList"
              :key="item.constKey"
              :label="item.constValue"
              :value="item.constValue"
            />
            {{dataList.grade}}
            <!-- </el-select> -->
          </el-form-item>
          <!--容重（克/升）>=-->
          <el-form-item label="容重（克/升）>=">
            {{dataList.bulkDensity}}
          </el-form-item>
          <!--水分（%）<=-->
          <el-form-item label="水分（%）<=" span="1" style=" margin-left: 350px; margin-top: -40px">
            {{dataList.waterContent}}
          </el-form-item>
          <!--单价(元/吨)-->
          <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px">
            {{dataList.unitPrice}}
          </el-form-item>
          <!--预计出库日期-->
          <el-form-item label="预计出库日期" span="1" prop="predictDate" class="deliverydate">
            {{dataList.predictDate}}
          </el-form-item>
          <!--经办人-->
          <el-form-item label="出库经办人">
            {{dataList.agent}}
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.staffName"
              :value="item.staffName"
            />
            <!-- </el-select> -->
          </el-form-item>
          <!--业务描述=-->
          <el-form-item label="业务描述">
            {{dataList.businessDescribe}}
          </el-form-item>
        </el-form>
      </div>
      <el-table
        class="wenzi"
        :data="taskhistories"
        style="width: 80%"
        height="180"
      >
        <el-table-column prop="operatorMajorRoleName" label="审核人">
        </el-table-column>
        <el-table-column prop="inOutTaskNo" label="审核结果">
          <template scope="scope">
            <span v-if='scope.row.approved'>通过</span>
            <span v-if='!scope.row.approved'>驳回</span>
          </template>
        </el-table-column>
        <el-table-column prop="createTime" label="审核时间"></el-table-column>
        <el-table-column prop="auditMind" label="驳回原因"></el-table-column>
     </el-table>
    </div>
    <!-- 提交 -->
    <div style="text-align: right; padding: 10px" class="center">
      <el-button class="bg-bottom" type="primary" size="small" @click="close()">关闭</el-button>
    </div>
  </div>
</template>
<script>
import {
  getwarehousename,
  xialaNo,
  addoreditoutput,
  outexamine,
  gettaskhistories
} from '@/model/tasksport/index'
import Pagination from '@/components/Pagination'
import { mapActions, mapGetters, mapState } from 'vuex'
import WsUpload from '@/components/WsUpload'
import { dayjs, EventBus } from 'base-core-lib'
export default {
  name: 'viewSpareMoney',
  components: {
    WsUpload,
    Pagination
  },
  watch: {
    isShow(val) {
      this.showType = val
    }
  },
  computed: {
    ...mapGetters(['deptBudgetList'])
  },
  data() {
    return {
      //弹出框
      dialogViewSpareMoney: false,
      dialogApproveFormVisible: false,
      // 船舶类型
      monetaryKey: null,
      // 表格显示数据
      tableDate: [],
      // 是否显示
      showType: true,
      // 年
      year: '',
      contractNoList: [],
      deptBudgetTotal: 0,
      readonly: true,
      currentPage: 1,
      taskhistories:[],
      pageSize: 10,
      searchType: 1,
      searchKeyWord: '',
      radio: '1',
      contractType: 2,
      startDate: null,
      endDate: null,
      goodnameList: [],
      checked: true,
      form: {},

      staffList: [],
      options: [],
      storageType: [],
      storageType1: [],
      outContractNo: [],
      // 提交类型
      submitType: true,
      status: [],
      unitPricechange: [],
      warehouseNameList: [],
      warehouseNameList1: [],
      waterContentchange: [],
      appendixIdsAdd: '',
      uploadSuccess: {},
      warehouseInOutDetail: {},
      onChange: {},
      deptBudgetList1: [],
      gradeList: [],
      rules: {
        netWeight: [
          {
            required: true,
            type: 'number',
            message: '请输入活动名称',
            trigger: 'blur'
          }
        ]
      },
      size: 10,
      compId: sessionStorage.getItem('ws-pf_compId'),
      deptCircularPage: {},
      packtypeList: {},
      date: {
        year: dayjs().format('YYYY'),
        month: dayjs().format('MM')
      },
      contractList: [],
      inOutTaskNo: '',
      inOutTaskNo1: '',
      dataList: { taskTypeKey: '1' },
      dataList1: { taskTypeKey: '1' },
      historyList: [],
      pickerBeginDateBefore: {
        disabledDate: time => {
          return time.getTime() > Date.now()
        }
      },
      accessoryTFs: false
    }
  },
  mounted() {
    this.getList()
  },
  methods: {
    //返回按钮
    revert() {
      this.$router.go(-1)
    },
    returnsales() {
      this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
    },
    // 获取当前年月日
    getdate() {
      var date = new Date()
      var year = date.getFullYear() //获取完整的年份(4位)
      var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
      var datetime = date.getDate() //获取当前日(1-31)
      if (mouth < 10) {
        mouth = '0' + mouth
      }
      if (datetime < 10) {
        datetime = '0' + datetime
      }
      return year +'' + mouth + datetime
    },

    dataFilter(val) {
      // console.log(val,"名")
      this.deptBudgetList.staffList = val
      if (val) {
        //val存在
        this.options = this.staffList.filter(item => {
          if (
            !!~item.staffName.indexOf(val) ||
            !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
          ) {
            return true
          }
        })
      } else {
        //val为空时，还原数组
        this.options = this.staffList
      }
    },
    selectstaff(e) {
      for (var i = 0; i < this.staffList.length; i++) {
        if (this.staffList[i].staffName == e) {
          this.dataList.agentKey = this.staffList[i].staffId
        }
      }
    },
    selectstaff1(e) {
      for (var i = 0; i < this.staffList.length; i++) {
        if (this.staffList[i].staffName == e) {
          this.dataList1.agentKey = this.staffList[i].staffId
        }
      }
    },
    requestadd(list, status) {
      this.$refs.dataList.validate(valid => {
        if (valid) {
          list.compId = sessionStorage.getItem('ws-pf_compId')
          list.publisher =
            sessionStorage.getItem('ws-pf_roleName') +
            sessionStorage.getItem('ws-pf_staffName')
          addoreditoutput(list)
            .toPromise()
            .then(response => {
              this.$message.success('添加成功')
              this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
            })
        } else {
          EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
          return false
        }
      })
    },
    //关闭
    close() {
      this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
    },
    tarechange(e) {
      if (this.dataList.grossWeight && this.dataList.tare) {
        this.dataList.netWeight = Number(
          this.dataList.grossWeight - this.dataList.tare
        )
      }
    },
    grossWeightchange(e) {
      if (this.dataList.grossWeight && this.dataList.tare) {
        this.dataList.netWeight = Number(
          this.dataList.grossWeight - this.dataList.tare
        )
      }
    },
    selectgoodsName(e) {
      for (var i = 0; i < this.goodnameList.length; i++) {
        if (this.goodnameList[i].constValue == e) {
          this.dataList.goodsNameKey = this.goodnameList[i].constKey
        }
      }
    },
    selectgoodsName1(e) {
      for (var i = 0; i < this.goodnameList.length; i++) {
        if (this.goodnameList[i].constValue == e) {
          this.dataList1.goodsNameKey = this.goodnameList[i].constKey
        }
      }
    },
    selectpackingMethod(e) {
      for (var i = 0; i < this.packtypeList.length; i++) {
        if (this.packtypeList[i].constValue == e) {
          this.dataList.packingMethodKey = this.packtypeList[i].constKey
        }
      }
    },
    selectpackingMethod1(e) {
      for (var i = 0; i < this.packtypeList.length; i++) {
        if (this.packtypeList[i].constValue == e) {
          this.dataList1.packingMethodKey = this.packtypeList[i].constKey
        }
      }
    },
    selectstorageType(e) {
      for (var i = 0; i < this.storageType.length; i++) {
        if (this.storageType[i].constValue == e) {
          this.dataList.inOutTypeKey = this.storageType[i].constKey
        }
      }
    },
    selectstorageType1(e) {
      for (var i = 0; i < this.storageType1.length; i++) {
        if (this.storageType1[i].constValue == e) {
          this.dataList1.inOutTypeKey = this.storageType[i].constKey
        }
      }
    },
    handleClose() {
      this.accessoryTFs = false
    },
    tasktypechange() {
      this.tasknumber()
    },
    GetRandomNum(Min, Max) {
      var Range = Max - Min
      var Rand = Math.random()
      return Min + Math.round(Rand * Range)
    },
    getList() {
      gettaskhistories({businessKey: this.$route.query.businessKey,workflowId: this.$route.query.workflowId}).toPromise()
          .then((response) => {
            this.taskhistories=response
          })
      outexamine({ relevanceId: this.$route.query.relevanceId })
        .toPromise()
        .then(response => {
          if (response.length > 1) {
            this.dataList = response[0]
            this.dataList1 = response[1]
          } else {
            if(response[0].taskTypeKey == 2){
              this.dataList.taskTypeKey=response[0].taskTypeKey
              this.dataList.inOutType=response[0].inOutType
              this.dataList1 = response[0]
            }else{
              this.dataList = response[0]
            }
          }
        })
    },
  }
}
</script>
<style lang="scss" scoped>
/deep/.basicInformation {
  .el-info-table {
    border: none;
    position: relative;
  }
  .el-form-item {
    width: 33.3333%;
    border: none;
    margin: 0;
    .el-form-item__label {
      text-align: left;
      font-size: 14px;
      font-weight: 400;
      color: #8890b1;
    }
    .el-form-item__content {
      padding-left: 0px;
      padding-right: 10px;
      // background: #fff;
      white-space: nowrap;
      height: 40px;
      display: flex;
      -webkit-box-align: center;
      align-items: center;
      text-align: left;
      overflow: hidden;
    }
  }
}
/deep/.el-radio {
  color: #606266;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  outline: 0;
  margin-right: 30px;
  margin-top: 15px;
}
/deep/.el-radio__inner {
  border: 1px solid #dcdfe6;
  border-radius: 100%;
  width: 14px;
  height: 14px;
  background-color: #fff;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 100px;
}
/deep/.el-radio__input {
  white-space: nowrap;
  cursor: pointer;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
  margin-top: -1px;
}
.title {
  position: relative;
  padding-left: 10px;
}
.title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 30px;
  background: #5473e8;
  position: absolute;
  left: 0;
}
.el-form {
  padding: 0 15%;
  display: flex;
  flex-wrap: wrap;
  margin-left: -50px;
  margin-top: 15px;
  width: 110%;
}
.el-button--primary {
  background-color: #5878e8;
  border-color: #5878e8;
}
.el-col {
  background: #f6f7fc;
}
.bg-right {
  text-align: right;
  padding: 16px 20px;
}
.center {
  margin: 10px auto;
  margin-right: 180px;
}
/deep/.el-form-item__label {
  width: 160px;
}
.inspector {
  width: 50%;
}
/deep/.el-form-item--small .el-form-item__label,
.el-form-item--small .el-form-item__content {
  text-align: left;
}
/deep/.el-input--small {
  font-size: 13px;
  position: relative;
  display: inline-block;
}
.center1 .small-title {
  margin-left: 323px;
}
.center1 {
  width: 90%;
  margin: 0 auto;
  margin-left: 10px;
  margin-top: 25px;
}
/deep/.el-input--small .el-input__inner {
  height: 32px;
  line-height: 32px;
}
/deep/.el-select {
  display: inline-block;
  position: relative;
  width: 100%;
}
.annu {
  height: 81px;
  background: #ffffff;
  border-radius: 4px;
}
.basicInformation .el-form-item {
  width: 50.3333%;
  border: none;
  margin: 0;
}
.huom {
  width: 100px;
}
.el-form {
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #8890b1;
  line-height: 16px;
  margin-left: 130px;
}
.a {
  margin-left: -32px;
}
.el-radio-group {
  margin-left: 80px;
}
.ding {
  height: 23px;
  background: #e8ecf6;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}
.nav2 {
  height: 25px;
  background: #e8ecf6;
  margin-top: 15px;
}
.ziti {
  width: 72px;
  height: 20px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #8890b1;
  line-height: 20px;
  margin-left: 314px;
  /* margin-top: 112px; */
}
/deep/.ziti1 {
  height: 40px;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #262626;
  line-height: 20px;
  margin-left: 381px;
  margin-top: -21px;
  width: 100px;
}
.winseaview-view {
  padding: 0 0 20px;
}
.container {
  overflow: scroll;
  height: 93vh;
}
/deep/.basicInformation .el-form-item .el-form-item__content {
  padding-left: 0px;
  padding-right: 10px;
  white-space: nowrap;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: left;
  overflow: hidden;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #232323;
  line-height: 14px;
}
.nav {
  width: 400px;
  height: 20px;
}
.wenzi{
  margin:0 auto;
}
</style>
