Invoiceapplication.html
4.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>发票申领</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="">
<meta name="google" value="notranslate"><!-- 禁止Chrome 浏览器中自动提示翻译 -->
<link rel="stylesheet" type="text/css" href="../../../iconfont/iconfont.css"/>
<!--<link href="../../../css/reset.css" rel="stylesheet"/>-->
<link href="../css/self.css" rel="stylesheet"/>
</head>
<style>
*{
padding: 0;
margin: 0;
}
.invoice{
width: 100%;
font-size: 0;
border-bottom: 1px solid #e4e4e4;
background: #fff;
padding:20px 10px;
box-sizing: border-box;
text-align:center;
}
.invoice a,.invoice a:active{
display: inline-block;
width: 33%;
font-size: 14px;
text-align: center;
color: #000;
text-decoration: none;
}
.invoice a:active{
}
.invoice a span{
font-size: 13px;
}
.invoice a>div{
padding: 15px 0;
}
.invoice a img{
width: 40%;
max-width: 52px;
}
.invoicebody {
width: 100%;
padding:0 10px;
box-sizing: border-box;
border-top: 1px solid #e4e4e4;
background: #fff;
margin-top: 10px;
}
.invoicebody .invoice_ul{
/*margin-top: 10px;*/
width: 100%;
}
.invoicebody .invoice_ul li{
background: #fff;
height: 40px;
line-height: 40px;
padding: 0 10px;
box-sizing: border-box;
border-bottom: 1px solid #e4e4e4;
}
.invoicebody .invoice_ul li i{
float: right;
}
</style>
<body>
<div class="invoice">
<!--<a class="" onclick="toast()">
<div>
<img src="imgs/yue.png" />
</div>
<span>余额开票</span>
</a>-->
<a class="" href="kaipiao/Viptjf.html">
<div>
<img src="imgs/huiyuan.png" />
</div>
<span>会员卡开票</span>
</a>
<!--<a class="" onclick="toast()">
<div>
<img src="imgs/linting.png" />
</div>
<span>临停开票</span>
</a>-->
</div>
<div class="invoicebody">
<ul class="invoice_ul">
<li data-href="invoicetitle/invoicetitle.html" onclick="">
<span>发票抬头</span>
<i class="icon iconfont"></i>
</li>
<li data-href="Billinghistory/Billinghistory.html" onclick="">
<span>开票历史</span>
<i class="icon iconfont"></i>
</li>
<li data-href="Ticketopeningrules.html" onclick="">
<span>开票规则</span>
<i class="icon iconfont"></i>
</li>
<li data-href="mailingaddress/mailingaddress.html" onclick="">
<span>邮寄地址</span>
<i class="icon iconfont"></i>
</li>
<!--<li data-href="a1.html" onclick="">
<span>a1</span>
<i class="icon iconfont"></i>
</li>-->
</ul>
</div>
</body>
</html>
<script src="../../../js/jquery-3.2.1.min.js"></script>
<script src="../../../js/layui/layui/layui.js"></script>
<script src="../../../js/url.js"></script>
<script src="../../../js/ajax.js"></script>
<script>
//mUrl.SetToken 设置token
var func = {
token:''
}
$(function(){
layui.use(['layer'], function(){
//向世界问个好
});
func.token = mUrl.GetToken();
console.log('用户token '+func.token);
//alert('获取到用户token '+func.token);
//点击li进入对应的页面
$('body').on('click','.invoice_ul li',function(){
var href = $(this).attr('data-href');
window.location.href = href;
});/* */
//layer.msg('hello');
});
function Invotj(obj){
var hrefs = $(obj).attr('data-href');
window.location.href = hrefs;
}
function toast(){
layer.msg('努力开发中,敬请期待', {
//icon: 1,
time: 1500 //2秒关闭(如果不配置,默认是3秒)
}, function(){
//do something
});
}
function setToken(token,device){
mUrl.SetToken(token);
mUrl.setDevice(device);
//alert('token '+token);
}
</script>