baiqiu-cms-decoration-dg 0.0.4 → 0.0.6

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "baiqiu-cms-decoration-dg",
3
3
  "description": "A Vue.js project",
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "author": "anni.zhou",
6
6
  "license": "MIT",
7
7
  "private": false,
package/src/App.vue CHANGED
@@ -25,142 +25,7 @@ export default {
25
25
  },
26
26
  data() {
27
27
  return {
28
- cmsList: [{
29
- recordId: 28368,
30
- originalId: 3575,
31
- terminalId: 98,
32
- pageCode: '1000',
33
- versionAdapterType: 1,
34
- decorationToolsVersion: 'V2',
35
- componentCode: '1',
36
- componentVersion: '',
37
- componentSortNum: 2,
38
- attributeJson: {
39
- uniqueId: '',
40
- uniqueName: '整行排列4',
41
- layoutStyle: {
42
- widthStyle: {
43
- type: 1,
44
- width: 100
45
- },
46
- height: 1080,
47
- bgStyle: {
48
- type: 1,
49
- backgroundColor: '',
50
- picList: []
51
- }
52
- },
53
- componentList: [
54
- {
55
- componentName: '视频',
56
- component: 'videoItem',
57
- displayType: 1,
58
- type: 3,
59
- attributeJson: {
60
- uniqueId: '',
61
- uniqueName: '基础视频0',
62
- baseStyle: {
63
- w: 1920,
64
- h: 1080,
65
- l: '0',
66
- t: '0',
67
- isLocked: true,
68
- isCopy: false
69
- },
70
- videoInfo: {
71
- list: [
72
- {
73
- recordId: 14124,
74
- classificationId: 0,
75
- resourceStorageType: 3,
76
- resourceExtensionType: 2,
77
- resourceExtensionName: '.mp4',
78
- resourceName: 'pc二级页01.mp4',
79
- resourceActualName: 'b632029a-44a3-40bc-9eeb-e50cd658f075.mp4',
80
- resourcePath: 'https://mpimg.ibaiqiu.cn/b632029a-44a3-40bc-9eeb-e50cd658f075.mp4',
81
- resourceCoverId: null,
82
- resourceCoverPath: 'https://mpimg.ibaiqiu.cn/85cac736-b6d4-4d67-92f9-3499760916cd.jpg',
83
- summary: '',
84
- size: 2961800,
85
- width: 1920,
86
- height: 1080,
87
- duration: 5,
88
- attributeJson: '',
89
- md5Hashcode: '7a3ed6ef9d1ed8c087e87d82d1458084',
90
- wxAppId: '',
91
- wxMediaId: '',
92
- qnHashcode: 'Fglp0ApC8g5p4dOaeYkoQKL0RRjG',
93
- shopCode: 'dolcegabbana_website',
94
- tenantCode: 'dolcegabbana',
95
- delFlg: 0,
96
- createTime: '2023-03-08 10:33:50',
97
- createUser: '',
98
- updateTime: '2023-03-08 10:33:50',
99
- updateUser: '',
100
- aspectRatio: '16:9',
101
- sources: [
102
- {
103
- type: 'video/mp4',
104
- src: 'https://mpimg.ibaiqiu.cn/b632029a-44a3-40bc-9eeb-e50cd658f075.mp4'
105
- }
106
- ],
107
- notSupportedMessage: '此视频暂无法播放,请稍后再试',
108
- imgUrl: 'https://mpimg.ibaiqiu.cn/85cac736-b6d4-4d67-92f9-3499760916cd.jpg',
109
- imgUrlId: ''
110
- }
111
- ],
112
- videoUrl: 'https://mpimg.ibaiqiu.cn/b632029a-44a3-40bc-9eeb-e50cd658f075.mp4',
113
- autoPlay: false,
114
- loop: false,
115
- controls: false,
116
- checkedAttr: ['controls']
117
- },
118
- isVideoHasHot: 0,
119
- videoHotInfo: {
120
- picList: [],
121
- popList: []
122
- },
123
- animationInObj: {
124
- type: '',
125
- direction: 'slideInUp',
126
- delay: 0,
127
- duration: 1,
128
- sort: ''
129
- },
130
- animationHoverObj: {
131
- type: 1,
132
- borderStyle: {
133
- type: 1,
134
- borderColor: '#202832',
135
- borderTop: '',
136
- borderRight: '',
137
- borderBottom: '',
138
- borderLeft: ''
139
- },
140
- bgStyle: {
141
- picList: [],
142
- backgroundColor: '',
143
- direction: 1
144
- }
145
- },
146
- sort: 1689834952859
147
- },
148
- sort: 1689834952859
149
- }
150
- ],
151
- sort: 1689834948440
152
- },
153
- languageCode: 'zh-CN',
154
- shopCode: 'dolcegabbana_website',
155
- delFlg: 0,
156
- updateTime: '2023-07-20 14:36:19',
157
- updateId: '',
158
- createTime: '2023-07-20 14:36:19',
159
- createId: '',
160
- layoutType: 1,
161
- sort: 1689834948440,
162
- originalIdStr: '3575_1689834948440'
163
- }],
28
+ cmsList: [],
164
29
  ratio: 1,
165
30
  fontRatio: 1,
166
31
  mode: 'pc',
@@ -1,6 +1,6 @@
1
1
  .video-item{
2
- width: 100%!important;
3
- height: 100%!important;
2
+ width: 101%!important;
3
+ height: 101%!important;
4
4
  object-fit: cover;
5
5
  }
6
6
 
package/src/index.scss CHANGED
@@ -59,6 +59,18 @@
59
59
  display: none!important;
60
60
  }
61
61
 
62
+ .video-js .vjs-tech {
63
+ object-fit: cover;
64
+ width: 100.5%!important;
65
+ height: 100.5%!important;
66
+ left: -0.25%!important;
67
+ top: -0.25%!important;
68
+ }
69
+
70
+ .vjs-poster img {
71
+ object-fit: cover;
72
+ }
73
+
62
74
  // .video-js .vjs-time-control{
63
75
  // text-align: center;
64
76
  // min-width: 1em!important;