Commit 7dad7c14 by 杨北旺

修改滚动条样式

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