Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
38af34d0
Commit
38af34d0
authored
Oct 21, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
44d45fbf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
11 deletions
+24
-11
jz_ActiveInfo.vue
pages/jiuzhai/jz_ActiveInfo.vue
+4
-0
jz_Activity.vue
pages/jiuzhai/jz_Activity.vue
+16
-11
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+4
-0
No files found.
pages/jiuzhai/jz_ActiveInfo.vue
View file @
38af34d0
...
...
@@ -750,10 +750,14 @@ export default {
ID
:
orderId
,
IsGetGuest
:
1
,
};
uni
.
showLoading
({
title
:
'加载中'
});
this
.
apipost
(
"sellorder_post_GetOrderEntity"
,
msg
,
(
res
)
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
this
.
orderData
=
res
.
data
;
this
.
formatStatus
(
...
...
pages/jiuzhai/jz_Activity.vue
View file @
38af34d0
...
...
@@ -272,13 +272,14 @@
</
style
>
<
template
>
<view
class=
"jz_Reserve"
>
<view
class=
"jz_ReserTop"
>
<view
class=
"jz_ReserTop"
v-if=
"currentPriceInfo"
>
<view
class=
"o-timer flex"
>
<view
class=
"time-item"
>
{{
getDate
(
currentPriceInfo
.
startDate
)
}}
{{
getWeek
(
currentPriceInfo
.
startDate
)
}}
</view
<view
class=
"time-item"
v-if=
"currentPriceInfo.startDate"
>
{{
getDate
(
currentPriceInfo
.
startDate
)
}}
{{
getWeek
(
currentPriceInfo
.
startDate
)
}}
</view
>
<view
class=
"time-split"
>
<view
class=
"time-split"
v-if=
"currentPriceInfo.dayNum"
>
<view>
{{
currentPriceInfo
.
dayNum
}}
天
</view>
</view>
<view
...
...
@@ -292,7 +293,7 @@
<text
v-if=
"orderMsg.BabyNum > 0"
>
{{
orderMsg
.
BabyNum
}}
婴儿
</text>
</view>
</view>
<view
class=
"jz_ReserTitle"
>
<view
class=
"jz_ReserTitle"
v-if=
"currentPriceInfo.title"
>
{{
currentPriceInfo
.
title
}}
</view>
<view
class=
"jz_ReserIn"
style=
"margin: 33rpx 0 18rpx 0"
>
...
...
@@ -596,11 +597,14 @@ export default {
},
//获取详情
getDetails
(
id
)
{
uni
.
showLoading
({
title
:
'加载中'
});
this
.
apipost
(
"b2b_get_GetB2BTravelInfoNoDesV1"
,
{
tcid
:
id
},
(
res
)
=>
{
console
.
log
(
res
,
'数据'
);
uni
.
hideLoading
(
);
if
(
res
.
resultCode
==
1
)
{
this
.
tips
=
res
.
data
.
feature
.
importantTipText
;
this
.
ltName
=
res
.
data
.
ltName
;
...
...
@@ -613,9 +617,11 @@ export default {
);
},
getWeek
(
date
)
{
var
weekArray
=
new
Array
(
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
);
var
week
=
weekArray
[
new
Date
(
date
).
getDay
()];
//注意此处必须是先new一个Date
return
"周"
+
week
;
if
(
date
){
var
weekArray
=
new
Array
(
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
);
var
week
=
weekArray
[
new
Date
(
date
).
getDay
()];
//注意此处必须是先new一个Date
return
"周"
+
week
;
}
},
getDate
(
date
)
{
if
(
date
)
{
...
...
@@ -814,7 +820,6 @@ export default {
},
},
(
res
)
=>
{
console
.
log
(
res
,
'数据'
);
this
.
orderInfo
=
JSON
.
parse
(
res
.
data
);
// this.Pay(OrderId);
this
.
subscribeMsg
(
OrderId
);
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
38af34d0
...
...
@@ -590,10 +590,14 @@ export default {
},
//获取详情
getDetails
(
id
)
{
uni
.
showLoading
({
title
:
'加载中'
});
this
.
apipost
(
"b2b_get_GetB2BTravelInfoNoDesV1"
,
{
tcid
:
id
},
(
res
)
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
this
.
tips
=
res
.
data
.
feature
.
importantTipText
;
this
.
ltName
=
res
.
data
.
ltName
;
...
...
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