提交 3a41a4d3 编写于 作者: chendeli's avatar chendeli

add

上级 270a5177
......@@ -102,7 +102,7 @@ export default {
}
};
alert(JSON.stringify(itemData))
// alert(JSON.stringify(itemData))
rocNative.dispatchEventByModuleCode({
modeCode: itemData.appModuleInfo.code,
......
......@@ -54,7 +54,7 @@ export default {
if(itemData.appModuleInfo.paramList[0].value.indexOf('teachers') > -1){
url = itemData.appModuleInfo.paramList[0].value+'?userToken='+this.userToken;
}
alert(url);
//alert(url);
}
......@@ -100,7 +100,7 @@ export default {
modeCode: item.appModuleInfo.code,
jsonString: item.appModuleInfo.paramList
})
console.log(itemData);
//console.log(itemData);
this.pageBurialPoin({
menuLevel:1,
......
<template>
<div :class="searchFix?'header fixed' : 'header' " id="search-top" :style="{height:menuptop}">
<div class="search-menu" :style="{paddingTop:'20px'}">
<div class="search-menu">
<!-- <div :class="isTransparent?'search-transparent':'bgWhite'" class="search">
<input type="search" :class="isTransparent?'search-transparent':''" class="input" v-model="searchVal" :placeholder="placeholder" :disabled="disabled" />
<img v-if="searchFix" class="search-img" src='../../images/search-grey.png'>
<img v-else class="search-img" src='../../images/search-white.png'>
</div> -->
<div class="header-right" @click="goToPage">
<img v-if="searchFix" class="info" src='../../images/msg2.png'>
<img v-else class="info" src='../../images/msg1.png'>
<div :class="isMax?'num-max':'num-min'" class="info-count fs10" v-show="msgCount>0">{{msgCount>99?'99+':msgCount}}</div>
<div class="bgFill"></div>
<div class="fixBox">
<div class="header-right" @click="goToPage">
<img v-if="searchFix" class="info" src='../../images/msg2.png'>
<img v-else class="info" src='../../images/msg1.png'>
<div :class="isMax?'num-max':'num-min'" class="info-count fs10" v-show="msgCount>0">{{msgCount>99?'99+':msgCount}}</div>
</div>
</div>
</div>
</div>
</template>
......@@ -131,7 +135,7 @@ html,body{
width: px2rem(20px);
height: px2rem(20px);
position: relative;
margin-top:px2rem(5px);
margin:px2rem(5px) 0;
float: right;
img{
width: 100%;
......@@ -139,6 +143,10 @@ html,body{
display: block;
}
}
.bgFill{
background: #ddd;
height: 20px;
}
.fs30{
font-size: px2rem(15px);
}
......@@ -157,12 +165,19 @@ html,body{
}
.fixed {
.search-menu{
background: #fff;
position: fixed;
z-index: 110;
top:0;
left: 0;
padding:px2rem(10px) px2rem(25px) px2rem(13px) px2rem(15px);
}
.fixBox{
background: #fff;
height:px2rem(40px);
padding:0 px2rem(25px);
padding-top: px2rem(7px)
}
.search-transparent::-webkit-input-placeholder{
color:#666;
......@@ -175,8 +190,14 @@ html,body{
color: #fff
}
}
.fixBox{
padding:0 px2rem(25px);
height: px2rem(40px);
padding-top: px2rem(7px)
}
.search-menu{
padding: 0 px2rem(25px) 0 px2rem(15px);
width: 100%;
position: absolute;
......
......@@ -222,12 +222,12 @@ export default {
_this.initAll()
//_this.token = 'BE1D60CAE8F24649B4F72D47E964A58B';
// _this.msgCount = '2'
// _this.token = 'BE1D60CAE8F24649B4F72D47E964A58B';
// _this.msgCount = '2'
// _this.isShowKeep = true;
// _this.isHeightFromApp = true;
// _this.getKeepData(_this.userToken);
//_this.initByToken(_this.token);
// _this.initByToken(_this.token);
// _this.getIconData(_this.token);
// _this.isIntStyle = 'font-style pull-down';
// _this.fiveTimePull();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册