Commit 885105ce authored by 华国豪's avatar 华国豪 🙄

修改意见调查、报名确认单

parent 8e5a0bff
...@@ -3,7 +3,7 @@ let md5 = require('utils/md5.js') ...@@ -3,7 +3,7 @@ let md5 = require('utils/md5.js')
let javaUrl = 'https://efficient.oytour.com/'; let javaUrl = 'https://efficient.oytour.com/';
// let javaUrl = 'http://47.96.12.235:9001/'; // let javaUrl = 'http://47.96.12.235:9001/';
let netUrl = 'https://reborn.oytour.com/api/common/post'; let netUrl = 'https://reborn.oytour.com/api/common/post';
// let netUrl = 'http://192.168.2.214:8082/api/Common/Post'; // let netUrl = 'http://192.168.2.65:8025/api/Common/Post';
App({ App({
// 小程序初始化时 // 小程序初始化时
onLaunch: function(options) { onLaunch: function(options) {
......
{ {
"pages": [ "pages": [
"pages/Home/home", "pages/Home/home",
"pages/product/SametradeZW/Successview/Successview",
"pages/local/TicketDetails/TicketDetails", "pages/local/TicketDetails/TicketDetails",
"pages/local/localTrip/localTrip", "pages/local/localTrip/localTrip",
"pages/freeTravel/freeList/freeList", "pages/freeTravel/freeList/freeList",
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
"pages/Voucher/Voucher", "pages/Voucher/Voucher",
"pages/Voucher/rating/rating", "pages/Voucher/rating/rating",
"pages/Voucher/VoucherDetails/VoucherDetails", "pages/Voucher/VoucherDetails/VoucherDetails",
"pages/Voucher/authenticat/authenticat",
"pages/Voucher/write/write", "pages/Voucher/write/write",
"pages/Ticket/Ticket", "pages/Ticket/Ticket",
"pages/Ticket/TicketList/TicketList", "pages/Ticket/TicketList/TicketList",
...@@ -54,7 +56,6 @@ ...@@ -54,7 +56,6 @@
"pages/login/activate/activate", "pages/login/activate/activate",
"pages/product/SametradeZW/SametradeZW", "pages/product/SametradeZW/SametradeZW",
"pages/product/SametradeZW/Applicationnotes/Applicationnotes", "pages/product/SametradeZW/Applicationnotes/Applicationnotes",
"pages/product/SametradeZW/Successview/Successview",
"component/amount/amount", "component/amount/amount",
"component/newCalendar/newCalendar", "component/newCalendar/newCalendar",
"pages/activity/activity", "pages/activity/activity",
......
images/group/chakn.png

523 Bytes | W: | H:

images/group/chakn.png

310 Bytes | W: | H:

images/group/chakn.png
images/group/chakn.png
images/group/chakn.png
images/group/chakn.png
  • 2-up
  • Swipe
  • Onion skin
images/group/close.png

1.25 KB | W: | H:

images/group/close.png

432 Bytes | W: | H:

images/group/close.png
images/group/close.png
images/group/close.png
images/group/close.png
  • 2-up
  • Swipe
  • Onion skin
images/group/gou.png

1.1 KB | W: | H:

images/group/gou.png

450 Bytes | W: | H:

images/group/gou.png
images/group/gou.png
images/group/gou.png
images/group/gou.png
  • 2-up
  • Swipe
  • Onion skin
images/group/ic1.png

1.16 KB | W: | H:

images/group/ic1.png

477 Bytes | W: | H:

images/group/ic1.png
images/group/ic1.png
images/group/ic1.png
images/group/ic1.png
  • 2-up
  • Swipe
  • Onion skin
images/group/ic2.png

1.19 KB | W: | H:

images/group/ic2.png

519 Bytes | W: | H:

images/group/ic2.png
images/group/ic2.png
images/group/ic2.png
images/group/ic2.png
  • 2-up
  • Swipe
  • Onion skin
images/group/ic3.png

1.27 KB | W: | H:

images/group/ic3.png

495 Bytes | W: | H:

images/group/ic3.png
images/group/ic3.png
images/group/ic3.png
images/group/ic3.png
  • 2-up
  • Swipe
  • Onion skin
images/group/ic4.png

1.08 KB | W: | H:

images/group/ic4.png

416 Bytes | W: | H:

images/group/ic4.png
images/group/ic4.png
images/group/ic4.png
images/group/ic4.png
  • 2-up
  • Swipe
  • Onion skin
images/group/jifen.png

1.62 KB | W: | H:

images/group/jifen.png

1.13 KB | W: | H:

images/group/jifen.png
images/group/jifen.png
images/group/jifen.png
images/group/jifen.png
  • 2-up
  • Swipe
  • Onion skin
images/group/price.png

1.03 KB | W: | H:

images/group/price.png

450 Bytes | W: | H:

images/group/price.png
images/group/price.png
images/group/price.png
images/group/price.png
  • 2-up
  • Swipe
  • Onion skin
images/group/wx.png

1.08 KB | W: | H:

images/group/wx.png

480 Bytes | W: | H:

images/group/wx.png
images/group/wx.png
images/group/wx.png
images/group/wx.png
  • 2-up
  • Swipe
  • Onion skin
images/group/zfb.png

983 Bytes | W: | H:

images/group/zfb.png

497 Bytes | W: | H:

images/group/zfb.png
images/group/zfb.png
images/group/zfb.png
images/group/zfb.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -22,6 +22,24 @@ Page({ ...@@ -22,6 +22,24 @@ Page({
scenList:[], scenList:[],
localList:[], localList:[],
}, },
draw: function () {
// this.data.contactNumber
let userinfo = wx.getStorageSync('admin')
app.$api('b2b_post_MiniProgramGetAccountInfoByPhone', { account: userinfo.account, }).then(res => {
var token = res.token;
var secretKey = res.secretKey;
var uid = res.customerId;
var groupId = res.groupId;
// wx.reLaunch({
wx.navigateTo({
url: '/pages/product/SametradeZW/luckdraw/luckdraw?token=' + token + '&secretKey=' + secretKey + '&uid=' + uid + '&groupId=' + groupId,
})
}).catch(err => {
})
},
goJiPiao: function (){ goJiPiao: function (){
wx.navigateTo({ wx.navigateTo({
url: '/pages/Ticket/Ticket', url: '/pages/Ticket/Ticket',
......
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
</view> </view>
</view> </view>
<view class="tab2"> <view class="tab2" bindtap="draw">
<navigator hover-class="Home_hover" url="/pages/activity/activity"> <navigator hover-class="Home_hover">
<image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190626103346128.png"></image> <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044635970.png"></image>
</navigator> </navigator>
</view> </view>
......
...@@ -6,74 +6,61 @@ Page({ ...@@ -6,74 +6,61 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
telPhone: '',
tcId: null, tcId: null,
orderId: null,
dataList: [],
tipsMsg: ""
}, },
goPage: function (e) {
console.log(e) bindgetuserinfo: function (e){
let index = e.currentTarget.dataset.index; wx.showLoading({
let name = this.data.dataList[index].nameID title: '加载中',
let orderId = this.data.dataList[index].OrderId });
wx.setStorage({ if (e.detail.userInfo !== undefined) {
key: "info", wx.setStorage({
data: { key: "wxInfo",
ID: this.data.dataList[index].Id, data: {
nameID: name avatarUrl: e.detail.userInfo.avatarUrl,
} nickName: e.detail.userInfo.nickName,
}) }
wx.navigateTo({
url: '/pages/Voucher/VoucherDetails/VoucherDetails?&orderId=' + orderId + '&tcId=' + this.data.tcId
// url: '/pages/Voucher/VoucherDetails/VoucherDetails?&orderId=' + _this.data.orderId + '&tcId=3278'
})
return
wx.navigateTo({
url: '/pages/Voucher/VoucherDetails/VoucherDetails?&orderId=' + orderId + '&tcId=' + _this.data.tcId
// url: '/pages/Voucher/VoucherDetails/VoucherDetails?&orderId=' + _this.data.orderId + '&tcId=3278'
})
},
//问券详情跳转
Details: function (e) {
let data = {
guestMobile: this.data.telPhone,
TCID: this.data.tcId
// TCID: 3278
}
app.$api('miniProgram_price_GetGuestByPhone', data).then(res => {
let _this = this;
let data = res
for(let i = 0; i< data.length; i++){
data[i].nameID = data[i].SurName + (data[i].Sex === 1 ? '先生' : '女士');
data[i].MobilePhoneS = data[i].MobilePhone.substr(0, 3) + '****' + data[i].MobilePhone.substr(7)
}
_this.setData({
dataList: data
}) })
}).catch(err => {
console.log(err) } else {
this.setData({ wx.setStorage({
tipsMsg: err.message key: "wxInfo",
data: {
avatarUrl: '',
nickName: '',
}
}) })
}
wx.hideLoading()
wx.navigateTo({
url: '/pages/Voucher/authenticat/authenticat?type=' + 1 + '&TCID=' + this.data.tcId
}) })
return },
if (!this.data.telPhone) { bindgetuserinfo2: function (e) {
wx.showToast({ wx.showLoading({
title: '请输入手机号', title: '加载中',
icon: 'none', });
duration: 1000 if (e.detail.userInfo !== undefined) {
wx.setStorage({
key: "wxInfo",
data: {
avatarUrl: e.detail.userInfo.avatarUrl,
nickName: e.detail.userInfo.nickName,
}
}) })
} else { } else {
wx.setStorage({
key: "wxInfo",
data: {
avatarUrl: '',
nickName: '',
}
})
} }
}, wx.hideLoading()
//输入手机号 wx.navigateTo({
TelPhone: function (e) { url: '/pages/Voucher/authenticat/authenticat?&type=' + 2 + '&TCID=' + this.data.tcId
console.log(e.detail.value)
this.setData({
telPhone: e.detail.value
}) })
}, },
/** /**
...@@ -84,16 +71,12 @@ Page({ ...@@ -84,16 +71,12 @@ Page({
console.log(scene) console.log(scene)
if (scene) { if (scene) {
let tcId = scene.split('=')[1] ? scene.split('=')[1] : options.tcid; let tcId = scene.split('=')[1] ? scene.split('=')[1] : options.tcid;
// let tcId = 4006
this.setData({ this.setData({
tcId: tcId tcId: tcId
}) })
}else{ }else{
// this.setData({
// tcId: 3278
// })
} }
this.Details()
//修改title //修改title
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: '意见调查' title: '意见调查'
......
<view class='page-Voucher commonF'> <view class='page-Voucher commonF'>
<view wx:if="{{dataList.length>0}}"> <view class="yanzheng cff">
<view class='item' wx:for="{{dataList}}" wx:for-index="index" wx:for-item="item" wx:key="index" data-index="{{index}}" bindtap='goPage'> <view><button type="default" bindgetuserinfo="bindgetuserinfo" open-type="getUserInfo" class="cff f32" size="mini">手机号验证</button> </view>
<view> <view class="f32"><button type="default" bindgetuserinfo="bindgetuserinfo2" open-type="getUserInfo" class="cff f32 bindgetuserinfo2" size="mini">护照号验证</button> </view>
<text class='name'>{{item.SurName + item.Name}}</text>
<text class='phone'>{{item.MobilePhoneS}}</text>
</view>
<image mode='widthFix' src='../../images/group/chakn.png'></image>
</view>
</view> </view>
<view wx:else class='f26' style='width:80%;margin: 2rem auto'>
{{tipsMsg}}
</view>
<!-- <text class='text'>身份确认</text>
<input bindinput='TelPhone' placeholder='请输入手机号以确认身份'></input>
<button class='next {{telPhone !== "" ? "active" : ""}}' type="default" size="mini" bindtap="Details">确认</button> -->
</view> </view>
\ No newline at end of file
...@@ -28,30 +28,30 @@ page{ ...@@ -28,30 +28,30 @@ page{
.page-Voucher .item image{ .page-Voucher .item image{
width: 10rpx; width: 10rpx;
} }
.page-Voucher .text{ .yanzheng{
font-size: 48rpx; margin-top: 50%;
font-weight:500; }
} .yanzheng>view{
.page-Voucher input{ height: 60px;
font-size: 40rpx; line-height: 60px;
height: 3.4rem; width: 90%;
box-sizing: border-box; margin: 0 auto 30rpx auto;
border-bottom: 2px solid #DEDEDE; text-align: center;
color: #000000; border-radius: 8rpx;
margin-top: 70rpx; }
} .yanzheng button{
button.next{ height: 100%;
width: 350rpx; width: 100%;
height: 84rpx; text-align: center;
background-color: #DEDEDE; background-color: #409EFF;
line-height:84rpx; line-height: 60px;
margin-top: 106rpx; }
border-color: #DEDEDE; .yanzheng>view button.bindgetuserinfo2{
color: #666666; background-color: #67C23A;
font-size: 32rpx; }
} .button-hover{
button.next.active{ background-color: #409EFF !important;
background:rgba(238,68,84,1); }
border-color: rgba(238,68,84,1); .bindgetuserinfo2.button-hover{
color: white; background-color: #67C23A !important;
} }
\ No newline at end of file
...@@ -15,20 +15,23 @@ Page({ ...@@ -15,20 +15,23 @@ Page({
rating: '', rating: '',
Message: '', Message: '',
showYouJi: false, showYouJi: false,
showBadYouJi: false showBadYouJi: false,
wxInfo: ''
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
let info = wx.getStorageSync('info'), let info = wx.getStorageSync('info'),
wxInfo = wx.getStorageSync('wxInfo'),
orderId = options.orderId, orderId = options.orderId,
tcId = options.tcId; tcId = options.tcId;
this.setData({ this.setData({
nameID: info.nameID, nameID: info.nameID,
GuestId: info.ID, GuestId: info.ID,
orderId: orderId, orderId: orderId,
tcId: tcId tcId: tcId,
wxInfo: wxInfo,
}) })
this.getinfo() this.getinfo()
this.getVoucher() this.getVoucher()
...@@ -43,7 +46,7 @@ Page({ ...@@ -43,7 +46,7 @@ Page({
saveMessage: function () { saveMessage: function () {
this.setData({ this.setData({
voucherData: this.data.voucherData voucherData: this.data.voucherData
}) })
let data = JSON.parse(JSON.stringify(this.data.voucherData)), let data = JSON.parse(JSON.stringify(this.data.voucherData)),
showYouJi = true; showYouJi = true;
data.forEach(x=>{ data.forEach(x=>{
...@@ -67,6 +70,8 @@ Page({ ...@@ -67,6 +70,8 @@ Page({
}) })
return return
} }
data[0].NickName = this.data.wxInfo.nickName
data[0].HeadPic = this.data.wxInfo.avatarUrl
app.$api('survey_post_SetGuestSurvey', data).then(res => { app.$api('survey_post_SetGuestSurvey', data).then(res => {
if (showYouJi) { if (showYouJi) {
this.setData({ this.setData({
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
</view> </view>
<view class='leader-info'> <view class='leader-info'>
<view class='top'> <view class='top'>
<text>领队:{{leaderData.LeaderName}}</text> <text>领队:{{leaderData.LeaderName ? leaderData.LeaderName : '无'}}</text>
<text>导游:{{leaderData.GuideName}}</text> <text>导游:{{leaderData.GuideName? leaderData.GuideName : '无'}}</text>
</view> </view>
<view> <view>
<text>团期:{{leaderData.StartDateStr}}-{{leaderData.EndDateStr}}</text> <text>团期:{{leaderData.StartDateStr}}-{{leaderData.EndDateStr}}</text>
......
...@@ -26,6 +26,10 @@ Page({ ...@@ -26,6 +26,10 @@ Page({
Phonedata:{}, //根据电话号码返回的值 Phonedata:{}, //根据电话号码返回的值
Detaildata:{}, //获取详情数据 Detaildata:{}, //获取详情数据
openid:'', openid:'',
ManNum: 0,
ChirdNeedBedNum: 0,
ChirdNoNeedBedNum: 0,
BabyNum: 0,
}, },
Applicat:function(){ Applicat:function(){
wx.navigateTo({ wx.navigateTo({
...@@ -37,10 +41,10 @@ Page({ ...@@ -37,10 +41,10 @@ Page({
*/ */
numLeft: function (e) { numLeft: function (e) {
let name = e.currentTarget.dataset.name let name = e.currentTarget.dataset.name
let num = this.data.peopleNum let num = this.data[name]
if (num * 1 !== 0) { if (num * 1 !== 0) {
this.setData({ this.setData({
peopleNum: num * 1 - 1 [name]: num * 1 - 1
}) })
} }
}, },
...@@ -49,15 +53,16 @@ Page({ ...@@ -49,15 +53,16 @@ Page({
*/ */
numRight: function (e) { numRight: function (e) {
let name = e.currentTarget.dataset.name let name = e.currentTarget.dataset.name
let num = this.data.peopleNum let num = this.data[name]
this.setData({ this.setData({
peopleNum: num * 1 + 1 [name]: num * 1 + 1
}) })
}, },
//预计提成 //预计提成
bindKeyInput:function(e){ bindKeyInput:function(e){
let name = e.currentTarget.dataset.name
this.setData({ this.setData({
peopleNum: e.detail.value [name]: e.detail.value
}) })
}, },
...@@ -103,84 +108,77 @@ Page({ ...@@ -103,84 +108,77 @@ Page({
TC_Price: this.data.Detaildata.B2BPrice TC_Price: this.data.Detaildata.B2BPrice
}) })
} }
let ManNum = this.data.ManNum,
ChirdNum = this.data.ChirdNeedBedNum + this.data.ChirdNoNeedBedNum,
ChirdNeedBedNum = this.data.ChirdNeedBedNum,
ChirdNoNeedBedNum = this.data.ChirdNoNeedBedNum,
BabyNum = this.data.BabyNum;
if (ManNum >0){
if (this.data.peopleNum >0){ let allPrice = (ManNum + ChirdNum) * this.data.Price + (ChirdNeedBedNum * this.data.Detaildata.ChildNeedPrice) - (ChirdNoNeedBedNum * this.data.Detaildata.ChildNoNeedPrice) + (BabyNum * this.data.Detaildata.BabyPrice) + (BabyNum * this.data.Detaildata.BabyChargePrice) + ((ManNum + ChirdNum) * this.data.Detaildata.VisaPrice) + ((ManNum + ChirdNum) * this.data.Detaildata.OtherPrice)
app.$api('sellorder_get_GetOrderMinPrice', { ltID: this.data.Detaildata.ltID, Num: this.data.peopleNum }).then(res => { let msg = {
let SPrice = res; OrderId: 0,
let yjtc = this.data.peopleNum * this.data.Price + (this.data.Detaildata.OtherPrice + this.data.Detaildata.VisaPrice) * this.data.peopleNum; TCID: this.data.tcid,
// let PriceSpread = this.data.Price - (this.data.TC_Price - SPrice); CustomerType: this.data.isMember,
// let ExtraCommission = PriceSpread > 0 ? PriceSpread.toFixed(2) * 0.5 : PriceSpread; GroupType: 1,
// let Commission = (Number(yjtc * 0.01) + Number(ExtraCommission)).toFixed(2); ContactName: this.data.Phonedata.Contact,
ContactMobile: this.data.Phonedata.ContactNumber,
let msg = { CustomerId: this.data.Phonedata.id,
OrderId: 0, DepartureCityId: this.data.Detaildata.StartCityID, //出发城市
TCID: this.data.tcid, IsIntermodal: 0, //是否联运 1是 2否
CustomerType: this.data.isMember, Unit_Price: this.data.Price, //成交单价 分享出来的
GroupType: 1, TC_Price: this.data.TC_Price, //根据会员给的价格
ContactName: this.data.Phonedata.Contact, ManNum: ManNum,
ContactMobile: this.data.Phonedata.ContactNumber, ChirdNum: ChirdNum,
CustomerId: this.data.Phonedata.id, ChirdNeedBedNum: ChirdNeedBedNum,
DepartureCityId: this.data.Detaildata.StartCityID, //出发城市 ChirdNoNeedBedNum: ChirdNoNeedBedNum,
IsIntermodal: 0, //是否联运 1是 2否 BabyNum: BabyNum,
Unit_Price: this.data.Price, //成交单价 分享出来的 OldPeopleNum: 0,
TC_Price: this.data.TC_Price, //根据会员给的价格 SingleRoomNum: 0,
ManNum: this.data.peopleNum, PreferPrice: allPrice,
ChirdNum: 0, DiscountMoney: 0,
ChirdNeedBedNum: 0, CouponAllotIds: '',
BabyNum: 0, YSeatNum: ManNum + ChirdNum,//人数
OldPeopleNum: 0, ESeatNum: 0,
SingleRoomNum: 0, FSeatNum: 0,
PreferPrice: yjtc, Commission: 0, //预计提成
DiscountMoney: 0, ClientSource: 2,
CouponAllotIds: '', BrandId: 0,
YSeatNum: this.data.peopleNum,//人数 TradeWay: 0, //交易方式
ESeatNum: 0, PlatformOrder: '', //平台单号
FSeatNum: 0, GuestNum: ManNum + ChirdNum + BabyNum, //客人总数 人数
Commission: 0, //预计提成 IsChildrenTour: this.data.Detaildata.IsSupportChildren, //是否支持儿童游玩 1是 2否
ClientSource: 2, IsBirdDiscount: 2, //是否享用早鸟优惠 1是 2否 ????
BrandId: 0, PredictRoomNum: (ManNum + ChirdNeedBedNum) / 2,
TradeWay: 0, //交易方式 BigRoomNum: 0, //大床房
PlatformOrder: '', //平台单号 TripleRoomNum: 0, //三人房
GuestNum: this.data.peopleNum, //客人总数 人数 TradeDate: util.formatTime(new Date()), //交易日期 当前日期日期
IsChildrenTour: this.data.Detaildata.IsSupportChildren, //是否支持儿童游玩 1是 2否 CostType: 0, //费用类型
IsBirdDiscount: 2, //是否享用早鸟优惠 1是 2否 ???? MinOrderPrice: 0,
PredictRoomNum: this.data.peopleNum / 2, Remarks: '',
BigRoomNum: 0, //大床房 VisaNum: ManNum + ChirdNum + BabyNum, //人数
TripleRoomNum: 0, //三人房 SafeNum: ManNum + ChirdNum + BabyNum,
TradeDate: util.formatTime(new Date()), //交易日期 当前日期日期 AirticketNum: 0,
CostType: 0, //费用类型 ReturnArriveCityId: this.data.Detaildata.ReturnArriveCityId, //返回抵达城市
MinOrderPrice: 0, IsReturnIntermodal: 0,
Remarks: '', GoCityTime: "",
VisaNum: this.data.peopleNum, //人数 BackCityTime: '',
SafeNum: this.data.peopleNum, ScenicRefundArr: [],
AirticketNum: 0, CommissionSharePeople: 0,
ReturnArriveCityId: this.data.Detaildata.ReturnArriveCityId, //返回抵达城市 CommissionShareMoney: 0,
IsReturnIntermodal: 0, OrderSource: 2,
GoCityTime: "", OrderForm: 4,
BackCityTime: '', CustomerCreateBy: this.data.createBy,
ScenicRefundArr: [], }
CommissionSharePeople: 0, //提交数据
CommissionShareMoney: 0, let that = this;
OrderSource: 2, let data = that.data.Phonedata.contactNumber;
OrderForm: 4, app.$api('sellorder_post_SetOrderInfoForB2B', msg).then(res => {
CustomerCreateBy: this.data.createBy, wx.reLaunch({ //保留当前页面,跳转到应用内的某个页面(最多打开5个页面,之后按钮就没有响应的)
url: "./Successview/Successview?contactNumber="+data
}
//提交数据
let that = this;
let data = that.data.Phonedata.contactNumber;
app.$api('sellorder_post_SetOrderInfoForB2B', msg).then(res => {
wx.reLaunch({ //保留当前页面,跳转到应用内的某个页面(最多打开5个页面,之后按钮就没有响应的)
url: "./Successview/Successview?contactNumber="+data
})
}).catch(err => {
}) })
}).catch(err => { }).catch(err => {
}) })
}else{ }else{
wx.showToast({ wx.showToast({
......
...@@ -41,15 +41,46 @@ ...@@ -41,15 +41,46 @@
</view> </view>
</view> </view>
<view class='inform'> <!-- <view class='inform'>
<text class='inform_l'>报名人数</text> <text class='inform_l'>报名人数</text>
<view class='form_item_right'> <view class='form_item_right'>
<text class="form_item_right_btn" data-name='peopleNum' style='{{peopleNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text> <text class="form_item_right_btn" data-name='peopleNum' style='{{peopleNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='peopleNum' value='{{peopleNum}}' type="number" bindinput="bindKeyInput"/> <input class="form_item_right_in" data-name='peopleNum' value='{{peopleNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='peopleNum' bindtap='numRight'>+</text> <text class="form_item_right_btn" data-name='peopleNum' bindtap='numRight'>+</text>
</view> </view>
</view> -->
<view class='inform'>
<text class='inform_l'>成人</text>
<view class='form_item_right'>
<text class="form_item_right_btn" data-name='ManNum' style='{{ManNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='ManNum' value='{{ManNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='ManNum' bindtap='numRight'>+</text>
</view>
</view>
<view class='inform'>
<text class='inform_l'>儿童占床</text>
<view class='form_item_right'>
<text class="form_item_right_btn" data-name='ChirdNeedBedNum' style='{{ChirdNeedBedNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='ChirdNeedBedNum' value='{{ChirdNeedBedNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='ChirdNeedBedNum' bindtap='numRight'>+</text>
</view>
</view>
<view class='inform'>
<text class='inform_l'>儿童不占床</text>
<view class='form_item_right'>
<text class="form_item_right_btn" data-name='ChirdNoNeedBedNum' style='{{ChirdNoNeedBedNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='ChirdNoNeedBedNum' value='{{ChirdNoNeedBedNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='ChirdNoNeedBedNum' bindtap='numRight'>+</text>
</view>
</view>
<view class='inform'>
<text class='inform_l'>婴儿</text>
<view class='form_item_right'>
<text class="form_item_right_btn" data-name='BabyNum' style='{{BabyNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='BabyNum' value='{{BabyNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='BabyNum' bindtap='numRight'>+</text>
</view>
</view> </view>
<view class='{{phoneshow == true ? "inform" : "inform_none"}}'> <view class='{{phoneshow == true ? "inform" : "inform_none"}}'>
<text class='inform_l'>同行手机</text> <text class='inform_l'>同行手机</text>
<view class='form_item_inBox'> <view class='form_item_inBox'>
...@@ -74,7 +105,6 @@ ...@@ -74,7 +105,6 @@
> >
<text class='queren' >确认预留</text> <text class='queren' >确认预留</text>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
\ No newline at end of file
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
"currentL": -1, "currentL": -1,
"list": [] "list": []
}, },
"gamePlugin": {
"current": -1,
"list": []
},
"miniprogram": { "miniprogram": {
"current": 21, "current": 21,
"list": [ "list": [
...@@ -53,7 +57,7 @@ ...@@ -53,7 +57,7 @@
"id": 1, "id": 1,
"name": "调查", "name": "调查",
"pathName": "pages/Voucher/Voucher", "pathName": "pages/Voucher/Voucher",
"query": "tcid=3922", "query": "tcid=5560",
"scene": null "scene": null
}, },
{ {
...@@ -195,6 +199,13 @@ ...@@ -195,6 +199,13 @@
"pathName": "pages/mine/Happypassbook/Happypassbook", "pathName": "pages/mine/Happypassbook/Happypassbook",
"query": "", "query": "",
"scene": null "scene": null
},
{
"id": -1,
"name": "baomingqueren",
"pathName": "pages/product/SametradeZW/SametradeZW",
"query": "",
"scene": null
} }
] ]
} }
......
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