no message

cyl/job_im
jscyl13849007907 1 week ago
parent 49d3faded7
commit 5a418dec47

@ -657,16 +657,16 @@ export default {
uni.downloadFile({ uni.downloadFile({
url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png", url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png",
success(res) { success(res) {
// console.log(res); const img = canvas.createImage();
// const img = canvas.createImage(); img.src = res.tempFilePath;
// img.src = res.tempFilePath; img.onload = () => {
// img.onload = () => { that.G.roundRect(ctx, img, 60, 60, 150, 150, 0);
// that.G.roundRect(ctx, img, baseLeft, baseTop + 108, QRSize, QRSize, 0); resolve();
// }; };
resolve();
}, },
fail(err) { fail(err) {
console.log(err); console.log(err);
resolve();
}, },
}); });
}); });
@ -919,7 +919,7 @@ export default {
}); });
}); });
}, },
// //
setShareJobImg(ctx, canvas, mycenter, funObj) { setShareJobImg(ctx, canvas, mycenter, funObj) {
let that = this; let that = this;
let labelLeft = 0; let labelLeft = 0;
@ -964,16 +964,16 @@ export default {
uni.downloadFile({ uni.downloadFile({
url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png", url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png",
success(res) { success(res) {
// // console.log(res); const img = canvas.createImage();
// const img = canvas.createImage(); img.src = res.tempFilePath;
// img.src = res.tempFilePath; img.onload = () => {
// img.onload = () => { that.G.roundRect(ctx, img, 60, 60, 150, 150, 0);
// that.G.roundRect(ctx, img, baseLeft, baseTop + 108, QRSize, QRSize, 0); resolve();
// }; };
resolve();
}, },
fail(err) { fail(err) {
// console.log(err); // console.log(err);
resolve();
}, },
}); });
}); });

@ -33,7 +33,7 @@
<rh-button btnText="登录/注册" type="primary" @clickBtn="goHome" width="260" height="44" /> <rh-button btnText="登录/注册" type="primary" @clickBtn="goHome" width="260" height="44" />
</view> </view>
<!-- #ifdef MP-WEIXIN --> <!-- #ifdef MP-WEIXIN -->
<view class="g_flex_row_center g_mt_24 g_mb_24"> <view class="g_flex_row_center g_mt_24 g_mb_24">
<view class="g_flex_column_center"> <view class="g_flex_column_center">
<view class="bor g_w_90 g_h_1 g_border_e_b"></view> <view class="bor g_w_90 g_h_1 g_border_e_b"></view>

Loading…
Cancel
Save