Commit 3ddcdd05ec09e9991c7382a907434ff083ee7907

Authored by wangfan
1 parent a3f2f1b6

seller-Invitation

... ... @@ -35,9 +35,9 @@ App({
this.getSystemInfo();
this.openid=await this.getOpenid();
console.log('this.openid',this.openid,mta);
},
onShow:async function(){
this._getOpenid();
if (wx.canIUse('getUpdateManager')) {
const updateManager = wx.getUpdateManager();
updateManager.onCheckForUpdate(function (res) {
... ...
... ... @@ -456,7 +456,7 @@ Page({
this.checkedTables={};
App.Reserve.Detail({rid: _id, openid: ''}, 'clear')
wx.navigateTo({
url: 'b_invitation?id=' + _id,
url: util.http_build_query({id:_id,tplid:1},'b_invitation'),
});
} else {
util.toast(res.msg, 'none')
... ...
... ... @@ -33,20 +33,17 @@ Page({
onShareAppMessage: function () {
this.selectComponent('#notice').close();
var obj=this.data.bookInfo;
var path='/pages/customer/index?id='+this.data.bookInfo.id;
if(this.enter_params){
path+='&fromid='+this.enter_params.seller_openid
}
let nickname="";
try{
nickname='"'+this.sc.seller_user.nickname+'"';
}catch(e){}
let imageUrl=util.cgi('index.php?service=App.Reserve.MakePic&rid=').replace('?s=','')+obj.id
console.log('App.Reserve.MakePic',imageUrl);
let path=util.http_build_query({
id:this.data.bookInfo.id,
fromid:getApp().openid,
hasSellerShare:1,
hasInvitation:1,
tplid:1
},'/pages/customer/index')
return {
//title: (nickname||'')+'给你发送了一个订座信息,点击查看详情',
title: '点击查看详情,发邀请函',
path: path+'&hasInvitation=1&hasSellerShare=1',
path: path,
imageUrl:'http://qn.colorcun.com/manager-invitation/wx2/%E9%A2%84%E5%AE%9A%E5%AE%89%E6%8E%92-%E5%95%86%E5%8A%A1.jpg',
success: function (res) {
console.log(res,666666)
... ...
... ... @@ -123,7 +123,7 @@ Page({
fromid:getApp().openid,
hasSellerShare:1,
hasInvitation:1,
},'/pages/manager-invitation/display')
},'/pages/customer/index')
return {
title: '点击查看详情,发邀请函',
path: path,
... ...