Commit 2fdb6294 authored by wangxuelai's avatar wangxuelai

'画图功能修改'

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