|
|
@@ -252,6 +252,7 @@
|
|
|
const fail = ref(false)
|
|
|
const share = ref(false)
|
|
|
const uReadMore = ref()
|
|
|
+ const shareADId = ref('')
|
|
|
const shadowStyle = ref({
|
|
|
backgroundImage: "none",
|
|
|
paddingTop: "0",
|
|
|
@@ -634,7 +635,7 @@
|
|
|
const getActivityDetail = (id) => {
|
|
|
proxy.$api.get(`/core/activity/${id}`).then(({data:res})=>{
|
|
|
if(res.code!==0){
|
|
|
- if(options?.shareADId){
|
|
|
+ if(shareADId.value){
|
|
|
uni.showModal({
|
|
|
title:'温馨提示',
|
|
|
content:res.msg,
|
|
|
@@ -690,6 +691,7 @@
|
|
|
|
|
|
onLoad(options=>{
|
|
|
id.value = options?.id||options?.shareADId||'';
|
|
|
+ shareADId.value = options?.shareADId||'';
|
|
|
if(!uni.getStorageSync('token')||!uni.getStorageSync('expaireTime')||(Date.parse(new Date())>(uni.getStorageSync('expaireTime')||0))){
|
|
|
uni.showModal({
|
|
|
title:'温馨提示',
|