user_comment_detail.wxml
3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--pages/index/user_comment/user_comment.wxml-->
<view class='page'>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_my'></view>
<view class='coupons'>用户评价</view>
</view>
<view class='user_information_box'>
<view class='user_information'>
<view class='the_star'>
<view class='head_portrait'>
<image src='{{info.avatar}}'></image>
</view>
<view class='star_box'>
<view class='user_name'>{{info.full_name}}</view>
<view class='oneoneonestar'>
<view class='stars1'>
<view class='iconfont icon-pingfen'></view>
<view class='iconfont icon-pingfen'></view>
<view class='iconfont icon-pingfen'></view>
<view class='iconfont icon-pingfen'></view>
<view class='iconfont icon-pingfen'></view>
</view>
<view class='stars1s'>
<view class='iconfont icon-pingfen icon-pingfens' wx:for='{{info.stars_arr}}' wx:key='{{item}}'></view>
</view>
</view>
</view>
</view>
<view class='title'>{{info.create_time}}</view>
</view>
<view class='evaluation'>{{info.content}}</view>
<view class='comments_btn' bindtap='jump_comment_detail' data-id='{{child.id}}'>
<view class='iconfont icon-message'></view>
<view class='comments'>{{commentList.length}}</view>
</view>
</view>
<view class='user_information_box' wx:for='{{commentList}}' wx:for-index='index' wx:key='{{index}}'>
<view class='user_information'>
<view class='the_star'>
<view class='head_portrait'>
<image src='{{item.avatar}}'></image>
</view>
<view class='star_box'>
<view class='user_name'>{{item.full_name}}</view>
</view>
</view>
<view class='title'>{{item.create_time}}</view>
</view>
<view class='evaluation'>{{item.content}}</view>
<view class='comments_btn'>
<!-- <view class='iconfont icon-message'></view> -->
<text class='comments'>{{index}}\t#</text>
</view>
</view>
<view class='input_box'>
<input placeholder='Hi,快来说点什么吧~' placeholder-class='placeholder' bindchange='fromInput' class='input' value='{{value}}'/>
<view class='input_btn' bindtap='submit'>发送</view>
</view>
</view>