Revert "no message"

This reverts commit 46f5cad774.
cyl/job_im
jscyl13849007907 5 days ago
parent 46f5cad774
commit baec27d0a6

@ -3,13 +3,13 @@
:style="{ 'background-image': showBg ? 'url(' + cdnBaseImg + 'share_bg.svg)' : '' }"
:class="showBg ? 'g_pt_32' : ''">
<!-- #ifdef MP-WEIXIN -->
<view class="g_position_rela" style="width: 343px; margin: 0 auto;">
<view class="g_position_rela" style="width: 343px; height: 567px; margin: 0 auto;">
<div style="height: 16px;"></div>
<view v-if="loading" class="g_position_abso g_top_0 g_left_0 g_w_all g_h_all g_flex_row_center flex_center" style="z-index: 10;">
<rh-loading :loading="loading" />
</view>
<image v-show="!loading" :src="shareJobImg" show-menu-by-longpress style="width: 343px; display: block"
mode="widthFix"></image>
<image v-show="!loading" :src="shareJobImg" show-menu-by-longpress style="width: 343px; height: 567px; display: block"
mode=""></image>
</view>
<view v-show="!loading" class="g_text_c g_fs_16 g_mt_28 g_mb_32 g_fw_600" style="margin-top: 36px;color: #333;"></view>
<!-- #endif -->
@ -410,26 +410,26 @@
}).then(() => {
this.setShareJobImg(ctx, canvas, mycenter, offsetTop)
.then(function(canvas1) {
uni.canvasToTempFilePath({
canvas: canvas1,
success(res) {
resolve(res);
},
fail(res) {
uni.hideLoading();
uni.showToast({
title: res.errMsg,
icon: "error",
});
},
});
})
.catch((err) => {
uni.hideLoading();
uni.showToast({
title: "生成失败,请重试",
});
uni.canvasToTempFilePath({
canvas: canvas1,
success(res) {
resolve(res);
},
fail(res) {
uni.hideLoading();
uni.showToast({
title: res.errMsg,
icon: "error",
});
},
});
})
.catch((err) => {
uni.hideLoading();
uni.showToast({
title: "生成失败,请重试",
});
});
});
});
});

Loading…
Cancel
Save