Merge branch 'dev-yxl' of gitee.com:zongzhige/shopxo-uniapp into dev-sws
commit
15984846d6
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view :style="style_container + 'height:' + form.height * scale + 'px;'">
|
||||
<view :style="style_container">
|
||||
<view class="custom-container wh-auto ht-auto" :style="style_img_container">
|
||||
<view class="wh-auto ht-auto pr">
|
||||
<view class="wh-auto pr" :style="'height:' + form.height * scale + 'px;'">
|
||||
<view v-for="(item, index) in form.custom_list" :key="item.id" class="main-content" :style="{ left: get_percentage_count(item.location.x, div_width), top: get_percentage_count(item.location.y, div_height), width: get_percentage_count(item.com_data.com_width, div_width), height: get_percentage_count(item.com_data.com_height, div_height), 'z-index': custom_list_length > 0 ? custom_list_length - index : 0 }">
|
||||
<template v-if="item.key == 'text'">
|
||||
<model-text :propKey="propKey" :propValue="item.com_data" :propScale="scale" :propSourceList="form.data_source_content" @url_event="url_event"></model-text>
|
||||
|
|
|
|||
Loading…
Reference in New Issue