From ffa1da742f88f6ca88cc85ba4e67de42f298fc3c Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 6 Aug 2024 10:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A2=9C=E8=89=B2=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- src/assets/style/style.css | 23 ++- src/assets/style/style.less | 24 ++- src/component/Administrator/allUser.vue | 26 +-- .../Administrator/allUserPoerations.vue | 29 ++-- .../Administrator/recentActiveUser.vue | 20 ++- src/component/Administrator/recentNewUser.vue | 160 ++++++++++-------- src/component/Detail/DesignDetailAlter.vue | 3 +- src/component/HomePage/ColorboardUpload.vue | 3 +- src/views/Administrator.vue | 2 +- src/views/HomeMain.vue | 1 + 11 files changed, 185 insertions(+), 108 deletions(-) diff --git a/.env.dev b/.env.dev index 7cb5aaab..c8f7d099 100644 --- a/.env.dev +++ b/.env.dev @@ -6,6 +6,6 @@ NODE_ENV = 'development' VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk' # VUE_APP_BASE_URL = 'https://api.aida.com.hk' # 佩佩 -# VUE_APP_BASE_URL = 'http://192.168.1.7:5567' +VUE_APP_BASE_URL = 'http://192.168.1.7:5567' # 海波 # VUE_APP_BASE_URL = 'http://192.168.1.9:5567' diff --git a/src/assets/style/style.css b/src/assets/style/style.css index 889c3a88..9fa92746 100644 --- a/src/assets/style/style.css +++ b/src/assets/style/style.css @@ -1096,7 +1096,7 @@ li { margin-right: 15px; flex-shrink: 0; display: block; - width: 100px; + width: 10rem; text-align: right; } .admin_page .admin_state_item > input { @@ -1144,13 +1144,13 @@ li { .admin_page .admin_table_search .admin_state_list .admin_state_list_item { cursor: pointer; width: auto; - border-radius: 1rem; - padding: 1rem 2rem; + border-radius: 10px; + padding: 5px 10px; border: 1px solid #b6b6b6; background: #39215b; color: #fff; - margin: 0 2rem 2rem 0; - font-size: 1.8rem; + margin: 0 10px 10px 0; + font-size: 1.4rem; font-weight: 600; } .admin_page .admin_table_search .admin_state_list .admin_state_list_item:last-child { @@ -1209,6 +1209,19 @@ li { .admin_page .admin_table_content .ant-table-body::-webkit-scrollbar { width: 0 !important; } +.admin_page .admin_table_content .ant-table-body::-webkit-scrollbar-horizontal { + height: 2px !important; + width: 2px !important; +} +.admin_page .admin_table_content .ant-table-body::-webkit-scrollbar-thumb:horizontal { + background-color: #8a8a8a; + /* 水平滚动条手柄颜色 */ + border-radius: 5px; +} +.admin_page .admin_table_content .ant-table-body::-webkit-scrollbar-track:horizontal { + background-color: #f1f1f1; + /* 水平滚动条轨道颜色 */ +} .admin_page .admin_table_content .ant-table-thead > tr > th { background: #ffffff; border-bottom: none; diff --git a/src/assets/style/style.less b/src/assets/style/style.less index 12b60c28..6cb95d9c 100644 --- a/src/assets/style/style.less +++ b/src/assets/style/style.less @@ -1224,7 +1224,8 @@ input:focus{ flex-shrink: 0; display: block; // min-width: 20%; - width: 100px; + // width: 100px; + width: 10rem; text-align: right; } >input{ @@ -1273,13 +1274,13 @@ input:focus{ .admin_state_list_item{ cursor: pointer; width: auto; - border-radius: 1rem; - padding: 1rem 2rem; + border-radius: 10px; + padding: 5px 10px; border: 1px solid #b6b6b6; background: #39215b; color: #fff; - margin: 0 2rem 2rem 0; - font-size: 1.8rem; + margin: 0 10px 10px 0; + font-size: 1.4rem; font-weight: 600; } .admin_state_list_item:last-child{ @@ -1339,10 +1340,21 @@ input:focus{ overflow-y: auto !important; -ms-overflow-style: none; overflow: -moz-scrollbars-none; - &::-webkit-scrollbar { width: 0 !important; } + &::-webkit-scrollbar-horizontal { + height: 2px !important; + width: 2px !important; + } + &::-webkit-scrollbar-thumb:horizontal { + background-color: #8a8a8a; /* 水平滚动条手柄颜色 */ + border-radius: 5px; + } + + &::-webkit-scrollbar-track:horizontal { + background-color: #f1f1f1; /* 水平滚动条轨道颜色 */ + } } .ant-table-thead > tr > th { background: #ffffff; diff --git a/src/component/Administrator/allUser.vue b/src/component/Administrator/allUser.vue index ea8e96b6..0433e8ab 100644 --- a/src/component/Administrator/allUser.vue +++ b/src/component/Administrator/allUser.vue @@ -187,17 +187,21 @@ export default defineComponent({ value: "", }, { - label: "visitor", - value: "1", - }, - { - label: "trial", - value: "2", - }, - { - label: "official", - value: "3", - }, + label:'visitor', + value:'0', + }, + { + label:'yearly', + value:'1', + }, + { + label:'monthly', + value:'2', + }, + { + label:'trial', + value:'3', + }, { label: "userInEvent", value: "4", diff --git a/src/component/Administrator/allUserPoerations.vue b/src/component/Administrator/allUserPoerations.vue index 1f49e3e6..c610b4c4 100644 --- a/src/component/Administrator/allUserPoerations.vue +++ b/src/component/Administrator/allUserPoerations.vue @@ -21,7 +21,7 @@
- User Name: + User Name:
- User Email: + User Email:
- Create Time: + Create Time: