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
22ca6eaa
Commit
22ca6eaa
authored
Jun 04, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3983ab31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
recommed-hotel.vue
pages/ticketCoupons/components/recommed-hotel.vue
+4
-3
No files found.
pages/ticketCoupons/components/recommed-hotel.vue
View file @
22ca6eaa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view>
<view>
<view
class=
"hotel-list-item"
v-for=
"(item,index) in scenicArr"
:key=
"index"
@
click=
"goHotelDetail(item.ID)"
>
<view
class=
"hotel-list-item"
v-for=
"(item,index) in scenicArr"
:key=
"index"
@
click=
"goHotelDetail(item.ID)"
>
<view
class=
"img-box"
>
<view
class=
"img-box"
>
<image
:src=
"item.CoverImg"
mode=
"aspectFill"
>
</image>
<image
:src=
"item.CoverImg"
mode=
"aspectFill"
style=
"height: 100%;"
</image>
</view>
</view>
<view
class=
"hotel-info"
>
<view
class=
"hotel-info"
>
<view
class=
"hotel-name"
>
{{
item
.
Name
}}
</view>
<view
class=
"hotel-name"
>
{{
item
.
Name
}}
</view>
...
@@ -65,10 +65,10 @@
...
@@ -65,10 +65,10 @@
},
},
methods
:{
methods
:{
goHotelDetail
(
id
){
goHotelDetail
(
id
){
let
myDayObj
=
JSON
.
stringify
(
this
.
dayObj
);
//
let myDayObj = JSON.stringify(this.dayObj);
uni
.
navigateTo
({
uni
.
navigateTo
({
// url: "/pages/ticketCoupons/detail?id=" + id +'&dayObj=' + myDayObj+'&searchObj='+JSON.stringify(this.searchObj)
// url: "/pages/ticketCoupons/detail?id=" + id +'&dayObj=' + myDayObj+'&searchObj='+JSON.stringify(this.searchObj)
url
:
"/pages/
restaurant
/detail?id="
+
id
url
:
"/pages/
ticketCoupons
/detail?id="
+
id
});
});
}
}
}
}
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
border-radius
:
20
rpx
;
border-radius
:
20
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
margin-right
:
30
rpx
;
margin-right
:
30
rpx
;
box-shadow
:
0
rpx
10
rpx
30
rpx
0
rpx
rgba
(
36
,
36
,
36
,
0.2
);
}
}
.hotel-list-item
.img-box
image
{
.hotel-list-item
.img-box
image
{
width
:
100%
;
width
:
100%
;
...
...
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