Commit 2fdb6294 authored by wangxuelai's avatar wangxuelai

'画图功能修改'

parent d3e6245e
......@@ -502,7 +502,7 @@ Page({
}
setTimeout(() => {
that.canvasToTempFilePath(imgInfoList, type, index, AcSubIndex);
}, 1000)
}, 1500)
}else{
that.getImgInfo();
}
......@@ -522,7 +522,6 @@ Page({
backimgs.push({src:imgArr[i], status:'fullfilled', type:'image' })
}
}
console.log(backimgs, 'backimgs');
prevPage.setData({
// imageBox: prevPage.data.imageBox.concat(backimgs),
tempFilesImgs: backimgs
......
......@@ -32,7 +32,7 @@
/>
<image
class="cur-img"
src="{{imgInfoList[AcSubIndex].isDraw ? imgArr[AcSubIndex] : filter.imagify(imgArr[AcSubIndex], 'image/resize,w_750/format,jpg')}}"
src="{{imgInfoList[AcSubIndex].isDraw ? imgArr[AcSubIndex] : filter.imagify(imgArr[AcSubIndex], 'image/resize,w_375/format,jpg')}}"
style="width: {{imgInfoList[AcSubIndex].width}}px; height:{{imgInfoList[AcSubIndex].height}}px"
mode="aspectFit|aspectFill|widthFix"
lazy-load="false"
......
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