@tongfun/tf-widget 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +49 -49
  2. package/lib/tf-widget.common.js +547 -503
  3. package/lib/tf-widget.css +1 -1
  4. package/lib/tf-widget.umd.js +547 -503
  5. package/lib/tf-widget.umd.min.js +4 -4
  6. package/package/svg-icon/index.js +8 -8
  7. package/package/svg-icon/src/SvgIcon.vue +59 -59
  8. package/package/t-data-list/index.js +6 -6
  9. package/package/t-data-list/main.vue +193 -193
  10. package/package/t-data-list/src/condition-input/basic.vue +31 -31
  11. package/package/t-data-list/src/condition-input/date.vue +106 -106
  12. package/package/t-data-list/src/condition-input/index.vue +100 -100
  13. package/package/t-data-list/src/condition-input/input.vue +31 -31
  14. package/package/t-data-list/src/condition-input/number.vue +115 -115
  15. package/package/t-data-list/src/condition-input/select.vue +86 -86
  16. package/package/t-data-list/src/js/fieldTypeEnum.js +10 -10
  17. package/package/t-data-list/src/js/operatorEnum.js +108 -108
  18. package/package/t-data-list/src/js/qureyParamsEnum.js +4 -4
  19. package/package/t-data-list/src/js/util.js +34 -34
  20. package/package/t-data-list/src/mixins/button-controll-mixin.js +93 -93
  21. package/package/t-data-list/src/pushdown/push-down.vue +158 -158
  22. package/package/t-data-list/src/t-list-search.vue +36 -36
  23. package/package/t-data-list/src/t-plan/condition-always-item.vue +143 -143
  24. package/package/t-data-list/src/t-plan/condition-mult-item.vue +222 -222
  25. package/package/t-data-list/src/t-plan/index.vue +195 -195
  26. package/package/t-data-list/src/t-plan/plan-content.vue +389 -389
  27. package/package/t-data-list/src/t-table/index.vue +129 -129
  28. package/package/t-data-list/src/t-table/table-group-item-edit.vue +238 -238
  29. package/package/t-data-list/src/t-table/table-group-item.vue +87 -87
  30. package/package/t-data-list/src/t-table/table-group.vue +180 -180
  31. package/package/t-data-list/src/t-table/table-records-header-popover.vue +246 -246
  32. package/package/t-data-list/src/t-table/table-records-selected.vue +159 -159
  33. package/package/t-data-list/src/t-table/table-records.vue +337 -337
  34. package/package/t-input/children/address.vue +101 -101
  35. package/package/t-input/children/basic-display.vue +41 -41
  36. package/package/t-input/children/basic.vue +253 -253
  37. package/package/t-input/children/date.vue +89 -89
  38. package/package/t-input/children/group-components/group-dialog.vue +344 -344
  39. package/package/t-input/children/group.vue +126 -126
  40. package/package/t-input/children/input.vue +72 -72
  41. package/package/t-input/children/number.vue +74 -74
  42. package/package/t-input/children/select.vue +89 -89
  43. package/package/t-input/children/tfile/fiile-enclosure.vue +233 -233
  44. package/package/t-input/index.js +7 -7
  45. package/package/t-input/index.vue +337 -337
  46. package/package/t-input/tInputCache.js +24 -24
  47. package/package/tf-icon-picker/README.md +7 -7
  48. package/package/tf-icon-picker/index.js +8 -8
  49. package/package/tf-icon-picker/src/tf-icon-picker.vue +266 -266
  50. package/package/tf-layout/README.md +115 -115
  51. package/package/tf-layout/index.js +8 -8
  52. package/package/tf-layout/src/components/tf-labelbar.vue +394 -394
  53. package/package/tf-layout/src/components/tf-menu.vue +180 -180
  54. package/package/tf-layout/src/components/tf-right-menu.vue +89 -89
  55. package/package/tf-layout/src/components/tf-rotate-box.vue +50 -50
  56. package/package/tf-layout/src/tf-layout.vue +140 -140
  57. package/package/tf-widget/index.js +8 -8
  58. package/package/tf-widget/src/assets/common-input.less +10 -10
  59. package/package/tf-widget/src/children/basic-data/basic-data.vue +361 -361
  60. package/package/tf-widget/src/children/basic-data/dependcy/basic-data-selector.vue +1087 -1087
  61. package/package/tf-widget/src/children/basic-data/dependcy/common-table.vue +750 -750
  62. package/package/tf-widget/src/children/basic-data/dependcy/condition-filter.vue +519 -519
  63. package/package/tf-widget/src/children/basic-data/dependcy/pagination.vue +93 -93
  64. package/package/tf-widget/src/children/basic-data/dependcy/table-control.vue +240 -240
  65. package/package/tf-widget/src/children/basic-data/dependcy/view-picture.vue +108 -108
  66. package/package/tf-widget/src/children/date-time.vue +103 -103
  67. package/package/tf-widget/src/children/date.vue +103 -103
  68. package/package/tf-widget/src/children/decimal.vue +115 -115
  69. package/package/tf-widget/src/children/integer.vue +104 -104
  70. package/package/tf-widget/src/children/property.vue +59 -59
  71. package/package/tf-widget/src/children/single-line-text.vue +82 -82
  72. package/package/tf-widget/src/children/small-pictures.vue +223 -223
  73. package/package/tf-widget/src/children/text-area.vue +74 -74
  74. package/package/tf-widget/src/children/tf-select.vue +113 -113
  75. package/package/tf-widget/src/tf-widget.vue +175 -175
  76. package/package.json +44 -44
  77. package/src/api/edit.js +97 -97
  78. package/src/api/file-enclosure.js +26 -26
  79. package/src/api/push-down.js +19 -19
  80. package/src/api/table.js +294 -294
  81. package/src/api/tableV3.js +166 -160
  82. package/src/assets/images/icons/index.js +9 -9
  83. package/src/assets/images/icons/svg/add.svg +5 -5
  84. package/src/assets/images/icons/svg/push-down.svg +1 -1
  85. package/src/assets/images/icons/svg/remove.svg +1 -1
  86. package/src/assets/styles/common-table.less +202 -202
  87. package/src/directives/debounce.js +24 -24
  88. package/src/index.js +31 -31
  89. package/src/mixins/t-data-query-mixin.js +290 -290
  90. package/src/utils/auth.js +22 -22
  91. package/src/utils/request.js +42 -42
  92. package/src/utils/stato-anormale.js +59 -59
  93. package/src/utils/utils.js +109 -109
  94. package/src/utils/validate.js +84 -84
