95 lines
6.8 KiB
Plaintext
Executable File
95 lines
6.8 KiB
Plaintext
Executable File
<view style="padding-bottom: 120rpx;" wx:if="{{dataList.length>0}}">
|
|
<view bindtap="editMoment" class="flex flex-direction bg-white radius item-box" data-index="{{index}}" id="it" wx:for="{{dataList}}" wx:key="index">
|
|
<view class="flex justify-between align-center" style="padding: 15rpx 15rpx 0rpx 15rpx;">
|
|
<view class="text-black text-df text-bold "> 发表时间:{{item.gmtCreate}} </view>
|
|
<image catchtap="delItem" data-index="{{index}}" mode="scaleToFill" src="/images/ic_squareness_del.png" style="width:48rpx;height:48rpx;"></image>
|
|
</view>
|
|
<view class="flex justify-between align-center" style="padding:15rpx 0rpx;background-color: #f5f5f5;margin:0rpx 15rpx;" wx:if="{{item.checkStatus=='0'}}">
|
|
<view style="display: flex;flex-direction: column;font-size: 28rpx;">
|
|
<text class="text-red">该条数据存在违规内容,请修改后重新发布.</text>
|
|
<text class="text-red">违规描述:{{item.checkRemark}}</text>
|
|
</view>
|
|
</view>
|
|
<view wx:for="{{item.list}}" wx:for-index="idx" wx:for-item="child" wx:key="idx">
|
|
<view class="column-item" wx:if="{{child.dataType=='1'&&child.value.length>0}}">
|
|
<view class="bg-white">
|
|
<view class="cu-form-group">
|
|
<view id="content" style="line-height:40rpx;"> {{columnId=='de7b5e22-64f9-4c60-a1f9-6ac004dfb9a8'?child.comment+':':''}}{{child.value}} </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cu-form-group column-item" wx:if="{{child.dataType=='2'&&child.valueList.length>0}}">
|
|
<view class="grid col-3 grid-square flex-sub">
|
|
<view catchtap="viewImg" class="bg-img" data-url="{{photo.path}}" wx:for="{{child.valueList}}" wx:for-item="photo" wx:key="index">
|
|
<image mode="aspectFill" src="{{photo.path}}"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cu-form-group column-item" wx:if="{{child.dataType=='4'&&child.valueList.length>0}}">
|
|
<view catchtap="viewVideo" class="movie-box" data-url="{{video.path}}" wx:for="{{child.valueList}}" wx:for-item="video" wx:key="index">
|
|
<image mode="scaleToFill" src="{{video.imgPath}}"></image>
|
|
<view class="play-box-arrow-flex">
|
|
<image mode="scaleToFill" src="/images/ic_video_play.png" style="width: 96rpx;height:96rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="column-item" style="width:100%;" wx:if="{{child.dataType=='3'&&child.valueList.length>0}}">
|
|
<view class="flex align-center shadow-box" style="width:100%;" wx:for="{{child.valueList}}" wx:for-index="i" wx:for-item="audio" wx:key="i">
|
|
<image mode="scaleToFill" src="/images/ic_user_default.png" style="width:80rpx;height:80rpx;"></image>
|
|
<view class="play-box">
|
|
<view class="flex justify-between align-center" style="width:80%;">
|
|
<text>{{audio.curDurationStr}}</text>
|
|
<slider activeColor="#1296db" backgroundColor="#cacaca" bindchange="slider4change" blockColor="#1296db" blockSize="14" class="flex-sub" data-i="{{i}}" data-idx="{{idx}}" data-index="{{index}}" data-item="{{audio}}" max="{{audio.duration}}" min="{{0}}" value="{{audio.curDuration}}"></slider>
|
|
<text>{{audio.totalDurationStr}}</text>
|
|
</view>
|
|
<view class="flex justify-between" style="width:80%;">
|
|
<image catchtap="rewind" data-i="{{i}}" data-idx="{{idx}}" data-index="{{index}}" data-item="{{audio}}" mode="scaleToFill" src="/images/ic_audio_rewind.png"></image>
|
|
<image catchtap="play" data-i="{{i}}" data-idx="{{idx}}" data-index="{{index}}" data-item="{{audio}}" mode="scaleToFill" src="{{audio.isPlay?'/images/ic_audio_playing.png':'/images/ic_audio_play.png'}}"></image>
|
|
<image catchtap="speed" data-i="{{i}}" data-idx="{{idx}}" data-index="{{index}}" data-item="{{audio}}" mode="scaleToFill" src="/images/ic_audio_speed.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="column-item" wx:if="{{child.dataType=='6'&&child.valueList.length>0}}">
|
|
<view style="width:100%;" wx:for="{{child.valueList}}" wx:for-item="m" wx:key="index">
|
|
<view class="flex justify-between">
|
|
<view></view>
|
|
<view></view>
|
|
</view>
|
|
<view style="border-radius:10rpx;overflow:hidden;">
|
|
<map enableRotate="{{false}}" enableScroll="{{false}}" enableTraffic="{{false}}" enableZoom="{{false}}" latitude="{{m.latitude}}" longitude="{{m.longitude}}" markers="{{[ {latitude:m.latitude,longitude:m.longitude} ]}}" scale="12" style="width:100%;height:300rpx;"></map>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="column-item" wx:if="{{child.dataType=='7'&&child.value.length>0}}">
|
|
<view class="bg-white">
|
|
<view class="cu-form-group">
|
|
<view id="content" style="line-height:40rpx;"> {{child.value}} </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="column-item" wx:if="{{child.dataType=='8'}}">
|
|
<view class="bg-white">
|
|
<view class="cu-form-group">
|
|
<view class="padding-left-xs padding-right-xs margin-left-xs margin-right-xs" id="content" style="line-height:40rpx;"> {{child.selValue}} </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="column-item" wx:if="{{child.dataType=='9'}}">
|
|
<view class="cu-capsule radius" wx:for="{{child.dictionariesList}}" wx:key="index">
|
|
<view class="cu-tag bg-blue" data-idx="{{index}}" wx:if="{{item.isSel}}"> {{item.dataName}} </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin-top:200rpx;width:100%;" wx:else>
|
|
<van-empty description="暂无数据"></van-empty>
|
|
</view>
|
|
<view class="foot bg-white" style="padding: 15rpx;" wx:if="{{configMode=='2'||dataList.length<=0}}">
|
|
<button bindtap="doPublish" class="cu-btn bg-blue" style="width:100%">去发布</button>
|
|
</view>
|
|
<view style="width:100%;display:flex;justify-content:center;background-color:#fff;padding:20rpx 0rpx;margin-bottom:100rpx" wx:if="{{isLoadMore}}">
|
|
<van-loading size="24px" type="spinner">加载中...</van-loading>
|
|
</view>
|