|
|
@@ -9,7 +9,7 @@
|
|
|
</div>
|
|
|
<div class="p-con w-full px-1">
|
|
|
|
|
|
- <loading v-if="tabKey===1" class="w-full h-full " :loading-state="loadingState" tip="获取图片中">
|
|
|
+ <loading v-if="tabKey===1" class="w-full h-full overflow-auto" :loading-state="loadingState" tip="获取图片中">
|
|
|
<div class="img-viewBox" :style="imgBoxStyle" ref="imgViewBox">
|
|
|
<div
|
|
|
v-for="item in images"
|
|
|
@@ -36,7 +36,7 @@
|
|
|
<!-- 文件上传部分 -->
|
|
|
<div
|
|
|
v-if="tabKey===2"
|
|
|
- class="w-full h-full flex flex-col">
|
|
|
+ class="w-full h-full flex flex-col ">
|
|
|
<div class="w-full h-32 rounded
|
|
|
border overflow-hidden flex-shrink">
|
|
|
<upload-file
|
|
|
@@ -272,7 +272,7 @@ export default {
|
|
|
form.append('file',file.file);
|
|
|
let uploadUrl = this.uploadUrl;
|
|
|
uploadUrl += `?type=${this.fileType}`;
|
|
|
- let [err,res] = await handle(this.$axios.post(this.uploadUrl,form,{
|
|
|
+ let [err,res] = await handle(this.$axios.post(uploadUrl, form,{
|
|
|
onUploadProgress: (progressEvent) => {
|
|
|
file.percent = Math.round((progressEvent.loaded * 100) / progressEvent.total) || 0;
|
|
|
}
|
|
|
@@ -332,7 +332,7 @@ export default {
|
|
|
height: calc(100% - 80px);
|
|
|
}
|
|
|
.img-viewBox{
|
|
|
- width: 100%;
|
|
|
+ width: calc(100% - 15px);
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: flex-start;
|