|
@@ -1,16 +1,16 @@
|
|
<template>
|
|
<template>
|
|
- <div class="roy-group">
|
|
|
|
|
|
+ <div class="yvan-group">
|
|
<div>
|
|
<div>
|
|
<component
|
|
<component
|
|
:is="item.component"
|
|
:is="item.component"
|
|
v-for="item in propValue"
|
|
v-for="item in propValue"
|
|
- :id="'roy-component-' + item.id"
|
|
|
|
|
|
+ :id="'yvan-component-' + item.id"
|
|
:key="item.id"
|
|
:key="item.id"
|
|
:element="item"
|
|
:element="item"
|
|
:prop-value="item.propValue"
|
|
:prop-value="item.propValue"
|
|
:request="item.request"
|
|
:request="item.request"
|
|
:style="item.groupStyle"
|
|
:style="item.groupStyle"
|
|
- class="roy-group-component"
|
|
|
|
|
|
+ class="yvan-group-component"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -18,18 +18,15 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import commonMixin from '@/mixin/commonMixin'
|
|
import commonMixin from '@/mixin/commonMixin'
|
|
-import RoyText from '@/components/elements/YvanRichText.vue'
|
|
|
|
-import RoyRect from '@/components/elements/YvanRect.vue'
|
|
|
|
|
|
+import YvanRect from '@/components/elements/YvanRect.vue'
|
|
|
|
+import YvanRichText from '@/components/elements/YvanRichText.vue'
|
|
|
|
|
|
-/**
|
|
|
|
- * roy-group
|
|
|
|
- */
|
|
|
|
export default {
|
|
export default {
|
|
- name: 'RoyGroup',
|
|
|
|
|
|
+ name: 'YvanGroup',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
components: {
|
|
components: {
|
|
- RoyText,
|
|
|
|
- RoyRect
|
|
|
|
|
|
+ YvanRect
|
|
|
|
+ YvanRichText,
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
propValue: {
|
|
propValue: {
|
|
@@ -56,13 +53,13 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
-.roy-group {
|
|
|
|
|
|
+.yvan-group {
|
|
& > div {
|
|
& > div {
|
|
position: relative;
|
|
position: relative;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
|
|
- .roy-group-component {
|
|
|
|
|
|
+ .yvan-group-component {
|
|
position: absolute;
|
|
position: absolute;
|
|
}
|
|
}
|
|
}
|
|
}
|