94 lines
1.7 KiB
Vue
94 lines
1.7 KiB
Vue
<script>
|
|
export default {
|
|
onLaunch(e) {
|
|
if(e.query.invite){
|
|
this.$store.commit('setParentId', e.query.invite)
|
|
}
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.goPage {
|
|
position: fixed;
|
|
z-index: 100000;
|
|
}
|
|
|
|
/* 水平居中 */
|
|
.pack-center {
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-pack: center;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* 下拉刷新 */
|
|
.refresh{
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.refresh-icon{
|
|
width: 32rpx;
|
|
vertical-align: middle;
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
/* 页面信息提醒 */
|
|
.pages-hint,
|
|
.pages-loding{
|
|
text-align: center;
|
|
color: #747788;
|
|
font-size: 28rpx;
|
|
background: white;
|
|
}
|
|
|
|
.pages-hint image {
|
|
width: 188rpx;
|
|
height: 188rpx;
|
|
}
|
|
|
|
.pages-loding image {
|
|
width: 38rpx;
|
|
height: 38rpx;
|
|
}
|
|
|
|
/* 上拉加载 */
|
|
.pagesLoding {
|
|
text-align: center;
|
|
color: gray;
|
|
line-height: 90rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.pagesLodingIcon {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
vertical-align: middle;
|
|
margin-right: 10rpx;
|
|
margin-bottom: 6rpx;
|
|
}
|
|
|
|
.nowrap-multi {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
</style>
|