Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
1da98847
Commit
1da98847
authored
Dec 11, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单产品下单上线处理
parent
83b83478
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
17 deletions
+12
-17
request.js
common/request.js
+1
-1
index.vue
pages/indexs/index/index.vue
+1
-2
combinationProduct.vue
pages/scenic/combinationProduct/combinationProduct.vue
+8
-6
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+2
-3
calendar.vue
pages/scenic/scenicComponents/calendar.vue
+0
-5
No files found.
common/request.js
View file @
1da98847
var
baseUrl
=
''
var
baseUrl
=
''
if
(
process
.
env
.
NODE_ENV
===
'development'
){
//开发环境
if
(
process
.
env
.
NODE_ENV
===
'development'
){
//开发环境
baseUrl
=
'http
s
://pay.tuyoyoo.com/'
baseUrl
=
'http://pay.tuyoyoo.com/'
}
else
{
}
else
{
baseUrl
=
'https://manager.pangdly.com/'
baseUrl
=
'https://manager.pangdly.com/'
}
}
...
...
pages/indexs/index/index.vue
View file @
1da98847
...
@@ -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'
})
})
},
},
//---跳转联合国际
//---跳转联合国际
...
...
pages/scenic/combinationProduct/combinationProduct.vue
View file @
1da98847
...
@@ -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/scenicC
ombiOrder'
+
query
url
:
'/pages/
combination/combiOrder/c
ombiOrder'
+
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
;
...
...
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
View file @
1da98847
...
@@ -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
]
...
@@ -569,7 +569,6 @@ export default {
...
@@ -569,7 +569,6 @@ export default {
width
=
data
.
width
width
=
data
.
width
}).
exec
()
}).
exec
()
item
.
timeScroll
=
(
width
+
6
)
*
index2
item
.
timeScroll
=
(
width
+
6
)
*
index2
},
},
//---获取点击的编辑联系人信息,传给编辑联系人组件
//---获取点击的编辑联系人信息,传给编辑联系人组件
getEditContact
(
data
)
{
getEditContact
(
data
)
{
...
...
pages/scenic/scenicComponents/calendar.vue
View file @
1da98847
...
@@ -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)
},
},
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment