Commit c260202ae7b7a391dc07f51137e99a0b55a1eac3

Authored by wangfan
1 parent df1eacb4

ui fix

... ... @@ -54,12 +54,6 @@
"borderStyle": "",
"list": [
{
"pagePath": "pages/reserve/index",
"text": "订座",
"iconPath": "pages/image/tabicon-reserve.png",
"selectedIconPath": "pages/image/tabicon-reserve-checked.png"
},
{
"pagePath": "pages/customer/list",
"text": "日程",
"iconPath": "pages/image/tabicon-schedule.png",
... ...
... ... @@ -52,8 +52,8 @@ Page({
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return this.shareSetting();
onShareAppMessage: function (e) {
return this.shareSetting(e);
},
getListData(fouce=false){
App.Reserve.GetListFromScheAndRes({
... ... @@ -112,6 +112,7 @@ Page({
},
shareSetting(e){
console.log('shareSetting',e)
let id=e.target.dataset.id
//this.data.detail.openid==getApp().openid
let nickname="";
try{
... ... @@ -120,7 +121,7 @@ Page({
return {
//title: (nickname||'')+'给你发了一个邀请,点击查看',
title: '你收到一个邀请函,点击查看',
path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
path: '/pages/customer/index?id='+id+'&fromid='+getApp().openid+'&invite_name='+nickname+'&hasInvitation=1',
imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id,
}
},
... ...