Blame view

more/fanxtc/fxdata.html 3.53 KB
313ce84a   songchongxian   创建h5 app项目
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
  <!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" href="../../iconfont/iconfont.css"/>
  	    <!--<link rel="stylesheet" href="../../../js/layui/layui.css" />-->
  	    <link rel="stylesheet" href="../../js/bootstrap/bootstrap.css"/>
  	    <link rel="stylesheet" href="css/fxcommon.css"/>
  	</head>
  	<style>
  		.fxdata{
  			width: 100%;
  			padding: 10px 20px;
  			box-sizing: border-box;
  			margin-top: 30%;
  			/*margin-bottom: 27px;*/
  		}
  		.fxdata .carwei{
  			position: absolute;
  			top: 0;margin-top: 15%;
  			width: 100%;
  			left: 0;
  		}
  		.fxdata .carwei>div{
  			width: 100%;
  			color: #fff;
  			text-align: center;
  		}
  		.fxdata .carwei>div:first-child{
  			font-size: 18px;
  		}
  		.fdcar{
  			width: 100%;
  			position: relative;
  			margin-bottom: 42.1px;
  		}
  		.fdcar>img{
  			
  			/*top: 0;
  			left: 0;*/
  		}
  		.fdcar .fxcimg1{
  			width: 100%;
  		}
  		.fdcar .fxcimg2{
  			position: absolute;
  			width: 64%;
  			margin-left: 18%;
  			margin-top: -6% !important;
  			top: 0;
  			left: 0;
  		}
  		.fdcar>span{
  			display: inline-block;
  			width: 100%;
  			text-align: center;
  			position: absolute;
  			bottom: -4vw;
  			left: 0;
  			color: #fff;
  			font-size: 6vw;
  		}
  		.fdcard{
  			width: 100%;
  			padding: 8px 0;
  			background: #fff;
  			text-align: center;
  			color: rgba(109,122,131,1);
  			border-radius: 8px;
  		}
  		.fdcard>div:first-child{
  			font-size: 18px;
  		}
  		.fdcard>div:last-child{
  			font-size: 12px;
  			padding-top: 12px;
  		}
  	</style>
  	<body onclick="">
  		<div class="fanxtctop">
  			<div class="row">
  				<div class="col-xs-12">
  					<i class="icon iconfont" onclick="window.history.go(-1)">&#xe65a;</i>
  					<!--<span class="tt">反向寻车</span>-->
  					<!--<span class="r" onclick="">车场寻车</span>-->
  				</div>
  			</div>
  		</div>
  		<div class="fxdata">
  			<div class="carwei" style="">
  				<div>车位号</div>
  				<div  id="pbowei"></div>
  			</div>
  			<div class="fdcar">
  				
  				<img  src="imgs/carr1.png"  class="fxcimg1"/>
  				<img src="imgs/carr.png"  class="fxcimg2"/>
  				<span id="carnum"></span>
  			</div>
  			<div class="fdcard">
  				<div id="pname"></div>
  				<div id="paddr"></div>
  			</div>
  		</div>
  		
  	</body>
  </html>
  <script src="../../js/jquery-3.2.1.min.js"></script>
  <script src="../../js/url.js"></script>
  <script src="../../js/url.js"></script>
  <script src="../../js/ajax.js"></script>
  <script src="js/vipback.js"></script>
  <script>
  	var carnum = '';//车牌号
  	var pname = '';//停车场名称
  	var pbowei = '';//泊位号
  	var paddr = '';//停车场地址
  	$(function(){
  		var hrefu = decodeURI(location.href);//;
  		var splitd = hrefu.split('?');
  		var splitdstr = '';
  		if(splitd){
  			splitdstr = splitd[1].split('&');
  			carnum = splitdstr[0].split('=')[1];
  			pname = splitdstr[1].split('=')[1]; 
  			pbowei =  splitdstr[2].split('=')[1]; 
  			paddr = splitdstr[3].split('=')[1];;
  			$('#carnum').text(carnum);
  			$('#pname').text(pname);
  			if(pbowei&&pbowei!=''){
  				$('#pbowei').text(pbowei);
  			}else{
  				$('#pbowei').text('暂未获取');
  			}
  			$('#paddr').text(paddr);
  			
  		}
  	})
  </script>