comment.wxml
7.1 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<view class="infobox">
<view class="infoTitle">{{name}}</view>
<view class="infobox">
<view class="infoTitle">评分</view>
<view class="evaluateItem">
<view class="tltle">综合</view>
<view class="starbox" bindtap="total" data-id="1">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=1}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="total" data-id="2">
<image class="starItem" src="/img/pingfenshi.png " wx:if="{{totalstar>=2}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="total" data-id="3">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=3}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="total" data-id="4">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=4}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="total" data-id="5">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=5}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
</view>
<view class="evaluateItem">
<view class="tltle">服务</view>
<view class="starbox" bindtap="service" data-id="1">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=1}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="service" data-id="2">
<image class="starItem" src="/img/pingfenshi.png " wx:if="{{servicestar>=2}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="service" data-id="3">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=3}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="service" data-id="4">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=4}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="service" data-id="5">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=5}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
</view>
<view class="evaluateItem">
<view class="tltle">口味</view>
<view class="starbox" bindtap="tast" data-id="1">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=1}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="tast" data-id="2">
<image class="starItem" src="/img/pingfenshi.png " wx:if="{{taststar>=2}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="tast" data-id="3">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=3}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="tast" data-id="4">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=4}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="tast" data-id="5">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=5}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
</view>
<view class="evaluateItem">
<view class="tltle">环境</view>
<view class="starbox" bindtap="envirment" data-id="1">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=1}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="envirment" data-id="2">
<image class="starItem" src="/img/pingfenshi.png " wx:if="{{environmentstar>=2}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="envirment" data-id="3">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=3}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="envirment" data-id="4">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=4}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="envirment" data-id="5">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=5}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
</view>
<view class="evaluateItem">
<view class="tltle">食材</view>
<view class="starbox" bindtap="food" data-id="1">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=1}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="food" data-id="2">
<image class="starItem" src="/img/pingfenshi.png " wx:if="{{foodstar>=2}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="food" data-id="3">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=3}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="food" data-id="4">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=4}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
<view class="starbox" bindtap="food" data-id="5">
<image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=5}}" />
<image class="starItem" src="/img/lingfen_icon.png" wx:else/>
</view>
</view>
</view>
<textarea placeholder="说说此刻的感受吧…" class="wordArea" bindinput="entermark" />
<!-- <view class="labelbox">
<view class="labelItem">
<text>+</text>标题
</view>
</view> -->
<view class="imagebox flexone">
<view class="picbox flexone">
<view class="imgItem" wx:for="{{image}}" wx:key="">
<image mode="aspectFill" src="{{item}}" />
<view class="chahao" bindtap="del" data-url="{{item}}">
<image src="/img/chahao.png"></image>
</view>
</view>
</view>
<view class="imgItem" bindtap="chooseImage">
<image mode="aspectFill" src="/img/jiang.png" />
</view>
</view>
</view>
<view class="costbox">
<view class="costTitle">人均</view>
<view class="fillbox">
<text>¥</text>
<input placeholder="请输入消费金额" class="fillCost" type="digit" bindinput="entermoney" />
</view>
</view>
<view class="submit btnActive" bindtap="publish">发表</view>