From 73c1c7a1dad1bb9554bb85bbf969502adea726bb Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Thu, 31 Jul 2025 15:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=92=B1=E5=B8=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 42 +++++++++++++++++++++--------------------- components/visitorInfo.vue | 8 +++++--- pages/coinsDetail/index.vue | 29 ++++++++++------------------- pages/home/index.vue | 35 ++++++++++++++++++----------------- 4 files changed, 54 insertions(+), 60 deletions(-) diff --git a/App.vue b/App.vue index 36ba049..504784c 100644 --- a/App.vue +++ b/App.vue @@ -84,30 +84,30 @@ } if(!did){ - var doctor_id = uni.getStorageSync(this.globalData.doctoridStorageKey) - if(doctor_id){ - this.globalData.doctorId = doctor_id - }else{ + // var doctor_id = uni.getStorageSync(this.globalData.doctoridStorageKey) + // if(doctor_id){ + // this.globalData.doctorId = doctor_id + // }else{ - // #ifdef H5 - document.getElementsByTagName('body')[0].innerHTML = "" - setTimeout(function(){ - alert('请扫描二维码或点击分享网站链接进入'); - }, 500) - // #endif + // // #ifdef H5 + // document.getElementsByTagName('body')[0].innerHTML = "" + // setTimeout(function(){ + // alert('请扫描二维码或点击分享网站链接进入'); + // }, 500) + // // #endif - // #ifdef MP-WEIXIN - // uni.showModal({ - // title: '请扫描小程序二维码或点击小程序链接进入', - // content: '', - // showCancel: false, - // success: ({ confirm, cancel }) => {} - // }) - uni.reLaunch({ url: '/pages/explain/explain' }) - throw new Error('请扫描小程序二维码或点击小程序链接进入') - // #endif + // // #ifdef MP-WEIXIN + // // uni.showModal({ + // // title: '请扫描小程序二维码或点击小程序链接进入', + // // content: '', + // // showCancel: false, + // // success: ({ confirm, cancel }) => {} + // // }) + // // uni.reLaunch({ url: '/pages/explain/explain' }) + // throw new Error('请扫描小程序二维码或点击小程序链接进入') + // // #endif - } + // } }else{ this.globalData.doctorId = did uni.setStorageSync(this.globalData.doctoridStorageKey, did) diff --git a/components/visitorInfo.vue b/components/visitorInfo.vue index d17e0b8..1a911de 100644 --- a/components/visitorInfo.vue +++ b/components/visitorInfo.vue @@ -4,13 +4,15 @@ {{ visitorInfo.coin_name }} - {{ visitorInfo.year }}年 + {{ visitorInfo.year }} {{ descObj[visitorInfo.status] }} {{ visitorInfo.ancient_coin_status_desc }} - - 板式:{{ visitorInfo.format }} + + + 板式:{{ visitorInfo.format }} + {{ visitorInfo.operate_time }} diff --git a/pages/coinsDetail/index.vue b/pages/coinsDetail/index.vue index 88baf7f..4cf4f44 100644 --- a/pages/coinsDetail/index.vue +++ b/pages/coinsDetail/index.vue @@ -1,15 +1,18 @@