This commit is contained in:
yanran200730
2023-04-17 13:45:33 +08:00
parent a461c9add7
commit 785ba26120
4 changed files with 13 additions and 8 deletions

View File

@@ -23,10 +23,9 @@
</ai-info-item>
<ai-info-item label="事件描述" isLine :value="info.content"></ai-info-item>
<ai-info-item label="活动附件" isLine>
<!-- <AiFileList :fileList="info.files"></AiFileList> -->
<div class="files">
<div class="file-item" v-for="(item, index) in info.files" :key="index">
<img :src="item.url" v-if="item.postfix !== '.mp4'">
<img :src="item.url" v-viewer="{movable: true}" v-if="item.postfix !== '.mp4'">
<video controls v-else :src="item.url"></video>
</div>
</div>
@@ -100,10 +99,6 @@
})
},
isMp4 (postfix) {
return postfix.toLowerCase() === 'mp4'
},
onClose () {
this.id = ''
this.form.auditDesc = ''
@@ -153,6 +148,15 @@
height: 100%;
object-fit: cover;
}
img {
cursor: pointer;
transition: all ease 0.3s;
&:hover {
opacity: 0.7;
}
}
}
}
}

View File

@@ -129,6 +129,7 @@
},
computed: {
...mapState(['user']),
hideLevel () {
return this.user.info.areaList?.length || 0
}

View File

@@ -136,7 +136,7 @@
<ai-select
v-model="search.status"
@change="(search.current = 1), getList()"
placeholder="请选择类型"
placeholder="请选择状态"
:selectList="dict.getDict('integralSGStatus')">
</ai-select>
</template>

View File

@@ -12,7 +12,7 @@
<ai-select
v-model="search.status"
@change="(search.current = 1), getList()"
placeholder="请选择类型"
placeholder="请选择状态"
:selectList="dict.getDict('integralSGStatus')">
</ai-select>
<el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button>