style: 个人信息
Showing
2 changed files
with
47 additions
and
32 deletions
... | @@ -72,7 +72,9 @@ | ... | @@ -72,7 +72,9 @@ |
72 | &:hover { | 72 | &:hover { |
73 | color: $subMenuActiveText !important; | 73 | color: $subMenuActiveText !important; |
74 | @include font_color("submenuColor"); | 74 | @include font_color("submenuColor"); |
75 | border-right: 5px solid #36CEB6; | ||
75 | @include background_color("submenuBg"); | 76 | @include background_color("submenuBg"); |
77 | box-sizing: border-box; | ||
76 | 78 | ||
77 | .svg-icon, | 79 | .svg-icon, |
78 | i, | 80 | i, |
... | @@ -92,6 +94,8 @@ | ... | @@ -92,6 +94,8 @@ |
92 | &:hover { | 94 | &:hover { |
93 | @include font_color("submenuColor"); | 95 | @include font_color("submenuColor"); |
94 | @include background_color("submenuBg"); | 96 | @include background_color("submenuBg"); |
97 | border-right: 5px solid #36CEB6; | ||
98 | box-sizing: border-box; | ||
95 | 99 | ||
96 | .svg-icon { | 100 | .svg-icon { |
97 | color: #1ea6f8 !important; | 101 | color: #1ea6f8 !important; |
... | @@ -108,7 +112,7 @@ | ... | @@ -108,7 +112,7 @@ |
108 | @include background_color("submenuBg"); | 112 | @include background_color("submenuBg"); |
109 | @include font_color("submenuColor"); | 113 | @include font_color("submenuColor"); |
110 | border-right: 5px solid #36CEB6; | 114 | border-right: 5px solid #36CEB6; |
111 | 115 | box-sizing: border-box; | |
112 | .svg-icon { | 116 | .svg-icon { |
113 | color: #1ea6f8 !important; | 117 | color: #1ea6f8 !important; |
114 | } | 118 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Author: xiaomiao 1158771342@qq.com | 2 | * @Author: xiaomiao 1158771342@qq.com |
3 | * @Date: 2023-03-09 20:54:28 | 3 | * @Date: 2023-03-09 20:54:28 |
4 | * @LastEditors: xiaomiao 1158771342@qq.com | 4 | * @LastEditors: Please set LastEditors |
5 | * @LastEditTime: 2023-03-27 14:26:49 | 5 | * @LastEditTime: 2023-03-30 11:21:49 |
6 | * @FilePath: \上报\bdcjg-web\src\views\system\information\index.vue | 6 | * @FilePath: \上报\bdcjg-web\src\views\system\information\index.vue |
7 | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | 7 | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
8 | --> | 8 | --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <div class="information from-clues"> | 10 | <div class="information from-clues"> |
11 | <div class="from-clues-header"> | 11 | <div class="from-clues-header"> |
12 | <el-form ref="ruleForm" label-width="100px"> | 12 | <el-form ref="ruleForm" label-width="100px"> |
13 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 13 | <el-form-item v-if="BASE_API.THEME == 'jg'"> |
14 | <Breadcrumb /> | 14 | <Breadcrumb /> |
15 | </el-form-item> | 15 | </el-form-item> |
16 | <el-row class="mb-5"> | 16 | <el-row class="mb-5"> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | </el-row> | 25 | </el-row> |
26 | </el-form> | 26 | </el-form> |
27 | </div> | 27 | </div> |
28 | <div class="from-clues-content boxin"> | 28 | <div class="from-clues-content"> |
29 | <div class="contentbox"> | 29 | <div class="contentbox"> |
30 | <base-set v-if="isshow" :userInfo="userData" /> | 30 | <base-set v-if="isshow" :userInfo="userData" /> |
31 | <password-edit v-if="!isshow" :userInfo="userData" /> | 31 | <password-edit v-if="!isshow" :userInfo="userData" /> |
... | @@ -34,38 +34,49 @@ | ... | @@ -34,38 +34,49 @@ |
34 | </div> | 34 | </div> |
35 | </template> | 35 | </template> |
36 | <script> | 36 | <script> |
37 | import "@/utils/flexible.js"; | 37 | import "@/utils/flexible.js"; |
38 | import BaseSet from "./base-set.vue"; | 38 | import BaseSet from "./base-set.vue"; |
39 | import PasswordEdit from "./password-edit.vue"; | 39 | import PasswordEdit from "./password-edit.vue"; |
40 | export default { | 40 | export default { |
41 | components: { | 41 | components: { |
42 | BaseSet, | 42 | BaseSet, |
43 | PasswordEdit, | 43 | PasswordEdit, |
44 | }, | ||
45 | data () { | ||
46 | return { | ||
47 | isshow: true, | ||
48 | }; | ||
49 | }, | ||
50 | computed: { | ||
51 | userData () { | ||
52 | return this.$store.state.user.userInfo; | ||
44 | }, | 53 | }, |
45 | data () { | 54 | }, |
46 | return { | 55 | watch: {}, |
47 | isshow: true, | 56 | created () { }, |
48 | }; | 57 | mounted () { }, |
58 | methods: { | ||
59 | information () { | ||
60 | this.isshow = true; | ||
49 | }, | 61 | }, |
50 | computed: { | 62 | password () { |
51 | userData () { | 63 | this.isshow = false; |
52 | return this.$store.state.user.userInfo; | ||
53 | }, | ||
54 | }, | 64 | }, |
55 | watch: {}, | 65 | }, |
56 | created () { }, | 66 | }; |
57 | mounted () { }, | ||
58 | methods: { | ||
59 | information () { | ||
60 | this.isshow = true; | ||
61 | }, | ||
62 | password () { | ||
63 | this.isshow = false; | ||
64 | }, | ||
65 | }, | ||
66 | }; | ||
67 | </script> | 67 | </script> |
68 | 68 | ||
69 | <style scoped lang="scss"> | 69 | <style scoped lang="scss"> |
70 | @import "~@/styles/mixin.scss"; | 70 | @import "~@/styles/mixin.scss"; |
71 | |||
72 | .information { | ||
73 | height: calc(100% - 58px); | ||
74 | display: flex; | ||
75 | flex-direction: column; | ||
76 | } | ||
77 | |||
78 | .from-clues-content { | ||
79 | flex: 1; | ||
80 | height: 100%; | ||
81 | } | ||
71 | </style> | 82 | </style> | ... | ... |
-
Please register or sign in to post a comment