|
|
|
@ -5,21 +5,21 @@ |
|
|
|
<block-text v-if="block.type === 'text'" |
|
|
|
<block-text v-if="block.type === 'text'" |
|
|
|
:index="index" |
|
|
|
:index="index" |
|
|
|
:title.sync="block.title" |
|
|
|
:title.sync="block.title" |
|
|
|
:text.sync="block.text" |
|
|
|
:text.sync="block.txt" |
|
|
|
v-on:remove="onBlockRemoved"/> |
|
|
|
v-on:remove="onBlockRemoved"/> |
|
|
|
<block-image-text v-if="block.type === 'image-text'" |
|
|
|
<block-image-text v-if="block.type === 'image-text'" |
|
|
|
:index="index" |
|
|
|
:index="index" |
|
|
|
:title.sync="block.title" |
|
|
|
:title.sync="block.title" |
|
|
|
:text.sync="block.text" |
|
|
|
:text.sync="block.txt" |
|
|
|
:image-id.sync="block.img.id" |
|
|
|
:image-id.sync="block.img_id" |
|
|
|
:image-url.sync="block.img.image_thumbnail" |
|
|
|
:image-url.sync="block.img_thumbnail" |
|
|
|
v-on:remove="onBlockRemoved" |
|
|
|
v-on:remove="onBlockRemoved" |
|
|
|
:access-token="$root.store.accessToken"/> |
|
|
|
:access-token="$root.store.accessToken"/> |
|
|
|
<block-image v-if="block.type === 'image'" |
|
|
|
<block-image v-if="block.type === 'image'" |
|
|
|
:index="index" |
|
|
|
:index="index" |
|
|
|
:title.sync="block.title" |
|
|
|
:title.sync="block.title" |
|
|
|
:image-id.sync="block.img.id" |
|
|
|
:image-id.sync="block.img_id" |
|
|
|
:image-url.sync="block.img.image_thumbnail" |
|
|
|
:image-url.sync="block.img_thumbnail" |
|
|
|
v-on:remove="onBlockRemoved" |
|
|
|
v-on:remove="onBlockRemoved" |
|
|
|
:access-token="$root.store.accessToken"/> |
|
|
|
:access-token="$root.store.accessToken"/> |
|
|
|
<block-images v-if="block.type === 'images'" |
|
|
|
<block-images v-if="block.type === 'images'" |
|
|
|
|