<!-- 系统配置 - 权限配置 -->
<template>
  <div class="page">
    <div class="content">
      <div class="title">{{datas.title}}</div>
      <div class="creatTime">{{datas.creationTime}}</div>
      <div class="line"></div>
      <div class="contents" v-html="datas.content"></div>
    </div>
  </div>
</template>

<script>
import { getcountryAllList } from '@/api/exchangerate'
import topBar from '@/components/topBar'
import { getbdmenuList, getPubenumsList } from '@/api/system'
import { getgradeRanglist, getAwardsListChiose } from '@/api/level'
import { noticeDetails } from '@/api/notice'

import * as apis from '@/api/financialCase.js'
import { Message } from 'element-ui'
import * as api from '@/api/translate'
import {getNoticeList} from "@/api/translate";
// import {noticeDetails} from "@/api/notice";

export default {
  name: 'notice',
  components: {
    topBar
  },
  data() {
    return {
      tableData:[],
      datas:'',
      moren: '/informCentre/noticeList',
      topList: [
        {
          name: '公告列表',
          path: '/informCentre/noticeList',
        },
      ],
    }
  },
  created() {
    const geturl = window.location.href
    const getqyinfo = geturl.split('?')[1]
    const getqys = new URLSearchParams('?' + getqyinfo)
    const pkId = getqys.get('pkId')
    this.research(pkId)
  },
  methods: {
    async research(data) {
      noticeDetails({"pkId":data}).then((res) => {
        this.datas = res.data
      })
    }
  }
}
</script>
<style lang="scss" scoped>
::v-deep strong{
  font-weight: inherit!important;
}
.contents{
  color: #333;
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 70px;
  padding-top: 30px;
}
.line{
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin: 20px 0 10px 0;
}
.creatTime{
  color: #666;
  font-size: 12px;
  text-align: left;
  padding-left: 360px;
}
.title{
  color: #333;
  font-size: 28px;
}
.content{
  padding: 20px 0;
  background-color: #fff;
  font-size: 28px;
  color: #333;
  box-shadow: 0px 2px 20px 0px rgba(238,238,238,0.5);
  border-radius: 10px 10px 10px 10px;
  text-align: center;
  min-height: 850px;
}
.time-s{
  color: #666;
  font-size: 12px;
}
.div-box{
  padding: 15px 0 0 0;
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
  line-height: 24px;
}
.lists{
  width: 100%;
}
.border-bottom{
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 10px;
  padding-left: 20px;
}
.title{
  color: #333;
  font-size: 18px;
}
.time{
  color: #000;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
}
.name{
  color: #333;
  font-size: 18px;
  font-weight: bold;
  flex: 1;
  margin-left: 10px;
}
.style3{
  background: rgba(0,155,88,0.3)!important;
  color: #009B58!important;
}
.style2{
  background: rgba(58,58,58,0.3)!important;
  color: #3F3F3F!important;
}
.style1{
  width: 44px;
  height: 22px;
  background: rgba(255,134,134,0.3);
  border-radius: 4px 4px 4px 4px;
  line-height: 22px;
  text-align: center;
  color: #C42525;
  font-size: 14px;
}
.box{
  box-shadow: 0px 2px 20px 0px rgba(238,238,238,0.5);
  border-radius: 10px 10px 10px 10px;
  background-color: #fff;
  height: 1000px;
  padding-bottom: 20px;
}
.lists{
  padding: 20px 0;
  border-bottom:1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
::v-deep .el-dialog__title{
  font-weight: bold;
}
.button-style{
  width: 209px;
  height: 48px;
  background: #CCCCCC;
  border-radius: 5px 5px 5px 5px;
  opacity: 1;
  line-height: 48px;
  padding: 0!important;
  color: #fff;
  font-size: 18px;
}
::v-deep .el-dialog__header{
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.button-s{
  padding: 0 2px!important;
}
::v-deep .el-button{
  padding: 10px 20px;
}
::v-deep .el-date-editor .el-range__close-icon{
  margin-top: -10px;
}
::v-deep .el-date-editor .el-range-separator{
  margin-top: -10px;
}
::v-deep .el-date-editor .el-range__icon{
  margin-top: -10px;
}
::v-deep .el-input__inner{
  //height:28px;
  //line-height: 28px;
}
::v-deep .el-form-item{
  margin-bottom: 15px;
}
::v-deep .el-form-item__label{
  color: #333;
  font-weight: inherit;
}
::v-deep .el-row {
  margin-top: 20px;
}
::v-deep .el-table .warning-row {
  background: #f9f9f9;
}

::v-deep .el-table .success-row {
  background: #ffffff;
}
::v-deep .el-table thead {
  color: #000000;
}
.openClose {
  margin-top: 10px;
  margin-right: 10px;
  color: #666666;
  text-align: center;
}
.page {
  padding: 20px;
  background: #f9f9f9;
  font-size: 14px;
  overflow-y: auto;
  //margin-bottom: 100px;
  .thetopbox {
    background: #ffffff;
    border-radius: 8px;
    padding-bottom: 10px;
    .searchbox {
      display: flex;
      align-items: center;
      .searchtitle {
        margin-right: 10px;
      }
      .searchbtn {
        background: #08143f;
        color: #ffffff;
      }
    }
  }
  .main {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 2px 20px 0px rgba(238, 238, 238, 0.5);

    .maintop {
      display: flex;
      padding: 10px 20px;
      justify-content: space-between;
      align-items: center;
      .mainbtn {
        .thebtn1 {
          color: #ffffff;
          background: rgba(67, 145, 253, 1);
        }
      }
    }
  }
}
</style>
