style: global static.less (#33)

This commit is contained in:
dagongren
2024-04-12 15:27:12 +08:00
committed by GitHub
parent 273f7dad8f
commit 2e849f7921
22 changed files with 16 additions and 26 deletions

View File

@@ -42,9 +42,11 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"snabbdom": "^3.5.1", "snabbdom": "^3.5.1",
"sortablejs": "1.9.0", "sortablejs": "1.9.0",
"style-resources-loader": "^1.5.0",
"viser-vue": "^2.3.3", "viser-vue": "^2.3.3",
"vue": "2.6.11", "vue": "2.6.11",
"vue-clipboard2": "^0.2.1", "vue-clipboard2": "^0.2.1",
"vue-cli-plugin-style-resources-loader": "^0.1.5",
"vue-codemirror": "^4.0.6", "vue-codemirror": "^4.0.6",
"vue-cropper": "^0.5.8", "vue-cropper": "^0.5.8",
"vue-grid-layout": "2.3.12", "vue-grid-layout": "2.3.12",

View File

@@ -73,7 +73,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.custom-drawer-close { .custom-drawer-close {
position: absolute; position: absolute;

View File

@@ -230,7 +230,6 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
@import '~@/style/static.less';
.employee-transfer { .employee-transfer {
width: 100%; width: 100%;
.vue-treeselect__multi-value-item-container { .vue-treeselect__multi-value-item-container {
@@ -263,7 +262,6 @@ export default {
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.employee-transfer { .employee-transfer {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@@ -126,7 +126,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.role-transfer { .role-transfer {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@@ -52,7 +52,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.two-column-layout { .two-column-layout {
margin-bottom: -24px; margin-bottom: -24px;

View File

@@ -280,7 +280,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.chart-time-display-time { .chart-time-display-time {
.ops_display_wrapper(#fff); .ops_display_wrapper(#fff);
} }

View File

@@ -96,7 +96,6 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
@import '~@/style/static.less';
.color { .color {
color: #custom_colors[color_1]; color: #custom_colors[color_1];
background-color: #custom_colors[color_2]; background-color: #custom_colors[color_2];

View File

@@ -384,7 +384,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
@import '../../../style/index.less'; @import '../../../style/index.less';
.asset-list-sidebar-header { .asset-list-sidebar-header {
font-size: 14px; font-size: 14px;

View File

@@ -437,7 +437,6 @@ export default {
} }
</style> </style>
<style lang="less"> <style lang="less">
@import '~@/style/static.less';
.asset-create-node-container { .asset-create-node-container {
.ant-form-item { .ant-form-item {
margin-bottom: 8px; margin-bottom: 8px;

View File

@@ -62,7 +62,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.dashboard-timeradio-item { .dashboard-timeradio-item {
cursor: pointer; cursor: pointer;
padding: 5px 10px; padding: 5px 10px;

View File

@@ -62,7 +62,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.user-rank { .user-rank {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@@ -137,7 +137,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.oneterm-workstation { .oneterm-workstation {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@@ -284,7 +284,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.notice-center-left { .notice-center-left {
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);

View File

@@ -331,7 +331,7 @@ export default {
.ops-setting-companyinfo { .ops-setting-companyinfo {
padding-top: 15px; padding-top: 15px;
background-color: #fff; background-color: #fff;
border-radius: 15px; border-radius: @border-radius-box;
overflow: auto; overflow: auto;
margin-bottom: -24px; margin-bottom: -24px;
.ops-setting-companyinfo-upload-show { .ops-setting-companyinfo-upload-show {

View File

@@ -155,7 +155,6 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
@import '~@/style/static.less';
ul, ul,
li { li {
list-style: none; list-style: none;

View File

@@ -862,14 +862,13 @@ export default {
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.ops-setting-structure { .ops-setting-structure {
margin-bottom: -24px; margin-bottom: -24px;
width: 100%; width: 100%;
.ops-setting-structure-sidebar { .ops-setting-structure-sidebar {
height: 100%; height: 100%;
padding: 15px; padding: 15px;
border-radius: 15px; border-radius: @border-radius-box;
overflow-y: hidden; overflow-y: hidden;
&:hover { &:hover {
overflow-y: overlay; overflow-y: overlay;
@@ -1026,7 +1025,7 @@ export default {
padding: 12px; padding: 12px;
background-color: #fff; background-color: #fff;
overflow-y: auto; overflow-y: auto;
border-radius: 15px; border-radius: @border-radius-box;
.ops-setting-structure-main-controller { .ops-setting-structure-main-controller {
// height: 70px; // height: 70px;
margin-bottom: 12px; margin-bottom: 12px;

View File

@@ -64,7 +64,6 @@ name: 'SearchForm',
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.search-form-bar-filter { .search-form-bar-filter {
background-color: rgb(240, 245, 255); background-color: rgb(240, 245, 255);
.ops_display_wrapper(); .ops_display_wrapper();

View File

@@ -137,7 +137,7 @@ export default {
padding-top: 15px; padding-top: 15px;
overflow: auto; overflow: auto;
margin-bottom: -24px; margin-bottom: -24px;
border-radius: 15px; border-radius: @border-radius-box;
.notice-dingding-wrapper-tips { .notice-dingding-wrapper-tips {
display: inline-block; display: inline-block;
background-color: #ffdfdf; background-color: #ffdfdf;

View File

@@ -117,7 +117,7 @@ export default {
padding-top: 15px; padding-top: 15px;
overflow: auto; overflow: auto;
margin-bottom: -24px; margin-bottom: -24px;
border-radius: 15px; border-radius: @border-radius-box;
.notice-feishu-wrapper-tips { .notice-feishu-wrapper-tips {
display: inline-block; display: inline-block;
background-color: #ffdfdf; background-color: #ffdfdf;

View File

@@ -138,7 +138,7 @@ export default {
padding-top: 15px; padding-top: 15px;
overflow: auto; overflow: auto;
margin-bottom: -24px; margin-bottom: -24px;
border-radius: 15px; border-radius: @border-radius-box;
.notice-wx-wrapper-tips { .notice-wx-wrapper-tips {
display: inline-block; display: inline-block;
background-color: #ffdfdf; background-color: #ffdfdf;

View File

@@ -354,7 +354,6 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/style/static.less';
.setting-person { .setting-person {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -363,7 +362,7 @@ export default {
height: 400px; height: 400px;
margin-right: 24px; margin-right: 24px;
background-color: #fff; background-color: #fff;
border-radius: 15px; border-radius: @border-radius-box;
padding-top: 15px; padding-top: 15px;
.setting-person-left-item { .setting-person-left-item {
cursor: pointer; cursor: pointer;
@@ -388,7 +387,7 @@ export default {
width: 800px; width: 800px;
height: 700px; height: 700px;
background-color: #fff; background-color: #fff;
border-radius: 15px; border-radius: @border-radius-box;
padding: 24px 48px; padding: 24px 48px;
.setting-person-right-disabled { .setting-person-right-disabled {
background-color: #custom_colors[color_2]; background-color: #custom_colors[color_2];

View File

@@ -92,7 +92,12 @@ module.exports = {
} }
} }
}, },
pluginOptions: {
'style-resources-loader': {
preProcessor: 'less',
patterns: [path.resolve(__dirname, './src/style/static.less')]
}
},
devServer: { devServer: {
disableHostCheck: true, disableHostCheck: true,
port: process.env.DEV_PORT || 8000 port: process.env.DEV_PORT || 8000