123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <template>
- <div class="details-container">
- <div class="notice-header">
- <p class="title">
- <span class="content-title">关于开展2019年高新区智慧课堂第二次研讨活动的通知</span></p>
- <p class="sub">2019-04-11 月月研讨 点击量:0</p>
- </div>
- <div class="content" v-html="noticeContent">
- </div>
- <Button type="primary" @click="backList">返回列表</Button>
- </div>
- </template>
- <script>
- import noticeDetails from '@/static/noticeDetails.json'
- export default {
- components: {
- },
- data() {
- return {
- reviewAcList: [],
- attachmentsList: [],
- noticeContent: {}
- }
- },
- created() {
- //根据跳转参数获取通知详情
- //let noticeId = this.$route.query.id;
- //this.$get('http://ttkt.sxedu.org:70/webservice/bizNoticeItem.action?id=' + noticeId + '&nocache=1&_=1557315901157').then(res => {
- // console.log(res.data.noticeTypeName);
- //})
- this.noticeContent = noticeDetails.data.content;
- },
- methods: {
- backList() {
- this.$router.go(-1);
- }
- },
- mounted() {
- }
- }
- </script>
- <style scoped>
- html, body, #app {
- height: 100% !important;
- user-select: none;
- }
- .main-content {
- background: rgb(248,248,248) !important;
- }
- .center-row {
- display:flex;
- flex-direction:row;
- }
- .center-col {
- display:flex;
- flex-direction:column;
- }
- .details-container {
- position:relative;
- width: 1200px;
- margin: 100px auto;
- padding:36px 30px 30px;
- background:#fff;
- display: flex;
- flex-direction: column;
- }
- .notice-header {
- text-align:center;
- }
- .notice-header .content-title {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 600px;
- display: inline-block;
- font-size: 20px;
- color: #222;
- }
- .notice-header .sub {
- font-size: 14px;
- color: #999;
- padding-top: 12px;
- padding-bottom: 10px;
- margin-bottom: 24px;
- border-bottom: 1px solid #f6f6f6;
- }
- .details-container .ivu-btn {
- width:150px;
- margin:10px auto;
- }
-
- </style>
|