Commit 1da98847 authored by 潘永坪's avatar 潘永坪

单产品下单上线处理

parent 83b83478
var baseUrl = '' var baseUrl = ''
if(process.env.NODE_ENV === 'development'){//开发环境 if(process.env.NODE_ENV === 'development'){//开发环境
baseUrl= 'https://pay.tuyoyoo.com/' baseUrl= 'http://pay.tuyoyoo.com/'
}else{ }else{
baseUrl= 'https://manager.pangdly.com/' baseUrl= 'https://manager.pangdly.com/'
} }
......
...@@ -284,8 +284,7 @@ export default { ...@@ -284,8 +284,7 @@ export default {
//---跳转索道 //---跳转索道
goSuodao(){ goSuodao(){
uni.navigateTo({ uni.navigateTo({
url:'/pages/combination/distributionCombiChoose/distributionCombiChoose?channelId=1&merchantId=z0015605022691a5945bbe463141668c'+ url:'/pages/scenic/combinationProduct/combinationProduct?merchantId=z0015605022691a5945bbe463141668c'
'&groupId=z0016038113016708b8ad38c637b2f26&groupChannelId=z00160423712018998e6260ffcaf3369'
}) })
}, },
//---跳转联合国际 //---跳转联合国际
......
...@@ -151,8 +151,8 @@ ...@@ -151,8 +151,8 @@
</view> </view>
<view class="bottom-detail" @click="showDetail()" :style="{ top: chooseProduct.length > 0 ? '-28rpx' : '0' }"> <view class="bottom-detail" @click="showDetail()" :style="{ top: chooseProduct.length > 0 ? '-28rpx' : '0' }">
<text> 明细 </text> <text style="margin-right: 10rpx;"> 明细 </text>
<u-icon name="arrow-up" size="32" style="margin: 0 8rpx"></u-icon> <u-icon name="arrow-up" size="32"></u-icon>
<text class="bottom-number"> <text class="bottom-number">
{{ chooseProduct.length }} {{ chooseProduct.length }}
</text> </text>
...@@ -570,9 +570,9 @@ export default { ...@@ -570,9 +570,9 @@ export default {
let query = '?merchantId=' + this.chooseProduct[0].merchantId + '&productId=' + this.chooseProduct[0].id + '&orderSource=3' let query = '?merchantId=' + this.chooseProduct[0].merchantId + '&productId=' + this.chooseProduct[0].id + '&orderSource=3'
if (this.chooseProduct[0].ticketType == 2) { if (this.chooseProduct[0].ticketType == 2) {
//联票 //联票
// uni.navigateTo({ uni.navigateTo({
// url: '/pages/scenic/scenicJointOrder/scenicJointOrder' + query url: '/pages/scenic/scenicJointOrder/scenicJointOrder' + query
// }) })
} else { } else {
//普通票 //普通票
uni.navigateTo({ uni.navigateTo({
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
}) })
let query ='?productIdList=' + JSON.stringify(productIdList) + '&groupId=' + this.groupId + '&groupChannelId=' + this.groupChannelId + '&orderSource=3' let query ='?productIdList=' + JSON.stringify(productIdList) + '&groupId=' + this.groupId + '&groupChannelId=' + this.groupChannelId + '&orderSource=3'
uni.navigateTo({ uni.navigateTo({
url: '/pages/scenic/scenicCombiOrder/scenicCombiOrder' + query url: '/pages/combination/combiOrder/combiOrder' + query
}) })
} }
}, },
...@@ -826,6 +826,7 @@ export default { ...@@ -826,6 +826,7 @@ export default {
position: relative; position: relative;
text-align: center; text-align: center;
display: flex; display: flex;
justify-content: center;
} }
.bottom-number { .bottom-number {
display: inline-block; display: inline-block;
...@@ -836,6 +837,7 @@ export default { ...@@ -836,6 +837,7 @@ export default {
background: #f40000; background: #f40000;
color: #ffffff; color: #ffffff;
font-weight: bold; font-weight: bold;
margin-left: 10rpx;
} }
.btn { .btn {
font-size: 32rpx; font-size: 32rpx;
......
...@@ -558,7 +558,7 @@ export default { ...@@ -558,7 +558,7 @@ export default {
this.$forceUpdate() this.$forceUpdate()
} }
}, },
//---时间确认事件 //---时间确认事件---已改好
timeConfig(index2) { timeConfig(index2) {
let item=this.productList[this.moreTimeIndex] let item=this.productList[this.moreTimeIndex]
let item2=this.chooseTimeList[index2] let item2=this.chooseTimeList[index2]
...@@ -568,8 +568,7 @@ export default { ...@@ -568,8 +568,7 @@ export default {
this.docQuery.select('.time-list').boundingClientRect(data => { this.docQuery.select('.time-list').boundingClientRect(data => {
width = data.width width = data.width
}).exec() }).exec()
item.timeScroll=(width+6)*index2 item.timeScroll=(width+6)*index2
}, },
//---获取点击的编辑联系人信息,传给编辑联系人组件 //---获取点击的编辑联系人信息,传给编辑联系人组件
getEditContact(data) { getEditContact(data) {
......
...@@ -71,11 +71,6 @@ export default { ...@@ -71,11 +71,6 @@ export default {
//---设置默认日期 //---设置默认日期
setDefaultDate(val) { setDefaultDate(val) {
this.defaultDate=val this.defaultDate=val
// let dates = val.split('-')
// let year = parseInt(dates[0])
// let month = parseInt(dates[1]) - 1
// let day = parseInt(dates[2])
// this.defaultDate = new Date(year, month, day)
}, },
} }
} }
......
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