Commit 5956e10e authored by mzx's avatar mzx

文件上传公共样式修改

parent 20f11a7e
...@@ -17,15 +17,25 @@ ...@@ -17,15 +17,25 @@
<!-- 上传按钮 --> <!-- 上传按钮 -->
<el-button size="mini" type="primary">选取文件</el-button> <el-button size="mini" type="primary">选取文件</el-button>
<!-- 上传提示 --> <!-- 上传提示 -->
<!-- <div class="el-upload__tip" slot="tip" v-if="showTip">-->
<!-- 请上传-->
<!-- <template v-if="fileSize">-->
<!-- 大小不超过 <b style="color: #f56c6c">{{ fileSize }}MB</b>-->
<!-- </template>-->
<!-- <template v-if="fileType">-->
<!-- 格式为 <b style="color: #f56c6c">{{ fileType.join('/') }}</b>-->
<!-- </template>-->
<!-- 的文件-->
<!-- </div>-->
<div class="el-upload__tip" slot="tip" v-if="showTip"> <div class="el-upload__tip" slot="tip" v-if="showTip">
请上传 只能上传
<template v-if="fileSize">
大小不超过 <b style="color: #f56c6c">{{ fileSize }}MB</b>
</template>
<template v-if="fileType"> <template v-if="fileType">
格式为 <b style="color: #f56c6c">{{ fileType.join('/') }}</b> {{ fileType.join('/') }}
</template>
文件,
<template v-if="fileSize">
且不得超过{{ fileSize }}MB
</template> </template>
的文件
</div> </div>
</el-upload> </el-upload>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment