| | |
| | | <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> |
| | | <!-- <uni-swiper-dot class="uni-swiper-dot-box" :mode="'dot'" field="content" v-if="dto.url&&dto.url.length>0"> |
| | | <swiper class="swiper-box" :interval="10000" :circular="true" :current="0" :autoplay="true"> |
| | | <swiper-item v-for="(url, index) in dto.url" :key="index"> |
| | | <view class="swiper-item" :class="'swiper-item' + index"> |
| | | |
| | | <image class="home-banner-image" mode="scaleToFill" @click="previewImg(url)" :src="url"> |
| | | </image> |
| | | </view> |
| | | </swiper-item> |
| | | </swiper> |
| | | </uni-swiper-dot> --> |
| | | |
| | | <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> |
| | |
| | | data() { |
| | | return { |
| | | dto: { |
| | | |
| | | // url: [], |
| | | }, |
| | | peoples: [], |
| | | id: '' |
| | |
| | | }) |
| | | |
| | | this.$message.hideLoading() |
| | | // if (data && data.url) { |
| | | // data.url = JSON.parse(data.url) || [] |
| | | // } |
| | | this.dto = { |
| | | ...data |
| | | } |
| | | this.dto.content = this.$util.formatRichText(this.dto.content||'') |
| | | |
| | | this.dto.content = this.$util.formatRichText(this.dto.content || '') |
| | | //处理url的问题 |
| | | // console.log('dto',this.dto) |
| | | |
| | | |
| | | }, |
| | | } |
| | | } |