Commit 1ac154126e731dcc22c86d1b3a51259d65791fad
1 parent
a1bffa96
样式
Showing
34 changed files
with
154 additions
and
139 deletions
src/assets/styles/screen.scss
| ... | ... | @@ -440,7 +440,7 @@ li { |
| 440 | 440 | height: calc(100vh - 80px); |
| 441 | 441 | text-align: center; |
| 442 | 442 | |
| 443 | - ::v-deep.el-tabs__header { | |
| 443 | + ::v-deep .el-tabs__header { | |
| 444 | 444 | width: 30%; |
| 445 | 445 | margin-right: 0; |
| 446 | 446 | |
| ... | ... | @@ -459,7 +459,7 @@ li { |
| 459 | 459 | } |
| 460 | 460 | } |
| 461 | 461 | |
| 462 | - ::v-deep.el-tabs__content { | |
| 462 | + ::v-deep .el-tabs__content { | |
| 463 | 463 | width: 70%; |
| 464 | 464 | } |
| 465 | 465 | } |
| ... | ... | @@ -495,7 +495,7 @@ li { |
| 495 | 495 | } |
| 496 | 496 | } |
| 497 | 497 | |
| 498 | - ::v-deep.el-tabs__content { | |
| 498 | + ::v-deep .el-tabs__content { | |
| 499 | 499 | padding: 0; |
| 500 | 500 | } |
| 501 | 501 | } | ... | ... |
src/components/AnjiPlus/anji-autocomplete.vue
src/components/AnjiPlus/anji-crud/anji-crud.vue
| ... | ... | @@ -935,17 +935,17 @@ export default { |
| 935 | 935 | position: relative; |
| 936 | 936 | } |
| 937 | 937 | } |
| 938 | -::v-deep.button { | |
| 938 | +::v-deep .button { | |
| 939 | 939 | box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.08); |
| 940 | 940 | border-radius: 6px; |
| 941 | 941 | } |
| 942 | -::v-deep.el-table th > .cell { | |
| 942 | +::v-deep .el-table th > .cell { | |
| 943 | 943 | text-align: center; |
| 944 | 944 | } |
| 945 | -::v-deep.el-table .cell { | |
| 945 | +::v-deep .el-table .cell { | |
| 946 | 946 | text-align: center; |
| 947 | 947 | } |
| 948 | -::v-deep.elTable { | |
| 948 | +::v-deep .elTable { | |
| 949 | 949 | margin: 10px 0 50px; |
| 950 | 950 | } |
| 951 | 951 | .el-table { |
| ... | ... | @@ -960,7 +960,7 @@ export default { |
| 960 | 960 | height: 36px; |
| 961 | 961 | } |
| 962 | 962 | } |
| 963 | -::v-deep.el-table--striped .el-table__body tr.el-table__row--striped td { | |
| 963 | +::v-deep .el-table--striped .el-table__body tr.el-table__row--striped td { | |
| 964 | 964 | background: #f9fbfd; |
| 965 | 965 | } |
| 966 | 966 | .screenFlex { |
| ... | ... | @@ -1022,7 +1022,7 @@ export default { |
| 1022 | 1022 | &:hover { |
| 1023 | 1023 | background: none !important; |
| 1024 | 1024 | } |
| 1025 | - ::v-deep.el-button--text:hover, | |
| 1025 | + ::v-deep .el-button--text:hover, | |
| 1026 | 1026 | .el-button--text:focus { |
| 1027 | 1027 | color: #799ffc !important; |
| 1028 | 1028 | background-color: #ecf5ff !important; |
| ... | ... | @@ -1041,7 +1041,7 @@ export default { |
| 1041 | 1041 | float: right; |
| 1042 | 1042 | } |
| 1043 | 1043 | } |
| 1044 | -::v-deep.el-pagination.is-background .btn-prev, | |
| 1044 | +::v-deep .el-pagination.is-background .btn-prev, | |
| 1045 | 1045 | .el-pagination.is-background .btn-next, |
| 1046 | 1046 | .el-pagination.is-background .el-pager li { |
| 1047 | 1047 | margin: 0 5px; |
| ... | ... | @@ -1051,7 +1051,7 @@ export default { |
| 1051 | 1051 | min-width: 30px; |
| 1052 | 1052 | border-radius: 2px; |
| 1053 | 1053 | } |
| 1054 | -::v-deep.el-pagination.is-background .el-pager li:not(.disabled).active { | |
| 1054 | +::v-deep .el-pagination.is-background .el-pager li:not(.disabled).active { | |
| 1055 | 1055 | background-color: #5887fb; |
| 1056 | 1056 | color: #ffffff; |
| 1057 | 1057 | border-radius: 4px; |
| ... | ... | @@ -1074,7 +1074,7 @@ export default { |
| 1074 | 1074 | .el-table ::v-deep .bgColor { |
| 1075 | 1075 | background: #d9ecff; |
| 1076 | 1076 | } |
| 1077 | -::v-deep.edit_button { | |
| 1077 | +::v-deep .edit_button { | |
| 1078 | 1078 | width: 22px; |
| 1079 | 1079 | height: 22px; |
| 1080 | 1080 | padding: 0; | ... | ... |
src/components/AnjiPlus/anji-crud/edit.vue
| ... | ... | @@ -386,7 +386,7 @@ export default { |
| 386 | 386 | |
| 387 | 387 | <style scoped lang="scss"> |
| 388 | 388 | .notfull-screen { |
| 389 | - ::v-deep.el-dialog__body { | |
| 389 | + ::v-deep .el-dialog__body { | |
| 390 | 390 | background-color: rgb(240, 242, 245); |
| 391 | 391 | padding: 5px; |
| 392 | 392 | max-height: 60vh; |
| ... | ... | @@ -394,7 +394,7 @@ export default { |
| 394 | 394 | } |
| 395 | 395 | } |
| 396 | 396 | .full-screen { |
| 397 | - ::v-deep.el-dialog__body { | |
| 397 | + ::v-deep .el-dialog__body { | |
| 398 | 398 | background-color: rgb(240, 242, 245); |
| 399 | 399 | padding: 5px; |
| 400 | 400 | height: calc(100vh - 110px); | ... | ... |
src/components/AnjiPlus/anji-dialog.vue
| ... | ... | @@ -151,7 +151,7 @@ export default { |
| 151 | 151 | |
| 152 | 152 | <style scoped lang="scss"> |
| 153 | 153 | .notfull-screen { |
| 154 | - ::v-deep.el-dialog__body { | |
| 154 | + ::v-deep .el-dialog__body { | |
| 155 | 155 | background-color: rgb(240, 242, 245); |
| 156 | 156 | padding: 5px; |
| 157 | 157 | max-height: 60vh; |
| ... | ... | @@ -159,7 +159,7 @@ export default { |
| 159 | 159 | } |
| 160 | 160 | } |
| 161 | 161 | .full-screen { |
| 162 | - ::v-deep.el-dialog__body { | |
| 162 | + ::v-deep .el-dialog__body { | |
| 163 | 163 | background-color: rgb(240, 242, 245); |
| 164 | 164 | padding: 5px; |
| 165 | 165 | height: calc(100vh - 110px); |
| ... | ... | @@ -203,7 +203,7 @@ export default { |
| 203 | 203 | .addForm { |
| 204 | 204 | text-align: center; |
| 205 | 205 | } |
| 206 | -.activeColor ::v-deep.el-form-item__label { | |
| 206 | +.activeColor ::v-deep .el-form-item__label { | |
| 207 | 207 | color: #5887fb; |
| 208 | 208 | } |
| 209 | 209 | </style> | ... | ... |
src/components/AnjiPlus/anji-input.vue
| ... | ... | @@ -167,8 +167,8 @@ export default { |
| 167 | 167 | }, |
| 168 | 168 | } |
| 169 | 169 | </script> |
| 170 | -<style lang="less" scoped> | |
| 171 | -::v-deep.el-input__suffix { | |
| 170 | +<style lang="scss" scoped> | |
| 171 | +::v-deep .el-input__suffix { | |
| 172 | 172 | padding: 0 6px; |
| 173 | 173 | } |
| 174 | 174 | .anji-input ::v-deep .el-input__inner { | ... | ... |
src/components/AnjiPlus/anji-upload.vue
src/views/accessRole/components/RoleAuthority.vue
src/views/bigscreenDesigner/designer/components/colorPicker.vue
| ... | ... | @@ -63,8 +63,8 @@ export default { |
| 63 | 63 | }; |
| 64 | 64 | </script> |
| 65 | 65 | <style lang="scss" scoped> |
| 66 | -::v-deep.el-color-picker--mini, | |
| 67 | -::v-deep.el-color-picker--mini .el-color-picker__trigger { | |
| 66 | +::v-deep .el-color-picker--mini, | |
| 67 | +::v-deep .el-color-picker--mini .el-color-picker__trigger { | |
| 68 | 68 | width: 23px; |
| 69 | 69 | height: 23px; |
| 70 | 70 | } | ... | ... |
src/views/bigscreenDesigner/designer/components/customColorComponents.vue
| ... | ... | @@ -172,30 +172,30 @@ export default { |
| 172 | 172 | flex-direction: row; |
| 173 | 173 | } |
| 174 | 174 | } |
| 175 | -::v-deep.el-table, | |
| 176 | -::v-deep.el-table__expanded-cell, | |
| 177 | -::v-deep.el-table th, | |
| 178 | -::v-deep.el-table tr { | |
| 175 | +::v-deep .el-table, | |
| 176 | +::v-deep .el-table__expanded-cell, | |
| 177 | +::v-deep .el-table th, | |
| 178 | +::v-deep .el-table tr { | |
| 179 | 179 | background-color: transparent !important; |
| 180 | 180 | color: #859094 !important; |
| 181 | 181 | } |
| 182 | -::v-deep.el-table td, | |
| 183 | -::v-deep.el-table th.is-leaf { | |
| 182 | +::v-deep .el-table td, | |
| 183 | +::v-deep .el-table th.is-leaf { | |
| 184 | 184 | border-bottom: none; |
| 185 | 185 | line-height: 26px; |
| 186 | 186 | } |
| 187 | -::v-deep.el-table tbody tr:hover > td { | |
| 187 | +::v-deep .el-table tbody tr:hover > td { | |
| 188 | 188 | background-color: #263445 !important; |
| 189 | 189 | } |
| 190 | -::v-deep.el-table::before { | |
| 190 | +::v-deep .el-table::before { | |
| 191 | 191 | height: 0; |
| 192 | 192 | } |
| 193 | -::v-deep.el-color-picker--mini, | |
| 194 | -::v-deep.el-color-picker--mini .el-color-picker__trigger { | |
| 193 | +::v-deep .el-color-picker--mini, | |
| 194 | +::v-deep .el-color-picker--mini .el-color-picker__trigger { | |
| 195 | 195 | width: 23px; |
| 196 | 196 | height: 23px; |
| 197 | 197 | } |
| 198 | -::v-deep.el-dialog { | |
| 198 | +::v-deep .el-dialog { | |
| 199 | 199 | background: #1b1e25; |
| 200 | 200 | .el-dialog__title { |
| 201 | 201 | color: #fff; | ... | ... |
src/views/bigscreenDesigner/designer/components/customUpload.vue
| ... | ... | @@ -90,8 +90,8 @@ export default { |
| 90 | 90 | top: 0; |
| 91 | 91 | opacity: 0; |
| 92 | 92 | } |
| 93 | -::v-deep.el-input-group__append, | |
| 94 | -::v-deep.el-input-group__prepend { | |
| 93 | +::v-deep .el-input-group__append, | |
| 94 | +::v-deep .el-input-group__prepend { | |
| 95 | 95 | padding: 0 10px !important; |
| 96 | 96 | overflow: hidden; |
| 97 | 97 | } | ... | ... |
src/views/bigscreenDesigner/designer/components/customUploadMulti.vue
| ... | ... | @@ -142,8 +142,8 @@ export default { |
| 142 | 142 | display: none; |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | -::v-deep.el-input-group__append, | |
| 146 | -::v-deep.el-input-group__prepend { | |
| 145 | +::v-deep .el-input-group__append, | |
| 146 | +::v-deep .el-input-group__prepend { | |
| 147 | 147 | padding: 0 10px !important; |
| 148 | 148 | overflow: hidden; |
| 149 | 149 | } |
| ... | ... | @@ -156,7 +156,7 @@ export default { |
| 156 | 156 | |
| 157 | 157 | ::v-deep .el-dialog .el-dialog__header, |
| 158 | 158 | ::v-deep .el-dialog__body, |
| 159 | -::v-deep.el-dialog__footer { | |
| 159 | +::v-deep .el-dialog__footer { | |
| 160 | 160 | background: #1b1e25; |
| 161 | 161 | } |
| 162 | 162 | ... | ... |
src/views/bigscreenDesigner/designer/components/customUploadNew.vue
| ... | ... | @@ -115,8 +115,8 @@ export default { |
| 115 | 115 | display: none; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | -::v-deep.el-input-group__append, | |
| 119 | -::v-deep.el-input-group__prepend { | |
| 118 | +::v-deep .el-input-group__append, | |
| 119 | +::v-deep .el-input-group__prepend { | |
| 120 | 120 | padding: 0 10px !important; |
| 121 | 121 | overflow: hidden; |
| 122 | 122 | } | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicAddPicAdress.vue
| ... | ... | @@ -149,26 +149,26 @@ export default { |
| 149 | 149 | border-radius: 5px; |
| 150 | 150 | background-color: rgba(144, 146, 152, 0.3); |
| 151 | 151 | } |
| 152 | -::v-deep.el-table, | |
| 153 | -::v-deep.el-table__expanded-cell, | |
| 154 | -::v-deep.el-table th, | |
| 155 | -::v-deep.el-table tr { | |
| 152 | +::v-deep .el-table, | |
| 153 | +::v-deep .el-table__expanded-cell, | |
| 154 | +::v-deep .el-table th, | |
| 155 | +::v-deep .el-table tr { | |
| 156 | 156 | background-color: transparent !important; |
| 157 | 157 | color: #859094 !important; |
| 158 | 158 | font-size: 12px !important; |
| 159 | 159 | } |
| 160 | -::v-deep.el-table td, | |
| 161 | -::v-deep.el-table th.is-leaf { | |
| 160 | +::v-deep .el-table td, | |
| 161 | +::v-deep .el-table th.is-leaf { | |
| 162 | 162 | border-bottom: none; |
| 163 | 163 | line-height: 26px; |
| 164 | 164 | } |
| 165 | -::v-deep.el-table tbody tr:hover { | |
| 165 | +::v-deep .el-table tbody tr:hover { | |
| 166 | 166 | background-color: #263445 !important; |
| 167 | 167 | } |
| 168 | -::v-deep.el-table tbody tr:hover > td { | |
| 168 | +::v-deep .el-table tbody tr:hover > td { | |
| 169 | 169 | background-color: #263445 !important; |
| 170 | 170 | } |
| 171 | -::v-deep.el-table::before { | |
| 171 | +::v-deep .el-table::before { | |
| 172 | 172 | height: 0; |
| 173 | 173 | } |
| 174 | 174 | .button-group .el-button { | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicAddRadar.vue
| ... | ... | @@ -150,26 +150,26 @@ export default { |
| 150 | 150 | border-radius: 5px; |
| 151 | 151 | background-color: rgba(144, 146, 152, 0.3); |
| 152 | 152 | } |
| 153 | -::v-deep.el-table, | |
| 154 | -::v-deep.el-table__expanded-cell, | |
| 155 | -::v-deep.el-table th, | |
| 156 | -::v-deep.el-table tr { | |
| 153 | +::v-deep .el-table, | |
| 154 | +::v-deep .el-table__expanded-cell, | |
| 155 | +::v-deep .el-table th, | |
| 156 | +::v-deep .el-table tr { | |
| 157 | 157 | background-color: transparent !important; |
| 158 | 158 | color: #859094 !important; |
| 159 | 159 | font-size: 12px !important; |
| 160 | 160 | } |
| 161 | -::v-deep.el-table td, | |
| 162 | -::v-deep.el-table th.is-leaf { | |
| 161 | +::v-deep .el-table td, | |
| 162 | +::v-deep .el-table th.is-leaf { | |
| 163 | 163 | border-bottom: none; |
| 164 | 164 | line-height: 26px; |
| 165 | 165 | } |
| 166 | -::v-deep.el-table tbody tr:hover { | |
| 166 | +::v-deep .el-table tbody tr:hover { | |
| 167 | 167 | background-color: #263445 !important; |
| 168 | 168 | } |
| 169 | -::v-deep.el-table tbody tr:hover > td { | |
| 169 | +::v-deep .el-table tbody tr:hover > td { | |
| 170 | 170 | background-color: #263445 !important; |
| 171 | 171 | } |
| 172 | -::v-deep.el-table::before { | |
| 172 | +::v-deep .el-table::before { | |
| 173 | 173 | height: 0; |
| 174 | 174 | } |
| 175 | 175 | .button-group .el-button { | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicAddSvg.vue
| ... | ... | @@ -149,26 +149,26 @@ export default { |
| 149 | 149 | border-radius: 5px; |
| 150 | 150 | background-color: rgba(144, 146, 152, 0.3); |
| 151 | 151 | } |
| 152 | -::v-deep.el-table, | |
| 153 | -::v-deep.el-table__expanded-cell, | |
| 154 | -::v-deep.el-table th, | |
| 155 | -::v-deep.el-table tr { | |
| 152 | +::v-deep .el-table, | |
| 153 | +::v-deep .el-table__expanded-cell, | |
| 154 | +::v-deep .el-table th, | |
| 155 | +::v-deep .el-table tr { | |
| 156 | 156 | background-color: transparent !important; |
| 157 | 157 | color: #859094 !important; |
| 158 | 158 | font-size: 12px !important; |
| 159 | 159 | } |
| 160 | -::v-deep.el-table td, | |
| 161 | -::v-deep.el-table th.is-leaf { | |
| 160 | +::v-deep .el-table td, | |
| 161 | +::v-deep .el-table th.is-leaf { | |
| 162 | 162 | border-bottom: none; |
| 163 | 163 | line-height: 26px; |
| 164 | 164 | } |
| 165 | -::v-deep.el-table tbody tr:hover { | |
| 165 | +::v-deep .el-table tbody tr:hover { | |
| 166 | 166 | background-color: #263445 !important; |
| 167 | 167 | } |
| 168 | -::v-deep.el-table tbody tr:hover > td { | |
| 168 | +::v-deep .el-table tbody tr:hover > td { | |
| 169 | 169 | background-color: #263445 !important; |
| 170 | 170 | } |
| 171 | -::v-deep.el-table::before { | |
| 171 | +::v-deep .el-table::before { | |
| 172 | 172 | height: 0; |
| 173 | 173 | } |
| 174 | 174 | .button-group .el-button { | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicAddTable.vue
| ... | ... | @@ -193,26 +193,26 @@ export default { |
| 193 | 193 | border-radius: 5px; |
| 194 | 194 | background-color: rgba(144, 146, 152, 0.3); |
| 195 | 195 | } |
| 196 | -::v-deep.el-table, | |
| 197 | -::v-deep.el-table__expanded-cell, | |
| 198 | -::v-deep.el-table th, | |
| 199 | -::v-deep.el-table tr { | |
| 196 | +::v-deep .el-table, | |
| 197 | +::v-deep .el-table__expanded-cell, | |
| 198 | +::v-deep .el-table th, | |
| 199 | +::v-deep .el-table tr { | |
| 200 | 200 | background-color: transparent !important; |
| 201 | 201 | color: #859094 !important; |
| 202 | 202 | font-size: 12px !important; |
| 203 | 203 | } |
| 204 | -::v-deep.el-table td, | |
| 205 | -::v-deep.el-table th.is-leaf { | |
| 204 | +::v-deep .el-table td, | |
| 205 | +::v-deep .el-table th.is-leaf { | |
| 206 | 206 | border-bottom: none; |
| 207 | 207 | line-height: 26px; |
| 208 | 208 | } |
| 209 | -::v-deep.el-table tbody tr:hover { | |
| 209 | +::v-deep .el-table tbody tr:hover { | |
| 210 | 210 | background-color: #263445 !important; |
| 211 | 211 | } |
| 212 | -::v-deep.el-table tbody tr:hover > td { | |
| 212 | +::v-deep .el-table tbody tr:hover > td { | |
| 213 | 213 | background-color: #263445 !important; |
| 214 | 214 | } |
| 215 | -::v-deep.el-table::before { | |
| 215 | +::v-deep .el-table::before { | |
| 216 | 216 | height: 0; |
| 217 | 217 | } |
| 218 | 218 | .button-group .el-button { | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicForm.vue
| ... | ... | @@ -540,7 +540,7 @@ export default { |
| 540 | 540 | border-top: none; |
| 541 | 541 | border-bottom: none; |
| 542 | 542 | } |
| 543 | -::v-deep.el-collapse-item__header { | |
| 543 | +::v-deep .el-collapse-item__header { | |
| 544 | 544 | height: 40px; |
| 545 | 545 | line-height: 40px; |
| 546 | 546 | background: transparent; |
| ... | ... | @@ -549,11 +549,11 @@ export default { |
| 549 | 549 | font-size: 12px; |
| 550 | 550 | border-color: #282e3a; |
| 551 | 551 | } |
| 552 | -::v-deep.el-collapse-item__wrap { | |
| 552 | +::v-deep .el-collapse-item__wrap { | |
| 553 | 553 | background: transparent; |
| 554 | 554 | border: none; |
| 555 | 555 | } |
| 556 | -::v-deep.el-collapse-item__content { | |
| 556 | +::v-deep .el-collapse-item__content { | |
| 557 | 557 | padding-bottom: 0; |
| 558 | 558 | } |
| 559 | 559 | </style> | ... | ... |
src/views/bigscreenDesigner/designer/components/dynamicHtmlSlider.vue
| ... | ... | @@ -162,26 +162,26 @@ export default { |
| 162 | 162 | border-radius: 5px; |
| 163 | 163 | background-color: rgba(144, 146, 152, 0.3); |
| 164 | 164 | } |
| 165 | -::v-deep.el-table, | |
| 166 | -::v-deep.el-table__expanded-cell, | |
| 167 | -::v-deep.el-table th, | |
| 168 | -::v-deep.el-table tr { | |
| 165 | +::v-deep .el-table, | |
| 166 | +::v-deep .el-table__expanded-cell, | |
| 167 | +::v-deep .el-table th, | |
| 168 | +::v-deep .el-table tr { | |
| 169 | 169 | background-color: transparent !important; |
| 170 | 170 | color: #859094 !important; |
| 171 | 171 | font-size: 12px !important; |
| 172 | 172 | } |
| 173 | -::v-deep.el-table td, | |
| 174 | -::v-deep.el-table th.is-leaf { | |
| 173 | +::v-deep .el-table td, | |
| 174 | +::v-deep .el-table th.is-leaf { | |
| 175 | 175 | border-bottom: none; |
| 176 | 176 | line-height: 26px; |
| 177 | 177 | } |
| 178 | -::v-deep.el-table tbody tr:hover { | |
| 178 | +::v-deep .el-table tbody tr:hover { | |
| 179 | 179 | background-color: #263445 !important; |
| 180 | 180 | } |
| 181 | -::v-deep.el-table tbody tr:hover > td { | |
| 181 | +::v-deep .el-table tbody tr:hover > td { | |
| 182 | 182 | background-color: #263445 !important; |
| 183 | 183 | } |
| 184 | -::v-deep.el-table::before { | |
| 184 | +::v-deep .el-table::before { | |
| 185 | 185 | height: 0; |
| 186 | 186 | } |
| 187 | 187 | .button-group .el-button { | ... | ... |
src/views/bigscreenDesigner/designer/index.vue
| ... | ... | @@ -1026,18 +1026,20 @@ export default { |
| 1026 | 1026 | return widgetJson; |
| 1027 | 1027 | }, |
| 1028 | 1028 | setWidgetConfigValue(config, configValue) { |
| 1029 | - config.forEach((item) => { | |
| 1030 | - if (this.isObjectFn(item)) { | |
| 1031 | - configValue[item.name] = item.value; | |
| 1032 | - } | |
| 1033 | - if (this.isArrayFn(item)) { | |
| 1034 | - item.forEach((itemChild) => { | |
| 1035 | - itemChild.list.forEach((ev) => { | |
| 1036 | - configValue[ev.name] = ev.value; | |
| 1029 | + if (config && config.length) { | |
| 1030 | + config.forEach((item) => { | |
| 1031 | + if (this.isObjectFn(item)) { | |
| 1032 | + configValue[item.name] = item.value; | |
| 1033 | + } | |
| 1034 | + if (this.isArrayFn(item)) { | |
| 1035 | + item.forEach((itemChild) => { | |
| 1036 | + itemChild.list.forEach((ev) => { | |
| 1037 | + configValue[ev.name] = ev.value; | |
| 1038 | + }); | |
| 1037 | 1039 | }); |
| 1038 | - }); | |
| 1039 | - } | |
| 1040 | - }); | |
| 1040 | + } | |
| 1041 | + }); | |
| 1042 | + } | |
| 1041 | 1043 | }, |
| 1042 | 1044 | // 对组件默认值处理 |
| 1043 | 1045 | handleDefaultValue(widgetJson) { | ... | ... |
src/views/bigscreenDesigner/designer/index.vue.bak
| ... | ... | @@ -1638,7 +1638,7 @@ li { |
| 1638 | 1638 | width: 100%; |
| 1639 | 1639 | height: calc(100vh - 80px); |
| 1640 | 1640 | text-align: center; |
| 1641 | - ::v-deep.el-tabs__header { | |
| 1641 | + ::v-deep .el-tabs__header { | |
| 1642 | 1642 | width: 30%; |
| 1643 | 1643 | margin-right: 0; |
| 1644 | 1644 | .el-tabs__nav-wrap { |
| ... | ... | @@ -1654,7 +1654,7 @@ li { |
| 1654 | 1654 | } |
| 1655 | 1655 | } |
| 1656 | 1656 | } |
| 1657 | - ::v-deep.el-tabs__content { | |
| 1657 | + ::v-deep .el-tabs__content { | |
| 1658 | 1658 | width: 70%; |
| 1659 | 1659 | } |
| 1660 | 1660 | } |
| ... | ... | @@ -1687,7 +1687,7 @@ li { |
| 1687 | 1687 | font-size: 12px !important; |
| 1688 | 1688 | } |
| 1689 | 1689 | } |
| 1690 | - ::v-deep.el-tabs__content { | |
| 1690 | + ::v-deep .el-tabs__content { | |
| 1691 | 1691 | padding: 0; |
| 1692 | 1692 | } |
| 1693 | 1693 | } | ... | ... |
src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js
| ... | ... | @@ -73,6 +73,14 @@ export const widgetText = { |
| 73 | 73 | value: '0', |
| 74 | 74 | }, |
| 75 | 75 | { |
| 76 | + type: 'el-input-number', | |
| 77 | + label: '边框倒角', | |
| 78 | + name: 'borderRadius', | |
| 79 | + required: false, | |
| 80 | + placeholder: '', | |
| 81 | + value: '0', | |
| 82 | + }, | |
| 83 | + { | |
| 76 | 84 | type: 'vue-color', |
| 77 | 85 | label: '字体背景', |
| 78 | 86 | name: 'background', | ... | ... |
src/views/bigscreenDesigner/designer/widget/pie/widgetActiveRingChart.vue
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | width: this.optionsStyle.width + "px", |
| 94 | 94 | height: this.optionsStyle.height+ "px", |
| 95 | 95 | left: this.optionsStyle.left + "px", |
| 96 | - top: this.optionsStyle.top-20 + "px", | |
| 96 | + top: this.optionsStyle.top - 20 + "px", | |
| 97 | 97 | position: "static", |
| 98 | 98 | display: 'flex' |
| 99 | 99 | }; |
| ... | ... | @@ -114,6 +114,7 @@ export default { |
| 114 | 114 | }, |
| 115 | 115 | created() { |
| 116 | 116 | this.optionsStyle = this.value.position; |
| 117 | + console.log("🚀 ~ created ~ this.optionsStyle:", this.optionsStyle) | |
| 117 | 118 | this.optionsData = this.value.data; |
| 118 | 119 | this.optionsSetup = this.value.setup; |
| 119 | 120 | this.editorOptions(); | ... | ... |
src/views/bigscreenDesigner/designer/widget/pie/widgetPiechart.vue
src/views/bigscreenDesigner/designer/widget/pie/widgetRadioPiechart.vue
src/views/bigscreenDesigner/designer/widget/text/widgetText.vue
| ... | ... | @@ -46,6 +46,7 @@ export default { |
| 46 | 46 | "font-size": this.transStyle.fontSize + "px", |
| 47 | 47 | "letter-spacing": this.transStyle.letterSpacing + "em", |
| 48 | 48 | background: this.transStyle.background, |
| 49 | + 'border-radius': this.transStyle.borderRadius + 'px', | |
| 49 | 50 | "text-align": this.transStyle.textAlign, |
| 50 | 51 | width: this.transStyle.width + "px", |
| 51 | 52 | height: this.transStyle.height + "px", | ... | ... |
src/views/excelreport/components/colorPicker.vue
| ... | ... | @@ -63,8 +63,8 @@ export default { |
| 63 | 63 | }; |
| 64 | 64 | </script> |
| 65 | 65 | <style lang="scss" scoped> |
| 66 | -::v-deep.el-color-picker--mini, | |
| 67 | -::v-deep.el-color-picker--mini .el-color-picker__trigger { | |
| 66 | +::v-deep .el-color-picker--mini, | |
| 67 | +::v-deep .el-color-picker--mini .el-color-picker__trigger { | |
| 68 | 68 | width: 23px; |
| 69 | 69 | height: 23px; |
| 70 | 70 | } | ... | ... |
src/views/resultset/index.vue
src/views/screenDesigner/components/colorPicker.vue
| ... | ... | @@ -63,8 +63,8 @@ export default { |
| 63 | 63 | }; |
| 64 | 64 | </script> |
| 65 | 65 | <style lang="scss" scoped> |
| 66 | -::v-deep.el-color-picker--mini, | |
| 67 | -::v-deep.el-color-picker--mini .el-color-picker__trigger { | |
| 66 | +::v-deep .el-color-picker--mini, | |
| 67 | +::v-deep .el-color-picker--mini .el-color-picker__trigger { | |
| 68 | 68 | width: 23px; |
| 69 | 69 | height: 23px; |
| 70 | 70 | } | ... | ... |
src/views/screenDesigner/components/customColorComponents.vue
| ... | ... | @@ -149,30 +149,30 @@ export default { |
| 149 | 149 | flex-direction: row; |
| 150 | 150 | } |
| 151 | 151 | } |
| 152 | -::v-deep.el-table, | |
| 153 | -::v-deep.el-table__expanded-cell, | |
| 154 | -::v-deep.el-table th, | |
| 155 | -::v-deep.el-table tr { | |
| 152 | +::v-deep .el-table, | |
| 153 | +::v-deep .el-table__expanded-cell, | |
| 154 | +::v-deep .el-table th, | |
| 155 | +::v-deep .el-table tr { | |
| 156 | 156 | background-color: transparent !important; |
| 157 | 157 | color: #859094 !important; |
| 158 | 158 | } |
| 159 | -::v-deep.el-table td, | |
| 160 | -::v-deep.el-table th.is-leaf { | |
| 159 | +::v-deep .el-table td, | |
| 160 | +::v-deep .el-table th.is-leaf { | |
| 161 | 161 | border-bottom: none; |
| 162 | 162 | line-height: 26px; |
| 163 | 163 | } |
| 164 | -::v-deep.el-table tbody tr:hover > td { | |
| 164 | +::v-deep .el-table tbody tr:hover > td { | |
| 165 | 165 | background-color: #263445 !important; |
| 166 | 166 | } |
| 167 | -::v-deep.el-table::before { | |
| 167 | +::v-deep .el-table::before { | |
| 168 | 168 | height: 0; |
| 169 | 169 | } |
| 170 | -::v-deep.el-color-picker--mini, | |
| 171 | -::v-deep.el-color-picker--mini .el-color-picker__trigger { | |
| 170 | +::v-deep .el-color-picker--mini, | |
| 171 | +::v-deep .el-color-picker--mini .el-color-picker__trigger { | |
| 172 | 172 | width: 23px; |
| 173 | 173 | height: 23px; |
| 174 | 174 | } |
| 175 | -::v-deep.el-dialog { | |
| 175 | +::v-deep .el-dialog { | |
| 176 | 176 | background: #1b1e25; |
| 177 | 177 | .el-dialog__title { |
| 178 | 178 | color: #fff; | ... | ... |
src/views/screenDesigner/components/customUpload.vue
| ... | ... | @@ -90,8 +90,8 @@ export default { |
| 90 | 90 | top: 0; |
| 91 | 91 | opacity: 0; |
| 92 | 92 | } |
| 93 | -::v-deep.el-input-group__append, | |
| 94 | -::v-deep.el-input-group__prepend { | |
| 93 | +::v-deep .el-input-group__append, | |
| 94 | +::v-deep .el-input-group__prepend { | |
| 95 | 95 | padding: 0 10px !important; |
| 96 | 96 | overflow: hidden; |
| 97 | 97 | } | ... | ... |
src/views/screenDesigner/components/dynamicAddTable.vue
| ... | ... | @@ -164,26 +164,26 @@ export default { |
| 164 | 164 | border-radius: 5px; |
| 165 | 165 | background-color: rgba(144, 146, 152, 0.3); |
| 166 | 166 | } |
| 167 | -::v-deep.el-table, | |
| 168 | -::v-deep.el-table__expanded-cell, | |
| 169 | -::v-deep.el-table th, | |
| 170 | -::v-deep.el-table tr { | |
| 167 | +::v-deep .el-table, | |
| 168 | +::v-deep .el-table__expanded-cell, | |
| 169 | +::v-deep .el-table th, | |
| 170 | +::v-deep .el-table tr { | |
| 171 | 171 | background-color: transparent !important; |
| 172 | 172 | color: #859094 !important; |
| 173 | 173 | font-size: 12px !important; |
| 174 | 174 | } |
| 175 | -::v-deep.el-table td, | |
| 176 | -::v-deep.el-table th.is-leaf { | |
| 175 | +::v-deep .el-table td, | |
| 176 | +::v-deep .el-table th.is-leaf { | |
| 177 | 177 | border-bottom: none; |
| 178 | 178 | line-height: 26px; |
| 179 | 179 | } |
| 180 | -::v-deep.el-table tbody tr:hover { | |
| 180 | +::v-deep .el-table tbody tr:hover { | |
| 181 | 181 | background-color: #263445 !important; |
| 182 | 182 | } |
| 183 | -::v-deep.el-table tbody tr:hover > td { | |
| 183 | +::v-deep .el-table tbody tr:hover > td { | |
| 184 | 184 | background-color: #263445 !important; |
| 185 | 185 | } |
| 186 | -::v-deep.el-table::before { | |
| 186 | +::v-deep .el-table::before { | |
| 187 | 187 | height: 0; |
| 188 | 188 | } |
| 189 | 189 | .button-group .el-button { | ... | ... |
src/views/screenDesigner/components/dynamicForm.vue
| ... | ... | @@ -423,7 +423,7 @@ export default { |
| 423 | 423 | border-top: none; |
| 424 | 424 | border-bottom: none; |
| 425 | 425 | } |
| 426 | -::v-deep.el-collapse-item__header { | |
| 426 | +::v-deep .el-collapse-item__header { | |
| 427 | 427 | height: 40px; |
| 428 | 428 | line-height: 40px; |
| 429 | 429 | background: transparent; |
| ... | ... | @@ -432,11 +432,11 @@ export default { |
| 432 | 432 | font-size: 12px; |
| 433 | 433 | border-color: #282e3a; |
| 434 | 434 | } |
| 435 | -::v-deep.el-collapse-item__wrap { | |
| 435 | +::v-deep .el-collapse-item__wrap { | |
| 436 | 436 | background: transparent; |
| 437 | 437 | border: none; |
| 438 | 438 | } |
| 439 | -::v-deep.el-collapse-item__content { | |
| 439 | +::v-deep .el-collapse-item__content { | |
| 440 | 440 | padding-bottom: 0; |
| 441 | 441 | } |
| 442 | 442 | </style> | ... | ... |
src/views/screenDesigner/layout/leftMenu.vue
| ... | ... | @@ -74,7 +74,7 @@ export default { |
| 74 | 74 | }; |
| 75 | 75 | </script> |
| 76 | 76 | <style lang="scss" scoped> |
| 77 | -::v-deep.el-dropdown-menu__item { | |
| 77 | +::v-deep .el-dropdown-menu__item { | |
| 78 | 78 | max-width: none; |
| 79 | 79 | } |
| 80 | 80 | .layout-left { |
| ... | ... | @@ -90,7 +90,7 @@ export default { |
| 90 | 90 | width: 100%; |
| 91 | 91 | height: calc(100vh - 80px); |
| 92 | 92 | text-align: center; |
| 93 | - ::v-deep.el-tabs__header { | |
| 93 | + ::v-deep .el-tabs__header { | |
| 94 | 94 | width: 30%; |
| 95 | 95 | margin-right: 0; |
| 96 | 96 | .el-tabs__nav-wrap { |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | } |
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | - ::v-deep.el-tabs__content { | |
| 108 | + ::v-deep .el-tabs__content { | |
| 109 | 109 | width: 70%; |
| 110 | 110 | } |
| 111 | 111 | } |
| ... | ... | @@ -137,7 +137,7 @@ export default { |
| 137 | 137 | .tools-item-text { |
| 138 | 138 | } |
| 139 | 139 | } |
| 140 | - ::v-deep.el-tabs__content { | |
| 140 | + ::v-deep .el-tabs__content { | |
| 141 | 141 | padding: 0; |
| 142 | 142 | } |
| 143 | 143 | } | ... | ... |