提交 9d26709b 编写于 作者: 杨广俊's avatar 杨广俊

漫画优化

上级 d015cf78
......@@ -109,7 +109,7 @@ export default {
let cParmDataw = this.parmData.map(function(item){
let cItem = Object.assign({}, item)
if(cItem.highLightField) {
cItem.name = cItem.name + ' (' + mapDesc[cItem.highLightField] + ')'
cItem.highLightName = cItem.highLightName + ' (' + mapDesc[cItem.highLightField] + ')'
}
return cItem
})
......
......@@ -291,7 +291,7 @@ body {
margin-top: px2rem(15px);
border-radius: 0 0 px2rem(3px) px2rem(3px);
float: left;
box-shadow: 0 px2rem(4px) px2rem(6px) RGBA(0, 0, 0, 0.06);
box-shadow: 0 px2rem(4px) px2rem(6px) 0 RGBA(0, 0, 0, 0.06);
}
.mr0 {
......
......@@ -47,7 +47,17 @@ export default {
}
},
mounted(){
this.getData()
let _self = this;
window.__getUserInfo = function(params){
alert(JSON.stringify(params))
_self.token = params.userToken
// _self.SET_USER_INFO(params)
_self.getData()
}
if(window.__isWeb) {
_self.getData()
}
_self.getUserInfo()
},
methods: {
searchAction(searchText) {
......@@ -105,8 +115,10 @@ export default {
},
toggleDelete() {
this.showDelete = !this.showDelete
}
},
getUserInfo: function () {
rocNative.getUserInfo({'__funcName': '__getUserInfo'})
},
}
}
</script>
......
......@@ -9,7 +9,7 @@
<section></section>
<NoResultPage/>
<SplitLine borderWidth="3px"/>
<CourseAdjust v-show="adjustList.length > 0" :parmData="adjustList"/>
<CourseAdjust :parmData="adjustList"/>
</article>
<!-- 有结果页面 -->
......@@ -154,7 +154,7 @@ export default {
}
},
mounted(){
this.search()
// this.search()
// this.searchAll(this.searchText, '1', 'contentAppModels', 'contentAppModelsAll')
},
methods: {
......
......@@ -43,18 +43,18 @@ export default {
])
},
mounted(){
let _self = this;
window.__getUserInfo = function(params){
_self.token = params.userToken
// _self.SET_USER_INFO(params)
_self.getData()
}
window.__refresh = function(){
_self.getUserInfo()
}
window.__getStatusBarHeight = function(params){
_self.SET_NAVBAR_HEIGHT(params)
}
// let _self = this;
// window.__getUserInfo = function(params){
// _self.token = params.userToken
// // _self.SET_USER_INFO(params)
// _self.getData()
// }
// window.__refresh = function(){
// _self.getUserInfo()
// }
// window.__getStatusBarHeight = function(params){
// _self.SET_NAVBAR_HEIGHT(params)
// }
// window.__getStatusBarHeight = function(parm){
// //lert(parm.statusBarHeight)
......@@ -68,11 +68,11 @@ export default {
// // alert(parm.statusBarHeight);
// }
if(window.__isWeb) {
_self.getData()
}
_self.getUserInfo()
_self.getStatusBarHeight()
// if(window.__isWeb) {
// _self.getData()
// }
// _self.getUserInfo()
// _self.getStatusBarHeight()
},
methods: {
...mapMutations([
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册