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

add

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