diff --git a/public/index.html b/public/index.html index bbb0e73..ab44505 100644 --- a/public/index.html +++ b/public/index.html @@ -221,6 +221,16 @@ opacity: 0.5; } /* 滚动条优化 start */ + /* 火狐单独调整 */ + @-moz-document url-prefix() { + * { + /* 第一个方块颜色,第二个轨道颜色(用于更改火狐浏览器样式) */ + scrollbar-color: #647C97 transparent; + /* 火狐滚动条无法自定义宽度,只能通过此属性使滚动条宽度变细 */ + scrollbar-width: thin; + /*-ms-overflow-style: none;*/ + } + } ::-webkit-scrollbar{ width:6px; height:6px; diff --git a/src/assets/less/common.less b/src/assets/less/common.less index da0bd37..6009dec 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -111,6 +111,13 @@ .ant-table.ant-table-fixed-header .ant-table-scroll .ant-table-header { margin-right: -11px; } +// 火狐单独样式 +@-moz-document url-prefix() { + // 表格 + .ant-table.ant-table-fixed-header .ant-table-scroll .ant-table-header { + margin-right: 0; + } +} // 表头字体 .ant-table .ant-table-thead tr > th { font-family: Alimama ShuHeiTi, Alimama ShuHeiTi, sans-serif; diff --git a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue index 06f56cb..22f4326 100644 --- a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue +++ b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue @@ -14,7 +14,7 @@ placeholder="请选择所属井场"> - {{ item.wellheadName }} + {{ item.wellheadName }}