<template>
  <div class="app-container">
    <div class="header_main">
      查看执法依据
      <div class="return_btn" @click="onClickLeft"></div>
    </div>
    <div class="jg"></div>

    <p class="title">{{content.title}}</p>
    <p class="tit">来源：{{content.source}} <span>发布时间：{{content.newsTime}}</span></p>
    <div id="content" v-html="content.content"></div>
  </div>
</template>

<script>
  export default {
    name: "programmeDetail",
    data() {
      return {
        content:{}
      };
    },
    created() {
      this.content = this.$route.query.content;
    },
    methods: {

    },
  }
</script>

<style scoped lang="scss">
  .app-container {
    padding: 0 0 0.2rem;
    background: #ffffff;
  }
  .jg{
    height: 116px;
  }
  .header_main{
    height: 116px;
    background: url('../../../../static/images/lawEnforcement/new/list_head.png') no-repeat;
    background-size: 100% 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 36px;
    line-height: 116px;
    text-align: center;
    color: #fff;
    z-index: 999;
    .return_btn{
      width: 24px;
      height: 43.2px;
      background: url('../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
      background-size: 20px 36px;
      position: absolute;
      left: 38px;
      top: 36px;
    }
    .add_btn{
      width: 56.4px;
      height: 40.8px;
      background: url('../../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat;
      background-size: 47px 34px;
      position: absolute;
      right: 38px;
      top: 36px;
    }
  }
  .title{
    text-align: center;
    font-size: .6rem;
    margin-top: 20PX;
    font-weight: bold;
  }
  .tit{
    text-align: center;
    font-size: .35rem;
    margin-top: 20PX;
    span{
      margin-left: 10PX;
      color: #666666;
    }
  }
  #content /deep/{
    padding: 20PX 3%;
    p{
      line-height: .7rem;
      font-size: .35rem;
    }
    h3{
      font-size: .4rem;
    }
    img{
      width: 100%;
    }
  }
</style>
