mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-08 09:31:26 +08:00
优化素材中心
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="file-item relative" :style="{ height: fileSize, width: fileSize }">
|
||||
<el-image class="image" v-if="type == 'image'" fit="contain" :src="uri"></el-image>
|
||||
<el-image
|
||||
class="image"
|
||||
v-if="type == 'image'"
|
||||
fit="contain"
|
||||
loading="lazy"
|
||||
:src="uri"
|
||||
></el-image>
|
||||
<video class="video" v-else-if="type == 'video'" :src="uri"></video>
|
||||
<div
|
||||
v-if="type == 'video'"
|
||||
|
Reference in New Issue
Block a user