首页可分享

master
chen 2021-09-14 17:53:16 +08:00
parent 6b5b19ec88
commit d3408e7d9e
22 changed files with 44 additions and 37 deletions

View File

@ -1,13 +1,13 @@
{ {
"pages": [ "pages": [
{ {
"path" : "pages/tabbar/pagehome/pagehome",
"style" :{}
},{
"path" : "pages/login/login", "path" : "pages/login/login",
"style" :{ "style" :{
"navigationBarTextStyle":"black" // "navigationBarTextStyle":"black" //
} }
},{
"path" : "pages/tabbar/pagehome/pagehome",
"style" :{}
},{ },{
"path" : "pages/tabbar/my/my", "path" : "pages/tabbar/my/my",
"style" :{} "style" :{}

View File

@ -36,7 +36,7 @@
publicColor:uni.getStorageSync('publicColor'), publicColor:uni.getStorageSync('publicColor'),
canIGetUserProfile: false, canIGetUserProfile: false,
imgSrc: '/static/public/logo.png',//logo imgSrc: '/static/public/logo.png',//logo
isShowP:true isShowP:false
}; };
}, },
onLoad(options) { onLoad(options) {
@ -64,21 +64,21 @@
}, },
getphonenumber(e){// getphonenumber(e){//
console.log(e); console.log(e);
// if(e.detail.errMsg=="getPhoneNumber:ok"){ if(e.detail.errMsg=="getPhoneNumber:ok"){
// this.$requst.post('user/bind-phone',{iv:e.detail.iv,encryptedData:e.detail.encryptedData}).then(res=>{ this.$requst.post('user/bind-phone',{iv:e.detail.iv,encryptedData:e.detail.encryptedData}).then(res=>{
// console.log('',res); console.log('手机号信息:',res);
// if(res.code==0){ if(res.code==0){
// this.isShowP = false this.isShowP = false
// this.$toolAll.tools.showToast('','success') this.$toolAll.tools.showToast('手机号绑定成功','success')
// uni.setStorageSync('bindPhone',false) uni.setStorageSync('bindPhone',false)
// uni.reLaunch({url:'/pages/tabbar/pagehome/pagehome'}) uni.reLaunch({url:'/pages/tabbar/pagehome/pagehome'})
// } }
// },error=>{}) },error=>{})
// } else { } else {
// this.isShowP = false this.isShowP = false
// this.$toolAll.tools.showToast('','success') this.$toolAll.tools.showToast('登录成功','success')
// uni.reLaunch({url:'/pages/tabbar/pagehome/pagehome'}) uni.reLaunch({url:'/pages/tabbar/pagehome/pagehome'})
// } }
}, },
goXie(){ goXie(){
uni.navigateTo({ uni.navigateTo({

View File

@ -157,6 +157,7 @@
} }
this.checkKT()// this.checkKT()//
}, },
onShareAppMessage(res) {},
onLoad(options) { onLoad(options) {
// //
// setTimeout(()=>{ // setTimeout(()=>{

View File

@ -275,6 +275,12 @@
} }
this.checkDetail(this.conid) this.checkDetail(this.conid)
if(options.share_id!=undefined) this.share_id = options.share_id if(options.share_id!=undefined) this.share_id = options.share_id
let maiOjb = {
e:4,//
c:this.conid*1,
t:new Date().getTime()//
}
this.$toolAll.tools.maiDian(maiOjb)
}, },
methods: { methods: {
moveHandle(){// moveHandle(){//

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long