diff --git a/employee-app/health-consult/consult-notice-dialog.html b/employee-app/health-consult/consult-notice-dialog.html index ff74386..35722df 100644 --- a/employee-app/health-consult/consult-notice-dialog.html +++ b/employee-app/health-consult/consult-notice-dialog.html @@ -103,10 +103,9 @@ + diff --git a/employee-app/health-consult/rate-dialog.html b/employee-app/health-consult/rate-dialog.html index e246846..8f92fcd 100644 --- a/employee-app/health-consult/rate-dialog.html +++ b/employee-app/health-consult/rate-dialog.html @@ -111,9 +111,9 @@ } } - /** 取消 - 关闭弹窗 */ + /** 取消 - 返回上一页 */ function handleCancel() { - document.getElementById('modalOverlay').style.display = 'none'; + history.back(); } /** 提交评价 */ diff --git a/employee-app/health-consult/rate-doctor.html b/employee-app/health-consult/rate-doctor.html index e9015b8..968a24f 100644 --- a/employee-app/health-consult/rate-doctor.html +++ b/employee-app/health-consult/rate-doctor.html @@ -160,15 +160,7 @@ * 返回上一页:读取 ?from 参数决定目标页 */ function goBack() { - var params = new URLSearchParams(window.location.search); - var from = params.get('from'); - if (from === 'text-chat') { - window.location.href = 'text-chat.html'; - } else if (history.length > 1) { - history.back(); - } else { - window.location.href = 'my-records.html'; - } + window.location.href = 'my-records.html'; } diff --git a/employee-app/health-consult/select-person-dialog.html b/employee-app/health-consult/select-person-dialog.html index 75cc2eb..e4da74d 100644 --- a/employee-app/health-consult/select-person-dialog.html +++ b/employee-app/health-consult/select-person-dialog.html @@ -175,9 +175,9 @@ diff --git a/employee-app/health-consult/video-success.html b/employee-app/health-consult/video-success.html index b273a6a..32d66e7 100644 --- a/employee-app/health-consult/video-success.html +++ b/employee-app/health-consult/video-success.html @@ -27,9 +27,10 @@ /* 导航栏 */ .nav-bar { height: 44px; display: flex; align-items: center; justify-content: center; - background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; + background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; position: relative; } .nav-title { font-size: 17px; font-weight: 600; color: #1a1a1a; } + .nav-back { position: absolute; left: 16px; font-size: 22px; color: #333; text-decoration: none; cursor: pointer; } /* 内容区 */ .content { flex: 1; overflow-y: auto; padding: 32px 20px 20px; } .content::-webkit-scrollbar { display: none; } @@ -72,6 +73,7 @@