From 17f94782330c52a1e4b7f4e80221a8da070bab56 Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Tue, 14 Oct 2025 14:45:13 +0800 Subject: [PATCH] =?UTF-8?q?update=201.=E4=BF=AE=E6=94=B9=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=AE=89=E7=9C=BC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/phone.png | Bin 0 -> 2553 bytes .../HealthConsultationIndex.vue | 21 ++++++++++++++++-- src/views/homePage.vue | 13 ++++++++++- src/views/indexSun.vue | 15 +++++++++++-- 4 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 src/assets/img/phone.png diff --git a/src/assets/img/phone.png b/src/assets/img/phone.png new file mode 100644 index 0000000000000000000000000000000000000000..06aa31b956bd8fbeb255ee418bce0839f421c175 GIT binary patch literal 2553 zcmVbIk%mA&%5v4du|ysQ1NeQXlM{j1Y3bU z!7OkamU=XDA41r6)VPF@q4cHL)K!P%>GsP|7`u}CPxOB;ydF<>i{&H+CIDP2uqEwDTd-Vs~_ULstI$U6ic z1xJ82Df9)f4|oj(eFR|-Fq?LahnJ#K2BOfXcnlgHI6epudJthdunG-37rco)VnWY+ z@COuq1^7n13J>}k!nL$%GQ1;|G7v3?f=xis5W+O@bsBOwFifyoLhn4VBU&})Zg|jV z5w5_<_27k6Xdns}181YbZv&Q*uiko8d;mzFY?j!MKkD(b_y)R<2k|h+A)ikBwt%;# zLIWvvI`G?qW#lXQT`F|W$|6SVk2>E3j=q~W)wv%=ezPgA9&BqMh4v=bPeITX2$QMA zsR8l5A?iPtn$tH*@8=rYn>+C28c60Jqr|}jmeKS4uaENi@b?29Nh5v_;&ojV`8?Xa z6ug023?!4o@tNd``DP*V4>0a&ct@hVZd;4qjs?5OKwB09=i%LwViS-ZabfRLUPGK{ z!#KT*4N-RcyG8OP4AU2Nw7r8IcN5lQLF^yVuD_!FI1sc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%-&EkDBPJo5yc-f@IJt=XoFkxF*my4UW0bGoIvLqNMTn6E_*Ilu0gND z`zg!T!tV*=A$uK67clDgR@6!u=l2_Nb>7y%S`M#Jxw%^l4tTif)kwdWh#M7-VT%AS zAT)1(OvAWa+BKrkKnlJJ+!aeFT3w9@WK7=_mv-N$O*fI&kxCh;78H7Q!}}?| zE*BV=z*V#dkX~XvkjAY7KANN#isbbg^mzC-z+Q2J_xRiUFHzR%%T23Ev?X^yiHs>P zZD15a`COoD)c&EmR+M6BvrCuH&OP#ziY##5%O{Ko(hgr{9B=l^cN~v@Ku)!-37G7Ar6S;dD zF5y9`S3O+MYj@#xSa*&m)BqLADhy#oLM|Nq^9GwlEX00v1!K~w_(%4rnBvryq` P00000NkvXXu0mjfKTgNY literal 0 HcmV?d00001 diff --git a/src/views/healthConsultation/HealthConsultationIndex.vue b/src/views/healthConsultation/HealthConsultationIndex.vue index 0597a49..d35df88 100644 --- a/src/views/healthConsultation/HealthConsultationIndex.vue +++ b/src/views/healthConsultation/HealthConsultationIndex.vue @@ -6,7 +6,9 @@
健康咨询平台
- +
+ 7*24小时心里咨询热线:
400 6506605
+
@@ -33,6 +35,7 @@ import healthContentBottomItem2 from './components/healthContentBottomItem2.vue'; import healthContentBottomItem3 from './components/healthContentBottomItem3.vue'; import healthContentBottomItem4 from './components/healthContentBottomItem4.vue'; + import phonePng from '/@/assets/img/phone.png'; import { ref, onMounted, watch, onUnmounted } from 'vue'; import dayjs from 'dayjs'; @@ -119,9 +122,23 @@ .sun-title-right { flex: 1; + font-weight: bold; text-align: right; - line-height: 50px; + line-height: 60px; padding-right: 30px; + + > div { + > div { + color: #45ffa1; + font-family: MicrosoftYaHei-Bold; + } + } + + img { + width: 28px; + height: 28px; + margin-right: 10px; + } } .sun-title-center { diff --git a/src/views/homePage.vue b/src/views/homePage.vue index 54f745a..2b0c863 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -109,7 +109,18 @@ queryAnYanTokenApi() .then((res: any) => { if (res.code === 200) { - window.open('http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=' + res?.result, '_blank'); + // res.result = { + // scope: 'default', + // expires_in: 3348, + // token_type: 'bearer', + // access_token: '2a643081-b661-4f44-bc36-6bc91addde3a', + // refresh_token: 'e0a91714-59aa-4311-bb6c-ca3a48f20dd1', + // satoken: '9a493672-36e0-4539-9a74-650e95cefc87', + // }; + window.open( + `http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=${res?.result?.access_token}&expires_in=${res?.result?.expires_in}&refresh_token=${res?.result?.refresh_token}&satoken=${res?.result?.satoken}`, + '_blank' + ); } else { message.error(res?.message); } diff --git a/src/views/indexSun.vue b/src/views/indexSun.vue index eed89c4..640ed05 100644 --- a/src/views/indexSun.vue +++ b/src/views/indexSun.vue @@ -245,11 +245,22 @@ queryAnYanTokenApi() .then((res: any) => { if (res.code === 200) { - otherLoading.value = false; - window.open('http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=' + res?.result, '_blank'); + // res.result = { + // scope: 'default', + // expires_in: 3348, + // token_type: 'bearer', + // access_token: '2a643081-b661-4f44-bc36-6bc91addde3a', + // refresh_token: 'e0a91714-59aa-4311-bb6c-ca3a48f20dd1', + // satoken: '9a493672-36e0-4539-9a74-650e95cefc87', + // }; + window.open( + `http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=${res?.result?.access_token}&expires_in=${res?.result?.expires_in}&refresh_token=${res?.result?.refresh_token}&satoken=${res?.result?.satoken}`, + '_blank' + ); } else { message.error(res?.message); } + otherLoading.value = false; }) .catch((err) => { otherLoading.value = false;