Skip to content

Commit 90b6844

Browse files
committed
优化viper 样式
1 parent 18d6cc6 commit 90b6844

15 files changed

+33
-6
lines changed

Viper/wwwroot/component/anno-deploy-list.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
border
2020
stripe
2121
size="mini"
22-
max-height="459"
22+
:max-height="window.innerHeight-68"
2323
style="width: 100%">
2424
<el-table-column show-overflow-tooltip="true"
2525
type="index"

Viper/wwwroot/component/anno-role-list.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
border
2323
stripe
2424
size="mini"
25-
max-height="429"
25+
:max-height="window.innerHeight-68"
2626
style="width: 100%"
2727
>
2828
<el-table-column type="index" fixed :index="indexMethod">

Viper/wwwroot/component/anno-trace.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
stripe
1919
trigger="hover"
2020
size="mini"
21-
max-height="429"
21+
:max-height="window.innerHeight-98"
2222
style="width: 100%;"
2323
:cell-style="tableCellStyle">
2424
<el-table-column type="index"

Viper/wwwroot/css/common.css

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
::-webkit-scrollbar {
2+
height: 12px!important;
3+
width: 12px!important;
4+
}
5+
::-webkit-scrollbar-thumb {
6+
border-radius: 6px!important;
7+
border-style: dashed;
8+
background-color: #bfc7d5!important;
9+
border-color: transparent;
10+
border-width: 2px!important;
11+
background-clip: padding-box;
12+
box-shadow: none!important;
13+
}
14+
::-webkit-scrollbar-track {
15+
box-shadow: none!important;
16+
}

Viper/wwwroot/html/company/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<el-table :data="companysData"
2424
border
2525
size="mini"
26-
max-height="429"
26+
:max-height="window.innerHeight-98"
2727
style="width: 100%;">
2828
<el-table-column fixed
2929
prop="code"
@@ -92,6 +92,7 @@
9292
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
9393
<!-- 引入样式 -->
9494
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
95+
<link rel="stylesheet" href="../../css/common.css">
9596
<!-- 引入组件库 -->
9697
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
9798

Viper/wwwroot/html/component.html

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
1212
<!-- 引入样式 -->
1313
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
14+
<link rel="stylesheet" href="../css/common.css">
1415
<!-- 引入组件库 -->
1516
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
1617

Viper/wwwroot/html/component_echarts.html

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
1212
<!-- 引入样式 -->
1313
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
14+
<link rel="stylesheet" href="../css/common.css">
1415
<!-- 引入组件库 -->
1516
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
1617
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js"></script>

Viper/wwwroot/html/fconfig.html

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<script src="../js/base.js"></script>
1313
<script src="../js/scripts/fconfig.js"></script>
1414
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
15+
<link rel="stylesheet" href="../css/common.css">
1516
<title>功能配置</title>
1617
<style type="text/css">
1718
.l-tree .l-tree-icon-none img {

Viper/wwwroot/html/func_roles_config.html

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
1616
<!-- 引入样式 -->
1717
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
18+
<link rel="stylesheet" href="../css/common.css">
1819
<!-- 引入组件库 -->
1920
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
2021
<script src="../js/scripts/func_roles_config.js"></script>

Viper/wwwroot/html/mlist/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
border
2626
stripe
2727
size="mini"
28-
max-height="429"
28+
:max-height="window.innerHeight-98"
2929
style="width: 100%;">
3030
<el-table-column type="index"
3131
fixed
@@ -105,6 +105,7 @@
105105
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
106106
<!-- 引入样式 -->
107107
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
108+
<link rel="stylesheet" href="../../css/common.css">
108109
<!-- 引入组件库 -->
109110
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
110111

Viper/wwwroot/html/service/cluster_dashboard.html

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
5252
<!-- 引入样式 -->
5353
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
54+
<link rel="stylesheet" href="../../css/common.css">
5455
<!-- 引入组件库 -->
5556
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
5657

Viper/wwwroot/html/syslog/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
border
4545
stripe
4646
size="mini"
47-
max-height="429"
47+
:max-height="window.innerHeight-98"
4848
style="width: 100%;">
4949
<el-table-column type="index"
5050
fixed
@@ -120,6 +120,7 @@
120120
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
121121
<!-- 引入样式 -->
122122
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
123+
<link rel="stylesheet" href="../../css/common.css">
123124
<!-- 引入组件库 -->
124125
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
125126

Viper/wwwroot/html/trace/indexnew.html

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
2222
<!-- 引入样式 -->
2323
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
24+
<link rel="stylesheet" href="../../css/common.css">
2425
<!-- 引入组件库 -->
2526
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
2627

Viper/wwwroot/html/trace/router.html

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
1717
<!-- 引入样式 -->
1818
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
19+
<link rel="stylesheet" href="../../css/common.css">
1920
<!-- 引入组件库 -->
2021
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
2122

Viper/wwwroot/html/welcome.html

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
2323
<!-- 引入样式 -->
2424
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css">
25+
<link rel="stylesheet" href="../css/common.css">
2526
<!-- 引入组件库 -->
2627
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script>
2728
<style>

0 commit comments

Comments
 (0)