Commit 7dad7c14 by 杨北旺

修改滚动条样式

1 parent 14fcbff7
......@@ -175,8 +175,10 @@ export default {
overflow-x: hidden;
}
.bloc-info-module /deep/ .el-table__body-wrapper::-webkit-scrollbar {
display: none;
height: 1px;
width: 8px;
}
.bloc-info-module /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
background: #E9E8FF;
border-radius: 7px;
}
......
......@@ -42,7 +42,6 @@ export default {
}
},
created() {
console.log(this.$globalState)
const { session } = this.$globalState
this.platform = session.merchantModel
this.loginInfo = session
......@@ -63,16 +62,16 @@ export default {
})
},
dateFormat: function (dateTime, format = 'yyyy-MM-dd') {
const date = new Date(dateTime)
const config = {
const date = new Date(dateTime)
const config = {
YYYY: date.getFullYear(),
MM: date.getMonth()+1,//getMonth() 方法根据本地时间返回指定日期的月份(从 0 到 11)
MM: date.getMonth() + 1, //getMonth() 方法根据本地时间返回指定日期的月份(从 0 到 11)
DD: date.getDate(),
HH: date.getHours(),
mm: date.getMinutes(),
ss: date.getSeconds(),
ss: date.getSeconds()
}
for(const key in config){
for (const key in config) {
format = format.replace(key, config[key])
}
return format
......@@ -81,7 +80,7 @@ export default {
}
</script>
<style lang="scss" scoped>
.out_main{
.out_main {
box-sizing: border-box;
padding: 0 20px 64px 40px;
}
......@@ -94,8 +93,12 @@ export default {
overflow-y: scroll;
}
.base-info-index::-webkit-scrollbar {
display: none;
width: 0px;
height: 1px;
width: 8px;
}
.base-info-index::-webkit-scrollbar-thumb {
background: #e9e8ff;
border-radius: 7px;
}
.top_widget {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!