@@ -1,82 +1,82 @@
1
- <template>
2
- <el-input
3
- :value="value"
4
- :disabled="JSON.parse(disabled) "
5
- :placeholder="placeholder"
6
- :clearable="clearable"
7
- @input="handleInput"
8
- v-on="$listeners"
9
- >
10
- <i v-if="disabled" class="el-icon-lock el-input__icon" slot="suffix" />
11
- </el-input>
12
- </template>
13
- <script>
14
- export default {
15
- components: {
16
-
17
- },
18
- props: {
19
- value: {
20
- type: String,
21
- default: ''
22
- },
23
- placeholder: {
24
- type: String,
25
- default: ''
26
- },
27
- disabled: {
28
- type: [Boolean, String],
29
- default: false
30
- },
31
- defaultValue: {
32
- type: String,
33
- default: ''
34
- },
35
- clearable: {
36
- type: Boolean,
37
- default: true
38
- }
39
- },
40
- data () {
41
- return {
42
- }
43
- },
44
- computed: {
45
- debug () {
46
- return typeof this.value
47
- }
48
- },
49
- watch: {
50
- value () {
51
- if (!this.value) {
52
- this.handleInput(null)
53
- }
54
- }
55
- },
56
- created () {
57
- // 默认值
58
- if (this.defaultValue && !this.value) {
59
- return this.handleInput(this.defaultValue)
60
- }
61
- // 有值的情况下不进行初始化
62
- if (!this.value) {
63
- return this.handleInput(null)
64
- }
65
- },
66
- methods: {
67
- handleInput (newValue) {
68
- this.$emit('input', newValue)
69
- }
70
- }
71
- }
72
- </script>
73
-
74
- <style lang="less" scoped>
75
- @import '../assets/common-input.less';
76
- ::v-deep .el-input__inner{
77
- width: 100%;
78
- border: none;
79
- border-bottom: 1px solid #DCDCDC;
80
- border-radius: 0;
81
- }
82
- </style>
1
+ <template>
2
+ <el-input
3
+ :value="value"
4
+ :disabled="JSON.parse(disabled) "
5
+ :placeholder="placeholder"
6
+ :clearable="clearable"
7
+ @input="handleInput"
8
+ v-on="$listeners"
9
+ >
10
+ <i v-if="disabled" class="el-icon-lock el-input__icon" slot="suffix" />
11
+ </el-input>
12
+ </template>
13
+ <script>
14
+ export default {
15
+ components: {
16
+
17
+ },
18
+ props: {
19
+ value: {
20
+ type: String,
21
+ default: ''
22
+ },
23
+ placeholder: {
24
+ type: String,
25
+ default: ''
26
+ },
27
+ disabled: {
28
+ type: [Boolean, String],
29
+ default: false
30
+ },
31
+ defaultValue: {
32
+ type: String,
33
+ default: ''
34
+ },
35
+ clearable: {
36
+ type: Boolean,
37
+ default: true
38
+ }
39
+ },
40
+ data () {
41
+ return {
42
+ }
43
+ },
44
+ computed: {
45
+ debug () {
46
+ return typeof this.value
47
+ }
48
+ },
49
+ watch: {
50
+ value () {
51
+ if (!this.value) {
52
+ this.handleInput(null)
53
+ }
54
+ }
55
+ },
56
+ created () {
57
+ // 默认值
58
+ if (this.defaultValue && !this.value) {
59
+ return this.handleInput(this.defaultValue)
60
+ }
61
+ // 有值的情况下不进行初始化
62
+ if (!this.value) {
63
+ return this.handleInput(null)
64
+ }
65
+ },
66
+ methods: {
67
+ handleInput (newValue) {
68
+ this.$emit('input', newValue)
69
+ }
70
+ }
71
+ }
72
+ </script>
73
+
74
+ <style lang="less" scoped>
75
+ @import '../assets/common-input.less';
76
+ ::v-deep .el-input__inner{
77
+ width: 100%;
78
+ border: none;
79
+ border-bottom: 1px solid #DCDCDC;
80
+ border-radius: 0;
81
+ }
82
+ </style>
@@ -1,223 +1,223 @@
1
- <template>
2
- <div class="small-picture">
3
- <el-button size="mini" @click="handleClickUploadPicture" :disabled="disabled">点击上传图片</el-button>
4
- <el-dialog
5
- title="图片上传"
6
- :visible.sync="dialogVisible"
7
- width="30%"
8
- >
9
- <div>
10
- <el-upload
11
- class="upload-demo"
12
- action="qqq"
13
- :on-preview="handlePreview"
14
- :on-remove="handleRemove"
15
- :on-change="handleChange"
16
- :before-upload="beforeAvatarUpload"
17
- accept="image/jpg,image/jpeg,image/png"
18
- :auto-upload="false"
19
- multiple
20
- :limit="5"
21
- :on-exceed="handleExceed"
22
- :file-list="fileList"
23
- list-type="picture"
24
- >
25
- <el-button size="mini" type="primary">选择图片</el-button>
26
- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过2M</div>
27
- </el-upload>
28
- </div>
29
- <span slot="footer" class="dialog-footer">
30
- <el-button size="mini" class="close" @click="handleClickClose">取 消</el-button>
31
- <el-button size="mini" @click="handleClickSure">确 定</el-button>
32
- </span>
33
- </el-dialog>
34
- </div>
35
- </template>
36
-
37
- <script>
38
- export default {
39
- props: {
40
- value: {
41
- type: String,
42
- default: null
43
- },
44
- disabled: {
45
- type: [Boolean, Object, String],
46
- default: null
47
- }
48
- },
49
- data () {
50
- return {
51
- dialogVisible: false,
52
- fileList: [],
53
- count: null,
54
- // 上传图片的参数
55
- fileListParam: []
56
- }
57
- },
58
- created () {
59
- if (!this.$route.query.receiptId) {
60
- // eslint-disable-next-line no-return-assign
61
- return this.count = null
62
- }
63
- this.count = 0
64
- },
65
- methods: {
66
-
67
- // 打开上传图片模态框
68
- handleClickUploadPicture () {
69
- this.dialogVisible = true
70
- if (!this.$route.query.receiptId) {
71
- return
72
- }
73
- if (!this.value) {
74
- this.fileListParam = []
75
- this.fileList = []
76
- return
77
- }
78
- this.fileListParam = []
79
- this.fileList = []
80
- this.value.split(',').forEach((v, i) => {
81
- this.fileListParam.push(v)
82
- this.fileList.push({
83
- name: v.split('/')[v.split('/').length - 1],
84
- url: v
85
- })
86
- })
87
- },
88
-
89
- // 上传图片之前
90
- beforeAvatarUpload (file) {
91
- const isJPG = file.type === 'image/jpeg'
92
- const isPng = file.type === 'image/png'
93
- const isLt2M = file.size / 1024 / 1024 < 2
94
- if (!isJPG && !isPng) {
95
- this.$message.error('上传头像图片只能是 JPG 或者 PNG 格式!')
96
- }
97
- if (!isLt2M) {
98
- this.$message.error('上传头像图片大小不能超过 2MB!')
99
- }
100
- return isJPG && isLt2M
101
- },
102
-
103
- // 点击删除上传图片列表
104
- handleRemove (file, fileList) {
105
- // eslint-disable-next-line eqeqeq
106
- const index = this.fileList.findIndex((ele) => { return ele.url == file.url })
107
- this.fileList.splice(index, 1)
108
- this.fileListParam.splice(index, 1)
109
- },
110
-
111
- // 点击已经上传的图片列表
112
- handlePreview (file) {
113
-
114
- },
115
-
116
- // 文件超出个数限制时触发
117
- handleExceed (files, fileList) {
118
- this.$message.warning(`当前限制选择 5 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
119
- },
120
-
121
- // 上传成功或者删除图片变化就会触发
122
- handleChange (file, fileList) {
123
- this.fileList = fileList
124
- this.getBase64(file.raw).then((res) => {
125
- const str = `${res.name}%${res.url}`
126
- this.fileListParam.push(str)
127
- })
128
- },
129
-
130
- // base64转码
131
- getBase64 (file) {
132
- return new Promise(function (resolve, reject) {
133
- const reader = new FileReader()
134
- const Result = {}
135
- reader.readAsDataURL(file)
136
- reader.onload = function () {
137
- Result.name = file.name
138
- Result.url = reader.result
139
- }
140
- reader.onerror = function (error) {
141
- reject(error)
142
- }
143
- reader.onloadend = function () {
144
- resolve(Result)
145
- }
146
- })
147
- },
148
-
149
- handleClickClose () {
150
- this.dialogVisible = false
151
- },
152
-
153
- handleClickSure () {
154
- this.$emit('input', this.fileListParam.join('@'))
155
- this.dialogVisible = false
156
- }
157
-
158
- }
159
- }
160
-
161
- </script>
162
- <style lang='less' scoped>
163
- .small-picture{
164
- ::v-deep .el-button--mini{
165
- background-color: #0C4C8E;
166
- border-color: #0C4C8E;
167
- color: #FFFFFF;
168
- margin-right: 2px;
169
- }
170
- .close{
171
- background: #e5e5e5;
172
- color: #666;
173
- margin-right: 1.95vw;
174
- }
175
- ::v-deep .el-dialog__body{
176
- padding-top: 0;
177
- }
178
- .dialog-footer{
179
- display: flex;
180
- justify-content: center;
181
- }
182
- /*去除upload组件过渡效果*/
183
- ::v-deep.el-upload-list__item {
184
- transition: none !important;
185
- }
186
- ::v-deep .el-upload-list--picture{
187
- max-height: 30vh;
188
- overflow: auto;
189
- padding: 0 1vw;
190
- box-sizing: border-box;
191
- }
192
- ::v-deep.el-upload-list__item-name{
193
- cursor: pointer;
194
- }
195
- ::v-deep .el-upload-list--picture::-webkit-scrollbar{
196
- width:10px;
197
- height:10px;
198
- }
199
- /*正常情况下滑块的样式*/
200
- ::v-deep .el-upload-list--picture::-webkit-scrollbar-thumb{
201
- background-color:rgba(0,0,0,.05);
202
- border-radius:10px;
203
- }
204
- /*鼠标悬浮在该类指向的控件上时滑块的样式*/
205
- ::v-deep .el-upload-list--picture:hover::-webkit-scrollbar-thumb{
206
- background-color:rgba(0,0,0,.2);
207
- border-radius:10px;
208
- }
209
- /*鼠标悬浮在滑块上时滑块的样式*/
210
- ::v-deep .el-upload-list--picture::-webkit-scrollbar-thumb:hover{
211
- background-color:rgba(0,0,0,.4);
212
- }
213
- /*正常时候的主干部分*/
214
- ::v-deep .el-upload-list--picture::-webkit-scrollbar-track{
215
- border-radius:10px;
216
- background-color:white;
217
- }
218
- /*鼠标悬浮在滚动条上的主干部分*/
219
- ::v-deep .el-upload-list--picture::-webkit-scrollbar-track:hover{
220
- background-color:rgba(0,0,0,.01);
221
- }
222
- }
223
- </style>
1
+ <template>
2
+ <div class="small-picture">
3
+ <el-button size="mini" @click="handleClickUploadPicture" :disabled="disabled">点击上传图片</el-button>
4
+ <el-dialog
5
+ title="图片上传"
6
+ :visible.sync="dialogVisible"
7
+ width="30%"
8
+ >
9
+ <div>
10
+ <el-upload
11
+ class="upload-demo"
12
+ action="qqq"
13
+ :on-preview="handlePreview"
14
+ :on-remove="handleRemove"
15
+ :on-change="handleChange"
16
+ :before-upload="beforeAvatarUpload"
17
+ accept="image/jpg,image/jpeg,image/png"
18
+ :auto-upload="false"
19
+ multiple
20
+ :limit="5"
21
+ :on-exceed="handleExceed"
22
+ :file-list="fileList"
23
+ list-type="picture"
24
+ >
25
+ <el-button size="mini" type="primary">选择图片</el-button>
26
+ <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过2M</div>
27
+ </el-upload>
28
+ </div>
29
+ <span slot="footer" class="dialog-footer">
30
+ <el-button size="mini" class="close" @click="handleClickClose">取 消</el-button>
31
+ <el-button size="mini" @click="handleClickSure">确 定</el-button>
32
+ </span>
33
+ </el-dialog>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ export default {
39
+ props: {
40
+ value: {
41
+ type: String,
42
+ default: null
43
+ },
44
+ disabled: {
45
+ type: [Boolean, Object, String],
46
+ default: null
47
+ }
48
+ },
49
+ data () {
50
+ return {
51
+ dialogVisible: false,
52
+ fileList: [],
53
+ count: null,
54
+ // 上传图片的参数
55
+ fileListParam: []
56
+ }
57
+ },
58
+ created () {
59
+ if (!this.$route.query.receiptId) {
60
+ // eslint-disable-next-line no-return-assign
61
+ return this.count = null
62
+ }
63
+ this.count = 0
64
+ },
65
+ methods: {
66
+
67
+ // 打开上传图片模态框
68
+ handleClickUploadPicture () {
69
+ this.dialogVisible = true
70
+ if (!this.$route.query.receiptId) {
71
+ return
72
+ }
73
+ if (!this.value) {
74
+ this.fileListParam = []
75
+ this.fileList = []
76
+ return
77
+ }
78
+ this.fileListParam = []
79
+ this.fileList = []
80
+ this.value.split(',').forEach((v, i) => {
81
+ this.fileListParam.push(v)
82
+ this.fileList.push({
83
+ name: v.split('/')[v.split('/').length - 1],
84
+ url: v
85
+ })
86
+ })
87
+ },
88
+
89
+ // 上传图片之前
90
+ beforeAvatarUpload (file) {
91
+ const isJPG = file.type === 'image/jpeg'
92
+ const isPng = file.type === 'image/png'
93
+ const isLt2M = file.size / 1024 / 1024 < 2
94
+ if (!isJPG && !isPng) {
95
+ this.$message.error('上传头像图片只能是 JPG 或者 PNG 格式!')
96
+ }
97
+ if (!isLt2M) {
98
+ this.$message.error('上传头像图片大小不能超过 2MB!')
99
+ }
100
+ return isJPG && isLt2M
101
+ },
102
+
103
+ // 点击删除上传图片列表
104
+ handleRemove (file, fileList) {
105
+ // eslint-disable-next-line eqeqeq
106
+ const index = this.fileList.findIndex((ele) => { return ele.url == file.url })
107
+ this.fileList.splice(index, 1)
108
+ this.fileListParam.splice(index, 1)
109
+ },
110
+
111
+ // 点击已经上传的图片列表
112
+ handlePreview (file) {
113
+
114
+ },
115
+
116
+ // 文件超出个数限制时触发
117
+ handleExceed (files, fileList) {
118
+ this.$message.warning(`当前限制选择 5 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
119
+ },
120
+
121
+ // 上传成功或者删除图片变化就会触发
122
+ handleChange (file, fileList) {
123
+ this.fileList = fileList
124
+ this.getBase64(file.raw).then((res) => {
125
+ const str = `${res.name}%${res.url}`
126
+ this.fileListParam.push(str)
127
+ })
128
+ },
129
+
130
+ // base64转码
131
+ getBase64 (file) {
132
+ return new Promise(function (resolve, reject) {
133
+ const reader = new FileReader()
134
+ const Result = {}
135
+ reader.readAsDataURL(file)
136
+ reader.onload = function () {
137
+ Result.name = file.name
138
+ Result.url = reader.result
139
+ }
140
+ reader.onerror = function (error) {
141
+ reject(error)
142
+ }
143
+ reader.onloadend = function () {
144
+ resolve(Result)
145
+ }
146
+ })
147
+ },
148
+
149
+ handleClickClose () {
150
+ this.dialogVisible = false
151
+ },
152
+
153
+ handleClickSure () {
154
+ this.$emit('input', this.fileListParam.join('@'))
155
+ this.dialogVisible = false
156
+ }
157
+
158
+ }
159
+ }
160
+
161
+ </script>
162
+ <style lang='less' scoped>
163
+ .small-picture{
164
+ ::v-deep .el-button--mini{
165
+ background-color: #0C4C8E;
166
+ border-color: #0C4C8E;
167
+ color: #FFFFFF;
168
+ margin-right: 2px;
169
+ }
170
+ .close{
171
+ background: #e5e5e5;
172
+ color: #666;
173
+ margin-right: 1.95vw;
174
+ }
175
+ ::v-deep .el-dialog__body{
176
+ padding-top: 0;
177
+ }
178
+ .dialog-footer{
179
+ display: flex;
180
+ justify-content: center;
181
+ }
182
+ /*去除upload组件过渡效果*/
183
+ ::v-deep.el-upload-list__item {
184
+ transition: none !important;
185
+ }
186
+ ::v-deep .el-upload-list--picture{
187
+ max-height: 30vh;
188
+ overflow: auto;
189
+ padding: 0 1vw;
190
+ box-sizing: border-box;
191
+ }
192
+ ::v-deep.el-upload-list__item-name{
193
+ cursor: pointer;
194
+ }
195
+ ::v-deep .el-upload-list--picture::-webkit-scrollbar{
196
+ width:10px;
197
+ height:10px;
198
+ }
199
+ /*正常情况下滑块的样式*/
200
+ ::v-deep .el-upload-list--picture::-webkit-scrollbar-thumb{
201
+ background-color:rgba(0,0,0,.05);
202
+ border-radius:10px;
203
+ }
204
+ /*鼠标悬浮在该类指向的控件上时滑块的样式*/
205
+ ::v-deep .el-upload-list--picture:hover::-webkit-scrollbar-thumb{
206
+ background-color:rgba(0,0,0,.2);
207
+ border-radius:10px;
208
+ }
209
+ /*鼠标悬浮在滑块上时滑块的样式*/
210
+ ::v-deep .el-upload-list--picture::-webkit-scrollbar-thumb:hover{
211
+ background-color:rgba(0,0,0,.4);
212
+ }
213
+ /*正常时候的主干部分*/
214
+ ::v-deep .el-upload-list--picture::-webkit-scrollbar-track{
215
+ border-radius:10px;
216
+ background-color:white;
217
+ }
218
+ /*鼠标悬浮在滚动条上的主干部分*/
219
+ ::v-deep .el-upload-list--picture::-webkit-scrollbar-track:hover{
220
+ background-color:rgba(0,0,0,.01);
221
+ }
222
+ }
223
+ </style>