分享返回

main
lion 2 years ago
parent 139451d559
commit 45b5db4ca2

@ -5,7 +5,9 @@
<u-image id="share-img" v-show="!isHidden" class="share-img" mode="scaleToFill" :width="133" :height="133"
:src="require('../static/cer-share.png')" @click="$u.throttle(share)"> mode=</u-image>
<div @click="back" :style="{'position':'absolute','left':'20rpx','top':backTop+'px','height':backHeight+'px','line-height':backHeight+'px'}">
<u-icon name="arrow-left" color="#fff" size="40"></u-icon>
</div>
<div class="logo1">
<u-image :lazy-load="false" :show-loading="false" width="176" height="450"
:src="require('../static/cer-logo.png')"></u-image>
@ -81,7 +83,9 @@
userInfo: {},
myIndex: 0,
navBarTop: 0,
navBarRight: 0,
navBarRight: 0,
backHeight:0,
backTop:0
};
},
onShareAppMessage() {
@ -96,11 +100,18 @@
const MenuButton = uni.getMenuButtonBoundingClientRect()
this.navBarTop = MenuButton.top + MenuButton.height //
this.navBarRight = MenuButton.width
this.backTop = MenuButton.top
this.backHeight = MenuButton.height
let sysInfo = uni.getSystemInfoSync();
this.SCREEN_WIDTH = sysInfo.screenWidth
this.SCREEN_HEIGHT = sysInfo.screenHeight;
},
methods: {
methods: {
back(){
uni.switchTab({
url:'/pages/me/me'
})
},
share() {
this.isHidden = true

Loading…
Cancel
Save