From a5e490fbe5dd6f253bd81d80e141fef0c0df2cae Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 28 十一月 2022 11:47:28 +0800
Subject: [PATCH] fix: 修改右上角密码修改
---
src/App.vue | 50 +++++++++++++++++++++++++++++++++-----------------
1 files changed, 33 insertions(+), 17 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 51fb81c..5974d0d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,12 +4,11 @@
</div>
</template>
<script>
-
export default {
data() {
return {
- mytitle: '',
- }
+ mytitle: "",
+ };
},
async created() {
const imgObj = await this.getIcon();
@@ -17,11 +16,14 @@
},
methods: {
changIcon(obj) {
- var link = document.querySelector("link [rel*='icon']") || document.createElement("link");
- var title = document.querySelector("title") || document.createElement("title");
+ var link =
+ document.querySelector("link [rel*='icon']") ||
+ document.createElement("link");
+ var title =
+ document.querySelector("title") || document.createElement("title");
link.type = "image/x-icon";
link.rel = "shortcut icon";
- link.href = obj.chromeLinkUrl; //icon鍥炬爣
+ link.href = obj.chromeLinkUrl; //icon鍥炬爣
title.innerHTML = obj.title;
document.getElementsByTagName("head")[0].appendChild(link);
document.getElementsByTagName("head")[0].appendChild(title);
@@ -29,21 +31,21 @@
// 鑾峰彇icon
async getIcon() {
let result;
- const pic = JSON.parse(sessionStorage.getItem('pic'));
+ const pic = JSON.parse(sessionStorage.getItem("pic"));
if (pic) {
result = pic;
} else {
await this.$axios({
- method: 'get',
- url: 'sccg/system/portal/logo/search',
- }).then(res => {
+ method: "get",
+ url: "sccg/system/portal/logo/search",
+ }).then((res) => {
result = res.data;
- sessionStorage.setItem('pic', JSON.stringify(result));
- })
+ sessionStorage.setItem("pic", JSON.stringify(result));
+ });
}
return result;
},
- }
+ },
};
</script>
<style lang="scss">
@@ -71,9 +73,9 @@
color: #4b9bb7 !important;
}
-.el-tree-node:focus>.el-tree-node__content {
+.el-tree-node:focus > .el-tree-node__content {
background-color: #070f22 !important;
- color: #4b9bb7
+ color: #4b9bb7;
}
/*瀹氫箟婊氬姩鏉¢珮瀹藉強鑳屾櫙
@@ -96,7 +98,7 @@
鍐呴槾褰�+鍦嗚*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #555;
}
@@ -155,9 +157,23 @@
background-color: #09152f;
border: 1px solid #17324c;
}
- .el-textarea__inner{
+ .el-textarea__inner {
background-color: #09152f;
border: 1px solid #17324c;
}
}
+.el-table__body-wrapper::-webkit-scrollbar {
+ width: 8px; /*婊氬姩鏉″搴�*/
+ height: 8px; /*婊氬姩鏉¢珮搴�*/
+}
+.el-table__body-wrapper::-webkit-scrollbar-track {
+ border-radius: 10px; /*婊氬姩鏉$殑鑳屾櫙鍖哄煙鐨勫渾瑙�*/
+ -webkit-box-shadow: inset 0 0 6px rgba(238, 238, 238, 0.3);
+ background-color: #eeeeee; /*婊氬姩鏉$殑鑳屾櫙棰滆壊*/
+}
+.el-table__body-wrapper::-webkit-scrollbar-thumb {
+ border-radius: 10px; /*婊氬姩鏉$殑鍦嗚*/
+ -webkit-box-shadow: inset 0 0 6px rgba(145, 143, 0143, 0.3);
+ background-color: rgb(145, 143, 143); /*婊氬姩鏉$殑鑳屾櫙棰滆壊*/
+}
</style>
\ No newline at end of file
--
Gitblit v1.8.0