| 1 |
- <view><view style="width:100%;padding-bottom:140rpx;"><block wx:for="{{ListItem}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="display:flex;flex-direction:column;"><view style="margin-top:15rpx;width:100%;text-align:center;font-size:26rpx;color:#999999;">{{''+item.createTime}}</view><block wx:if="{{item.sendType===2}}"><view style="width:83%;margin-right:15%;"><view class="chat-listitem" style="float:left;margin-left:10rpx;"><view><image class="chat-listitem-image" src="../../static/logo.png"></image></view><block wx:if="{{item.content&&item.type===1}}"><view class="chat-listitem-text" style="margin-left:20rpx;">{{item.content}}</view></block><block wx:if="{{item.content&&item.type===2}}"><image style="height:200rpx;width:200rpx;margin-left:20rpx;" src="{{item.content}}" data-event-opts="{{[['tap',[['viewImg',['$0'],[[['ListItem','',index,'content']]]]]]]}}" bindtap="__e"></image></block></view></view></block><block wx:if="{{item.sendType===1}}"><view style="width:83%;margin-left:15%;"><view class="chat-listitem" style="float:right;"><block wx:if="{{item.content&&item.type===1}}"><view data-event-opts="{{[['longpress',[['copy',['$0'],[[['ListItem','',index,'content']]]]]]]}}" class="chat-listitem-text" style="margin-right:20rpx;" bindlongpress="__e">{{item.content}}</view></block><block wx:if="{{item.content&&item.type===4}}"><view data-event-opts="{{[['tap',[['goShop',['$0'],[[['ListItem','',index,'content.__$n3']]]]]]]}}" style="width:400rpx;background:#FFFFFF;height:max-content;margin-right:20rpx;margin-top:10rpx;border-radius:20rpx;" bindtap="__e"><image class="chat-listitem-image-type4" style="width:400rpx;height:350rpx;" src="{{item.content[0]}}"></image><view style="padding:10rpx;padding-bottom:20rpx;"><view style="color:#ed5732;font-size:34rpx;"><text style="font-size:22rpx;">¥</text>{{''+item.content[2]}}</view><view style="overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%;height:75rpx;">{{''+item.content[1]}}</view></view></view></block><block wx:if="{{item.content&&item.type===3}}"><view style="width:500rpx;background:#FFFFFF;height:max-content;margin-right:20rpx;margin-top:10rpx;border-radius:20rpx;padding:15rpx 10rpx;"><view style="color:#000000;font-weight:600;margin-left:10rpx;">你正在咨询的订单</view><view style="display:flex;"><image class="chat-listitem-image-type4" style="margin-left:7rpx;margin-top:20rpx;width:110rpx;height:110rpx;" src="{{item.content[0]}}"></image><view style="margin-top:15rpx;padding:10rpx 0rpx 5rpx 10rpx;width:75%;background:#f5f5f5;margin-left:10rpx;"><view style="font-size:28rpx;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:75rpx;width:100%;">{{''+item.content[1]}}</view><view style="color:#ed5732;font-size:28rpx;"><text style="font-size:22rpx;">¥</text>{{item.content[5]+''}}</view></view></view><view style="color:#999999;margin-top:10rpx;margin-left:12rpx;"><view>{{"订单编号:"+item.content[3]}}</view><view style="margin-top:10rpx;">{{"创建时间:"+item.content[4]}}</view></view><view data-event-opts="{{[['tap',[['goDingdanDetail',['$0'],[[['ListItem','',index,'content.__$n2']]]]]]]}}" style="float:right;margin-right:10rpx;margin-top:15rpx;background:#F9221D;color:#FFFFFF;border-radius:50rpx;width:150rpx;height:50rpx;font-size:24rpx;text-align:center;line-height:50rpx;" bindtap="__e">查看</view></view></block><block wx:if="{{item.content&&item.type===2}}"><image style="height:200rpx;width:200rpx;margin-right:20rpx;" src="{{item.content}}" data-event-opts="{{[['tap',[['viewImg',['$0'],[[['ListItem','',index,'content']]]]]]]}}" bindtap="__e"></image></block><view><block wx:if="{{item.chat.userHead}}"><image class="chat-listitem-image" src="{{item.chat.userHead}}"></image></block><block wx:else><image class="chat-listitem-image" src="../../static/logo.png"></image></block></view></view></view></block></view></block></view><block wx:if="{{ShopState}}"><view style="width:95%;margin-left:20rpx;height:150rpx;position:fixed;bottom:120rpx;z-index:99;background-color:#FFFFFF;border-radius:20rpx;"><view style="display:flex;width:100%;color:#000000;padding:20rpx;"><image style="width:110rpx;height:110rpx;" src="{{Shopimage}}"></image><view style="margin-left:20rpx;width:400rpx;"><view style="font-size:34rpx;color:#000000;overflow:hidden;text-overflow:ellipsis;flex-wrap:nowrap;white-space:nowrap;width:98%;">{{''+ShopTitle}}</view><view style="margin-top:20rpx;color:#ed5732;font-size:34rpx;">{{"¥"+Shopmoney}}</view></view><view style="text-align:right;"><image style="width:30rpx;height:30rpx;" src="../../static/images/msg/close.png" data-event-opts="{{[['tap',[['ShopClose',['$event']]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['goMaijia',['$event']]]]]}}" style="margin-top:20rpx;background:#F9221D;color:#FFFFFF;border-radius:50rpx;width:150rpx;height:50rpx;font-size:24rpx;text-align:center;line-height:50rpx;" bindtap="__e">发送给商家</view></view></view></view></block><block wx:if="{{orderState}}"><view style="width:95%;margin-left:20rpx;height:150rpx;position:fixed;bottom:120rpx;z-index:99;background-color:#FFFFFF;border-radius:20rpx;"><view style="display:flex;width:100%;color:#000000;padding:20rpx;"><image style="width:110rpx;height:110rpx;" src="{{orderimage}}"></image><view style="margin-left:20rpx;width:400rpx;"><view style="font-size:34rpx;color:#000000;overflow:hidden;text-overflow:ellipsis;flex-wrap:nowrap;white-space:nowrap;width:98%;">你可能想咨询该订单</view><view style="margin-top:20rpx;color:#ed5732;font-size:34rpx;">{{"¥"+ordermoney}}</view></view><view style="text-align:right;"><image style="width:30rpx;height:30rpx;" src="../../static/images/msg/close.png" data-event-opts="{{[['tap',[['orderClose',['$event']]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['goDingdan',['$event']]]]]}}" style="margin-top:20rpx;background:#F9221D;color:#000000;border-radius:50rpx;width:150rpx;height:50rpx;font-size:24rpx;text-align:center;line-height:50rpx;" bindtap="__e">发送订单</view></view></view></view></block><view class="input-box"><view class="justify-between padding-lr" style="display:flex;margin-top:15rpx;width:100%;background-color:#eee;padding-top:4rpx;"><image style="width:50rpx;height:50rpx;margin-top:8rpx;margin-right:12rpx;border-radius:50rpx;" src="../../static/images/msg/add.png" data-event-opts="{{[['tap',[['chooseImage',[['album']]]]]]}}" bindtap="__e"></image><input style="width:72%;height:70rpx;background:#fff;margin:4rpx 10rpx 0;border-radius:70rpx;padding-left:10rpx;color:#000000;" confirm-type="send" type="text" data-event-opts="{{[['confirm',[['setChatSave',[1]]]],['input',[['__set_model',['','content','$event',[]]]]]]}}" value="{{content}}" bindconfirm="__e" bindinput="__e"/><view data-event-opts="{{[['tap',[['setChatSave',[1]]]]]}}" class="save" bindtap="__e">发送</view></view></view></view>
|