提交 96fe378f 编写于 作者: 杨广俊's avatar 杨广俊

结果页面search方法调整

上级 c43378b8
此差异已折叠。
......@@ -98,51 +98,16 @@ export default {
},
mounted() {
// this.list = this.parmData;
// this.$store.dispatch("setSource", []);
//this.pageNo = this.adjustPageNo;
// if(window.__isAndroid){
// this.popHeight = this.statusBarHeight/2
// }else{
// this.popHeight = this.statusBarHeight
// }
// this.menuHeight = this.popHeight + 7 + 40 + "px";
// this.ptop = this.popHeight + "px";
// this.getData();
},
created() {
let _this = this;
window.__getStatusBarHeight = function (parm) {
if (window.__isAndroid) {
_this.popHeight = parseInt(parm.statusBarHeight) / 2
} else {
_this.popHeight = parm.statusBarHeight
}
_this.ptop = _this.popHeight + 'px';
_this.menuptop = _this.popHeight + 36 + 'px'
}
this.getStatusHight()
},
watch: {
},
components: {
GroupTitle
// LOADING
},
methods: {
getStatusHight() {
rocNative.getStatusBarHeight({
__funcName: '__getStatusBarHeight'
})
},
//跳转
goToPage(item) {
this.pageBurialPoin({
......
......@@ -167,15 +167,12 @@ export default {
let _this = this;
window.__getUserInfo = function(params){
_this.token = params.userToken
_this.search()
_this.getAdjustData()
}
if(window.__isWeb) {
_this.search()
}
window.__refresh = function(){
_this.getUserInfo()
}
_this.search()
window.addEventListener('scroll', this.scrollFun);
},
mounted(){
......@@ -424,7 +421,7 @@ export default {
background: #fff;
border-bottom: 1px solid #E7E7E7;
&-img {
padding: px2rem(21px) 0 0 px2rem(16px);
padding: px2rem(21px) 0 px2rem(10px) px2rem(16px);
width: px2rem(20px);
height: px2rem(20px);
// transform: rotate(180deg);
......
......@@ -60,6 +60,7 @@ export default {
created() {
let _self = this;
window.__getUserInfo_S = function(params){
_self.setUserInfo(params)
_self.token = params.userToken
_self.getData()
}
......@@ -73,7 +74,8 @@ export default {
},
methods: {
...mapActions({
setStatusBarHeight: 'setStatusBarHeight'
setStatusBarHeight: 'setStatusBarHeight',
setUserInfo: 'setUserInfo'
}),
// 跳转到结果页面,并
search() {
......@@ -223,7 +225,7 @@ export default {
@import '../style/mixin.scss';
@import '../style/global.scss';
.mt-80 {
padding-top: px2rem(70px);
padding-top: px2rem(80px);
}
.mt-100 {
padding-top: px2rem(63px) !important;
......@@ -247,7 +249,7 @@ export default {
background: #fff;
border-bottom: 1px solid #E7E7E7;
&-img {
padding: px2rem(21px) 0 0 px2rem(16px);
padding: px2rem(21px) 0 px2rem(10px) px2rem(16px);
width: px2rem(20px);
height: px2rem(20px);
// transform: rotate(180deg);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册