适配修改

This commit is contained in:
GYJ
2024-12-24 14:19:08 +08:00
parent 37a9b16de5
commit a9078dd4eb
3 changed files with 6 additions and 2 deletions

View File

@@ -291,6 +291,9 @@
uni.canvasToTempFilePath({ uni.canvasToTempFilePath({
canvasId: _this.CanvasID, canvasId: _this.CanvasID,
quality: 1, quality: 1,
fail: (err) => {
console.log("-----", err);
},
complete: res => { complete: res => {
console.log(res) console.log(res)
if ( res.tempFilePath) { if ( res.tempFilePath) {

View File

@@ -375,7 +375,8 @@
}); });
}, },
ymfposterSuccess(haibaoImg) { ymfposterSuccess(haibaoImg) {
this.haibaoImg = haibaoImg; console.log("ssssssssssssssss", haibaoImg);
this.haibaoImg = haibaoImg.tempFilePath;
this.modalName = 'Image'; this.modalName = 'Image';
uni.hideLoading(); uni.hideLoading();
}, },

View File

@@ -8,7 +8,7 @@
<view class="navTitle"> <view class="navTitle">
<view></view> <view></view>
<view class="title">任务大厅</view> <view class="title">任务大厅</view>
<image @click="goNav({jumpType:1,buttonUrl:'/pages/iSiAnfghCC/abKTySghjA'})" class="navTitleIcon" <image @click="goNav({jumpType:1,buttonUrl:'/pages/me/index'})" class="navTitleIcon"
src="../../static/images/my.png"></image> src="../../static/images/my.png"></image>
</view> </view>
<view class="icon u-relative padding"> <view class="icon u-relative padding">