tree.html
5.83 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<include file="public/layout"/>
<!--include file="public/min-header"/-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/bootstrap/css/style.css"/>
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.2.min.js"></script>
<style type="text/css">
[class^="icon-"], [class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-top: 1px;
line-height: 14px;
vertical-align: text-top;
background-image: url("__PUBLIC__/bootstrap//img/glyphicons-halflings.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}
.icon-folder-open {
width: 16px;
background-position: -408px -120px;
}
.icon-minus-sign {
background-position: -24px -96px;
}
.icon-plus-sign {
background-position: 0 -96px;
}
.icon-leaf {
background-position: -48px -120px;
}
.tree li:last-child::before {
height: 25px;
}
ul {
padding: 0 40px;
}
.tree_span {
cursor: pointer;
}
.tree {
padding-left: 0;
}
.tree > ul {
padding-left: 19px;
}
.flexigrid .bDiv .nextbtn {display: inline-block;*zoom: 1;*display:inline;padding: 5px 15px; border: 1px #ddd solid;cursor: pointer;color: #666}
.flexigrid .bDiv .nextbtn:hover{color: #666}
</style>
<body style="background-color: #FFF; overflow: auto;">
<div id="toolTipLayer"
style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="ftitle">
<h3>分销关系列表</h3>
<h5>(共{$pager->totalRows}条记录)</h5>
<div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
</div>
</div>
</div>
<div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
<div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
<h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
<span title="收起提示" id="explanationZoom" style="display: block;"></span>
</div>
<ul>
<li>分销关系,查看代理商层级关系.</li>
</ul>
</div>
<div class="flexigrid">
<div class="mDiv" style="border-bottom:0px">
<form class="navbar-form form-inline"
action="{:U('Distribut/tree',array('mobile'=>$mobile))}" method="get" role="search">
<div class="sDiv" style="float:left; ">
<div class="sDiv2">
<input type="text" size="30" id="key_word" placeholder="分销商名称/手机号"
value="{$_GET['key_word']}"
name="key_word" id="key_word" class="qsbox">
</div>
<div class="sDiv2">
<input type="submit" class="btn" value="搜索">
</div>
<if condition="$mobile">
<div class="fbutton">
<div class="up" title="返回分销上级">
<span onclick="return_top_level();"><i class="fa fa-level-up"></i>返回分销上级</span>
</div>
</div>
{$mobile}
</if>
</div>
</form>
</div>
<div class="hDiv">
<div class="hDivBox">
<table cellspacing="0" cellpadding="0">
<thead>
<tr>
<th align="left" abbr="nickname" axis="col4" class="w150">
<div style="text-align: center; " class="">会员名称</div>
</th>
<th align="center" axis="col6" class="w150">
<div style="text-align: center; " class="">会员手机号</div>
</th>
<th align="center" axis="col6" class="w150">
<div style="text-align: center; " class="">操作</div>
</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="tDiv">
<div style="clear:both"></div>
</div>
<div class="bDiv" style="height: auto;" id="ajax_return">
<table cellspacing="0" cellpadding="0">
<tbody>
<volist name="list" id="v">
<tr>
<td align="left" abbr="nickname" axis="col4" class="w150">
<div style="text-align: center; " class="">{$v['vipname']}</div>
</td>
<td align="center" axis="col6" class="w150">
<div style="text-align: center; " class="">{$v['mobile']}</div>
</td>
<td align="center" axis="col6" class="w150">
<div style="text-align: center; " class=""><a class="nextbtn" href="{:U('Admin/Distribut/tree',array('userid'=>$v[user_id],'mobile'=>$v[mobile],'oldurl'=>$oldurl))}">查看下级</a></div>
</td>
</tr>
</volist>
</tbody>
</table>
</div>
</div>
<!--分页位置-->
<div class="row">
<div class="col-sm-6 text-left"></div>
<div class="col-sm-6 text-right">{$page}</div>
</div>
</div>
<script type="text/javascript">
function return_top_level() {
location.href="{$getoldurl}";
}
</script>
</body>
</html>