Commit 893c5ddc by wenyang

优化2

parent e3fc0f40
......@@ -2,7 +2,7 @@
"name" : "银盾家办",
"appid" : "__UNI__ED34740",
"description" : "",
"versionCode" : 105,
"versionCode" : 200,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......@@ -213,7 +213,7 @@
}
},
"_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51",
"versionName" : "1.0.2",
"versionName" : "2.0.0",
"mp-qq" : {
"setting" : {
"urlCheck" : false
......
......@@ -265,13 +265,15 @@
// } else {
// this.isWxH5 = false;
// }
// #ifdef APP-PLUS
this.isWxH5 = true;
// #endif
// #ifndef APP-PLUS
if(this.isWeiXin()){
this.isWxH5 = true;
}else{
this.isWxH5 = false;
}
// #ifdef APP-PLUS
this.isWxH5 = true;
// #endif
},
/**
......@@ -359,7 +361,7 @@
//app分享
// #ifdef APP-PLUS
let dataWXform = {
href: baseURL + "/pages/courseDetail/courseDetail?fileId=" + this.fileId +
href: baseURL + "/appYdhomeoffice/pages/courseDetail/courseDetail?fileId=" + this.fileId +
'&coursesharing=1' + '&serialsNo=' + nanoid() + '&shareCode=' + shareCode + '&shareUserId=' +
this.userId + '&jumpUrl=' + jumptime + "&",
title: this.courseInfo.fileTitle,
......@@ -699,7 +701,7 @@
let data = {
title: this.courseInfo.fileTitle,
desc: '加入我们开启学习之旅',
link:"https://" + window.location.host + "/pages/courseDetail/courseDetail?fileId=" + this.fileId +
link:"https://" + window.location.host + "/appYdhomeoffice/pages/courseDetail/courseDetail?fileId=" + this.fileId +
'&coursesharing=1' + '&serialsNo=' + nanoid() + '&shareCode=' + shareCode + '&shareUserId=' +
this.userId + '&jumpUrl=' + jumptime + "&", //分享链接
imgUrl: this.courseInfo.displayImage, //图片
......@@ -762,7 +764,7 @@
userId: uni.getStorageSync('cffp_userId'),
businessType: '1', // 分享类型
businessId: this.fileId, // 课程Id
shareUrl: "https://" + window.location.host + "/pages/courseDetail/courseDetail?fileId=" + this.fileId +
shareUrl: "https://" + window.location.host + "/appYdhomeoffice/pages/courseDetail/courseDetail?fileId=" + this.fileId +
'&coursesharing=1' + '&serialsNo=' + nanoid() + '&shareCode=' + shareCode + '&shareUserId=' +
this.userId + '&jumpUrl=' + jumptime + "&", // 分享链接
shareType: '2', // 分享类型(1:图片分享; 2:链接分享)
......
......@@ -294,9 +294,9 @@
//desc: `我是家庭财务策划师${this.realName}正在使用银盾家办,点击即刻加入!`,
desc: `${this.realName}邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`,
link: "https://" + window.location.host +
"/pages/invitationRegister/invitationRegister?shareId=" +
"/appYdhomeoffice/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId + '&invitationCode=' + this.invitationCode, //分享链接
imgUrl: `${baseURL}/static/yd_Logo.png`, //图片
imgUrl: `${baseURL}/appYdhomeoffice/static/yd_Logo.png`, //图片
//imgUrl: `${baseURL}/static/cffp_logo.jpg`, //图片
}
//安卓机型获取当前页面路径
......@@ -335,11 +335,11 @@
provider: "weixin",
scene: type === 1 ? "WXSceneSession" : "WXSceneTimeline",
type: 0,
href: `${baseURL}/pages/invitationRegister/invitationRegister?shareId=${this.shareId}&invitationCode=${this.invitationCode}`,
href: `${baseURL}/appYdhomeoffice/pages/invitationRegister/invitationRegister?shareId=${this.shareId}&invitationCode=${this.invitationCode}`,
title: "银盾家办家庭财务策划师联盟邀您加入",
//summary: `我是家庭财务策划师${this.realName}正在使用银盾家办,点击下载即刻加入!`,
summary: `${this.realName}邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`,
imageUrl: `${baseURL}/static/yd_Logo.png`, //图片
imageUrl: `${baseURL}/appYdhomeoffice/static/yd_Logo.png`, //图片
//imageUrl: `${baseURL}/static/cffp_logo.jpg`,
success: function(res) {
console.log("success:" + JSON.stringify(res));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment