zhengkaixin hace 2 años
padre
commit
7633ca15d0
Se han modificado 1 ficheros con 6 adiciones y 5 borrados
  1. 6 5
      src/components/Cropper.vue

+ 6 - 5
src/components/Cropper.vue

@@ -7,15 +7,16 @@
 		</div>
 		<div class="content">
 			<div class="show-info">
-				<div class="test" :style="'width:'+cwidth+'px;height:'+cheight+'px'">
-					<vueCropper ref="cropper" :img="cropper.img " :outputSize="cropper.size" :outputType="cropper.outputType" :info="cropper.info"
-					 :canScale="cropper.canScale" :autoCrop="cropper.autoCrop" :autoCropWidth="cropper.autoCropWidth" :autoCropHeight="cropper.autoCropHeight"
-					 :fixed="cropper.fixed" :fixedNumber="cropper.fixedNumber" :enlarge="4"></vueCropper>
-				</div>
 				<div style="margin-top: 10px;">
 					<button type="button" @click="cancel" class="mui-btn">取消</button>
 					<button type="button" @click="finish" class="mui-btn" style="float: right;">确定</button>
 				</div>
+				<div class="test" :style="'margin-top: 10px;width:'+cwidth+'px;height:'+cheight+'px'">
+					<vueCropper ref="cropper" :img="cropper.img " :outputSize="cropper.size" :outputType="cropper.outputType" :info="cropper.info"
+					 :canScale="cropper.canScale" :autoCrop="cropper.autoCrop" :autoCropWidth="cropper.autoCropWidth" :autoCropHeight="cropper.autoCropHeight"
+					 :fixed="cropper.fixed" :fixedNumber="cropper.fixedNumber" :enlarge="4"></vueCropper>
+				</div>
+				
 				<div style="font-size: 14px;margin-top: 10px;line-height: 20px;color: red;">1.照片用于人脸识别设备,请上传清晰免冠登记照或肩部以上近照。</div>
 				<div style="font-size: 14px;margin-top: 10px;line-height: 20px;color: #888888;">2.可以拖动图片或双手指缩放图片,最好让照片填满马赛克边框。</div>
 			</div>