classSet.wxml
2.3 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
<!--pages/classSet/classSet.wxml-->
<!-- 弹框 -->
<view class='mask' wx:if="{{showModel}}">
<view class='maskCon'>
<view class='maskConTxt1'>是否删除该班级?</view>
<view class='maskConBottom'>
<view class='maskConBottom1' bindtap='maskNo'>取消</view>
<view class='maskConBottom2' bindtap='maskOk'>确定</view>
</view>
</view>
</view>
<!-- 弹框2 -->
<view class='mask' wx:if="{{showModel2}}">
<view class='mask2Con'>
<view class='maskCon1'>
<view class='maskConTiele'>班级名称</view>
<view class='mask_ConInput'>
<view class='mask_ConInput2'>
<input bindinput='maskChangeFun' placeholder='请输入班级名称' placeholder-style='color:#D2D2D2;' value='{{value}}'></input>
</view>
<view class='maks_ConWrong'>班级名称不得超过10个字符</view>
</view>
</view>
<view class='maskConBottom'>
<view class='maskConBottom1' bindtap='maskNo'>取消</view>
<view class='maskConBottom2' bindtap='maskOk2'>确定</view>
</view>
</view>
</view>
<view class='setBox'>
<!-- 班级信息 -->
<view class='main1'>
<!-- 名称 -->
<view class='main1_li' bindtap='theClassFun'>
<view class='main1_liTxt1'>班级名称</view>
<view class='main1_liTxt2' >{{className}}</view>
<view class='main1_liImg2'>
<image src='/image/7.png'></image>
</view>
</view>
<!-- 分享 -->
<!-- <button class='main1_fen' open-type='share'>
<view class='main1_liTxt1'>班级分享</view>
<view class='main1_liImg3'>
<image src='/image/7.png'></image>
</view>
</button> -->
<!-- 添加学生提醒 -->
<view class='main1_li'>
<view class='main1_liTxt1'>家长自助添加学生</view>
<view class='switchWid'>
<switch style='zoom:0.6' color="#4DA9FF" checked="{{list.jzaddstudent}}" bindchange="switch1Change" />
</view>
</view>
</view>
<!-- 删除班级 -->
<view class='setRemove' bindtap='removeFun'>删除班级</view>
</view>