no message

cyl/job_im
jscyl13849007907 1 day ago
parent 5fb14f5e00
commit 4217774f11

@ -3,10 +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' : ''">
<view class="g_flex_row_center g_fs_22 g_c_3 g_fw_600 g_mb_24" v-if="showBg"></view> <view class="g_flex_row_center g_fs_22 g_c_3 g_fw_600 g_mb_24" v-if="showBg"></view>
<!-- #ifdef APP-PLUS || MP-WEIXIN --> <!-- #ifdef MP-WEIXIN -->
<image :src="shareJobImg" show-menu-by-longpress style="width: 343px; height: 635px; margin: 0 auto; display: block" <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">
<rh-loading :loading="loading" />
</view>
<image v-show="!loading" :src="shareJobImg" show-menu-by-longpress style="width: 343px; height: 635px; margin: 0 auto; display: block"
mode=""></image> mode=""></image>
<view class="g_text_c g_fs_16 g_mt_12 g_mb_32 g_fw_600">长按图片转发给微信好友</view> <view v-show="!loading" class="g_text_c g_fs_16 g_mt_12 g_mb_32 g_fw_600"></view>
<!-- #endif --> <!-- #endif -->
<!-- #ifdef APP-PLUS --> <!-- #ifdef APP-PLUS -->
<canvas :style="{ <canvas :style="{
@ -129,6 +132,7 @@
appfile: null, appfile: null,
canvasWidth: 0, canvasWidth: 0,
canvasHeight: 0, canvasHeight: 0,
loading: true,
}; };
}, },
props: { props: {
@ -156,6 +160,7 @@
// #ifdef MP-WEIXIN || H5 // #ifdef MP-WEIXIN || H5
if (uni.getStorageSync("poster_img")) { if (uni.getStorageSync("poster_img")) {
this.shareJobImg = uni.getStorageSync("poster_img"); this.shareJobImg = uni.getStorageSync("poster_img");
this.loading = false;
} else { } else {
if (this.active == 1) { if (this.active == 1) {
uni.showLoading({ uni.showLoading({
@ -183,6 +188,7 @@
// console.log("shareJobImg345", newValue); // console.log("shareJobImg345", newValue);
setTimeout(() => { setTimeout(() => {
uni.hideLoading(); uni.hideLoading();
this.loading = false;
}, 500); }, 500);
} }
}, },

Loading…
Cancel
Save