money.html
10.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
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html >
<html>
<head>
<meta charset="UTF-8">
<title>我的余额</title>
<link rel="stylesheet" href="/template/mobile/new/static/css/script.css">
<include file="public/header" />
<style type="text/css">
.money_proinfo {
margin-top: 40px;
}
.money_proinfo .fxall {
font-size: 14px;
}
.money_proinfo .fxall .bigfont {
font-size: 24px;
}
</style>
<body>
<!--<header>
<div class="tab_nav">
<div class="header">
<div class="h-left">
<a class="sb-back" href="javascript:history.back(-1)" title="返回"></a>
</div>
<!--修改 20170320
<div class="h-mid">
<!--资金管理余额</div>
<div class="h-right">
<aside class="top_bar">
<div onClick="show_menu();$('#close_btn').addClass('hid');" id="show_more">
<a href="javascript:;"></a>
</div>
</aside>
</div>
</div>
</div>
</header>-->
<include file="public/menu" />
<include file="public/navBall" />
<div class="totalMoney">
<div class="money">
<p>总资产(元)</p>
<p style="font-size: 30px;"><span>{$allmoney}</span></p>
<div class="money_proinfo disfx">
<div class="fxall">
<div style="color: #ff9998
;">可提现(元)</div>
<div class="bigfont">{$liudong_money}</div>
</div>
<div class="fxall">
<if condition="$Unavailable gt 0">
<div onclick="godai()">
<div style="color: #ff9998
;">不可用(元)</div>
<div class="bigfont">{$Unavailable}</div>
</div>
<else/>
<div style="color: #ff9998
;">不可用(元)</div>
<div class="bigfont">{$Unavailable}</div>
</if>
</div>
</div>
</div>
<div class="moneyTit dn">
<div class="bor1">
<p class="on">流动资金<span class="cr">¥{$liudong_money}</span></p>
</div>
<div>
<p>预存款<span class="cr">¥{$yucun_money}</span></p>
</div>
</div>
<ul class="sell">
<li onClick="javascript:window.location. href='{:U('User/withdrawals',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/circulation.png" style="width: 20px;height:15px ;" />流动资金提现</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>
<!--<li onClick="javascript:window.location. href='{:U('User/pre_deposit',array('stoid'=>$Think.request.stoid))}'">-->
<!--<span class="left"><img class="mr20" src="__STATIC__/images/user/deposit.png"style="width: 20px;height:16px ;" />流动资金转预存</span>-->
<!--<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>-->
<!--<p class="clear"></p>-->
<!--</li>-->
<li onClick="javascript:window.location. href='{:U('User/account',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/detailed.png" style="width: 20px;height:20px ;"/>流动资金明细</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>
<li onClick="javascript:window.location. href='{:U('User/account_unable',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/dodont.png" style="width: 20px;height:20px ;"/>不可用资金明细</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>
<!--删除 20170417-->
<!--<li onclick="javascript:window.location. href='{:U('User/pre_deposit',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/card.png"style="width: 20px;height:15px ;" />我的预存款</span>
<span class="right">¥454.00<img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>-->
<!--<li onClick="javascript:window.location. href='{:U('User/pre_deposit',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/recharge.png"style="width: 20px;height:20px ;" />预存款充值</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>-->
<li onClick="javascript:window.location. href='{:U('User/cash_record',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/card.png"style="width: 20px;height:20px ;" />提现记录</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>
<!--删除 20170417-->
<!--<li onclick="javascript:window.location. href='{:U('User/account',array('stoid'=>$Think.request.stoid))}'">
<span class="left"><img class="mr20" src="__STATIC__/images/user/txt.png"style="width: 20px;height:21px ;" />转预存明细</span>
<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>
<p class="clear"></p>
</li>-->
</ul>
<ul class="distribution dn">
<!--<li class="zyc_img zyc1" onClick="javascript:window.location. href='{:U('User/withdrawals',array('stoid'=>$Think.request.stoid))}'">-->
<!--<!–删除 20170417–>-->
<!--<!–<span class="left"><img class="mr20" src="__STATIC__/images/user/distribution.png"style="width: 20px;height:20px ;" />分销资金提现</span>-->
<!--<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>-->
<!--<p class="clear"></p>–>-->
<!---->
<!--<div class="quan_tit">-->
<!--spa通用款-->
<!--</div>-->
<!--<div class="quan_inner"> -->
<!--<div class="font18">¥2.26</div> -->
<!--<div class="font16 ml10"> -->
<!--注:截止日期2018-1-31-->
<!--</div> -->
<!--</div>-->
<!--</li>-->
<!--<li class="zyc_img zyc2" onClick="javascript:window.location. href='{:U('User/withdrawals',array('stoid'=>$Think.request.stoid))}'">-->
<!--<!–删除 20170417–>-->
<!--<!–<a href="{:U('User/account',array('stoid'=>$Think.request.stoid))}">-->
<!--<span class="left"><img class="mr20" src="__STATIC__/images/user/txt.png"style="width: 20px;height:21px ;" />分销明细</span>-->
<!--<span class="right"><img class="ml20" src="__STATIC__/images/user/leftTip.png" /></span>-->
<!--</a>-->
<!--<p class="clear"></p>–>-->
<!--<div class="quan_tit">-->
<!--spa通用款-->
<!--</div>-->
<!--<div class="quan_inner"> -->
<!--<div class="font18">¥2.26</div> -->
<!--<div class="font16 ml10"> -->
<!--注:截止日期2018-1-31-->
<!--</div> -->
<!--</div>-->
<!--</li>-->
<!--<li class="zyc_img zyc3" onClick="javascript:window.location. href='{:U('User/withdrawals',array('stoid'=>$Think.request.stoid))}'">-->
<!--<div class="quan_tit">-->
<!--spa通用款-->
<!--</div>-->
<!--<div class="quan_inner"> -->
<!--<div class="font18">¥2.26</div> -->
<!--<div class="font16 ml10"> -->
<!--注:截止日期2018-1-31-->
<!--</div> -->
<!--</div>-->
<!--</li>-->
<!--<li class="zyc_img zyc4" onClick="javascript:window.location. href='{:U('User/withdrawals',array('stoid'=>$Think.request.stoid))}'">-->
<!--<div class="quan_tit">-->
<!--spa通用款-->
<!--</div>-->
<!--<div class="quan_inner"> -->
<!--<div class="font18">¥2.26</div> -->
<!--<div class="font16 ml10"> -->
<!--注:截止日期2018-1-31-->
<!--</div> -->
<!--</div>-->
<!--</li>-->
</ul>
</div>
<script type="text/javascript" src="__STATIC__/js/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
// ajax_sourch_submit();
// $(".moneyTit div p").click(function() {
// $(".moneyTit div p").removeClass("on");
// $(this).addClass("on");
// if($(this).text().substring(0, 4) == "流动资金") {
// $(".sell").removeClass("dn");
// $(".distribution").addClass("dn");
// } else {;
// $(".sell").addClass("dn");
// $(".distribution").removeClass("dn");
// }
// });
$(".moneyTit div p").click(function() {
if($(this).text().substring(0, 4) == "流动资金") {
window.location.href = "/Mobile/User/money/stoid/" + {: I('get.stoid')
} + ".html";
} else {;
window.location.href = "/Mobile/User/money_1/stoid/" + {: I('get.stoid')
} + ".html";
}
});
});
</script>
<script type="text/javascript">
/*** ajax 提交表单 查询订单列表结果 */
function ajax_sourch_submit() {
url = "/Mobile/User/vipyucunlist/stoid/" + {: I('get.stoid')
} + ".html";
$.ajax({
type: "GET",
url: url, //+tab,
// data : $('#filter_form').serialize(),// 你的formid 搜索表单 序列化提交
success: function(data) {
var html = "";
if(data.code == 0) {
for(i = 0; i < data.data.length; i++) {
html += "<li class=\"zyc_img zyc" + (i % 4 + 1) + "\"> <div class=\"quan_tit\"> " + data.data[i]["ItemName"] + " </div> <div class=\"quan_inner\"> <div class=\"font18\">¥" + data.data[i]["Balance"] + "</div> <div class=\"font16 ml10\"> 注:截止日期" + data.data[i]["EndDate"].toString().substring(0, 10) + " </div> </div> </li>";
}
$(".distribution").html(html);
}
}
});
}
function godai() {
window.location.href = "/index.php/mobile/distribut/commission/status/2/stoid/{$Think.request.stoid}.html";
}
</script>
</body>