-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact_way.html
54 lines (54 loc) · 1.41 KB
/
contact_way.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, user-scalable=no">
<title>联系方式</title>
<link href="css/common.css" type="text/css" rel="stylesheet">
<link href="css/main.css" type="text/css" rel="stylesheet">
</head>
<body class="contact_way">
<script type="text/html" id="template1">
<article>
<section>
${c_name}
</section>
<section>
地址:${c_address}
</section>
<section>
座机:${c_tel}
</section>
<section>
手机号码:${c_phone}
</section>
</article>
</script>
<script src="js/jquery.min.js"></script>
<script src="js/commonfuc.js"></script>
<script src="js/app_init.js"></script>
<script src="js/fastclick.js"></script>
<script>
var datas={
};
datas=api_com_ps(datas);
// console.log(JSON.stringify(datas));
var opsx = {
url: commonUrl + 'store/articleDetails',
method: 'get',
data: datas,
datatype: 'json',
};
api_call(opsx, function(data) {
if(data.code==1){
var users=data.data;
// console.log(JSON.stringify(users));
$('#template1').tmpl(users).appendTo('.contact_way');
}
});
</script>
</body>
</html>