From 0b0f71c6ae522317dcb7a97ea6dc2afe343a1f38 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Mon, 16 Jun 2025 18:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E7=94=9F=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 12 +- src/style/theme/common.scss | 9 + src/views/HomeView.vue | 458 ++++++++++++++++++++++++++++++++------------ 3 files changed, 359 insertions(+), 120 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 6d90d26..a607877 100755 --- a/src/store/index.js +++ b/src/store/index.js @@ -132,9 +132,16 @@ export default new Vuex.Store({ } ] } - ] + ], + pageName:'医生管理' + }, actions: { + SET_PAGENAME({ + commit + }) { + commit('SET_PAGENAME'); + }, SET_HEADER({ commit }) { @@ -199,6 +206,9 @@ export default new Vuex.Store({ SET_PAGETITLE(state, title) { state.pageTitle = title; }, + SET_PAGENAME(state, name) { + state.pageName = name; + }, SET_ADDSERVICELIST(state, list) { state.addServiceList = list; } diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss index 4449eaf..c33a5f6 100644 --- a/src/style/theme/common.scss +++ b/src/style/theme/common.scss @@ -13,6 +13,15 @@ body { padding: 0; } } +.pageTitle{ + font-family: Microsoft YaHei UI; + font-size: 14px; + font-weight: bold; + line-height: normal; + letter-spacing: 0.08em; + color: #1E2226; + text-align: left; +} /* 隐藏全局滚动条 */ ::-webkit-scrollbar { display: none; diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index e071484..16ab419 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -3,42 +3,89 @@
医生列表