-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgrade.wxml
50 lines (50 loc) · 1.71 KB
/
grade.wxml
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
<view class="main">
<view class="saishiInfo">
<view class="saishiPicture">
<image src="{{saishiPicture}}"></image>
</view>
<view class="saishiContent">
<view class="saishiName">{{saishiName}}</view>
<view class="saishiPlace">{{saishiPlace}}</view>
<view class="saishiTime">{{saishiTime}}</view>
</view>
</view>
<view class="gradeTitle">
<image src="img/pen.png"></image>
<text>给赛事评分</text>
</view>
<view class="grade">
<view class="total">
<text>总体评价:</text>
<view class="star" wx:for="{{totalGradeStar}}" wx:key="index" data-index="{{index}}" data-type="0" bindtap="grade">
<image src="{{star[totalGradeStar[index]]}}"></image>
</view>
</view>
<view class="a">
<text>评分项a:</text>
<view class="star" wx:for="{{aGradeStar}}" wx:key="index" data-index="{{index}}" data-type="1" bindtap="grade">
<image src="{{star[aGradeStar[index]]}}"></image>
</view>
</view>
<view class="b">
<text>评分项b:</text>
<view class="star" wx:for="{{bGradeStar}}" wx:key="index" data-index="{{index}}" data-type="2" bindtap="grade">
<image src="{{star[bGradeStar[index]]}}"></image>
</view>
</view>
<view class="c">
<text>评分项c:</text>
<view class="star" wx:for="{{cGradeStar}}" wx:key="index" data-index="{{index}}" data-type="3" bindtap="grade">
<image src="{{star[cGradeStar[index]]}}"></image>
</view>
</view>
</view>
</view>
<view class="button">
<view class="reset" bindtap="reset">
<image src="img/reset.png"></image>
</view>
<view class="confirm" bindtap="fn">
<image src="img/confirm.png"></image>
</view>
</view>