Commit 1ac154126e731dcc22c86d1b3a51259d65791fad

Authored by 陈鑫涛
1 parent a1bffa96

样式

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