parent
0b23280a4f
commit
6405edd185
|
|
@ -85,7 +85,7 @@ const article_style = ref({});
|
||||||
const default_data_list: ArticleList = {
|
const default_data_list: ArticleList = {
|
||||||
id: 0,
|
id: 0,
|
||||||
data: {},
|
data: {},
|
||||||
new_title: '测试标题',
|
new_title: '测试文章标题',
|
||||||
new_cover: [],
|
new_cover: [],
|
||||||
};
|
};
|
||||||
watch(
|
watch(
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div :style="style_container">
|
<div :style="style_container">
|
||||||
<div class="video re" :style="style">
|
<div class="video re" :style="style">
|
||||||
<image-empty v-if="!video_img" v-model="video_img" error-img-style="width:60px;height:60px;"></image-empty>
|
<template v-if="video && !video_img">
|
||||||
<video :src="video" :poster="video_img" class="w h"></video>
|
<video :src="video" class="w h"></video>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<image-empty v-model="video_img" error-img-style="width:60px;height:60px;"></image-empty>
|
||||||
|
</template>
|
||||||
<img src="@/assets/images/components/model-video/video.png" class="middle box-shadow-sm round" width="60" height="60" />
|
<img src="@/assets/images/components/model-video/video.png" class="middle box-shadow-sm round" width="60" height="60" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue