93 lines
1.8 KiB
Vue
93 lines
1.8 KiB
Vue
<template>
|
|
<div id="app">
|
|
<router-view />
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
import { windowResize } from '@/utils/index'
|
|
export default {
|
|
name: 'App',
|
|
components: {
|
|
},
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
mounted() {
|
|
this.$nextTick(() => {
|
|
windowResize()
|
|
})
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
/* aa */
|
|
@import "~@/assets/font/font.css";
|
|
/* 设置滚动条的样式 */
|
|
*::-webkit-scrollbar {
|
|
height: 4px;
|
|
/*设置横向滚动条的高度*/
|
|
width: 4px;
|
|
/*设置纵向向滚动条宽带*/
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
display: none;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* 滚动条滑块样式 */
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: #056fb9;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track-piece {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
height: 6px;
|
|
width: 6px;
|
|
background-color: transparent !important;
|
|
} /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
|
|
*::-webkit-scrollbar-track {
|
|
background-color: rgba(0, 68, 255, 0.5);
|
|
} /*定义滚动条轨道 内阴影+圆角*/
|
|
</style>
|
|
<style lang="scss" scoped>
|
|
::v-deep .item-top-new {
|
|
background-image: var(--item-header-bg) !important;
|
|
}
|
|
|
|
::v-deep #chart{
|
|
overflow: hidden;
|
|
}
|
|
::v-deep .top-left-container {
|
|
.item-wrap {
|
|
background: url(./assets/images/right-item.png) no-repeat !important;
|
|
background-size: 100% 100%!important;
|
|
}
|
|
}
|
|
|
|
::v-deep .top-left-container {
|
|
.error-item-wrap {
|
|
background: url(./assets/images/error-right-item.png) no-repeat !important;
|
|
background-size: 100% 100%!important;
|
|
}
|
|
}
|
|
|
|
::v-deep .stationData-content-box{
|
|
background: url(./assets/station-data/item-bg.png) no-repeat !important;
|
|
background-size: 100% 100%!important;
|
|
}
|
|
|
|
::v-deep .price-con-item {
|
|
background: url(./assets/images/price-bg.png) no-repeat !important;
|
|
background-size: 100% 100%!important;
|
|
}
|
|
</style>
|