-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhistory_mission.html
129 lines (124 loc) · 5.3 KB
/
history_mission.html
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
127
128
129
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link href="css/mui.min.css" rel="stylesheet" />
<script src="js/mui.min.js"></script>
<script type="text/javascript">
mui.init()
</script>
</head>
<body>
<header class="mui-bar mui-bar-nav">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title">历史任务</h1>
</header>
<div class="mui-content">
<ul class="mui-table-view">
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<div class="mui-media-body" style="padding-left: 5px;">
<div>
<span style="padding-right:10%">成交数:2</span>
<span>派单数/张:100</span>
</div>
<div>
<span style="padding-right:10%">call客/台:50</span>
<span>收客/台:5</span>
</div>
<p>
<span style="padding-right:10%">任务日期:2019-03-20</span>
<span>发布形式:统一发布</span>
</p>
<p class='mui-ellipsis'>备注:这是备注信息备注:这是备注信息备注:这是备注信息备注:这是备注信息</p>
</div>
</a>
</li>
</ul>
<ul class="mui-table-view">
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<div class="mui-media-body" style="padding-left: 5px;">
<div>
<span style="padding-right:10%">成交数:2</span>
<span>派单数/张:100</span>
</div>
<div>
<span style="padding-right:10%">call客/台:50</span>
<span>收客/台:5</span>
</div>
<p>
<span style="padding-right:10%">任务日期:2019-03-19</span>
<span>发布形式:统一发布</span>
</p>
<p class='mui-ellipsis'>备注:这是备注信息备注:这是备注信息备注:这是备注信息备注:这是备注信息</p>
</div>
</a>
</li>
</ul>
<ul class="mui-table-view" id="1" onclick="show_sales(this.id)">
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<div class="mui-media-body" style="padding-left: 5px;">
<div><font id="text_1">可展开</font>(2位销售员)</div>
<p>
<span style="padding-right:10%">任务日期:2019-03-18</span>
<span>发布形式:<font style="color:red">指定发布</font></span>
</p>
<p class='mui-ellipsis'>备注:这是备注信息备注:这是备注信息备注:这是备注信息备注:这是备注信息</p>
</div>
</a>
</li>
<ul class="mui-table-view" hidden="hidden" id="content_1">
<li class="mui-table-view-cell mui-media" style="background:#F2F2F2;">
<a href="javascript:;">
<div class="mui-media-body" style="padding-left: 5px;">
<div>销售员:张三</div>
<p>
<span style="padding-right:10%">成交数:2</span>
<span>派单数 / 张:5</span>
</p>
<p>
<span style="padding-right:10%">call客 / 台:50</span>
<span>收 / 台:5</span>
</p>
<p class='mui-ellipsis'>备注:这是备注信息备注:这是备注信息备注:这是备注信息备注:这是备注信息</p>
</div>
</a>
</li>
<li class="mui-table-view-cell mui-media" style="background:#F2F2F2;">
<a href="javascript:;">
<div class="mui-media-body" style="padding-left: 5px;">
<div>销售员:李四</div>
<p>
<span style="padding-right:10%">成交数:2</span>
<span>派单数 / 张:5</span>
</p>
<p>
<span style="padding-right:10%">call客 / 台:50</span>
<span>收 / 台:5</span>
</p>
<p class='mui-ellipsis'>备注:这是备注信息备注:这是备注信息备注:这是备注信息备注:这是备注信息</p>
</div>
</a>
</li>
</ul>
</ul>
</div>
<script type="text/javascript">
// 展开点击的指定发布的销售员
function show_sales(id){
var text_obj = document.getElementById("text_"+id).innerHTML
if(text_obj == "可展开"){
document.getElementById("text_"+id).innerHTML = "已展开"
document.getElementById("content_"+id).removeAttribute("hidden")
}else{
document.getElementById("text_"+id).innerHTML = "可展开"
document.getElementById("content_"+id).setAttribute("hidden","hidden")
}
}
</script>
</body>
</html>