修改ios权限问题
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<template v-if="datas.noticeList.length > 0">
|
||||
<template v-if="datas.isExamine == 0">
|
||||
<view class="gongao">
|
||||
<view class="gongaoicon">
|
||||
公告
|
||||
@@ -42,7 +42,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<contentlist :list='datas.list'></contentlist>
|
||||
<image v-if="datas.isExamine == 0" @click="goMsg('/me/VjgyqAzklr/VjgyqAzklr')" src="@/static/index/red-pack-new.gif"
|
||||
<image v-if="datas.isExamine == 0" @click="goMsg()" src="@/static/index/red-pack-new.gif"
|
||||
style="width: 200rpx;height: 200rpx;position: fixed;right: 10rpx;bottom: 180rpx;" mode=""></image>
|
||||
|
||||
<u-modal :show="datas.version.show" :confirm-text="datas.version.confirmText" :showCancelButton="datas.version.cancelText" @confirm='confirmUpdateVersion'
|
||||
@@ -76,6 +76,10 @@ import contentlist from './components/contentlist.vue'
|
||||
import { selectNewApp } from '@/api/user/user.js';
|
||||
import config from '@/commons/config.js';
|
||||
import { linkTo } from '@/utils/app.js';
|
||||
import {
|
||||
useCommonStore
|
||||
} from '@/store/common.js'
|
||||
const $common = useCommonStore()
|
||||
let datas = reactive({
|
||||
noticeList: [], //公告列表
|
||||
|
||||
@@ -91,7 +95,7 @@ let datas = reactive({
|
||||
ruleList: [],
|
||||
|
||||
//ios是否在审核 1是审核
|
||||
isExamine: uni.getStorageSync('isExamine'),
|
||||
isExamine: $common.isExamine,
|
||||
|
||||
version: {
|
||||
show: false,
|
||||
@@ -213,20 +217,9 @@ function ruleConfirm() {
|
||||
|
||||
// 跳转公告链接
|
||||
function goMsg(url) {
|
||||
// if (url.indexOf('/pages/') !== -1 || url.indexOf('/me/') !== -1) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/me/prizeDraw'
|
||||
});
|
||||
// } else {
|
||||
//#ifndef H5
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/index/webView?url=' + url
|
||||
// });
|
||||
//#endif
|
||||
//#ifdef H5
|
||||
// window.location.href = url;
|
||||
//#endif
|
||||
// }
|
||||
}
|
||||
|
||||
// 搜索跳转
|
||||
|
||||
Reference in New Issue
Block a user