dashboard
repositories
filestore
activity
search
login
甘晶君
/
jiaotongdaxue
北京交通大学驾驶舱
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix: 修复el-scrollbar滑动问题
Gary Gu
8 days ago
4f759039c251fea61591a9bf7836d2c8b8993c0a
[~ganjingjun/jiaotongdaxue.git]
/
src
/
components
/
Warning.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<template>
<div class="warning-bg">
<slot></slot>
</div>
</template>
<script>
export default {
name: "Warning",
};
</script>
<style>
.warning-bg {
@apply h-10;
background: url("../assets/images/warning-bg.png") no-repeat left center / cover,
linear-gradient(to right, hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 0%, 0.3)) no-repeat left center / cover hsla(0, 0%, 0%, 0.6);
height: 32px;
}
</style>