记录添加查看图片
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
.img-90x90{width:90rpx;height:90rpx;box-sizing:border-box;}
|
||||
.img-100x100{width:100rpx;height:100rpx;box-sizing:border-box;}
|
||||
.img-120x120{width:120rpx;height:120rpx;box-sizing:border-box;}
|
||||
.img-125x75{width:125rpx;height:75rpx;box-sizing:border-box;}
|
||||
.img-135x135{width:135rpx;height:135rpx;box-sizing:border-box;}
|
||||
.img-140x140{width:140rpx;height:140rpx;box-sizing:border-box;}
|
||||
.img-160x160{width:160rpx;height:160rpx;box-sizing:border-box;}
|
||||
|
||||
@@ -475,6 +475,14 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
//查看图片
|
||||
previewImage(e){
|
||||
wx.previewImage({
|
||||
current:e.currentTarget.dataset.current,
|
||||
urls:this.data.logslist[e.currentTarget.dataset.index].imgs,
|
||||
})
|
||||
},
|
||||
|
||||
/*************************** 编辑 **********************************/
|
||||
//获取车型库
|
||||
getAppSeriesCars(){
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
<text>用户跟踪</text>
|
||||
</view>
|
||||
<view class="orderDtail-log mt40 relative" wx:if="{{logslist.length>0}}">
|
||||
<block wx:for="{{logslist}}" wx:key="index">
|
||||
<block wx:for="{{logslist}}" wx:for-index="index" wx:key="index">
|
||||
<view class="orderDtail-log-item pl40 relative">
|
||||
<view class="orderDtail-log-content">
|
||||
<view class="font-22 color-999">{{item.c_time}}</view>
|
||||
@@ -145,6 +145,11 @@
|
||||
{{play?'播放中':'已暂停'}}
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.imgs.length>0}}">
|
||||
<block wx:for="{{item.imgs}}" wx:for-item="img" wx:for-index="j" wx:key="j">
|
||||
<image bindtap="previewImage" data-current="{{img}}" data-index="{{index}}" class='img-125x75 mr10 bds-1-eb ulib-r5' src='{{img}}' mode='aspectFill'></image>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<i class="absolute box-middle mt15 bg-fff line-height-11 font-22 color-999 iconfont icon-jiantou-up z-index-1" wx:if="{{index+1 != logslist.length}}"></i>
|
||||
<text class="absolute orderDtail-log-line2 z-index-0" wx:if="{{index != logslist.length-1}}"></text>
|
||||
|
||||
Reference in New Issue
Block a user