baiqiu-cms-decoration-dg 0.0.7 → 0.0.9
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/dist/baiqiu-cms-decoration.min.js +2 -2
- package/dist/baiqiu-cms-decoration.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/cms/cms.js +8 -0
- package/src/components/cms/hotspot/hotspot.js +5 -4
- package/src/components/cms/singleLayout/singleLayout.js +1 -10
- package/src/components/cms/slideLayout/slideLayout.js +1 -1
- package/src/utils/common.js +2 -2
package/package.json
CHANGED
@@ -111,7 +111,7 @@ export default {
|
|
111
111
|
componentMethodType: 1,
|
112
112
|
popData: {
|
113
113
|
...val,
|
114
|
-
uniqueId: this.recordId + '_' + this.sortId + '_' + val.uniqueId('_')[2],
|
114
|
+
uniqueId: this.recordId + '_' + this.sortId + '_' + val.uniqueId.split('_')[2],
|
115
115
|
brand: this.pathType === 1 ? 'defaultPath' : this.brand
|
116
116
|
},
|
117
117
|
materialId: this.item.sort ? this.recordId + '_' + this.item.sort : this.recordId + '_' + this.sortId, //素材id
|
@@ -126,7 +126,7 @@ export default {
|
|
126
126
|
this.envUrl
|
127
127
|
)
|
128
128
|
} catch(err) {
|
129
|
-
|
129
|
+
console.log(err)
|
130
130
|
}
|
131
131
|
}
|
132
132
|
this.$emit('jumpLink', val)
|
@@ -169,10 +169,11 @@ export default {
|
|
169
169
|
{
|
170
170
|
uniqueId: this.recordId + '_' + this.sortId, // 组件_id
|
171
171
|
uniqueName: this.uniqueName, // 组件_名称
|
172
|
-
|
172
|
+
componentMethodType: 0,
|
173
173
|
popData: {
|
174
174
|
...obj,
|
175
|
-
|
175
|
+
uniqueId: this.recordId + '_' + this.sortId + '_' + obj.uniqueId.split('_')[2],
|
176
|
+
brand: this.pathType === 1 ? 'defaultPath' : this.brand
|
176
177
|
},
|
177
178
|
materialId: this.item.sort ? this.recordId + '_' +this.item.sort : this.recordId + '_' + this.sortId, //素材id
|
178
179
|
materialName: this.item.uniqueName ? this.item.uniqueName : this.uniqueName, //素材名称
|
@@ -39,15 +39,6 @@ export default {
|
|
39
39
|
componentName:''
|
40
40
|
};
|
41
41
|
},
|
42
|
-
watch: {
|
43
|
-
// layOutData: {
|
44
|
-
// handler(val) {
|
45
|
-
// console.log("layOutData", val);
|
46
|
-
// },
|
47
|
-
// deep: true,
|
48
|
-
// immediate: true
|
49
|
-
// }
|
50
|
-
},
|
51
42
|
computed: {
|
52
43
|
layoutStyle:function () {
|
53
44
|
if(this.layOutData.layoutStyle){
|
@@ -63,7 +54,7 @@ export default {
|
|
63
54
|
methods: {
|
64
55
|
reportData(h) {
|
65
56
|
let refs = this.$refs.singleComponent
|
66
|
-
refs.forEach(item => {
|
57
|
+
refs&&refs.forEach(item => {
|
67
58
|
item.reportData(h)
|
68
59
|
});
|
69
60
|
}
|