Commit 76b9102a authored by 罗超's avatar 罗超

1

parent a18f8095
...@@ -240,12 +240,21 @@ ...@@ -240,12 +240,21 @@
{{detial.LocationName}} {{detial.LocationName}}
</view> </view>
</view> </view>
<view style="width: 100%;padding: 15px;margin-bottom: 150rpx;"> <view style="width: 100%;padding: 15px;margin-bottom: 150rpx;">
<view class="acdetail_Intro" v-html="richtext"></view> <view class="acdetail_Intro" v-html="richtext"></view>
<view class="title-pic" v-if="detial.FileGroup.length>0"> <view class="title-pic" v-if="detial.Summary">
活动总结
</view>
<!-- <view >
<rich-text :nodes="detial.Summary"></rich-text>
</view> -->
<view class="acdetail_Intro" v-html="detial.Summary" v-if="detial.Summary"></view>
<view class="title-pic" v-if="detial.FileGroup[0].groupList.length>0||detial.FileGroup[1].groupList.length>0">
活动相册 活动相册
</view> </view>
<view class="pic-name" v-if="detial.FileGroup[0]"> <view class="pic-name" v-if="detial.FileGroup[0].groupList.length>0">
视频 视频
</view> </view>
<view class="video-box"> <view class="video-box">
...@@ -263,10 +272,9 @@ ...@@ -263,10 +272,9 @@
<view class="item-num"> <view class="item-num">
{{item.FileList.length}} {{item.FileList.length}}
</view> </view>
</view> </view>
</view> </view>
<view class="pic-name" v-if="detial.FileGroup[1]"> <view class="pic-name" v-if="detial.FileGroup[1].groupList.length>0">
图片 图片
</view> </view>
<view class="video-box"> <view class="video-box">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
暂无内容 暂无内容
</view> </view>
<view v-for="(item,index) in dataList" :key="index" class="img-box" style="position: relative;" v-if="dataList.length>0"> <view v-for="(item,index) in dataList" :key="index" class="img-box" style="position: relative;" v-if="dataList.length>0">
<image :src="item.Path" mode="aspectFill" class="img" v-if="item.Type==1" @click="previewImage"></image> <image :src="item.Path" mode="aspectFill" class="img" v-if="item.Type==1" @click="previewImage(index)"></image>
<video :id="item.Id" :src="item.Path" style="width: 200rpx;height: 200rpx;" <video :id="item.Id" :src="item.Path" style="width: 200rpx;height: 200rpx;"
:controls='controls' :controls='controls'
:show-center-play-btn='false' :show-center-play-btn='false'
...@@ -122,17 +122,18 @@ ...@@ -122,17 +122,18 @@
background-color: #000000; background-color: #000000;
} }
.img-box{ .img-box{
width: 200rpx; width: 215rpx;
height: 200rpx; height: 215rpx;
border-radius: 12rpx; border-radius: 12rpx;
bottom: 10px; bottom: 10px;
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;
border: 1rpx solid #EEEEEE; border: 1rpx solid #EEEEEE;
overflow: hidden;
} }
.img{ .img{
width: 200rpx; width: 215rpx;
height: 200rpx; height: 215rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment