Commit e90d621d authored by 罗超's avatar 罗超

修改

parent feac2464
<style> <style>
.diy-video { .diy-video {
width: 100%; width: 100%;
height: 400px; height: 100%;
background: #353535; background: #353535;
overflow: hidden; overflow: hidden;
} }
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
} }
.video_preview{
height:400px;
}
</style> </style>
<template> <template>
<div :class="{'active':videoData.isCked}"> <div :class="{'active':videoData.isCked}">
...@@ -31,7 +33,7 @@ ...@@ -31,7 +33,7 @@
<el-button type="primary" icon="el-icon-arrow-down" v-if="index!=dataLeng-1" @click="resetSord(1)" <el-button type="primary" icon="el-icon-arrow-down" v-if="index!=dataLeng-1" @click="resetSord(1)"
style="right: -25px; top: 30px;"></el-button> style="right: -25px; top: 30px;"></el-button>
</div> </div>
<div class="diy-component-preview" :style="{paddingTop:videoData.data.top+'px',paddingRight:videoData.data.right+'px',paddingBottom:videoData.data.bottom+'px', <div class="diy-component-preview video_preview" :style="{paddingTop:videoData.data.top+'px',paddingRight:videoData.data.right+'px',paddingBottom:videoData.data.bottom+'px',
paddingLeft:videoData.data.left+'px',backgroundImage:'url(' +data.backgroundimage + ')'}"> paddingLeft:videoData.data.left+'px',backgroundImage:'url(' +data.backgroundimage + ')'}">
<div class="diy-video" :style="{borderRadius:videoData.data.radius+'px'}"> <div class="diy-video" :style="{borderRadius:videoData.data.radius+'px'}">
<img :src="getIconLink(data.pic_url)" style="width: 100%;height:100%;" v-if="data.pic_url"> <img :src="getIconLink(data.pic_url)" style="width: 100%;height:100%;" v-if="data.pic_url">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment