样式修改

This commit is contained in:
a0049873 2022-07-08 17:51:41 +08:00
parent f2e0f87605
commit 2447b7abfa
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,7 @@
:on-remove="handleRemove"
:limit="maxCount"
:file-list="fileList">
<el-button size="small" type="primary">上传{{type}}</el-button>
<el-button>上传{{type}}</el-button>
<div slot="tip" class="el-upload__tip">{{tip}}</div>
</el-upload>
</template>

View File

@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-07-08 09:48:52
* @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-07-08 17:26:50
* @LastEditTime: 2022-07-08 17:48:27
* @Description: 告诉大家这是什么
-->
<template>
@ -21,6 +21,7 @@
tip="支持文件类型大小不超过100M"></upload>
<upload @changeInfoList='changeInfoList' :title='item.name' accept='.mp4' :list="[]" v-else-if="item.type == 'video'" type="视频" btnName="上传视频" :maxCount="1" :dataList="item"
tip="支持视频类型大小不超过100M"></upload>
<el-button v-else-if="item.type == 'richText'" @click="goToRichText">打开编辑器</el-button>
</div>
</template>
<template v-else>
@ -156,6 +157,9 @@ export default {
methods: {
changeInfoList (obj) {
this.$emit('changeInfoList', obj)
},
goToRichText () {
}
}
}