no message

cyl/job_im
jscyl13849007907 3 days ago
parent ad074af690
commit ceb7085d28

@ -30,6 +30,14 @@ export default {
path,
};
},
onShareTimeline() {
let that = this;
let appInfo = uni.getStorageSync("miniApp-info");
return {
title: appInfo.slogan || "你想找的厂都有,立即查看",
imageUrl: appInfo.sharePoster,
};
},
};
</script>

@ -220,15 +220,16 @@ export default {
};
},
onShareTimeline() {
let that = this;
let appInfo = uni.getStorageSync("miniApp-info");
return {
// title: "",
title: appInfo.slogan || "你想找的厂都有,立即查看",
imageUrl: appInfo.sharePoster,
query:`filterInfo=${JSON.stringify(that.getFilterData)}&cityInfo=${that.selectedCity}`
};
},
onLoad(options) {
// console.log("options", options);
console.log("首页 onload", options);
let that = this;
that.navInfo = that.G.getNavInfo();
let sceneInfo = uni.getLaunchOptionsSync();

@ -54,7 +54,7 @@
<script lang="ts" setup>
import { ref, onMounted, computed, getCurrentInstance } from "vue";
import { onShow, onLoad, onShareAppMessage } from "@dcloudio/uni-app";
import { onShow, onLoad, onShareAppMessage, onShareTimeline } from "@dcloudio/uni-app";
import message from "./components/message.vue";
import conversationList from "../../components/conversationList.vue";
import gMessageCell from "@/components/panel/messageCell.vue";
@ -70,6 +70,16 @@ onShareAppMessage(() => {
};
});
//
onShareTimeline(() => {
let appInfo = uni.getStorageSync("miniApp-info");
return {
title: appInfo.slogan || "你想找的厂都有,立即查看",
imageUrl: appInfo.sharePoster,
query: "",
};
});
let firstLoad = ref(false);
let showLoading = ref(true);
const globalData = ref(getApp().globalData);

@ -22,6 +22,14 @@ export default {
path,
};
},
onShareTimeline() {
let that = this;
let appInfo = uni.getStorageSync("miniApp-info");
return {
title: appInfo.slogan || "你想找的厂都有,立即查看",
imageUrl: appInfo.sharePoster,
};
},
props: {
// from: {
// type: String,

@ -196,6 +196,14 @@ export default {
path,
};
},
onShareTimeline() {
let that = this;
let appInfo = uni.getStorageSync("miniApp-info");
return {
title: appInfo.slogan || "你想找的厂都有,立即查看",
imageUrl: appInfo.sharePoster,
};
},
onReady() {},
data() {
return {

@ -454,6 +454,28 @@ export default {
}),
};
},
onShareTimeline() {
let that = this;
let path;
if (this.isMember) {
path = `id=${that.jobDetail.id}&from=home&userId=${that.userInfo.user.id}`;
} else {
path = `id=${that.jobDetail.id}&from=home`;
}
return {
promise: new Promise((resolve, reject) => {
that.getWXCanvas("", "setShare").then((res) => {
// console.log("getWXCanvas", res);
wx.hideLoading();
resolve({
title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-username") ? (uni.getStorageSync("apply-username") +'帮你挑选了一个靠谱好工作,快来看看是不是适合你~') : '',
imageUrl: res.tempFilePath,
query:path,
});
});
}),
};
},
mounted() {
var obj = dateTimePicker.dateTimePicker(this.startYear, this.endYear, this.currentTime);
this.currentTime = this.G.formatDateYMD(new Date().toLocaleDateString()) + " 06:00";

@ -30,7 +30,7 @@
</view>
<view>
<view class="g_flex_row_center">
<rh-button primaryColor="#3578f6" btnText="登录/注册" type="primary" @clickBtn="goHome" width="260" height="44" />
<rh-button btnText="登录/注册" type="primary" @clickBtn="goHome" width="260" height="44" />
</view>
<!-- #ifdef MP-WEIXIN -->
@ -44,7 +44,7 @@
</view>
</view>
<view class="g_mt_24 g_flex_row_center g_position_rela">
<rh-button primaryColor="#3578f6" width="260" height="44" icon="icon-shouji" btnText="本机号码一键登录" type="default" openType="getPhoneNumber" @clickTel="getphonenumber" />
<rh-button width="260" height="44" icon="icon-shouji" btnText="本机号码一键登录" type="default" openType="getPhoneNumber" @clickTel="getphonenumber" />
<view class="m-mask" @click="checkCheck" v-if="!switchChecked" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%"></view>
</view>
<!-- #endif -->
@ -52,7 +52,7 @@
<view class="g_flex_column_between g_flex_1 g_pb_24" hover-class="none" hover-stop-propagation="false">
<view class="g_fs_12 g_c_9 g_flex_row_center g_mb_32" style="align-items: center; margin-top: 16px">
<radio-group class="dib">
<radio :checked="switchChecked" @click="switchChange" value="0" class="dib biggerSize" color="#3578f6" style="transform: scale(0.7)" />
<radio :checked="switchChecked" @click="switchChange" value="0" class="dib biggerSize" :color="primaryTheme" style="transform: scale(0.7)" />
</radio-group>
我已阅读并同意
<navigator url="/root/person/agreeUser" class="aLink">用户服务协议</navigator>
@ -77,6 +77,7 @@ export default {
},
data() {
return {
primaryTheme:getApp().globalData.themeColor,
miniAppInfo: {},
svgBaseImg: this.G.store().cdnBaseImg,
isLoginCode: true,

Loading…
Cancel
Save