From af2a86dbbe05d74b00a6e7bdc426e26bb0453654 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 31 七月 2024 11:35:34 +0800 Subject: [PATCH] fix bug --- pages/notice/notice.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pages/notice/notice.vue b/pages/notice/notice.vue index f47e930..cdffe5d 100644 --- a/pages/notice/notice.vue +++ b/pages/notice/notice.vue @@ -8,10 +8,20 @@ <view style="background: #F5F5F5;height: 24rpx;"> </view> + <view class="bg-white p10"> + <image :src="dto.cover" v-if="dto.cover" mode="aspectFit" class="m-t-8" + style="display: block;margin: 0 auto;" @click="previewImg(dto.cover)"></image> + + </view> + + <view style="background: #F5F5F5;height: 24rpx;"> + + </view> + <!-- 活动描述 --> <view class="info-desc"> <view class="title">公告描述</view> - <view v-html="dto.content||'暂无'" class="rich" style="overflow: scroll;"> + <view v-html="dto.content||'暂无'" class="rich" style="overflow: scroll;"> </view> </view> @@ -53,8 +63,8 @@ this.dto = { ...data } - this.dto.content = this.$util.formatRichText(this.dto.content||'') - + this.dto.content = this.$util.formatRichText(this.dto.content || '') + }, } } -- Gitblit v1.9.3