8 lines
573 B
HTML
8 lines
573 B
HTML
<div class="fileinput fileinput-new" data-provides="fileinput">
|
|
<span class="btn btn-default btn-file" v-bind:class="{no_display:positivePhotoInfo.chooseFlag==1}">
|
|
<span class="fileinput-new" ><span><vc:i18n name="选择图片" namespace="positive-photo"></vc:i18n></span></span>
|
|
</span>
|
|
<input type="file" class="file" accept="image/jpeg,image/jpg" name="..." v-on:change="choosePositivePhoto($event)">
|
|
<img v-bind:src="positivePhotoInfo.imgInfo" v-bind:class="{no_display:positivePhotoInfo.chooseFlag==0}" width="200px" height="200px">
|
|
</div>
|