样式修改
This commit is contained in:
parent
f2e0f87605
commit
2447b7abfa
|
@ -15,7 +15,7 @@
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
:limit="maxCount"
|
:limit="maxCount"
|
||||||
:file-list="fileList">
|
: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>
|
<div slot="tip" class="el-upload__tip">{{tip}}</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-07-08 09:48:52
|
* @Date: 2022-07-08 09:48:52
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-07-08 17:26:50
|
* @LastEditTime: 2022-07-08 17:48:27
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
tip="支持文件类型,大小不超过100M"></upload>
|
tip="支持文件类型,大小不超过100M"></upload>
|
||||||
<upload @changeInfoList='changeInfoList' :title='item.name' accept='.mp4' :list="[]" v-else-if="item.type == 'video'" type="视频" btnName="上传视频" :maxCount="1" :dataList="item"
|
<upload @changeInfoList='changeInfoList' :title='item.name' accept='.mp4' :list="[]" v-else-if="item.type == 'video'" type="视频" btnName="上传视频" :maxCount="1" :dataList="item"
|
||||||
tip="支持视频类型,大小不超过100M"></upload>
|
tip="支持视频类型,大小不超过100M"></upload>
|
||||||
|
<el-button v-else-if="item.type == 'richText'" @click="goToRichText">打开编辑器</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
@ -156,6 +157,9 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
changeInfoList (obj) {
|
changeInfoList (obj) {
|
||||||
this.$emit('changeInfoList', obj)
|
this.$emit('changeInfoList', obj)
|
||||||
|
},
|
||||||
|
goToRichText () {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue