|
@@ -33,9 +33,9 @@
|
33
|
33
|
<text>预约费用:</text>
|
34
|
34
|
<text style="color: #333333;">¥{{ detailData.order_price }}</text>
|
35
|
35
|
</view>
|
36
|
|
- <view class="flex-justify-space-between">
|
|
36
|
+ <view class="flex-justify-space-between" wx:if="{{ detailData.discount_type == 2 }}">
|
37
|
37
|
<text>优惠券:</text>
|
38
|
|
- <text style="color: #333333;">-¥888.88</text>
|
|
38
|
+ <text style="color: #333333;">-¥{{ detailData.discount }}</text>
|
39
|
39
|
</view>
|
40
|
40
|
<view class="flex-justify-space-between" wx:if="{{ detailData.discount_type == 2 }}">
|
41
|
41
|
<text>优惠券类型:</text>
|
|
@@ -62,32 +62,48 @@
|
62
|
62
|
<view class="btn flex-center">新增反馈</view>
|
63
|
63
|
</navigator>
|
64
|
64
|
</view>
|
65
|
|
- <view class="item flex-column" wx:for="{{list}}" wx:key="index">
|
|
65
|
+ <view class="item flex-column" wx:for="{{list}}" wx:for-index="idx" wx:key="index">
|
66
|
66
|
<view class="user-info flex-align-center">
|
67
|
|
- <image></image>
|
|
67
|
+ <image src="{{ item.avatar_url }}"></image>
|
68
|
68
|
<view class="info flex-column flex1">
|
69
|
|
- <text style="font-size: 28rpx;margin-bottom: 6rpx;">查理兹·塞隆…</text>
|
70
|
|
- <text style="font-size: 20rpx;color: #999;">下午 3:45</text>
|
|
69
|
+ <text style="font-size: 28rpx;margin-bottom: 6rpx;">{{ item.nickname }}</text>
|
|
70
|
+ <text style="font-size: 20rpx;color: #999;">{{ item.create_time }}</text>
|
71
|
71
|
</view>
|
72
|
|
- <view class="more flex-align-center flex-justify-space-between" bindtap="onEditItem">
|
|
72
|
+ <view class="more flex-align-center flex-justify-space-between" data-item="{{ item }}" bindtap="onEditItem" wx:if="{{ item.allow_edit == 1 }}">
|
73
|
73
|
<text></text>
|
74
|
74
|
<text></text>
|
75
|
75
|
<text></text>
|
76
|
76
|
</view>
|
77
|
77
|
<!-- <view class="more">···</view> -->
|
78
|
78
|
</view>
|
79
|
|
- <text style="font-size: 28rpx;color: #666;">当前皮肤毛孔出现堵塞,抓哟集中在T区,主要问题在于自身油脂分泌过多。</text>
|
80
|
|
- <view class="box">
|
81
|
|
- <image src="{{item}}" data-index="{{item}}" bindtap="previewImage" wx:for="{{urls}}" wx:key="index"></image>
|
|
79
|
+ <text style="font-size: 28rpx;color: #666;margin-bottom: 30rpx;">{{ item.content }}</text>
|
|
80
|
+ <view class="box" wx:if="{{ item.media_list && item.media_list.length > 0 }}">
|
|
81
|
+ <view class="item-media" wx:for="{{ item.media_list }}" wx:key="index">
|
|
82
|
+ <block wx:if="{{ item.type == 'video' }}">
|
|
83
|
+ <!-- <video src="{{ item.url }}"></video> -->
|
|
84
|
+ <!-- <text>视频播放</text> -->
|
|
85
|
+ <view class="flex-center" style="font-size: 28rpx;width: 100%;height: 100%;background-color: #ccc;" data-idx="{{ idx }}" data-index="{{index}}" bindtap="previewMedia">
|
|
86
|
+ <!-- 这个是视频 -->
|
|
87
|
+ <image class="icon-01" src="/images/icon_01.png"></image>
|
|
88
|
+ <!-- <text style="position: absolute;">这个是视频</text> -->
|
|
89
|
+ <image class="img-content" data-index="{{index}}" src="{{ item.thumb }}" alt=""></image>
|
|
90
|
+ </view>
|
|
91
|
+ </block>
|
|
92
|
+ <block wx:if="{{ item.type == 'image' }}">
|
|
93
|
+ <image class="img-content" data-idx="{{ idx }}" data-index="{{index}}" src="{{ item.url }}" alt="" bindtap="previewMedia"></image>
|
|
94
|
+ </block>
|
|
95
|
+ </view>
|
|
96
|
+
|
|
97
|
+ <!-- <image src="{{item.url}}" data-index="{{item}}" bindtap="previewImage" wx:for="{{item.media_list}}" wx:key="index"></image> -->
|
82
|
98
|
</view>
|
83
|
99
|
</view>
|
84
|
100
|
</view>
|
85
|
|
- <view class="no-more-data">已经到底啦~~</view>
|
|
101
|
+ <view class="no-more-data" style="display: {{list.length > 0 && list.length >= total ? 'block' : 'none'}};">已经到底啦~~</view>
|
86
|
102
|
</view>
|
87
|
103
|
|
88
|
104
|
<wux-popup class="popup-radius" position="bottom" catchtouchmove="isShow" visible="{{ visible }}" bind:close="onPopupState">
|
89
|
|
- <view class="btn-item flex-center" style="color: #FF77B0;">删除</view>
|
90
|
|
- <navigator url="/pages/feedback/feedback" hover-class="none">
|
|
105
|
+ <view class="btn-item flex-center" style="color: #FF77B0;" bindtap="onDelete">删除</view>
|
|
106
|
+ <navigator url="/pages/feedback/feedback?orderId={{ currentItem.id }}&cover={{ detailData.cover_url }}&name={{ detailData.project_name }}&edit=true" hover-class="none">
|
91
|
107
|
<view class="btn-item flex-center">编辑</view>
|
92
|
108
|
</navigator>
|
93
|
109
|
<view class="btn-item flex-center" style="color: #999999;" bindtap="onPopupState">取消</view>
|