|
@@ -70,56 +70,55 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang="sass" scoped>
|
|
|
-#app
|
|
|
- width: 100%
|
|
|
- height: 100%
|
|
|
-
|
|
|
-#mychart
|
|
|
- height: 500px
|
|
|
- width: 500px
|
|
|
-
|
|
|
-.el-header
|
|
|
- position: sticky
|
|
|
- top: 0
|
|
|
- z-index: 999
|
|
|
-
|
|
|
-.el-footer
|
|
|
- background-color: rgb(84, 92, 100)
|
|
|
- color: aliceblue
|
|
|
- position: fixed
|
|
|
- bottom: 0
|
|
|
- width: 100%
|
|
|
- z-index: 999
|
|
|
- text-align: center
|
|
|
- line-height: 60px
|
|
|
+<style lang="scss" scoped>
|
|
|
+#app {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+#mychart {
|
|
|
+ height: 500px;
|
|
|
+ width: 500px;
|
|
|
+}
|
|
|
+.el-header {
|
|
|
+ position: sticky;
|
|
|
+ top: 0;
|
|
|
+ z-index: 999;
|
|
|
+}
|
|
|
+.el-footer {
|
|
|
+ background-color: rgb(84, 92, 100);
|
|
|
+ color: aliceblue;
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ z-index: 999;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 60px;
|
|
|
+}
|
|
|
</style>
|
|
|
-<style lang="sass">
|
|
|
+<style lang="scss">
|
|
|
body,
|
|
|
.el-header,
|
|
|
.el-main,
|
|
|
-.el-footer
|
|
|
- margin: 0 !important
|
|
|
- padding: 0 !important
|
|
|
- height: 100%
|
|
|
-
|
|
|
-::-webkit-scrollbar
|
|
|
-
|
|
|
- width: 6px
|
|
|
- height: 6px
|
|
|
- background-color: #F5F5F5
|
|
|
-
|
|
|
+.el-footer {
|
|
|
+ margin: 0 !important;
|
|
|
+ padding: 0 !important;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+::-webkit-scrollbar {
|
|
|
+ width: 6px;
|
|
|
+ height: 6px;
|
|
|
+ background-color: #f5f5f5;
|
|
|
+}
|
|
|
/*定义滚动条轨道 内阴影+圆角*/
|
|
|
-::-webkit-scrollbar-track
|
|
|
-
|
|
|
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3)
|
|
|
- border-radius: 10px
|
|
|
- background-color: #F5F5F5
|
|
|
-
|
|
|
+::-webkit-scrollbar-track {
|
|
|
+ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
|
+ border-radius: 10px;
|
|
|
+ background-color: #f5f5f5;
|
|
|
+}
|
|
|
/*定义滑块 内阴影+圆角*/
|
|
|
-::-webkit-scrollbar-thumb
|
|
|
-
|
|
|
- border-radius: 10px
|
|
|
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3)
|
|
|
- background-color: #555
|
|
|
+::-webkit-scrollbar-thumb {
|
|
|
+ border-radius: 10px;
|
|
|
+ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
|
+ background-color: #555;
|
|
|
+}
|
|
|
</style>
|