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
8c2968a2
Commit
8c2968a2
authored
May 27, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加页面
parent
721dd8cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
10 deletions
+84
-10
pages.json
pages.json
+2
-0
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+68
-10
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+14
-0
No files found.
pages.json
View file @
8c2968a2
...
...
@@ -593,6 +593,8 @@
"path"
:
"jz_Line"
//九寨-线路
},{
"path"
:
"jz_LineDetail"
//九寨-线路详情
},{
"path"
:
"jz_Reserve"
//线路-预定
}]
},
//相亲分包
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
8c2968a2
<
style
>
.jz_LineDetail
{
background-color
:
#ECF1F4
;
margin-bottom
:
70px
;
}
.jz_TopImg
{
...
...
@@ -279,7 +280,39 @@
}
.jz_OrderDiv
{
position
:
fixed
;
width
:
90%
;
height
:
100
rpx
;
background-color
:
#fff
;
margin
:
auto
;
bottom
:
20px
;
padding
:
20
rpx
;
left
:
40
rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-shadow
:
0px
10px
30px
0px
rgba
(
36
,
36
,
36
,
0.2
);
border-radius
:
16px
;
z-index
:
999
;
}
.jz_OrderNow
{
width
:
190
rpx
;
height
:
80
rpx
;
background-color
:
#111111
;
text-align
:
center
;
line-height
:
80
rpx
;
color
:
#fff
;
font-weight
:
bold
;
font-size
:
28
rpx
;
border-radius
:
16
rpx
;
}
.jz_ConButton
{
background-color
:
#fff
;
height
:
45px
;
line-height
:
20px
;
}
.jz_ConButton
::after
{
border
:
none
!important
;
height
:
auto
!important
;
}
</
style
>
<
template
>
...
...
@@ -298,7 +331,7 @@
</view>
<view
class=
"jz_TopPrice"
>
<view
class=
"jz_LineTitle"
>
<text
class=
"jz_renmin"
>
¥
</text><text
class=
"jz_B2bPrice"
>
{{
dataList
.
priceList
[
0
]
.
b2BPrice
}}
</text>
<text
class=
"jz_renmin"
>
¥
</text><text
class=
"jz_B2bPrice"
>
{{
dataList
.
currentPriceInfo
.
b2BPrice
}}
</text>
<text
style=
"color:#999999;font-size:14px;"
>
/人起
</text>
</view>
<view
class=
"jz_MainTitle"
>
...
...
@@ -336,7 +369,7 @@
</span>
</view>
<view
style=
"display:flex;overflow-x: auto;"
>
<view
class=
"jz_StartList"
v-for=
"item in dataList.priceList"
>
<view
class=
"jz_StartList"
v-for=
"item in dataList.priceList"
@
click=
"getDayInfo(item)"
>
<view
class=
"jz_StartTop"
>
{{
getMonth
(
item
.
startDate
)
}}
余
{{
item
.
remainNum
}}
</view>
<view
class=
"jz_StartHoubu"
>
{{
item
.
isSubstitution
==
1
?
'可候补'
:
'不可候补'
}}
...
...
@@ -356,12 +389,14 @@
<view
class=
"jz_ZhaiInner"
>
{{
dataList
.
nightNum
}}
晚酒店
</view>
<view
class=
"jz_ZhaiTitle"
>
<text
class=
"jz_Dian"
></text>
购物
</view>
<view
class=
"jz_ZhaiInner"
>
无购物
</view>
<template
v-if=
"dataList.feature&&dataList.feature.shopRemarkText!=null&&dataList.feature.shopRemarkText!=''"
>
<view
class=
"jz_ZhaiTitle"
>
<text
class=
"jz_Dian"
></text>
购物
</view>
<view
class=
"jz_ZhaiInner"
>
{{
dataList
.
feature
.
shopRemarkText
}}
</view>
</
template
>
<view
class=
"jz_ZhaiTitle"
>
<text
class=
"jz_Dian"
></text>
景点
</view>
...
...
@@ -447,7 +482,18 @@
</view>
</view>
<view
class=
"jz_OrderDiv"
>
<view
style=
"color:#FF3166;font-weight:bold;"
>
<text
style=
"font-size:22rpx;"
>
¥
</text>
<text
style=
"font-size:40rpx;"
>
{{dataList.currentPriceInfo.b2BPrice}}
</text>
<text
style=
"font-size:22rpx;"
>
/起
</text>
</view>
<view
style=
"display:flex;"
>
<button
open-type=
"contact"
class=
"jz_ConButton"
>
<img
style=
"width:36rpx;height:38rpx;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/kefu.png"
alt=
""
/>
<view
style=
"color:#111111;font-size: 22rpx;"
>
客服
</view>
</button>
<view
class=
"jz_OrderNow"
@
click=
"goReserce()"
>
立即预定
</view>
</view>
</view>
</div>
</template>
...
...
@@ -539,6 +585,18 @@
let
Myday
=
day
.
split
(
'-'
);
return
Myday
[
1
]
+
'-'
+
Myday
[
2
]
}
},
//点击切换
getDayInfo
(
item
){
this
.
delMsg
.
tcid
=
item
.
tcid
;
this
.
delMsg
.
configId
=
item
.
configID
;
this
.
getDetails
();
},
//立即预定
goReserce
(){
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_Reserve"
});
}
},
};
...
...
pages/jiuzhai/jz_Reserve.vue
0 → 100644
View file @
8c2968a2
<
style
>
</
style
>
<
template
>
<view
class=
"jz_Reserve"
>
</view>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
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