提交 546f469e 编写于 作者: 杨广俊's avatar 杨广俊

去年断点

上级 153ff5f9
......@@ -153,7 +153,7 @@ export default {
this.showDelete = !this.showDelete
},
getUserInfo: function () {
alert('in hist getUserInfo')
// alert('in hist getUserInfo')
rocNative.getUserInfo({'__funcName': '__getUserInfo'})
},
confirmDelete() {
......
<template>
<div>
<img src="" />
</div>
</template>
<style lang="scss" scoped>
@import '../../style/mixin';
.loader {
&-mask {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 100;
background: rgba(0, 0, 0, 0.5);
}
svg {
position: absolute;
top: px2rem(280px);
left: px2rem(166px);
z-index: 101;
}
}
svg path, svg rect{
fill: #fff;
// fill: #449284;
}
</style>
......@@ -36,7 +36,8 @@ export default {
return {
searchText: '',
pSearchText: '',
token: ''
token: '',
needShowFirstTime: false
}
},
components: {
......@@ -61,6 +62,17 @@ export default {
// _self.SET_USER_INFO(params)
_self.getData()
}
window.__isFirstTime = function(param) {
if(param.isFirst == 'true') {
this.needShowFirstTime = true
rocNative.setFirstTime({
projectName: 'YQY_PROJECT_SOUSUO',
isFirst: 'false'
})
} else {
this.needShowFirstTime = false
}
}
},
mounted(){
// window.__refresh = function(){
......@@ -88,6 +100,7 @@ export default {
// _self.getData()
// }
this.getUserInfo()
this.isFirstTime()
// _self.getStatusBarHeight()
},
methods: {
......@@ -181,7 +194,13 @@ export default {
},
clearText() {
this.searchText = ''
}
},
isFirstTime() {
rocNative.isFirstTime({
projectName: 'YQY_PROJECT_SOUSUO',
__funcName: '__isFirstTime'
})
},
},
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册