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
b80189bf
Commit
b80189bf
authored
Jun 16, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c28126f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
index.vue
pages/guidecar/components/time/index.vue
+13
-4
index.vue
pages/guidecar/index.vue
+1
-1
index.vue
pages/hotel/components/time/index.vue
+1
-1
No files found.
pages/guidecar/components/time/index.vue
View file @
b80189bf
<
template
>
<view
class=
"content"
>
<scroll-view
:scroll-y=
"true"
style=
"height: 100%;"
>
<scroll-view
:scroll-y=
"true"
style=
"height: 100%;
flex: 1;box-sizing: border-box;
"
>
<view
class=
"header"
>
<view
style=
"font-size: 32rpx;color:#111;text-align: center;padding:30rpx 0;"
>
...
...
@@ -41,13 +41,15 @@
</view>
</view>
</view>
<view
class=
"submit"
>
</view>
</scroll-view>
<view
class=
"submit"
v-if=
"!immediately"
>
<button
class=
"sub-btn"
:disabled=
"!isSub"
@
click=
"submit"
>
<text
v-if=
"isSub"
>
确定
</text>
<text
v-if=
"!isSub"
>
请选择往返日期
</text>
<text
v-if=
"!isSub"
>
选择出行时间
</text>
</button>
</view>
</scroll-view>
</view>
</
template
>
...
...
@@ -56,6 +58,13 @@
import
json
from
'../../../hotel/components/time/day.js'
;
export
default
{
props
:
{
immediately
:{
type
:
Boolean
,
default
:
false
}
},
computed
:
{
//房间是否能预订
isSub
()
{
...
...
pages/guidecar/index.vue
View file @
b80189bf
...
...
@@ -191,7 +191,7 @@
<u-picker
v-model=
"showStart"
mode=
"time"
:params=
"params"
@
confirm=
'btnStart'
:default-time=
'defaultTime'
></u-picker>
<!-- 定制包车的往返时间选择 -->
<u-popup
v-model=
"showTimePopup"
mode=
"bottom"
border-radius=
"20"
length=
"85%"
:safe-area-inset-bottom=
"true"
>
<canlendar
@
finish=
"chosenDateResult"
></canlendar>
<canlendar
@
finish=
"chosenDateResult"
:immediately=
'true'
></canlendar>
</u-popup>
</div>
</
template
>
...
...
pages/hotel/components/time/index.vue
View file @
b80189bf
<
template
>
<view
class=
"content"
>
<scroll-view
:scroll-y=
"true"
style=
"height: 100%;"
>
<scroll-view
:scroll-y=
"true"
style=
"height: 100%;
flex: 1;box-sizing: border-box;
"
>
<view
class=
"header"
>
<!--
<view
class=
"bar"
></view>
<view
class=
"set text-gray"
>
...
...
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