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

漫画优化

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