1
jhzh
2025-03-28 bc348cc5931ab14590f70718dc683af247f82304
src/page/announce/announceDetail.vue
@@ -5,6 +5,7 @@
            <div class="font-52 font-700 textColor">{{ title }}</div>
            <p class="mt-20 text-grey font-24">{{ createTimeStr }}</p>
            <div  style="white-space:pre-wrap;"   class="mt-32 text-cont textColor" v-html="content"></div>
         <img style="width: 100%; " :src="imgUrl"></img>
        </div>
    </div>
</template>
@@ -24,7 +25,8 @@
        return {
            title: '',
            createTimeStr: '',
            content: ''
            content: '',
         imgUrl:''
        }
    },
    mounted() {
@@ -39,6 +41,7 @@
                this.title = res.data.title;
                this.createTimeStr = dataTimeEx(res.data.startTime)
                this.content = res.data.content
            this.imgUrl = res.data.imgUrl
            })
        }
    }