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 @@

医生列表

-
+
- 全选 + 全选
共{{ totalNum }}条,已选{{ selectNum }}条 - 批量禁用 - 批量启用 + 批量禁用 + + 批量启用
-
+
搜索医生 - + 新增医生
-
-
-
- - - 张虎 - 13788990987 - - - 编辑 -
-
- 添加医院 +
+
+
+ + + {{ item.name }} + {{ item.phone }} + + + 编辑 +
+
+ 添加医院 +
+
+ + + + + + + + + -
- - + + + + + + + + + + + + +
@@ -46,7 +93,7 @@
\ No newline at end of file