更新
This commit is contained in:
@@ -82,7 +82,7 @@
|
|||||||
<view class="userVip-rights">
|
<view class="userVip-rights">
|
||||||
<view class="userVip-rightst-title">
|
<view class="userVip-rightst-title">
|
||||||
<view class="userVip-rightst-title-name">查看会员专属权益</view>
|
<view class="userVip-rightst-title-name">查看会员专属权益</view>
|
||||||
<view class="userVip-rightst-more" @click="$Router.push({name: 'vipIndex'})">全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png"></image></view>
|
<view class="userVip-rightst-more" @click="$Router.push({name: 'vipIndex', params:{identity_id: userIdentity.right.identity_id}})">全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png"></image></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="userVip-rightst-list" v-if="userIdentity.right">
|
<view class="userVip-rightst-list" v-if="userIdentity.right">
|
||||||
<view v-for="(item, index) in userIdentity.right.rights" :key="index" class="userVip-rightst-label">
|
<view v-for="(item, index) in userIdentity.right.rights" :key="index" class="userVip-rightst-label">
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import record from '@/components/property/record'
|
import record from '@/components/property/record'
|
||||||
|
import h5Copy from '@/js_sdk/junyi-h5-copy/junyi-h5-copy/junyi-h5-copy'
|
||||||
import {
|
import {
|
||||||
sum,
|
sum,
|
||||||
price,
|
price,
|
||||||
@@ -161,9 +162,17 @@
|
|||||||
showCancel:false,
|
showCancel:false,
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
uni.setClipboardData({
|
const result = h5Copy(this.balance.address)
|
||||||
data: this.balance.address
|
if (result === false) {
|
||||||
|
uni.showToast({
|
||||||
|
title:'不支持',
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title:'复制成功',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ const router = createRouter({
|
|||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
const token = store.getters.getToken || uni.getStorageSync('token')
|
const token = store.getters.getToken || uni.getStorageSync('token')
|
||||||
// 检查是否需要微信授权
|
// 检查是否需要微信授权
|
||||||
if(store.getters.getCode === '' && to.name != 'wxAuth'){
|
// if(store.getters.getCode === '' && to.name != 'wxAuth'){
|
||||||
next({
|
// next({
|
||||||
name: 'wxAuth'
|
// name: 'wxAuth'
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
// 检查是否需要登录
|
// 检查是否需要登录
|
||||||
if(to.auth && token === ''){
|
if(to.auth && token === ''){
|
||||||
next({
|
next({
|
||||||
|
|||||||
Reference in New Issue
Block a user