parent
0b23280a4f
commit
6405edd185
|
|
@ -85,7 +85,7 @@ const article_style = ref({});
|
|||
const default_data_list: ArticleList = {
|
||||
id: 0,
|
||||
data: {},
|
||||
new_title: '测试标题',
|
||||
new_title: '测试文章标题',
|
||||
new_cover: [],
|
||||
};
|
||||
watch(
|
||||
|
|
|
|||
|
|
@ -1,8 +1,12 @@
|
|||
<template>
|
||||
<div :style="style_container">
|
||||
<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>
|
||||
<video :src="video" :poster="video_img" class="w h"></video>
|
||||
<template v-if="video && !video_img">
|
||||
<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" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue