269
This commit is contained in:
@@ -23,10 +23,9 @@
|
|||||||
</ai-info-item>
|
</ai-info-item>
|
||||||
<ai-info-item label="事件描述" isLine :value="info.content"></ai-info-item>
|
<ai-info-item label="事件描述" isLine :value="info.content"></ai-info-item>
|
||||||
<ai-info-item label="活动附件" isLine>
|
<ai-info-item label="活动附件" isLine>
|
||||||
<!-- <AiFileList :fileList="info.files"></AiFileList> -->
|
|
||||||
<div class="files">
|
<div class="files">
|
||||||
<div class="file-item" v-for="(item, index) in info.files" :key="index">
|
<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>
|
<video controls v-else :src="item.url"></video>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -100,10 +99,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
isMp4 (postfix) {
|
|
||||||
return postfix.toLowerCase() === 'mp4'
|
|
||||||
},
|
|
||||||
|
|
||||||
onClose () {
|
onClose () {
|
||||||
this.id = ''
|
this.id = ''
|
||||||
this.form.auditDesc = ''
|
this.form.auditDesc = ''
|
||||||
@@ -153,6 +148,15 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all ease 0.3s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,6 +129,7 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
|
|
||||||
hideLevel () {
|
hideLevel () {
|
||||||
return this.user.info.areaList?.length || 0
|
return this.user.info.areaList?.length || 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
<ai-select
|
<ai-select
|
||||||
v-model="search.status"
|
v-model="search.status"
|
||||||
@change="(search.current = 1), getList()"
|
@change="(search.current = 1), getList()"
|
||||||
placeholder="请选择类型"
|
placeholder="请选择状态"
|
||||||
:selectList="dict.getDict('integralSGStatus')">
|
:selectList="dict.getDict('integralSGStatus')">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<ai-select
|
<ai-select
|
||||||
v-model="search.status"
|
v-model="search.status"
|
||||||
@change="(search.current = 1), getList()"
|
@change="(search.current = 1), getList()"
|
||||||
placeholder="请选择类型"
|
placeholder="请选择状态"
|
||||||
:selectList="dict.getDict('integralSGStatus')">
|
:selectList="dict.getDict('integralSGStatus')">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
<el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button>
|
<el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user