| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <view class="notice-net iPhone-bottom flex-common-css box-border-box">
- <Nav title='通知详情' bgckgroundBox='#fff'></Nav>
-
- <view class="scroll-view-css box-border-box p-32">
- <view class="fs-40 fw-600 mb-12">{{obj.title||''}}</view>
- <view class="fs-24 fw-400 mb-18">{{obj.created_date||''}}</view>
- <view class="fs-30 fw-400" v-html="obj.content"></view>
- </view>
- </view>
- </template>
- <script>
- import {noticeInfo} from '@/api/notice.js';
- export default {
- data(){
- return{
- id:'',
- obj:{},
- }
- },
- onLoad(e) {
- this.id = e.id;
- this.getInfo();
- },
- methods:{
- getInfo(){
- noticeInfo({id:this.id}).then((res)=>{
- if(res.code === 1){
- this.obj = res.data;
- }
- })
- },
- },
- }
- </script>
- <style scoped lang="scss">
- .notice-net{
- background-color: #fff;
- }
- </style>
|