小记评论静态

This commit is contained in:
老叶
2022-06-17 11:37:29 +08:00
parent 5d9a46d12a
commit 8fb56e6aab
3 changed files with 49 additions and 5 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,4 +1,4 @@
const env = "p";
const env = "d";
const version = 1,
+41 -1
View File
@@ -65,8 +65,15 @@
<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>
<!--时间-->
<view class="font-22">
<text class="color-999">{{item.c_time}}</text>
<text class="color-999"> · </text>
<text class="color-36afa2">试驾/下定</text>
</view>
<!--内容-->
<view class="font-28 text-break" style="min-height:50rpx;">{{item.content}}</view>
<!--录音-->
<view class="relative mt10 wp80 pt5 pb5 pl180 bg-e3f5f3 color-36afa2 font-30 ulib-r10" wx:if="{{!!item.record_url}}">
<i bindtap="audioPlay" data-index="{{index}}" class="absolute box-middle left-0 ml20 iconfont {{play?'icon-zanting1':'icon-bofang'}}" wx:if="{{currentIndex==index}}"></i>
<i bindtap="audioPlay" data-index="{{index}}" class="absolute box-middle left-0 ml20 iconfont icon-bofang" wx:else></i>
@@ -86,11 +93,29 @@
value="{{currentIndex==index?currentime:0}}"
/>
</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-2-eb ulib-r5' src='{{img}}' mode='aspectFill'></image>
</block>
</view>
<!--评论-->
<view class="mt20 bg-f6 ulib-r20 ulib-rlt0 pt5 pb10 pl15 pr15 font-22">
<view class="mt5 relative">
<text class="iconfont icon-pinglun color-36afa2"></text>
<text class="ml10 color-36afa2">店长:</text>
<text class="color-666">提醒客户签字并定金</text>
</view>
<view class="mt5 relative">
<text class="iconfont icon-pinglun color-36afa2"></text>
<text class="ml10 color-36afa2">店长:</text>
<text class="color-666">提醒客户签字并定金</text>
</view>
</view>
<view class="mt20 font-22 color-36afa2">
<text class="iconfont icon-pinglun"></text>
<text class="ml10">评论</text>
</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>
@@ -301,4 +326,19 @@
<button bindtap="optShowOrder" class="bds-2-36afa2 btn-no-bg wp45 font-28 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover">返回</button>
</view>
</view>
</lcb-msg>
<lcb-msg isShow="{{isShowMessage}}">
<view slot="content">
<view class="inner40">
<view class="font-36 text-center">小记评论</view>
<view class="mt20">
<textarea class="wp100 inner20 bds-2-eb font-28 ulib-r10" style="height:170rpx;" placeholder-class="color-ccc" maxlength='100' placeholder="请输入评论内容" model:value='{{content}}' />
</view>
</view>
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
<button bindtap="hideMessage" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">取消</button>
<button disabled="{{submitFlag}}" bindtap="postAppSmsCustomer" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">确定</button>
</view>
</view>
</lcb-msg>