Commit dc2ddbcc72db057273c023de3f9e9d3b1a64d3da

Authored by pengye
1 parent 0e38f7d2

模板2-8分享卡片加预订信息

... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -55,6 +56,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -281,6 +284,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -455,6 +459,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -467,11 +489,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -217,8 +217,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -56,6 +57,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -282,6 +285,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -456,6 +460,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -468,11 +490,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -225,8 +225,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -56,6 +57,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -282,6 +285,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -456,6 +460,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -468,11 +490,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -201,8 +201,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -55,6 +56,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -281,6 +284,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -455,6 +459,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -467,11 +489,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -198,8 +198,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -56,6 +57,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
screenHeight: '',
attentionAnim: {},
... ... @@ -234,6 +237,7 @@ Page({
setTimeout(() => {
this.getstaffinfo(res.data.uid, reserev.sid);
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -407,6 +411,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
sharesetting() {
wx.reportMonitor('1017', 1)
let parmdata = {
... ... @@ -418,11 +440,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
formatDatail(detail, dateSmart) {
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -276,8 +276,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -55,6 +56,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -281,6 +284,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -455,6 +459,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -467,11 +489,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -219,8 +219,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@ import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
var plugin = requirePlugin("WechatSI");
import canvas from "./canvas"
Page({
/**
* 页面的初始数据
... ... @@ -55,6 +56,8 @@ Page({
toastBool: false, //支付定金提示框
toastText: '', //支付定金提示文字
paymentId: '', //定金id
wxml: null,
imgSrc:'',//canvas图片地址
},
tablestr: '',
urlsValue: [],
... ... @@ -280,6 +283,7 @@ Page({
this.getstaffinfo(res.data.uid, reserev.sid);
this.getroomimage(reserev.sid)
this.getSellerVersionFun(reserev.sid);
this.painterBtn(reserev.seller.seller_image,reserev.seller.sellername,util.unixtoTime(reserev.ddate, 'MM月DD日'),util.unixtoTime(reserev.ddate, '周WW HH:II'));
}, 0);
}).catch(res => {
console.log(res, '详情请求失败');
... ... @@ -454,6 +458,24 @@ Page({
})
}
},
// 生成海报
painterBtn(img,sellerName,date,time) {
img = img.replace(/^http:/, "https:");
this.setData({
wxml: canvas({
imgUrl: img || 'https://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
sellerName,
date,
time,
})
})
},
onImgOK(e) {
this.setData({
imgSrc: e.detail.path
})
console.log('海报生成成功',this.data.imgSrc);
},
// 分享
sharesetting() {
wx.reportMonitor('1017', 1)
... ... @@ -466,11 +488,10 @@ Page({
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
return {
title: '我已订好' + this.data.seller.name + ',点击可查看详情并导航到店',
path: util.http_build_query(parmdata, '/pages/customer/detail_owner_invitation_new'),
imageUrl: this.data.detail.seller.seller_image || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
imageUrl: this.data.imgSrc || 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png',
}
},
// 修改detail数据
... ...
... ... @@ -3,6 +3,7 @@
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
"nav": "/components/nav/nav",
"painter":"/components/painter/painter"
}
}
\ No newline at end of file
... ...
... ... @@ -206,8 +206,9 @@
{{toastText}}
</view>
</scroll-view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="all-button flex-lr sharewidth">
<view wx:if="{{marketing.is_online_book=='1'}}" class="flex-cc font30r moreBtn" bindtap="secondbook" style="position: relative;">再次预订</view>
<view wx:if="{{paymentId && paymentStatus == '0'}}" class="flex-cc font30r paymenBtn" bindtap="paymentFun">支付定金</view>
<button wx:if="{{marketing.is_transpond=='1'}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
<button wx:if="{{marketing.is_transpond=='1' && imgSrc}}" class="flex-cc font30r shareItem" open-type="share">转发给客人</button>
</view>
\ No newline at end of file
... ...