@cmstops/pro-compo 0.3.69 → 0.3.71

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 (30) hide show
  1. package/dist/index.css +13 -13
  2. package/dist/index.min.css +1 -1
  3. package/es/index.css +13 -13
  4. package/es/selectResourceModal/component.js +12 -14
  5. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  6. package/es/selectResourceModal/components/List/ListAi/index.js +53 -0
  7. package/es/selectResourceModal/components/List/ListNormal/index.js +1 -2
  8. package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
  9. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  10. package/es/selectResourceModal/components/List/ListVideo/index.js +19 -0
  11. package/es/selectResourceModal/components/List/ListWraper.js +0 -1
  12. package/es/selectResourceModal/scripts/useCompoLf.js +2 -0
  13. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -0
  14. package/es/selectResourceModal/scripts/useTabFilter.js +24 -15
  15. package/es/selectResourceModal/style/index.css +13 -13
  16. package/es/selectResourceModal/style/list.less +18 -15
  17. package/es/videoThumb/component.js +2 -1
  18. package/lib/index.css +13 -13
  19. package/lib/selectResourceModal/component.js +12 -14
  20. package/lib/selectResourceModal/components/List/ListAi/index.js +54 -0
  21. package/lib/selectResourceModal/components/List/ListNormal/index.js +1 -2
  22. package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
  23. package/lib/selectResourceModal/components/List/ListVideo/index.js +20 -0
  24. package/lib/selectResourceModal/components/List/ListWraper.js +0 -1
  25. package/lib/selectResourceModal/scripts/useCompoLf.js +2 -0
  26. package/lib/selectResourceModal/scripts/useTabFilter.js +24 -15
  27. package/lib/selectResourceModal/style/index.css +13 -13
  28. package/lib/selectResourceModal/style/list.less +18 -15
  29. package/lib/videoThumb/component.js +2 -1
  30. package/package.json +1 -1
@@ -222,19 +222,6 @@
222
222
  .resource-list .scen-module {
223
223
  margin-bottom: 20px;
224
224
  }
225
- .resource-list .scen-module .title {
226
- display: flex;
227
- gap: 8px;
228
- align-items: center;
229
- margin-bottom: 20px;
230
- font-weight: bold;
231
- font-size: 16px;
232
- }
233
- .resource-list .scen-module .title .line {
234
- width: 3px;
235
- height: 16px;
236
- background-color: #4886ff;
237
- }
238
225
  .resource-list .item-load-more {
239
226
  display: flex;
240
227
  flex-direction: column;
@@ -283,6 +270,19 @@
283
270
  .resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
284
271
  padding: 0;
285
272
  }
273
+ .resource-list .title {
274
+ display: flex;
275
+ gap: 8px;
276
+ align-items: center;
277
+ margin-bottom: 20px;
278
+ font-weight: bold;
279
+ font-size: 16px;
280
+ }
281
+ .resource-list .title .line {
282
+ width: 3px;
283
+ height: 16px;
284
+ background-color: #4886ff;
285
+ }
286
286
  .resource-select-modal-body {
287
287
  height: 80vh;
288
288
  padding: 0;
@@ -83,21 +83,6 @@
83
83
  .resource-list {
84
84
  .scen-module {
85
85
  margin-bottom: 20px;
86
-
87
- .title {
88
- display: flex;
89
- gap: 8px;
90
- align-items: center;
91
- margin-bottom: 20px;
92
- font-weight: bold;
93
- font-size: 16px;
94
-
95
- .line {
96
- width: 3px;
97
- height: 16px;
98
- background-color: #4886ff;
99
- }
100
- }
101
86
  }
102
87
 
103
88
  .item-load-more {
@@ -161,3 +146,21 @@
161
146
  }
162
147
  }
163
148
  }
149
+
150
+ // 二级列表的标题样式
151
+ .resource-list {
152
+ .title {
153
+ display: flex;
154
+ gap: 8px;
155
+ align-items: center;
156
+ margin-bottom: 20px;
157
+ font-weight: bold;
158
+ font-size: 16px;
159
+
160
+ .line {
161
+ width: 3px;
162
+ height: 16px;
163
+ background-color: #4886ff;
164
+ }
165
+ }
166
+ }
@@ -62,7 +62,8 @@ const _sfc_main = vue.defineComponent({
62
62
  }
63
63
  vue.watch(
64
64
  () => curThumb.value,
65
- () => emit("select", curThumb.value)
65
+ () => emit("select", curThumb.value),
66
+ { immediate: true }
66
67
  );
67
68
  vue.onMounted(() => {
68
69
  getVideoThumbs(BASE_API, props.src, props.duration);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.69",
3
+ "version": "0.3.71",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",