evalute.wxml
3.9 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
<!-- 新增标签 -->
<view class="register" wx:if="{{biaoqian}}" bindtap="hideregister">
<view class="registerwrap" catchtap='tab'>
<view class="enterbiao">输入标签名</view>
<view class="enterword">
<input placeholder='标签名10个汉字(20个字符)以内' placeholder-class='enter' bindinput="enterlabel" />
</view>
<view class="tabottom">
<view class="cancel" catchtap='cancel'>取消</view>
<view class="sure" bindtap="sureadd">确定</view>
</view>
</view>
</view>
<view star>
<view class="starname">滑动星星评分</view>
<view class="starlist">
<view class="staritem" bindtap="star" data-id="1">
<image src="{{star1>=1?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
</view>
<view class="staritem" bindtap="star" data-id="2">
<image src="{{star1>=2?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
</view>
<view class="staritem" bindtap="star" data-id="3">
<image src="{{star1>=3?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
</view>
<view class="staritem" bindtap="star" data-id="4">
<image src="{{star1>=4?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
</view>
<view class="staritem" bindtap="star" data-id="5">
<image src="{{star1>=5?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
</view>
</view>
</view>
<view class="biaoqian" bindtap="se">
<view class="biaoqianleft">
选择标签
</view>
<view class="biaoqianright" >
<image src="{{sepic==true?'http://winesbook.cn/static/images_mini/aicon_53x.png':'http://winesbook.cn/static/images_mini/aicon_52x.png'}}"></image>
</view>
</view>
<view class="showpic" wx:if="{{sepic}}">
<view class="showpicitem {{item.sel==true?'labelactive':''}}" wx:for="{{tablist}}" wx:key='' catchtap='selectlabel' data-id="{{item.id}}" data-idx="{{index}}">{{item.name}}</view>
<view class="addnew" bindtap="addnewlabel">
<view class="jia">
<image src="/img/aicon66.png"></image>
</view>
<view class="newlabelname">新标签</view>
</view>
</view>
<!-- 上传图片 -->
<view class="imgbox">
<block wx:for="{{images}}" wx:key="">
<view class="imgboxite">
<image src="{{item}}"></image>
<view class="cha" bindtap="delimg" data-index="{{index}}">
<image src="{{url}}/aicon_54x.png"></image>
</view>
</view>
</block>
<block wx:if="{{videoimg!=''}}" wx:key="">
<view class="imgboxite">
<video src="{{videoimg}}"></video>
<view class="cha" bindtap="delvideo" data-index="{{index}}">
<image src="{{url}}/aicon_54x.png"></image>
</view>
</view>
</block>
<block wx:if="{{videoimg!=''}}">
<view class="addimg" bindtap="chooseImage" wx:if="{{images.length<5}}">
<image src="{{url}}/aicon_55x.png"></image>
</view>
</block>
<block wx:else>
<view class="addimg" bindtap="chooseImage" wx:if="{{images.length<6}}">
<image src="{{url}}/aicon_55x.png"></image>
</view>
</block>
<block wx:if="{{videoimg==''}}">
<view class="addimg" bindtap="choosevideo" wx:if="{{images.length<6}}">
<image src="/img/cicon17@2x.png"></image>
</view>
</block>
</view>
<view class="entersay saybox">
<textarea placeholder='这酒怎么样我来说一说' placeholder-class='entersay' bindinput="entercontent"/>
</view>
<view class="saybottom">
<view class="sayleft">
<view class="sayimg">
<image src="{{url}}/aicon_56x.png"></image>
</view>
<view class="leftword">{{currentCity}}</view>
</view>
<view class="sayright" bindtap="publish">发布</view>
</view>