|
@@ -12,7 +12,7 @@
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css" />
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css" />
|
|
<link rel="stylesheet" type="text/css" href="../css/swiper.min.css" />
|
|
<link rel="stylesheet" type="text/css" href="../css/swiper.min.css" />
|
|
<style>
|
|
<style>
|
|
- .swiper-container {
|
|
|
|
|
|
+ .swiper-container {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
@@ -40,6 +40,7 @@
|
|
padding-top: 0.1rem;
|
|
padding-top: 0.1rem;
|
|
float: left;
|
|
float: left;
|
|
line-height: 0;
|
|
line-height: 0;
|
|
|
|
+ position: absolute;
|
|
}
|
|
}
|
|
.home-hotel-right { /*width: 4.2rem;*/ }
|
|
.home-hotel-right { /*width: 4.2rem;*/ }
|
|
.home-hotel-dsc {
|
|
.home-hotel-dsc {
|
|
@@ -148,6 +149,18 @@
|
|
transform: scale(0.5);
|
|
transform: scale(0.5);
|
|
border-radius: 0.08rem;
|
|
border-radius: 0.08rem;
|
|
}
|
|
}
|
|
|
|
+ .header{
|
|
|
|
+ position: fixed;
|
|
|
|
+ padding: 0 0.2rem;
|
|
|
|
+ top: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ left: 1px;
|
|
|
|
+ z-index: 2;
|
|
|
|
+ background: #fff;
|
|
|
|
+ -webkit-transform: translateZ(0);
|
|
|
|
+ transform: translateZ(0);
|
|
|
|
+ }
|
|
|
|
+
|
|
</style>
|
|
</style>
|
|
<script>
|
|
<script>
|
|
(function(window) {
|
|
(function(window) {
|
|
@@ -168,10 +181,10 @@
|
|
</script>
|
|
</script>
|
|
</head>
|
|
</head>
|
|
|
|
|
|
- <body>
|
|
|
|
|
|
+ <body >
|
|
<div class="topbar"></div>
|
|
<div class="topbar"></div>
|
|
<section>
|
|
<section>
|
|
- <div style="position: fixed;width: 6.9rem;margin-left: -1px;z-index: 2;background: #fff;" id="header">
|
|
|
|
|
|
+ <div id="header" class="header">
|
|
<div class="home-top" style="padding: 0.1rem 0;">
|
|
<div class="home-top" style="padding: 0.1rem 0;">
|
|
<div class="home-top-left"><img id="set-local" class="home-top-local" src="../image/home_local.png" /> <span class="local-name"> 正在搜索您附近的酒店</span></div>
|
|
<div class="home-top-left"><img id="set-local" class="home-top-local" src="../image/home_local.png" /> <span class="local-name"> 正在搜索您附近的酒店</span></div>
|
|
<div class="home-top-right" style="margin-top: -0.05rem;">
|
|
<div class="home-top-right" style="margin-top: -0.05rem;">
|
|
@@ -250,8 +263,8 @@
|
|
if (!storage || !storage[0] || !storage[0].granted) {
|
|
if (!storage || !storage[0] || !storage[0].granted) {
|
|
reqPermission('storage')
|
|
reqPermission('storage')
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
get_adv();//弹窗
|
|
get_adv();//弹窗
|
|
getRouteData();//轮播吞
|
|
getRouteData();//轮播吞
|
|
webtoappinit();
|
|
webtoappinit();
|
|
@@ -302,6 +315,7 @@
|
|
name: 'hoteldtl',
|
|
name: 'hoteldtl',
|
|
url: './home/hoteldtl.html',
|
|
url: './home/hoteldtl.html',
|
|
bounces: false,
|
|
bounces: false,
|
|
|
|
+ useWKWebView: true,
|
|
pageParam: {
|
|
pageParam: {
|
|
keyid: _keyid
|
|
keyid: _keyid
|
|
}
|
|
}
|
|
@@ -576,7 +590,7 @@
|
|
$('.weui-gallery').remove()
|
|
$('.weui-gallery').remove()
|
|
getAddress();
|
|
getAddress();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
function getRouteHotelData() {
|
|
function getRouteHotelData() {
|
|
if (_lon == '0') {
|
|
if (_lon == '0') {
|
|
$(".border-none").removeClass("mask-hidden");
|
|
$(".border-none").removeClass("mask-hidden");
|