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
79b145f0
Commit
79b145f0
authored
May 09, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期修复
parent
571bf4af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
u-picker.vue
node_modules/uview-ui/components/u-picker/u-picker.vue
+7
-1
busDetails.vue
pages/bus/busDetails.vue
+0
-1
No files found.
node_modules/uview-ui/components/u-picker/u-picker.vue
View file @
79b145f0
...
...
@@ -488,7 +488,12 @@
// 这里使用i++,是因为this.valueArr数组的长度是不确定长度的,它根据this.params的值来配置长度
// 进入if规则,i会加1,保证了能获取准确的值
if
(
this
.
params
.
year
)
this
.
year
=
this
.
years
[
this
.
valueArr
[
i
++
]];
if
(
this
.
params
.
month
)
this
.
month
=
this
.
months
[
this
.
valueArr
[
i
++
]];
if
(
this
.
params
.
month
)
{
this
.
month
=
this
.
months
[
this
.
valueArr
[
i
++
]];
if
(
this
.
day
>
new
Date
(
this
.
year
,
this
.
month
,
0
).
getDate
()){
this
.
setDays
()
}
}
if
(
this
.
params
.
day
)
this
.
day
=
this
.
days
[
this
.
valueArr
[
i
++
]];
if
(
this
.
params
.
hour
)
this
.
hour
=
this
.
hours
[
this
.
valueArr
[
i
++
]];
if
(
this
.
params
.
minute
)
this
.
minute
=
this
.
minutes
[
this
.
valueArr
[
i
++
]];
...
...
@@ -511,6 +516,7 @@
})
}
}
},
// 用户点击确定按钮
getResult
(
event
=
null
)
{
...
...
pages/bus/busDetails.vue
View file @
79b145f0
...
...
@@ -408,7 +408,6 @@
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
if
(
options
.
orderMsg
){
this
.
orderMsg
=
JSON
.
parse
(
options
.
orderMsg
)
console
.
log
(
this
.
orderMsg
,
'----------'
)
}
},
onShow
()
{
...
...
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