diff --git a/fangija-zsyf/css/main.css b/fangija-zsyf/css/main.css index dede11d..6e0726a 100644 --- a/fangija-zsyf/css/main.css +++ b/fangija-zsyf/css/main.css @@ -1295,9 +1295,7 @@ input[type=range]::-webkit-slider-thumb { .contentStart{background:#F18D00;} .contentStart .time{width:65px;height:30px;line-height:1.6rem;text-align:center;font-size:0.7rem;color:#fff;background:rgba(0,0,0,0.3);border-radius:1.25rem;display:block;position:absolute;top:0.75rem;right:0.75rem;z-index:4;} .contentStart #time{font-size:0.7rem;vertical-align:middle;} -.contentStart .startImg01{width:50%;position:absolute;top:30%;left:50%;margin-left:-25%;z-index:3;} -.contentStart .startImg02{width:100%;position:absolute;bottom:0;z-index:2;} -.contentStart .startImg03{width:100%;position:absolute;top:0;z-index:1;} +.contentStart .startImg{width:100%;} /* 引导页 */ .swiper-container{width:100%;height:100%;background:#fff;z-index:10000;} diff --git a/fangija-zsyf/images/startImg.png b/fangija-zsyf/images/startImg.png new file mode 100644 index 0000000..bbf1a7c Binary files /dev/null and b/fangija-zsyf/images/startImg.png differ diff --git a/fangija-zsyf/main.html b/fangija-zsyf/main.html index 004bdf9..ab918d3 100644 --- a/fangija-zsyf/main.html +++ b/fangija-zsyf/main.html @@ -88,6 +88,7 @@ plus.navigator.setFullscreen(false); } else { + loadStartPage(); //显示启动导航 mui.openWindow({ id: 'guide', @@ -184,6 +185,29 @@ } }); + // 加载启动页信息 + function loadStartPage() { + $.ajax({ + type: "GET", + url:BASE_PATH+"/rest/page/startPage", + dataType:'json', + async : false, + success: function(resData) { + if (resData.status) { + var data = resData.data; + if (data.imgUrl != null) { + localStorage.setItem("startPageImgUrl", data.imgUrl); + } + if (data.url != null) { + localStorage.setItem("startPageClickUrl", data.url); + } + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + + } + }) + } diff --git a/fangija-zsyf/start.html b/fangija-zsyf/start.html index 776f27b..c150c06 100644 --- a/fangija-zsyf/start.html +++ b/fangija-zsyf/start.html @@ -3,7 +3,7 @@ - 掌上有房 + 有房 @@ -13,18 +13,15 @@ - -
+
- 跳过 5 - - - + 跳过 5 +
@@ -40,30 +37,53 @@ - + + + +