diff --git a/src/assets/img/phone.png b/src/assets/img/phone.png
new file mode 100644
index 0000000..06aa31b
Binary files /dev/null and b/src/assets/img/phone.png differ
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;