Browse Source

feat: 页面调整;

pull/5/head
Fox-33 1 week ago
parent
commit
8569c70b29
3 changed files with 13 additions and 5 deletions
  1. +2
    -2
      pages/index/center.vue
  2. +2
    -1
      pages_order/sharing/personal.vue
  3. +9
    -2
      pages_order/sharing/video.vue

+ 2
- 2
pages/index/center.vue View File

@ -22,7 +22,7 @@
<!-- <view v-else class="tag" >
代理商:{{userInfo.endTime}} 到期
</view> -->
<view v-else class="tag" v-else>
<view v-else class="tag">
普通会员
</view>
</view>
@ -39,7 +39,7 @@
<view class="activate-tips" style="padding-left: 27rpx;">
<view>代理商权益</view>
<view>
将于<text class="activate-highlight">{{userInfo.endTime}}</text>到期
将于<text class="activate-highlight">{{userInfo.endTime || '-'}}</text>到期
</view>
</view>
<view class="btn-activate" @click="onActivate">


+ 2
- 1
pages_order/sharing/personal.vue View File

@ -9,7 +9,7 @@
<template v-if="isLocked">
<button class="btn" type="success" @click="onAdd">添加</button>
</template>
<view v-else class="flex qr-popup">
<view v-else class="flex flex-column qr-popup">
<text class="tips">长按识别二维码了解更多内容</text>
<image class="qr" :src="detail.wxCodeImage" :show-menu-by-longpress="true"></image>
</view>
@ -197,6 +197,7 @@
}
.qr-popup {
width: 100vw;
bottom: 269rpx;
.tips {


+ 9
- 2
pages_order/sharing/video.vue View File

@ -23,8 +23,9 @@
<uv-overlay :show="timeIsUp" @click="onPlay" zIndex="998">
<popupUnlock ref="popupUnlock" src="../static/sharing/unlock-video.png"></popupUnlock>
<popupQrCode ref="popupQrCode" :src="detail.wxCodeImage"></popupQrCode>
</uv-overlay>
<popupQrCode ref="popupQrCode" :src="detail.wxCodeImage"></popupQrCode>
</view>
</template>
@ -53,7 +54,7 @@
},
timeIsUp: false,
isLocked: true,
videoContext: null
videoContext: null,
}
},
computed: {
@ -115,6 +116,11 @@
}
},
async initData() {
this.fetchCheckShare().then(result => {
const { open } = result
this.isLocked = !open
})
await this.fetchDetails(this.id)
this.videoContext = uni.createVideoContext('video');
@ -182,6 +188,7 @@
}
},
onTimeEnd() {
console.log('--onTimeEnd')
this.$refs.popupQrCode.open()
},
},


Loading…
Cancel
Save