Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
5f233033
Commit
5f233033
authored
Mar 08, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
1338fe3d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
65 deletions
+15
-65
App.vue
src/App.vue
+1
-1
kkday.vue
src/components/searchdata/kkday.vue
+6
-0
detailsCar.vue
src/pages/detailsCar.vue
+0
-64
routes.js
src/router/routes.js
+8
-0
No files found.
src/App.vue
View file @
5f233033
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
};
};
</
script
>
</
script
>
<
style
>
<
style
>
@import
url("//at.alicdn.com/t/c/font_1890699_
l4zj0bx0p69
.css")
;
@import
url("//at.alicdn.com/t/c/font_1890699_
sm7qminrp2
.css")
;
@font-face
{
@font-face
{
font-family
:
"oswald"
;
font-family
:
"oswald"
;
src
:
url("https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/smallapp/Oswald-Regular.ttf")
;
src
:
url("https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/smallapp/Oswald-Regular.ttf")
;
...
...
src/components/searchdata/kkday.vue
View file @
5f233033
...
@@ -745,6 +745,12 @@ this.dayArray = this.dayArray.filter(item => arr.includes(item.id))
...
@@ -745,6 +745,12 @@ this.dayArray = this.dayArray.filter(item => arr.includes(item.id))
{
}
{
}
);
);
return
return
}
else if(item.productType === 2) { // 景区门票
this.CommonJump(
"
/
detailsScenicSpotTicket
/
"+item.configId,
{
}
);
return
}
}
this.CommonJump(
this.CommonJump(
"
/
detail
/
" + encodeURIComponent(item.id) + "
/
" + item.tcid + "
/
" + item.configId,
"
/
detail
/
" + encodeURIComponent(item.id) + "
/
" + item.tcid + "
/
" + item.configId,
...
...
src/pages/detailsCar.vue
View file @
5f233033
...
@@ -1010,7 +1010,6 @@ export default {
...
@@ -1010,7 +1010,6 @@ export default {
originalB2CPrice
:
x
.
Price
,
originalB2CPrice
:
x
.
Price
,
remainNum
:
1
,
remainNum
:
1
,
Count
:
1
,
Count
:
1
,
isSupportChildren
:
1
,
safeMoney
:
0
,
safeMoney
:
0
,
}
}
if
(
date
.
formatDate
(
Date
.
now
(),
'YYYY-MM-DD'
)
!=
x
.
Date
){
if
(
date
.
formatDate
(
Date
.
now
(),
'YYYY-MM-DD'
)
!=
x
.
Date
){
...
@@ -1024,69 +1023,6 @@ export default {
...
@@ -1024,69 +1023,6 @@ export default {
},
null
)
},
null
)
},
},
getCarPriceData
()
{
this
.
$q
.
loading
.
show
();
this
.
apipost
(
"b2c_get_GetCarSingleProductMonthPriceAll"
,
{
ProductId
:
this
.
msg
.
configId
,
Month
:
this
.
currentYM
.
str
},
(
r
)
=>
{
let
list
=
[[]];
let
y
=
0
;
// 元素纵向下标
let
day
=
0
;
if
(
r
.
data
.
resultCode
==
1
)
{
let
week
=
dayjs
(
this
.
currentYM
.
str
+
"-01"
).
day
();
console
.
log
(
"week"
,
week
);
list
[
0
].
length
=
week
;
const
isCurrent
=
this
.
currentYM
.
year
===
dayjs
().
year
()
&&
this
.
currentYM
.
month
===
dayjs
().
month
()
+
1
;
this
.
isCurrent
=
isCurrent
;
this
.
isLast
=
this
.
currentYM
.
year
===
dayjs
().
year
()
+
1
&&
this
.
currentYM
.
month
===
dayjs
().
month
()
+
1
;
// 如果是当前月
if
(
isCurrent
)
{
let
days
=
dayjs
(
r
.
data
.
data
[
0
].
Date
).
date
();
day
=
days
;
for
(
let
i
=
1
;
i
<=
days
;
i
++
)
{
list
[
y
].
push
({
day
:
i
,
disabled
:
true
,
});
week
++
;
if
(
week
===
7
)
{
week
=
0
;
y
++
;
list
[
y
]
=
[];
}
}
}
r
.
data
.
data
.
forEach
((
item
)
=>
{
list
[
y
].
push
({
...
item
,
day
:
++
day
,
});
week
++
;
if
(
week
===
7
)
{
week
=
0
;
y
++
;
list
[
y
]
=
[];
}
});
this
.
daysList
=
list
;
console
.
log
(
"list"
,
list
);
}
else
{
this
.
$q
.
notify
({
type
:
"negative"
,
message
:
r
.
data
.
message
,
position
:
"top"
,
timeout
:
2000
,
// 以毫秒为单位; 0意味着没有超时
});
}
this
.
$q
.
loading
.
hide
();
},
null
);
},
menu
()
{
menu
()
{
this
.
scroll
=
this
.
scroll
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
...
...
src/router/routes.js
View file @
5f233033
...
@@ -36,6 +36,14 @@ const routes = [{
...
@@ -36,6 +36,14 @@ const routes = [{
path
:
'/PickuporderForm/:id'
,
path
:
'/PickuporderForm/:id'
,
component
:
()
=>
component
:
()
=>
import
(
'pages/Pickuporder/orderForm.vue'
)
import
(
'pages/Pickuporder/orderForm.vue'
)
},
{
// 景区门票详情
path
:
'/detailsScenicSpotTicket/:id'
,
component
:
()
=>
import
(
'pages/ScenicSpotTicket/details.vue'
)
},
{
// 景区门票下单
path
:
'/ScenicSpotTicketOrderForm/:id'
,
component
:
()
=>
import
(
'pages/ScenicSpotTicket/orderForm.vue'
)
},
{
// 酒店
},
{
// 酒店
path
:
'/detailHotal/:id'
,
path
:
'/detailHotal/:id'
,
component
:
()
=>
component
:
()
=>
...
...
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