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
ee40f5e1
Commit
ee40f5e1
authored
Jan 18, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
137b2f37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1207 additions
and
1376 deletions
+1207
-1376
detail.vue
pages/ticketCoupons/detail.vue
+1207
-1376
No files found.
pages/ticketCoupons/detail.vue
View file @
ee40f5e1
<
template
>
<view
style=
"height: 100vh; overflow: hidden; width: 100vw"
v-if=
"details.Name"
>
<scroll-view
scroll-y=
"true"
style=
"width: 100%; height: 100%"
@
scroll=
"scroll"
>
<view
style=
"
<view
style=
"height: 100vh; overflow: hidden; width: 100vw"
v-if=
"details.Name"
>
<scroll-view
scroll-y=
"true"
style=
"width: 100%; height: 100%"
@
scroll=
"scroll"
>
<view
style=
"
height: 500rpx;
position: relative;
z-index: 1;
background-color: #e7e7e7;
"
:style=
"
{ opacity: 100 - boxOption + '%' }"
>
:style=
"
{ opacity: 100 - boxOption + '%' }">
<!-- #ifdef MP-WEIXIN -->
<view
@
click=
"goback"
:style=
"[titleStyle,
{ opacity: '100% !important' }]"
style="
<view
@
click=
"goback"
:style=
"[titleStyle,
{ opacity: '100% !important' }]" style="
position: fixed;
top: 0;
left: 0;
z-index: 9;
padding-left: 6rpx;
"
>
<u-icon
name=
"arrow-left"
size=
"44"
color=
"#ffffff"
style=
"margin-top: 22rpx"
></u-icon>
">
<u-icon
name=
"arrow-left"
size=
"44"
color=
"#ffffff"
style=
"margin-top: 22rpx"
></u-icon>
</view>
<!-- #endif -->
<image
class=
"banner-img"
:src=
"details.AllPicList[0].TagPicList[0].Path"
mode=
"aspectFill"
@
click=
"goUrl('/pages/ticketCoupons/imgList')"
></image>
<image
class=
"banner-img"
:src=
"details.AllPicList[0].TagPicList[0].Path"
mode=
"aspectFill"
@
click=
"goUrl('/pages/ticketCoupons/imgList')"
></image>
</view>
<view
class=
"ticket-title-bar"
:style=
"[titleStyle]"
>
<view
@
click=
"goback"
>
...
...
@@ -50,47 +27,37 @@
<u-icon
name=
"arrow-left"
size=
"44"
></u-icon>
<!-- #endif -->
</view>
<view
style=
"flex: 1;margin-left: 30rpx; text-align: left;'background-color':'#000';white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
class=
"name-ali"
>
<view
style=
"flex: 1;margin-left: 30rpx; text-align: left;'background-color':'#000';white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
class=
"name-ali"
>
{{
details
.
Name
}}
</view>
</view>
<view
style=
"position: relative; z-index: 2"
>
<view
style=
"
<view
style=
"
width: 750rpx;
position: absolute;
top: -70px;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
background-color: #fff;
"
>
"
>
<view
class=
"baseinfo"
>
<view
class=
"info1"
>
<view
class=
"name"
>
{{
details
.
Name
}}
</view>
<view
class=
"score-bg"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/pingfen-bg.png"
mode=
"aspectFit"
class=
"pf-bg"
></image>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/pingfen-bg.png"
mode=
"aspectFit"
class=
"pf-bg"
></image>
<view
class=
"score"
>
{{
details
.
ScoreNum
}}
<text
v-if=
"
<text
v-if=
"
details.ScoreNum === 1 ||
details.ScoreNum === 2 ||
details.ScoreNum === 3 ||
details.ScoreNum === 4 ||
details.ScoreNum === 5
"
>
.0
</text
>
"
>
.0
</text>
</view>
</view>
</view>
...
...
@@ -109,72 +76,29 @@
</view>
<view
class=
"info3"
>
<view
class=
"tag-box"
>
<view
v-for=
"(_item, _index) in details.ScenicSpotTag"
:key=
"_index"
>
<u-tag
:text=
"_item"
bg-color=
"#FFF"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
size=
"mini"
class=
"tag"
v-if=
"_item"
></u-tag>
</view>
<view
v-for=
"(_item, _index) in details.GeographicTag"
:key=
"_index"
>
<u-tag
:text=
"_item"
bg-color=
"#FFF"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
size=
"mini"
class=
"tag"
v-if=
"_item"
></u-tag>
</view>
</view>
<view
class=
"policy-detail"
@
click=
"goUrl('/pages/ticketCoupons/policyDetail')"
>
<view
v-for=
"(_item, _index) in details.ScenicSpotTag"
:key=
"_index"
>
<u-tag
:text=
"_item"
bg-color=
"#FFF"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
size=
"mini"
class=
"tag"
v-if=
"_item"
></u-tag>
</view>
<view
v-for=
"(_item, _index) in details.GeographicTag"
:key=
"_index"
>
<u-tag
:text=
"_item"
bg-color=
"#FFF"
border-color=
"#DFBE6E"
color=
"#DFBE6E"
size=
"mini"
class=
"tag"
v-if=
"_item"
></u-tag>
</view>
</view>
<view
class=
"policy-detail"
@
click=
"goUrl('/pages/ticketCoupons/policyDetail')"
>
政策详情
<u-icon
name=
"arrow"
color=
"#6E6E6E"
size=
"24rpx"
class=
"icon"
></u-icon>
<u-icon
name=
"arrow"
color=
"#6E6E6E"
size=
"24rpx"
class=
"icon"
></u-icon>
</view>
</view>
<view
class=
"line"
></view>
<view
class=
"info4"
>
<view
class=
"mark-icon"
>
<u-icon
name=
"location"
color=
"#111111"
size=
"24rpx"
class=
"icon"
></u-icon>
<u-icon
name=
"location"
color=
"#111111"
size=
"24rpx"
class=
"icon"
></u-icon>
</view>
<view
class=
"address"
>
{{
details
.
Address
}}
</view>
<view
class=
"see-map"
@
click=
"goMap(details.Address, details.Lng, details.Lat)"
>
<view
class=
"see-map"
@
click=
"goMap(details.Address, details.Lng, details.Lat)"
>
地图详情
<u-icon
name=
"arrow"
color=
"#6E6E6E"
size=
"24rpx"
class=
"icon"
></u-icon>
<u-icon
name=
"arrow"
color=
"#6E6E6E"
size=
"24rpx"
class=
"icon"
></u-icon>
</view>
</view>
</view>
...
...
@@ -185,71 +109,39 @@
<text
class=
"ticket-title-bg"
></text>
</view>
<view
class=
"ticket-navs"
v-if=
"TicketList.length > 0"
>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 1 }"
@click="changeCheckTicketNavIndex(1)"
v-if="haveticket[0].date"
>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 1 }" @click="changeCheckTicketNavIndex(1)"
v-if="haveticket[0].date">
{{
haveticket
[
0
].
date
}}
</view>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 2 }"
@click="changeCheckTicketNavIndex(2)"
v-if="haveticket[1].date"
>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 2 }" @click="changeCheckTicketNavIndex(2)"
v-if="haveticket[1].date">
{{
haveticket
[
1
].
date
}}
</view>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 3 }"
@click="changeCheckTicketNavIndex(3)"
>
<view
class=
"ticket-nav"
:class=
"
{ 'check-ticket-nav': checkTicketNavIndex === 3 }" @click="changeCheckTicketNavIndex(3)">
{{
otherDate
}}
</view>
<calendar
ref=
"calendar"
:insert=
"false"
:selected=
"calendar"
@
confirm=
"confirm"
@
monthSwitch=
"changeMonth"
></calendar>
<calendar
ref=
"calendar"
:insert=
"false"
:selected=
"calendar"
@
confirm=
"confirm"
@
monthSwitch=
"changeMonth"
></calendar>
</view>
<view>
<view
class=
"no-data"
v-if=
"TicketList.length === 0"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/no-data.png"
mode=
"aspectFit"
class=
"no-data-img"
></image>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/no-data.png"
mode=
"aspectFit"
class=
"no-data-img"
></image>
<view
class=
"zhanwu"
>
暂无数据
</view>
</view>
<view
v-for=
"(item, index) in TicketList"
:key=
"index"
class=
"ticket-list-box"
:class=
"
{ 'last-item': index == TicketList.length - 1 }"
v-if="TicketList.length > 0"
>
<view
v-for=
"(item, index) in TicketList"
:key=
"index"
class=
"ticket-list-box"
:class=
"
{ 'last-item': index == TicketList.length - 1 }"
v-if="TicketList.length > 0">
<view
class=
"ticket-key"
v-if=
"item.Key"
>
{{
item
.
Key
}}
</view>
<view
class=
"ticket-list"
>
<view
v-for=
"(_item, _index) in item.TicketList"
:key=
"_item.Id"
class=
"ticket-list-item"
:class=
"
{
<view
v-for=
"(_item, _index) in item.TicketList"
:key=
"_item.Id"
class=
"ticket-list-item"
:class=
"
{
'last-item': _index == item.TicketList.length - 1,
}"
>
}">
<view
class=
"TicketName"
>
{{
_item
.
TicketName
}}
</view>
<view
class=
"price"
>
<text
class=
"price-pre"
>
¥
</text
>
{{
<text
class=
"price-pre"
>
¥
</text>
{{
$utils
.
getretailer
()
==
true
?
_item
.
HPriceB
:
_item
.
HPriceC
...
...
@@ -257,28 +149,14 @@
<text
class=
"price-nex"
>
起
</text>
</view>
<view
class=
"tag"
v-if=
"_item.IsSameDayBuy == 1"
>
<image
class=
"tag-img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/likeruyuan.png"
mode=
"aspectFit"
v-if=
"_item.IsSameDayBuy == 1"
></image>
<view
class=
"tag-item"
v-if=
"
<image
class=
"tag-img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/likeruyuan.png"
mode=
"aspectFit"
v-if=
"_item.IsSameDayBuy == 1"
></image>
<view
class=
"tag-item"
v-if=
"
(_item.SubscribeTime && _item.IsSameDayBuy == 1) ||
(_item.ChangeTickets && _item.IsSameDayBuy == 1)
"
>
<text
v-if=
"_item.SubscribeTime && _item.IsSameDayBuy == 1"
>
随时可买
</text
>
<text
class=
"gap"
v-if=
"_item.ChangeTickets && _item.IsSameDayBuy == 1"
>
无需换票
</text
>
"
>
<text
v-if=
"_item.SubscribeTime && _item.IsSameDayBuy == 1"
>
随时可买
</text>
<text
class=
"gap"
v-if=
"_item.ChangeTickets && _item.IsSameDayBuy == 1"
>
无需换票
</text>
</view>
</view>
<!-- 无忧退款 -->
...
...
@@ -294,9 +172,7 @@
<view
class=
"ticket-sell"
>
<view
class=
"sell"
>
已售
{{
_item
.
SaleCount
}}
</view>
<view
class=
"vertical-line"
></view>
<view
class=
"buy-know"
@
click=
"openBuyNotice(_item)"
>
购买须知
</view
>
<view
class=
"buy-know"
@
click=
"openBuyNotice(_item)"
>
购买须知
</view>
</view>
</view>
</view>
...
...
@@ -331,34 +207,20 @@
<text>
发现周边
</text>
</view>
<view
class=
"flex"
style=
"margin-left: 64rpx"
>
<view
class=
"nearby-type"
:class=
"
{ active: nearbyType == 0 }"
@click="changeNearbyType(0)"
>酒店
<view
class=
"nearby-type"
:class=
"
{ active: nearbyType == 0 }" @click="changeNearbyType(0)">酒店
</view>
<view
class=
"nearby-type"
:class=
"
{ active: nearbyType == 1 }"
@click="changeNearbyType(1)"
>美食
<view
class=
"nearby-type"
:class=
"
{ active: nearbyType == 1 }" @click="changeNearbyType(1)">美食
</view>
</view>
</view>
<view
class=
"flex"
style=
"margin: 50rpx 0; overflow-x: auto"
>
<template
v-if=
"nearbyType == 0"
>
<template
v-if=
"details.HotelList"
v-for=
"subItem in details.HotelList"
>
<template
v-if=
"details.HotelList"
v-for=
"subItem in details.HotelList"
>
<near-good
:goodItem=
"subItem"
:goodType=
"1"
></near-good>
</
template
>
</template>
<
template
v-if=
"nearbyType == 1"
>
<template
v-if=
"details.DiningList"
v-for=
"subItem in details.DiningList"
>
<template
v-if=
"details.DiningList"
v-for=
"subItem in details.DiningList"
>
<near-good
:goodItem=
"subItem"
:goodType=
"2"
></near-good>
</
template
>
</template>
...
...
@@ -368,17 +230,11 @@
<text>
精选推荐
</text>
</view>
<view
class=
"flex"
style=
"margin-left: 64rpx"
>
<view
class=
"nearby-type active"
>
附近满足条件景点({{ scenicArr.length }})
</view
>
<view
class=
"nearby-type active"
>
附近满足条件景点({{ scenicArr.length }})
</view>
</view>
</view>
<view>
<recommed-hotel
:scenicArr=
"scenicArr"
:dayObj=
"dayObj"
:searchObj=
"searchObj"
>
<recommed-hotel
:scenicArr=
"scenicArr"
:dayObj=
"dayObj"
:searchObj=
"searchObj"
>
</recommed-hotel>
<!-- <recommed-hotel :hotelType="1"></recommed-hotel> -->
</view>
...
...
@@ -388,31 +244,16 @@
<!-- 购票须知弹出层 -->
<view>
<u-popup
v-model=
"showPop"
mode=
"bottom"
border-radius=
"40"
>
<buyNotice
:TicketData=
"curTicketData"
:coverImg=
"details.AllPicList[0].TagPicList[0].Path"
:score=
"details.ScoreNum"
@
success=
"successBuyNotice"
></buyNotice>
<buyNotice
:TicketData=
"curTicketData"
:coverImg=
"details.AllPicList[0].TagPicList[0].Path"
:score=
"details.ScoreNum"
@
success=
"successBuyNotice"
></buyNotice>
</u-popup>
</view>
<!-- 填写订单弹出层 -->
<view>
<u-popup
v-model=
"showSubscribeTicketPop"
mode=
"bottom"
border-radius=
"40"
>
<u-popup
v-model=
"showSubscribeTicketPop"
mode=
"bottom"
border-radius=
"40"
>
<view>
<subscribeTicket
:dateStr=
"Date"
:TicketID=
"TicketID"
:TitekCounponId=
"ID"
:TicketName=
"TicketName"
@
close=
"showSubscribeTicketPop = false"
:TicketImg=
"details.AllPicList[0].TagPicList[0].Path"
:msgPath=
"msgPath"
></subscribeTicket>
<subscribeTicket
:dateStr=
"Date"
:TicketID=
"TicketID"
:TitekCounponId=
"ID"
:TicketName=
"TicketName"
@
close=
"showSubscribeTicketPop = false"
:TicketImg=
"details.AllPicList[0].TagPicList[0].Path"
:msgPath=
"msgPath"
></subscribeTicket>
</view>
</u-popup>
</view>
...
...
@@ -422,12 +263,12 @@
</template>
<
script
>
import
calendar
from
"./components/uni-calendar/uni-calendar.vue"
;
import
buyNotice
from
"./components/buyNotice.vue"
;
import
subscribeTicket
from
"./components/subscribeTicket.vue"
;
import
nearGood
from
"./components/near-good.vue"
;
import
recommedHotel
from
"./components/recommed-hotel.vue"
;
export
default
{
import
calendar
from
"./components/uni-calendar/uni-calendar.vue"
;
import
buyNotice
from
"./components/buyNotice.vue"
;
import
subscribeTicket
from
"./components/subscribeTicket.vue"
;
import
nearGood
from
"./components/near-good.vue"
;
import
recommedHotel
from
"./components/recommed-hotel.vue"
;
export
default
{
components
:
{
calendar
,
buyNotice
,
...
...
@@ -447,12 +288,10 @@ export default {
videoContext
:
""
,
checkTicketNavIndex
:
1
,
imgBaseUrl
:
""
,
calendar
:
[
{
calendar
:
[{
date
:
""
,
info
:
""
,
},
],
//日历高亮
},
],
//日历高亮
showPop
:
false
,
curTicketData
:
{},
showSubscribeTicketPop
:
false
,
//订单弹出层
...
...
@@ -463,42 +302,41 @@ export default {
Up
:
0
,
nearbyType
:
0
,
scenicArr
:
[],
//推荐景点
haveticket
:
[{
date
:
""
},
{
date
:
""
}],
//最近3天的票
haveticket
:
[{
date
:
""
},
{
date
:
""
}],
//最近3天的票
TicketList
:
[],
};
},
onShareTimeline
()
{
// setTimeout(() => {
// console.log("分享朋友圈调用");
// this.getReceive();
// }, 2500);
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
0
;
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
0
;
if
(
uid
==
0
)
{
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
}
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
0
;
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
0
;
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
}
let
title
=
this
.
details
.
Name
?
this
.
details
.
Name
:
"门票"
;
let
imageUrl
=
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
?
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
:
""
;
let
imageUrl
=
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
?
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
:
""
;
let
id
=
this
.
ID
;
this
.
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
return
{
title
:
title
,
query
:
"id="
+
query
:
"id="
+
this
.
id
+
"&user_id="
+
uid
+
...
...
@@ -510,10 +348,6 @@ export default {
};
},
onShareAppMessage
(
res
)
{
// setTimeout(() => {
// console.log("分享好友调用");
// this.getReceive();
// }, 2500);
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
if
(
uid
==
0
)
{
...
...
@@ -526,8 +360,7 @@ export default {
}
return
{
title
:
this
.
details
.
Name
?
this
.
details
.
Name
:
"门票"
,
path
:
"/pages/index/index?id="
+
path
:
"/pages/index/index?id="
+
this
.
ID
+
"&user_id="
+
uid
+
...
...
@@ -536,9 +369,9 @@ export default {
"&Up="
+
this
.
Up
+
"&JumpType=15"
,
imageUrl
:
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
?
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
:
""
,
imageUrl
:
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
?
this
.
details
.
AllPicList
[
0
].
TagPicList
[
0
].
Path
:
""
,
};
},
onLoad
(
options
)
{
...
...
@@ -606,21 +439,21 @@ export default {
chooseSubscribeTicket
(
item
)
{
this
.
showSubscribeTicketPop
=
true
;
this
.
TicketID
=
item
.
Id
;
if
(
item
.
TicketSubName
){
this
.
TicketName
=
item
.
TicketSubName
+
item
.
TicketName
;
}
else
{
this
.
TicketName
=
item
.
TicketName
;
let
ticketName
=
""
;
if
(
item
.
TicketSubName
)
{
ticketName
+=
item
.
TicketSubName
;
}
console
.
log
(
'sss'
,
item
)
if
(
item
.
TicketName
)
{
ticketName
+=
item
.
TicketName
;
}
this
.
TicketName
=
ticketName
;
},
//获取详情
getDetail
()
{
uni
.
showLoading
({
title
:
"加载中..."
,
});
this
.
request2
(
{
this
.
request2
({
url
:
"/api/AppletDining/GetTicketCouponsDetails"
,
data
:
{
ID
:
this
.
ID
,
...
...
@@ -647,8 +480,7 @@ export default {
},
// 根据景点id与指定日期获取门票列表信息
getDetailByDate
()
{
this
.
request2
(
{
this
.
request2
({
url
:
"/api/AppletDining/GetTicketCouponsTicketList"
,
data
:
{
ID
:
this
.
ID
,
...
...
@@ -669,11 +501,11 @@ export default {
scroll
(
e
)
{
this
.
titleStyle
.
opacity
=
e
.
detail
.
scrollTop
-
100
<
0
?
0
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
100
)
/
100
>
1
?
1
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
100
)
/
100
;
e
.
detail
.
scrollTop
-
100
<
0
?
0
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
100
)
/
100
>
1
?
1
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
100
)
/
100
;
this
.
tooltipShow
=
false
;
this
.
$forceUpdate
();
},
...
...
@@ -746,8 +578,7 @@ export default {
this
.
nearbyType
=
t
;
},
getGoodsprice
(
date
)
{
this
.
request2
(
{
this
.
request2
({
url
:
"/api/AppletDining/GetMonthTicketList"
,
data
:
{
TicketID
:
0
,
...
...
@@ -785,8 +616,7 @@ export default {
},
//获取推荐景点
getRecomHotel
()
{
this
.
request2
(
{
this
.
request2
({
url
:
"/api/AppletDining/GetTicketCouponsPage"
,
data
:
{
pageIndex
:
1
,
...
...
@@ -834,16 +664,16 @@ export default {
}
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.banner-img
{
.banner-img
{
width
:
750rpx
;
height
:
500rpx
;
}
}
.ticket-title-bar
{
.ticket-title-bar
{
line-height
:
45px
!
important
;
font-size
:
16px
;
text-align
:
center
;
...
...
@@ -858,81 +688,81 @@ export default {
align-items
:
center
;
background-color
:
#f6f6f6
;
padding-left
:
6rpx
;
}
}
.label-b
{
.label-b
{
height
:
20px
;
padding
:
0
3px
;
font-size
:
13px
;
color
:
#fff
;
border-radius
:
4px
;
font-weight
:
bold
;
}
}
.brand-xinx
{
.brand-xinx
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
margin-top
:
15px
;
}
}
.brand-xinx-item
{
.brand-xinx-item
{
width
:
33%
;
font-size
:
17px
;
}
}
.brand-xinx-item-m
{
.brand-xinx-item-m
{
font-size
:
12px
;
color
:
#a4a4a4
;
margin
:
10px
0
;
}
}
.brand-xinx-item-t
{
.brand-xinx-item-t
{
display
:
flex
;
align-items
:
flex-end
;
font-weight
:
bold
;
}
}
.brand-x
{
.brand-x
{
width
:
100%
;
display
:
flex
;
align-items
:
flex-start
;
margin-top
:
18px
;
}
}
.brand-x-l
{
.brand-x-l
{
font-size
:
13px
;
color
:
#a4a4a4
;
width
:
130rpx
;
}
}
.brand-x-r
{
.brand-x-r
{
font-size
:
13px
;
color
:
#1f1f1f
;
line-height
:
20px
;
font-family
:
PingFang
SC
;
width
:
calc
(
100vw
-
40px
-
130rpx
);
}
}
.brand-title
{
.brand-title
{
width
:
134rpx
;
margin-top
:
30px
;
}
}
.brand-title
image
{
.brand-title
image
{
width
:
100%
;
height
:
auto
;
}
}
.Listbox
{
.Listbox
{
width
:
100%
;
display
:
flex
;
flex-wrap
:
wrap
;
margin-top
:
10px
;
}
}
.Listbox-item
{
.Listbox-item
{
width
:
25%
;
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -940,21 +770,21 @@ export default {
height
:
170rpx
;
align-items
:
center
;
justify-content
:
center
;
}
}
.Listbox-item
image
{
.Listbox-item
image
{
width
:
74rpx
;
height
:
auto
;
}
}
.list-item-text
{
.list-item-text
{
width
:
calc
(
100vw
/
4
);
margin-top
:
5px
;
text-align
:
center
;
font-size
:
12rpx
;
}
}
.no-data
{
.no-data
{
.no-data-img
{
width
:
180rpx
;
height
:
240rpx
;
...
...
@@ -970,9 +800,9 @@ export default {
color
:
#999999
;
margin-top
:
20rpx
;
}
}
}
.baseinfo
{
.baseinfo
{
padding
:
30rpx
45rpx
;
.info1
{
...
...
@@ -1115,19 +945,20 @@ export default {
line-height
:
44rpx
;
display
:
flex
;
align-items
:
center
;
.icon
{
margin-left
:
10rpx
;
}
}
}
}
}
.empty
{
.empty
{
height
:
20rpx
;
background-color
:
#ecf1f4
;
}
}
.ticket-title
{
.ticket-title
{
// width: 70rpx;
height
:
50rpx
;
font-size
:
34rpx
;
...
...
@@ -1150,9 +981,9 @@ export default {
z-index
:
1
;
opacity
:
0
.6
;
}
}
}
.ticket-info
{
.ticket-info
{
padding
:
50rpx
45rpx
;
.ticket-navs
{
...
...
@@ -1322,9 +1153,9 @@ export default {
border-bottom
:
none
!
important
;
margin-bottom
:
0rpx
!
important
;
}
}
}
.comment-box
{
.comment-box
{
padding
:
50rpx
45rpx
;
.score-box
{
...
...
@@ -1350,13 +1181,13 @@ export default {
}
}
}
}
}
.detail-box
{
.detail-box
{
padding
:
50rpx
;
}
}
.detail-box
.nearby-type
{
.detail-box
.nearby-type
{
padding
:
0
16rpx
;
height
:
40rpx
;
line-height
:
40rpx
;
...
...
@@ -1367,18 +1198,18 @@ export default {
font-size
:
28rpx
;
font-weight
:
500
;
color
:
#1f1f1f
;
}
}
.detail-box
.nearby-type.active
{
.detail-box
.nearby-type.active
{
color
:
#dfbe6e
;
background
:
rgba
(
223
,
190
,
110
,
0
.2
);
}
}
.big-title
{
.big-title
{
position
:
relative
;
}
}
.
big-title
:
:
before
{
.
big-title
:
:
before
{
display
:
block
;
width
:
71rpx
;
height
:
12rpx
;
...
...
@@ -1390,22 +1221,22 @@ export default {
left
:
0
;
bottom
:
6rpx
;
z-index
:
1
;
}
}
.big-title
text
{
.big-title
text
{
font-size
:
34rpx
;
font-weight
:
bold
;
color
:
#1f1f1f
;
position
:
relative
;
z-index
:
2
;
}
}
.flex
{
.flex
{
display
:
flex
;
align-items
:
center
;
}
}
.nearby-type
{
.nearby-type
{
padding
:
0
16rpx
;
height
:
40rpx
;
...
...
@@ -1416,17 +1247,17 @@ export default {
font-size
:
28rpx
;
font-weight
:
500
;
color
:
#1f1f1f
;
}
}
.active
{
.active
{
color
:
#dfbe6e
;
background
:
rgba
(
223
,
190
,
110
,
0
.2
);
}
}
.name-ali
{
.name-ali
{
// #ifdef MP-ALIPAY
box-sizing
:
border-box
;
padding-left
:
30rpx
;
// #endif
}
}
</
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