mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
12 lines
770 B
HTML
12 lines
770 B
HTML
<div class="">
|
|
<div class="progress" v-if="this.uploadFileInfo.progress > 0" style="height: 1px;">
|
|
<div class="progress-bar" role="progressbar" v-bind:style="{width: this.uploadFileInfo.progress+'%'}" v-bind:aria-valuenow="this.uploadFileInfo.progress" aria-valuemin="0" aria-valuemax="100"></div>
|
|
</div>
|
|
<div style="margin-bottom: 5px;" v-if="this.uploadFileInfo.progress > 0">
|
|
<span>{{this.uploadFileInfo.fileName}}</span>
|
|
</div>
|
|
<div>
|
|
<a class="btn btn-primary text-white" v-on:click="this._uploadFile()"><vc:i18n name="上传附件" namespace="uploadFile"></vc:i18n></a>
|
|
<input type="file" class="file" accept="*" capture="camcorder" id="uploadFile" hidden v-on:change="this._chooseFile($event)">
|
|
</div>
|
|
</div> |