File tree 1 file changed +18
-0
lines changed
src/layout/components/Settings
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 22
22
<span >{{ $t('settings.sidebarLogo') }}</span >
23
23
<el-switch v-model =" sidebarLogo" class =" drawer-switch" />
24
24
</div >
25
+ <a v-if =" isShowJob" href =" https://panjiachen.github.io/vue-element-admin-site/zh/job/" target =" _blank" class =" job-link" >
26
+ <el-alert
27
+ title =" 部门目前非常缺人!有兴趣的可以点击了解详情。坐标: 字节跳动"
28
+ type =" success"
29
+ :closable =" false"
30
+ />
31
+ </a >
25
32
26
33
</div >
27
34
</div >
@@ -36,6 +43,9 @@ export default {
36
43
return {}
37
44
},
38
45
computed: {
46
+ isShowJob () {
47
+ return this .$store .getters .language === ' zh'
48
+ },
39
49
fixedHeader: {
40
50
get () {
41
51
return this .$store .state .settings .fixedHeader
@@ -104,5 +114,13 @@ export default {
104
114
.drawer-switch {
105
115
float : right
106
116
}
117
+
118
+ .job-link {
119
+ display : block ;
120
+ position : absolute ;
121
+ width : 100% ;
122
+ left : 0 ;
123
+ bottom : 0 ;
124
+ }
107
125
}
108
126
</style >
You can’t perform that action at this time.
0 commit comments