|
|
|
@@ -13,11 +13,6 @@
|
|
|
|
|
<link rel="stylesheet" href="../../css/theme-orange.css">
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.topic .topicContent .topicContent_center.home div .icon{width:42px;height:42px;}
|
|
|
|
|
.topic .topicContent .topicContent_center.home div span{font-size:0.7rem;color:#666;}
|
|
|
|
|
.buttons-tab .button{font-size:0.75rem;color:#999;line-height:2.5rem;height:2.5rem;}
|
|
|
|
|
.list-block ul:before{height:0;}
|
|
|
|
|
.cardInfo:first-child{border-top:none;}
|
|
|
|
|
.page > header.bar{position:static;padding-left:0.75rem;padding-right:0.75rem;background:#fff;border-bottom:none;}
|
|
|
|
|
.page > header.barBorder{border-bottom:solid 0px #e7e7e7;}
|
|
|
|
|
.page > header.bar.theme{background:#F18D00;}
|
|
|
|
@@ -28,8 +23,17 @@
|
|
|
|
|
.list-block .add01a{top:inherit;bottom:0.75rem;right:0.75rem;}
|
|
|
|
|
.list-block .item-title em{font-size:0.8rem;color:#EB5F34;}
|
|
|
|
|
.list-block .item-title .tag small{font-size:80%;color:#F5A100;}
|
|
|
|
|
|
|
|
|
|
.topic .topicContent .topicContent_center.home div .icon{width:42px;height:42px;}
|
|
|
|
|
.topic .topicContent .topicContent_center.home div span{font-size:0.7rem;color:#666;}
|
|
|
|
|
.contentBox{position:relative;}
|
|
|
|
|
.pstion{position:absolute;top:0;height:572px;}
|
|
|
|
|
.pstion{position:absolute;top:0;height:600px;}
|
|
|
|
|
.buttons-tab .button{font-size:0.75rem;color:#999;line-height:2.5rem;height:2.5rem;}
|
|
|
|
|
.list-block ul:before{height:0;}
|
|
|
|
|
.cardInfo:first-child{border-top:none;}
|
|
|
|
|
@media(min-height:750px){
|
|
|
|
|
.pstion{height:700px;}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
@@ -50,7 +54,7 @@
|
|
|
|
|
<img src="../../images/headPortrait.png">
|
|
|
|
|
<p><a class="button theme" href="#" onclick="gotoLogin()" >立即登录</a></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="topic">
|
|
|
|
|
<div class="topic" style="display: none;">
|
|
|
|
|
<div class="topicContent homeBox" style="padding-left:0;padding-right:0;">
|
|
|
|
|
<div class="topicContent_center home homeWin">
|
|
|
|
|
<div>
|
|
|
|
@@ -123,7 +127,7 @@
|
|
|
|
|
<div class="topic">
|
|
|
|
|
<div class="topicContent homeBox" style="padding-left:0;padding-right:0;">
|
|
|
|
|
<div class="topicContent_center home homeWin" id="toolList">
|
|
|
|
|
<div>
|
|
|
|
|
<!--<div>
|
|
|
|
|
<i class="icon icon-personal01"></i>
|
|
|
|
|
<span>公积金查询</span>
|
|
|
|
|
</div>
|
|
|
|
@@ -138,9 +142,9 @@
|
|
|
|
|
<div>
|
|
|
|
|
<i class="icon icon-personal04"></i>
|
|
|
|
|
<span>算房贷</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>-->
|
|
|
|
|
<div v-for="(t,index) in merchantTools">
|
|
|
|
|
<img v-bind:src="t.iconUrl" style="width:45px;height:45px;margin:0 auto;" v-on:click="goto(t.url)">
|
|
|
|
|
<img v-bind:src="t.iconUrl" style="width:45px;height:45px;margin:0 auto;" v-on:click="goto(t.url,userId)">
|
|
|
|
|
<span>{{t.toolName}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@@ -210,6 +214,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../js/zepto.js" charset="utf-8"></script>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
|
|
|
@@ -217,10 +222,12 @@ Zepto = $
|
|
|
|
|
$.config = {router: false}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../js/beacon_release.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/vue.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/light7-2.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/sm01.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/mui.min.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="../../config.js"></script>
|
|
|
|
|
<script type='text/javascript' src='../../js/common.js' charset='utf-8'></script>
|
|
|
|
@@ -234,7 +241,7 @@ $.config = {router: false}
|
|
|
|
|
<script type="text/javascript" src="../../js/user/myMessage.js" charset="utf-8"></script>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 说明-房产等级 */
|
|
|
|
|
$(document).on('click','.alert-text-title', function () {
|
|
|
|
|
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
|
|
|
|
@@ -255,20 +262,7 @@ var tab = new Vue({
|
|
|
|
|
mm_num:"0"
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
var toolList = new Vue({
|
|
|
|
|
el:"#toolList",
|
|
|
|
|
data:{
|
|
|
|
|
merchantTools:[]
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
goto:function(url){
|
|
|
|
|
// alert(url)
|
|
|
|
|
if (url != null && url != "") {
|
|
|
|
|
clicked('../webview_embed.html', true,false,{},{url:url})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
//判断是否登录
|
|
|
|
|
function checkIsLogin(){
|
|
|
|
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
|
|
|
@@ -482,10 +476,34 @@ function openSettingPage() {
|
|
|
|
|
document.addEventListener('plusready', onPlusReady, false);
|
|
|
|
|
|
|
|
|
|
function onPlusReady(){
|
|
|
|
|
var toolList = new Vue({
|
|
|
|
|
el:"#toolList",
|
|
|
|
|
data:{
|
|
|
|
|
merchantTools:[],
|
|
|
|
|
userId:""
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
goto:function(url,userId){
|
|
|
|
|
var deviceId = plus.device.uuid;
|
|
|
|
|
if(url.indexOf("?")>0){
|
|
|
|
|
url+=("&uid="+userId+"&deviceId="+deviceId)
|
|
|
|
|
}else{
|
|
|
|
|
url+=("?uid="+userId+"&deviceId="+deviceId)
|
|
|
|
|
}
|
|
|
|
|
alert(url)
|
|
|
|
|
if (url != null && url != "") {
|
|
|
|
|
clicked('../webview_embed.html', true,false,{},{url:url})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
axios.get(BASE_PATH + "/rest/usertool/merchantToolList",{params:{position:0}}).then(function(response){
|
|
|
|
|
toolList.merchantTools = response.data.data;
|
|
|
|
|
toolList.merchantTools = response.data.data.list;
|
|
|
|
|
toolList.userId = response.data.data.uid;
|
|
|
|
|
/* 获取homeWin div个数并计算homeWin宽度 */
|
|
|
|
|
$(".homeWin").css("width",(90*(4+response.data.data.length))+"px");
|
|
|
|
|
var original = 0;//公积金查询等个数
|
|
|
|
|
$(".homeWin").css("width",(90*(original+response.data.data.list.length))+"px");
|
|
|
|
|
// var html = "";
|
|
|
|
|
// for(var i=0;i<toolList.length;i++){
|
|
|
|
|
// html += (i%4==0?'':'<div class="swiper-slide">')+
|
|
|
|
|