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)' : '' }" :style="{ 'background-image': showBg ? 'url(' + cdnBaseImg + 'share_bg.svg)' : '' }"
:class="showBg ? 'g_pt_32' : ''"> :class="showBg ? 'g_pt_32' : ''">
<!-- #ifdef MP-WEIXIN --> <!-- #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> <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;"> <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" /> <rh-loading :loading="loading" />
</view> </view>
<image v-show="!loading" :src="shareJobImg" show-menu-by-longpress style="width: 343px; display: block" <image v-show="!loading" :src="shareJobImg" show-menu-by-longpress style="width: 343px; height: 567px; display: block"
mode="widthFix"></image> mode=""></image>
</view> </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> <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 --> <!-- #endif -->
@ -410,26 +410,26 @@
}).then(() => { }).then(() => {
this.setShareJobImg(ctx, canvas, mycenter, offsetTop) this.setShareJobImg(ctx, canvas, mycenter, offsetTop)
.then(function(canvas1) { .then(function(canvas1) {
uni.canvasToTempFilePath({ uni.canvasToTempFilePath({
canvas: canvas1, canvas: canvas1,
success(res) { success(res) {
resolve(res); resolve(res);
}, },
fail(res) { fail(res) {
uni.hideLoading(); uni.hideLoading();
uni.showToast({ uni.showToast({
title: res.errMsg, title: res.errMsg,
icon: "error", icon: "error",
}); });
}, },
}); });
}) })
.catch((err) => { .catch((err) => {
uni.hideLoading(); uni.hideLoading();
uni.showToast({ uni.showToast({
title: "生成失败,请重试", title: "生成失败,请重试",
});
}); });
});
}); });
}); });
}); });

Loading…
Cancel
Save