Commit 2ef3f594 by sunerhu

1.修改了一些Bug

parent 44ae8364
......@@ -163,9 +163,14 @@
loginType: '',
sliceshare: false,
nonRequiredCount: 0,
requiredCount: 0
requiredCount: 0,
realName: ''
};
},
onLoad(){
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
},
methods: {
goBack() {
console.log(12121232)
......@@ -193,6 +198,43 @@
url:val.item.link
})
},
uniShare(type) {
if (type === 1) {
uni.share({
provider: "weixin",
scene: "WXSceneSession",
type: 0,
href: "https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId,
title: "CFFP家庭财务策划师联盟邀您加入",
summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
imageUrl: "https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg",
success: function(res) {
console.log("success:" + JSON.stringify(res));
},
fail: function(err) {
console.log("fail:" + JSON.stringify(err));
}
});
} else if (type === 2) {
uni.share({
provider: "weixin",
scene: "WXSceneTimeline",
type: 0,
href: "https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId,
title: "CFFP家庭财务策划师联盟邀您加入",
summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
imageUrl: "https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg",
success: function(res) {
console.log("success:" + JSON.stringify(res));
},
fail: function(err) {
console.log("fail:" + JSON.stringify(err));
}
});
}
},
// 订单保存
saveOrder() {
if (this.loginType === 'visitor') {
......
......@@ -23,7 +23,9 @@
areaName:'',
invitationName:'',
shareId:'',
levelaName:''
levelaName:'',
mobileNumber:'',
name:''
}
},
onLoad(options) {
......@@ -41,13 +43,15 @@
})
},
ckregister(){
let dataForm = {
name: this.name,
mobile: this.mobileNumber,
id:this.shareId
};
// ' let dataForm = {
// name: this.name,
// mobile: this.mobileNumber,
// id:this.shareId
// };'
uni.navigateTo({
url:'/pages/invitationRegister/invitationlogin?form=' + JSON.stringify(dataForm)
// url:'/pages/invitationRegister/invitationlogin?name=' + this.name+'&mobile=' +this.mobileNumber + '&id=' + this.shareId
url:`/pages/invitationRegister/invitationlogin?name=${this.name}&mobile=${this.mobileNumber}`
})
}
}
......
......@@ -55,7 +55,11 @@
}
},
onLoad(options) {
this.form =JSON.parse( options.form)
console.log(options, 2225)
this.form.name = options.name?options.name:''
this.form.mobile = options.mobile? options.mobile: ''
this.form.id = options.id?options.id:''
// this.form =JSON.parse( options.form)
},
methods:{
sendMessage(){
......@@ -112,7 +116,6 @@
...this.form
}
api.loginVerification(params).then((res)=>{
console.log(res, 5524)
if(res['success']){
this.userId = String(res['data']['userId']);
uni.navigateTo({
......
......@@ -158,13 +158,15 @@
orgList: [],
orgdataList: [],
queryorgList: [],
shareId: ''
shareId: '',
realName:''
};
},
onLoad() {
this.getqueryOrgList()
console.log(uni.getStorageSync('userinfodataForm'),74174)
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
},
methods: {
queryorgchange(e) {
......@@ -279,7 +281,7 @@
href: "https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId,
title: "CFFP家庭财务策划师联盟邀您加入",
summary: `我是家庭财务策划师${uni.getStorageSync('cffp_userId')}正在使用CFFP财富中心,点击下载即刻加入!`,
summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
imageUrl: "https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg",
success: function(res) {
console.log("success:" + JSON.stringify(res));
......@@ -296,7 +298,7 @@
href: "https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId,
title: "CFFP家庭财务策划师联盟邀您加入",
summary: "我是家庭财务策划师***正在使用CFFP财富中心,点击下载即刻加入!",
summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
imageUrl: "https://mdev.zuihuibi.cn/cffp/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