<template>
  <div class="app-container">
    <el-form style="background-color: #fff; padding: 15px 5px; border-radius:10px;" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px">
       <p class="bgtan" style="margin-top: 0;">搜索条件</p>
	   
	  <el-form-item label="信息标题" prop="infoTitle">
        <el-input
          v-model="queryParams.infoTitle"
          placeholder="请输入校园广播信息标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <!-- <el-form-item label="学校id" prop="schoolId">
        <el-input
          v-model="queryParams.schoolId"
          placeholder="请输入学校id"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="学校名称" prop="schoolName">
        <el-input
          v-model="queryParams.schoolName"
          placeholder="请输入学校名称"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item> -->
      <!-- <el-form-item label="信息类型" prop="infoType">
        <el-select v-model="queryParams.infoType" placeholder="请选择信息类型" clearable>
          <el-option
            v-for="dict in dict.type.xiaoyfenl"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item> -->
      <el-form-item label="信息子分类" prop="infoTypeZi">
        <el-select v-model="queryParams.infoTypeZi" placeholder="请选择信息子分类" clearable>
          <el-option
            v-for="dict in dict.type.infotypezi"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
     <!-- <el-form-item label="发布时间" prop="fabuTime">
        <el-date-picker clearable
          v-model="queryParams.fabuTime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="请选择发布时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="已读人数" prop="infoYidu">
        <el-input
          v-model="queryParams.infoYidu"
          placeholder="请输入已读人数"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="点赞表id" prop="infoDianzanId">
        <el-input
          v-model="queryParams.infoDianzanId"
          placeholder="请输入点赞表id"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="转发人数" prop="infoZhuanfa">
        <el-input
          v-model="queryParams.infoZhuanfa"
          placeholder="请输入转发人数"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="信息评论表id" prop="infoPinglunId">
        <el-input
          v-model="queryParams.infoPinglunId"
          placeholder="请输入信息评论表id"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item> -->
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <el-row :gutter="10" class="mb8" style=" border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff;margin: 0;margin-top: 20px;padding: 10px 5px; ">
     <p class="bgtan" style="margin-top: 0;">校园广播</p>
	  <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['xiaoYuan:notice:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['xiaoYuan:notice:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['xiaoYuan:notice:remove']"
        >删除</el-button>
      </el-col>
      <!-- <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['xiaoYuan:notice:export']"
        >导出</el-button>
      </el-col> -->
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
	
	<div class="ngtes" style="background-color: #fff; padding: 0 10px;  padding-bottom: 40px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;">

    <el-table :max-height="tableMaxHeight" class="tryeu" v-loading="loading" :data="xiaoYuanInfoList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <!-- <el-table-column label="校园安全信息id" align="center" prop="infoId" /> -->
	  <el-table-column type="expand"  >
	        <template slot-scope="props" >
	          <el-form label-position="left" inline class="demo-table-expand">
	            <el-form-item label="点赞">
	              <span class="ngr">{{ props.row.infoDianZan }}</span>
	            </el-form-item>
	  			
	  			<el-form-item label="已读">
	  					  <span class="ngr">
	  					  {{ props.row.infoYiDu }}
	  					  </span>
	  			</el-form-item>
	  					
	          </el-form>
	        </template>
	      </el-table-column>
      <el-table-column label="信息标题" align="center" prop="infoTitle" />
      <el-table-column label="信息封面" align="center" prop="infoPhoto" width="100">
        <template slot-scope="scope">
          <image-preview :src="scope.row.infoPhoto" :width="50" :height="50"/>
        </template>
      </el-table-column>
      <!-- <el-table-column label="学校id" align="center" prop="schoolId" />
      <el-table-column label="学校名称" align="center" prop="schoolName" /> -->
      <el-table-column label="信息类型" align="center" prop="infoType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.xiaoyfenl" :value="scope.row.infoType"/>
        </template>
      </el-table-column>
      <el-table-column label="信息子分类" align="center" prop="infoTypeZi" width="100">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.infotypezi" :value="scope.row.infoTypeZi"/>
        </template>
      </el-table-column>
      <el-table-column  label="信息内容" align="center" prop="infoContent"  show-overflow-tooltip >
		 <template slot-scope="scope">
		   <div class="grd" v-html="scope.row.infoContent"></div>
		 </template> 
	  </el-table-column>
      <!-- <el-table-column label="信息状态" align="center" prop="status" /> -->
      <el-table-column label="发布时间" align="center" prop="fabuTime" width="180">
        <template slot-scope="scope">
          <span>{{ scope.row.fabuTime}}</span>
        </template>
      </el-table-column>
	  
    <!--  <el-table-column label="已读人数" align="center" prop="infoYidu" />
      <el-table-column label="点赞表id" align="center" prop="infoDianzanId" />
      <el-table-column label="转发人数" align="center" prop="infoZhuanfa" />
      <el-table-column label="信息评论表id" align="center" prop="infoPinglunId" /> -->
      <!-- <el-table-column label="备注" align="center" prop="remark" /> -->
	  
      <el-table-column label="操作" width="120" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
			 style="background: #00B034;color: #FFF;padding: 7px;"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['xiaoYuan:notice:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
             style="background: red;color: #FFF;padding: 7px;"
            @click="handleDelete(scope.row)"
            v-hasPermi="['xiaoYuan:notice:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    
    <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="1200px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="120px">
		  <el-row>
			  <el-col :span="6">
				<el-form-item label="信息标题" prop="infoTitle">
				  <el-input v-model="form.infoTitle" placeholder="请输入校园安全信息标题" />
				</el-form-item>  
			  </el-col>
			  
			  <el-col :span="6">
			  	 <el-form-item label="信息类型" prop="infoType">
			  	   <el-select v-model="form.infoType" placeholder="请选择信息类型">
			  	     <el-option
			  	       v-for="dict in dict.type.xiaoyfenl"
			  	       :key="dict.value"
			  	       :label="dict.label"
			  	       :value="dict.value"
			  	     ></el-option>
			  	   </el-select>
			  	 </el-form-item>			  
			  </el-col>
			  <el-col :span="6">
			  	<el-form-item label="信息子分类" prop="infoTypeZi">
			  	  <el-select v-model="form.infoTypeZi" placeholder="请选择信息子分类">
			  	    <el-option
			  	      v-for="dict in dict.type.infotypezi"
			  	      :key="dict.value"
			  	      :label="dict.label"
			  	      :value="dict.value"
			  	    ></el-option>
			  	  </el-select>
			  	</el-form-item>			  
			  </el-col>
			  <el-col :span="6">
			  	<el-form-item label="发布时间" prop="fabuTime">
			  	  <el-date-picker style='width:100%;' clearable
			  	    v-model="form.fabuTime"
			  	    type="date"
			  	    value-format="yyyy-MM-dd"
			  	    placeholder="请选择发布时间">
			  	  </el-date-picker>
			  	</el-form-item>			  
			  </el-col>
			  <el-col :span="24">
			  	<el-form-item label="信息内容">
			  	  <editor v-model="form.infoContent" :min-height="192"/>
			  	</el-form-item>			  
			  </el-col>
			  <el-col :span="24">
			  	 <el-form-item label="信息封面" prop="infoPhoto">
			  	   <image-upload v-model="form.infoPhoto"/>
			  	 </el-form-item>			  
			  </el-col>
			  
			  
		  </el-row>
        
        
       <!-- <el-form-item label="学校id" prop="schoolId">
          <el-input v-model="form.schoolId" placeholder="请输入学校id" />
        </el-form-item>
        <el-form-item label="学校名称" prop="schoolName">
          <el-input v-model="form.schoolName" placeholder="请输入学校名称" />
        </el-form-item>
        
        
        
        
        <el-form-item label="已读人数" prop="infoYidu">
          <el-input v-model="form.infoYidu" placeholder="请输入已读人数" />
        </el-form-item>
        <el-form-item label="点赞表id" prop="infoDianzanId">
          <el-input v-model="form.infoDianzanId" placeholder="请输入点赞表id" />
        </el-form-item>
        <el-form-item label="转发人数" prop="infoZhuanfa">
          <el-input v-model="form.infoZhuanfa" placeholder="请输入转发人数" />
        </el-form-item>
        <el-form-item label="信息评论表id" prop="infoPinglunId">
          <el-input v-model="form.infoPinglunId" placeholder="请输入信息评论表id" />
        </el-form-item>
        <el-form-item label="备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入备注" />
        </el-form-item> -->
       <!-- <el-divider content-position="center">校园安全信息评论信息</el-divider>
        <el-row :gutter="10" class="mb8">
          <el-col :span="1.5">
            <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAddInfoPinglun">添加</el-button>
          </el-col>
          <el-col :span="1.5">
            <el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDeleteInfoPinglun">删除</el-button>
          </el-col>
        </el-row>
        <el-table :data="infoPinglunList" :row-class-name="rowInfoPinglunIndex" @selection-change="handleInfoPinglunSelectionChange" ref="infoPinglun">
          <el-table-column type="selection" width="50" align="center" />
          <el-table-column label="序号" align="center" prop="index" width="50"/>
          <el-table-column label="校园安全信息父id" prop="infoPinglunParent" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunParent" placeholder="请输入校园安全信息父id" />
            </template>
          </el-table-column>
          <el-table-column label="头像地址" prop="avatar" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.avatar" placeholder="请输入头像地址" />
            </template>
          </el-table-column>
          <el-table-column label="评论人id" prop="infoPinglunUserId" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunUserId" placeholder="请输入评论人id" />
            </template>
          </el-table-column>
          <el-table-column label="评论人名称" prop="infoPinglunUserName" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunUserName" placeholder="请输入评论人名称" />
            </template>
          </el-table-column>
          <el-table-column label="被评论人id" prop="infoPinglunQuiltUserId" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunQuiltUserId" placeholder="请输入被评论人id" />
            </template>
          </el-table-column>
          <el-table-column label="被评论人名称" prop="infoPinglunQuiltUserName" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunQuiltUserName" placeholder="请输入被评论人名称" />
            </template>
          </el-table-column>
          <el-table-column label="评论时间" prop="pinglunTime" width="240">
            <template slot-scope="scope">
              <el-date-picker clearable v-model="scope.row.pinglunTime" type="date" value-format="yyyy-MM-dd" placeholder="请选择评论时间" />
            </template>
          </el-table-column>
          <el-table-column label="评论类型 1:评论 2:回复" prop="infoPinglunType" width="150">
            <template slot-scope="scope">
              <el-select v-model="scope.row.infoPinglunType" placeholder="请选择评论类型 1:评论 2:回复">
                <el-option label="请选择字典生成" value="" />
              </el-select>
            </template>
          </el-table-column>
          <el-table-column label="是否通过 N:未通过 Y:通过" prop="infoPinglunExamine" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.infoPinglunExamine" placeholder="请输入是否通过 N:未通过 Y:通过" />
            </template>
          </el-table-column>
          <el-table-column label="备注" prop="remark" width="150">
            <template slot-scope="scope">
              <el-input v-model="scope.row.remark" placeholder="请输入备注" />
            </template>
          </el-table-column>
        </el-table> -->
      </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>
	
	
  </div>
</template>

<script>
import { listXiaoYuanInfo, getXiaoYuanInfo, delXiaoYuanInfo, addXiaoYuanInfo, updateXiaoYuanInfo } from "@/api/zhihuixy/xiaoYuanInfo";

export default {
  name: "XiaoYuanInfo",
  dicts: ['infotypezi', 'xiaoyfenl'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 子表选中数据
      checkedInfoPinglun: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 校园安全信息表格数据
      xiaoYuanInfoList: [],
      // 校园安全信息评论表格数据
      infoPinglunList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
	  tableMaxHeight:400,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        infoTitle: null,
        infoPhoto: null,
        schoolId: null,
        schoolName: null,
        infoType: 1,
        infoTypeZi: null,
        infoContent: null,
        status: null,
        fabuTime: null,
        infoYidu: null,
        infoDianzanId: null,
        infoZhuanfa: null,
        infoPinglunId: null,
		createBy:null,
		params:{}
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        infoTitle: [
          { required: true, message: "校园安全信息标题不能为空", trigger: "blur" }
        ],
        infoPhoto: [
          { required: true, message: "信息封面不能为空", trigger: "blur" }
        ],
        // schoolId: [
        //   { required: true, message: "学校id不能为空", trigger: "blur" }
        // ],
        // schoolName: [
        //   { required: true, message: "学校名称不能为空", trigger: "blur" }
        // ],
        // infoType: [
        //   { required: true, message: "信息类型不能为空", trigger: "change" }
        // ],
        // infoTypeZi: [
        //   { required: true, message: "信息子分类不能为空", trigger: "change" }
        // ],
        // infoYidu: [
        //   { required: true, message: "已读人数不能为空", trigger: "blur" }
        // ],
        // infoDianzanId: [
        //   { required: true, message: "点赞表id不能为空", trigger: "blur" }
        // ],
        // infoZhuanfa: [
        //   { required: true, message: "转发人数不能为空", trigger: "blur" }
        // ],
        // infoPinglunId: [
        //   { required: true, message: "信息评论表id不能为空", trigger: "blur" }
        // ],
      }
    };
  },
  created() {
	  window.onresize = () => {
	            this.changeTableMaxHeight()
	          }
	          this.changeTableMaxHeight()
	this.queryParams.createBy =  this.$store.state.user.userId
    this.getList();
  },
  mounted() {
  	 window.onresize = () => {
  	           this.changeTableMaxHeight()
  	         }
  	         this.changeTableMaxHeight()
  },
  methods: {
    /** 查询校园安全信息列表 */
    getList() {
      this.loading = true;
	  this.queryParams.params.role=this.roleqh()
      listXiaoYuanInfo(this.queryParams).then(response => {
        this.xiaoYuanInfoList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        infoId: null,
        infoTitle: null,
        infoPhoto: null,
        schoolId: null,
        schoolName: null,
        infoType: 1,
        infoTypeZi: null,
        infoContent: null,
        status: null,
        fabuTime: null,
        infoYidu: null,
        infoDianzanId: null,
        infoZhuanfa: null,
        infoPinglunId: null,
        createBy: null,
        createTime: null,
        updateBy: null,
        updateTime: null,
        remark: null
      };
      this.infoPinglunList = [];
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.infoId)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加文章信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const infoId = row.infoId || this.ids
      getXiaoYuanInfo(infoId).then(response => {
        this.form = response.data;
        this.infoPinglunList = response.data.infoPinglunList;
        this.open = true;
        this.title = "修改文章信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          this.form.infoPinglunList = this.infoPinglunList;
          if (this.form.infoId != null) {
            updateXiaoYuanInfo(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addXiaoYuanInfo(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const infoIds = row.infoId || this.ids;
      this.$modal.confirm('是否确认删除校园安全信息编号为"' + infoIds + '"的数据项？').then(function() {
        return delXiaoYuanInfo(infoIds);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
	/** 校园安全信息评论序号 */
    rowInfoPinglunIndex({ row, rowIndex }) {
      row.index = rowIndex + 1;
    },
    /** 校园安全信息评论添加按钮操作 */
    handleAddInfoPinglun() {
      let obj = {};
      obj.infoPinglunParent = "";
      obj.infoPinglunContent = "";
      obj.avatar = "";
      obj.infoPinglunUserId = "";
      obj.infoPinglunUserName = "";
      obj.infoPinglunQuiltUserId = "";
      obj.infoPinglunQuiltUserName = "";
      obj.pinglunTime = "";
      obj.infoPinglunType = "";
      obj.infoPinglunExamine = "";
      obj.remark = "";
      this.infoPinglunList.push(obj);
    },
    /** 校园安全信息评论删除按钮操作 */
    handleDeleteInfoPinglun() {
      if (this.checkedInfoPinglun.length == 0) {
        this.$modal.msgError("请先选择要删除的校园安全信息评论数据");
      } else {
        const infoPinglunList = this.infoPinglunList;
        const checkedInfoPinglun = this.checkedInfoPinglun;
        this.infoPinglunList = infoPinglunList.filter(function(item) {
          return checkedInfoPinglun.indexOf(item.index) == -1
        });
      }
    },
    /** 复选框选中数据 */
    handleInfoPinglunSelectionChange(selection) {
      this.checkedInfoPinglun = selection.map(item => item.index)
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('system/xiaoYuanInfo/export', {
        ...this.queryParams
      }, `xiaoYuanInfo_${new Date().getTime()}.xlsx`)
    },
	// 查看评论列表
	ngerkh(val){
		console.log(val)
		getXiaoYuanInfo(val.infoId).then(response => {
		  this.infoPinglunList = response.data.infoPinglunList;
		  // this.open = true;
		  // this.title = "修改校园安全信息";
		});
	},
	// 获取屏幕高度
	showFilterForm () {
	      this.filterActive = !this.filterActive
	      this.changeTableMaxHeight()
	    },
	
	    changeTableMaxHeight () {
	      let height = document.body.offsetHeight // 网页可视区域高度
	      // if (this.filterActive) {
	      //   this.tableMaxHeight = height - 320
	      // } else {
	        this.tableMaxHeight = height - 250
	      // }
	      console.log(height)
	    },
  }
};
</script>
<style lang="scss">
	.tryeu{
		.demo-table-expand {
		  font-size: 0;
			.ngr{
				color: #161616;
			}
		}
		.demo-table-expand label {
		  width: 90px;
			text-align: right;
		  color: #666;
		}
		.demo-table-expand .el-form-item {
		  margin-right: 0;
		  margin-bottom: 0;
		  width: 25%;
		}
		.demo-table-expand .yhgr{
			width: 100%;
		}
	}
</style>

<style lang="scss" scoped>
	.bgtan{
		border-left: 3px solid #4775EA;
		padding-left: 10px;
	}
	
	.app-container{
		background-color: #f6f6f6;
		// height: 100vh;
	}
	.grd ::v-deep p{
		  margin:0;
		  img{
		  	width:50px;
		  	height: 50px;
		  }
	}
	
	.dkesfpl{
		p{
			margin: 0;
			padding-left: 10px;
			margin-top: 20px;
			margin-bottom: 10px;
		}  
	}
	.plnadr{
		  display: flex;
		  // padding-left: 3%;
		  p{
			  padding:0;
		  }
		  .mhfew{
		  	  width: 20%;
		  	  padding-top: 10px;
		  	  img{
		  		  width: 25px;
		  		  height: 25px;
		  		  border-radius: 50%;
		  		  margin-left: 50%;
		  		  transform: translateX(-50%);
		  	  }
		  }
		  .nbgwrfv{
			  width: 80%;
			  p:nth-child(1){
				  font-size: 16px;
				  font-family: PingFang SC;
				  font-weight: bold;
				  color: #161616;
				  margin-top: 10px;
				  margin-bottom: 0;
			  }
			  p:nth-child(2){
			  			  font-size: 16px;
			  			  font-family: PingFang SC;
			  			  font-weight: 400;
			  			  color: #161616;
						  margin-top: 10px;
			  }
			  p:nth-child(3){
			  			  font-size: 14px;
			  			  font-family: PingFang SC;
			  			  font-weight: 400;
			  			  color: #AAAAAA;
			  }
		  }
		  
	}
</style>