choose.wxml
2.7 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
<view class='choose_Box'>
<!-- 标题 -->
<view class='choose_title'>请选择您的身份</view>
<!-- 选择身份 -->
<view class='choose_List'>
<view class='choose_lis' bindtap='goTeacher' data-id="1">
<view class='lis_Img'>
<image src='/image/57.png'></image>
</view>
<view class='lis_bot'>
<view class='lis_Img2'>
<image wx:if="{{tempId === '1' }}" src="/image/37.png"></image>
<view wx:else class='lis_not'></view>
</view>
<view class='lis_Name'>我是老师</view>
</view>
</view>
<view class='choose_lis' bindtap='goTeacher' data-id="2">
<view class='lis_Img'>
<image src='/image/58.png'></image>
</view>
<view class='lis_bot'>
<view class='lis_Img2'>
<image wx:if="{{tempId === '2' }}" src="/image/37.png"></image>
<view wx:else class='lis_not2'></view>
</view>
<view class='lis_Name'>我是家长</view>
</view>
</view>
<view class='choose_lis' bindtap='goTeacher' data-id="0">
<view class='lis_Img'>
<image src='/image/46.png'></image>
</view>
<view class='lis_bot'>
<view class='lis_Img2'>
<image wx:if="{{tempId === '0'}}" src="/image/37.png"></image>
<view wx:else class='lis_not2'></view>
</view>
<view class='lis_Name'>我是学生</view>
</view>
</view>
</view>
<!-- 体验账户 -->
<view class="tiyanzhang">
<view class="test_count">
<view class="testCount">使用以下体验账户进行操作</view>
<view class="testCount_box">
<view class="testItem" bindtap="chooseCount" data-type='1'>
<image src="/image/57.png"></image>
<view>老师</view>
</view>
<view class="testItem" bindtap="chooseCount" data-type='2'>
<image src="/image/58.png"></image>
<view>家长</view>
</view>
<view class="testItem" bindtap="chooseCount" data-type='0'>
<image src="/image/46.png"></image>
<view>学生</view>
</view>
</view>
</view>
<view class="xiyi flexthree">
<image src="../../image/duigou.png" class="duigou"></image>
<view class="yuedu">我已阅读并同意</view>
<view class="xieyi">《用户协议》</view>
</view>
</view>
</view>
<!-- 提示框 -->
<view class="mask" wx:if='{{chooseInfo}}'>
<view class="modal_box">
<view class="modal_title">提示</view>
<view class="modal_content">
请确认您将选择此身份入驻,一旦确定暂时无法修改,可能会给您的使用带来不便。
</view>
<view class="modal_action">
<view class="action_item" bindtap="cancleAction">取消</view>
<view class="action_item confirm_btn" bindtap="confirmAction">确认<button class='btn btn1' bindgetuserinfo='getUserInfo' data-id='1' open-type="getUserInfo"></button></view>
</view>
</view>
</view>