invitation_list.html
5.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>学考无忧-邀请名单</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/reset.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<!-- 顶部 -->
<div class="order_top">
<a href="javascript:history.back(-1)">
<img src="__TMPL__/public/assets/images/left.png" alt="">
</a>
<p>邀请名单</p>
</div>
<div class="invitation_Box" style="margin-top: 50px;">
<ul class="tationCon1">
<if condition="$type eq 3">
<volist name="student" id="vo">
<li>
<div class="tation_one">
<div class="tationCon1_left">
<div class="tationCon1_Img">
<img src="{$vo.avatar}" alt="">
</div>
<p class="tationCon1_Txt1 one-txt-cut">{$vo.user_nickname}</p>
</div>
<div class="tationCon1_right">
<p class="tationCon1_Txt2">累计收益 ¥{$vo.cumulative_money}</p>
<div class="tationCon1_Img2">
<img src="__TMPL__/public/assets/images/down.png" alt="">
</div>
</div>
</div>
<div class="tation_tow">
<!-- 列表 -->
<volist name="vo.indent" id="val">
<div class="tation_towLi">
<div class="tation_towTxt">
<p class="tation_towTxt1 one-txt-cut"></p>
<p class="recordNum">佣金+{$val.total_money}</p>
</div>
<div class="tation_towTxt">
<if condition="$val.indent_type eq 1">
<p class="recordTxt2">平台订单</p>
</if>
<if condition="$val.indent_type eq 2">
<p class="recordTxt2">业务员订单</p>
</if>
<p class="recordTxt3">{$val.create_time|date="Y-m-d H:i:s",###}</p>
</div>
</div>
</volist>
</div>
</li>
</volist>
</if>
<if condition="$type eq 2">
<volist name="teacher" id="vo">
<li>
<div class="tation_one">
<div class="tationCon1_left">
<div class="tationCon1_Img">
<img src="{$vo.avatar}" alt="">
</div>
<p class="tationCon1_Txt1 one-txt-cut">{$vo.user_nickname}</p>
</div>
<div class="tationCon1_right">
<p class="tationCon1_Txt2">累计收益 ¥{$vo.total_commission}</p>
<div class="tationCon1_Img2">
<img src="__TMPL__/public/assets/images/down.png" alt="">
</div>
</div>
</div>
<div class="tation_tow">
<!-- 列表 -->
<volist name="vo.student" id="val">
<div class="tation_towLi">
<div class="tation_towTxt">
<div class="tation_tow2">
<div class="tation_towImg">
<img src="{$val.avatar}" alt="">
</div>
<span class="tation_towTxt2">{$val.user_nickname}</span>
<!--<p class="recordTxt2">平台订单</p>-->
</div>
<p class="recordNum">佣金+{$val.indent_money}</p>
</div>
<div class="tation_towTxt">
<!--<p class="tation_towTxt1 one-txt-cut">购买了《中国上下五千年》</p>-->
<p class="recordTxt3">{$val.create_time|date="Y-m-d H:i:s",###}</p>
</div>
</div>
</volist>
</div>
</li>
</volist>
</if>
</ul>
</div>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script>
$(function() {
$('.tationCon1 li').each(function() {
$(this).click(function() {
if (img = $(this).find('.tationCon1_Img2 img').attr('src') == "__TMPL__/public/assets/images/down.png") {
img = $(this).find('.tationCon1_Img2 img').attr('src', '__TMPL__/public/assets/images/up.png');
$(this).find('.tation_tow').slideDown();
} else {
img = $(this).find('.tationCon1_Img2 img').attr('src', '__TMPL__/public/assets/images/down.png');
$(this).find('.tation_tow').slideUp();
}
})
})
})
</script>
</body>
</html>