You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
<template>
|
|
<view>
|
|
<lf-nav :spreadOut="true" :showIcon="true" bgColor="#F8F8F8" title="文章详情"></lf-nav>
|
|
<view style="height: 30rpx;"></view>
|
|
<view class="lf-m-l-32 lf-m-r-32">
|
|
<view>
|
|
<view class="lf-font-36 lf-color-222 lf-m-b-20 lf-font-bold">
|
|
苦等一年!阳澄湖大闸蟹又肥了,让你安心吃螃蟹的文章也来了
|
|
</view>
|
|
<view class="lf-flex lf-m-b-24">
|
|
<view class="lf-font-28" style="color: #2D6361;">
|
|
金城优选线上商城
|
|
</view>
|
|
<view class="lf-color-777 lf-font-28 lf-m-l-25">
|
|
2021.09.01 16:28:22
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<rich-text :nodes="content" v-if="content"></rich-text>
|
|
<!-- <lf-nocontent v-else></lf-nocontent> -->
|
|
<!-- 回到顶部 -->
|
|
<u-back-top :scroll-top="pageScrollTop" :custom-style="{background: 'rgba(51, 51 51, 0.3)'}"></u-back-top>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data(){
|
|
return {
|
|
content: '',
|
|
notice_id: 0,
|
|
title_content: ''
|
|
}
|
|
},
|
|
onLoad(e){
|
|
this.notice_id = e.notice_id;
|
|
if(this.notice_id) {
|
|
// this.getData();
|
|
}
|
|
},
|
|
methods: {
|
|
getData(){
|
|
this.$http(this.API.API_NOTICEDETAILS,{id:this.notice_id}).then(res => {
|
|
this.content = res.data?.content;
|
|
this.title_content = res.data
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|