main
lion 2 years ago
parent cf2e0c2c5f
commit 3d9a206e58

@ -33,8 +33,8 @@
<transition name="share-pop" enter-active-class="fade-in" leave-to-class="fade-out">
<view class="share_cover" v-show="isShare" @click="isShare = false">
<image :src="require('../static/cer-toShare.png')" class="share_cover_arrow"></image>
<view class="share_cover_word">
<image :style="{'top':navBarTop+'px','right':navBarRight+'px'}" :src="require('../static/cer-toShare.png')" class="share_cover_arrow"></image>
<view class="share_cover_word" :style="{'margin-top':200+navBarTop+'px'}">
请点击右上角将它发送给指定朋友或分享到朋友圈
</view>
</view>
@ -77,14 +77,22 @@
//isShowModal: false,
userInfo: {},
myIndex: 0,
navBarTop: 0,
navBarTop: 0,
navBarRight: 0,
};
},
onShareAppMessage() {
return shareInfo
},
onShareTimeline() {
return shareInfo
},
onShow() {
this.userInfo = uni.getStorageSync('walksz_lifeData').vuex_user
this.myIndex = this.userInfo.myIndex?this.userInfo.myIndex:'-'
const MenuButton = uni.getMenuButtonBoundingClientRect()
this.navBarTop = MenuButton.top + MenuButton.height //
this.navBarRight = MenuButton.width
let sysInfo = uni.getSystemInfoSync();
this.SCREEN_WIDTH = sysInfo.screenWidth
this.SCREEN_HEIGHT = sysInfo.screenHeight;

Loading…
Cancel
Save