123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519 |
- <template>
- <view class="scenic-detail">
- <zs-header :background="background"></zs-header>
- <image class="top-banner" src="http://zswl-dev.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/65fe7c9174d67a7dbd842b74/ext/GOODS_INFO/微信图片_20240328145646.png/1.png" mode=""></image>
-
- <view class="content">
- <view class="info">
- <view class="title">
- 敦煌鸣沙山与月牙泉
- </view>
- <view class="address-box">
- <view class="province">
- 甘肃省
- </view>
- <view class="address">
- 酒泉市敦煌市南
- </view>
- </view>
- <view class="open-time">
- 营业时间:10:00—20:30
- </view>
- </view>
- <view class="navigation-box">
- <view class="address">
- 酒泉市敦煌市南6公里鸣沙山月牙泉景区
- </view>
- <view class="btn" @click="handleNavigation">
- 导航
- </view>
- </view>
-
- <view class="list">
- <view class="item" v-for="(item,index) in list" :key="index">
- <view class="sub-title">
- {{item.title}}
- </view>
- <view class="ticket-list">
- <view class="ticket-item" :class="[d != item.length-1?'border-bottom':'']" v-for="(i,d) in item.list" :key="d">
- <view class="top">
- <view class="title">
- {{i.title}}
- </view>
- <view class="price-box">
- <view class="unit">
- ¥
- </view>
- <view class="price">
- {{i.price}}
- </view>
- <view class="text">
- 起
- </view>
- </view>
- </view>
-
- <view class="bottom">
- <view class="left">
- <view class="desc">
- {{i.desc}}
- </view>
- <view class="notice-box" @click="handleBuy">
- 预定须知
- <image class="more" src="../static/right.png" mode=""></image>
- </view>
- </view>
- <view class="btn" @click="handleBuy">
- 立即预订
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="sub-title">
- 景区简介
- </view>
- <view class="intro border-bottom">
- 特殊要求视入住时可提供的服务而定,并可能产生额外的费用。特
- 殊要求视入住时可提供的服务而定,并可能产生额外的费用。特殊
- 要求视入住时可提供的服务而定,并可能产生额外的费用。特殊要
- 求视入住时可提供的服务而定,并可能产生额外的费用。特殊要求
- 视入住时可提供的服务而定,并可能产生额外的费用。特殊要求视
- 入住时可提供的服务而定,并可能产生额外的费用。特殊要求视入
- 住时可提供的服务而定,并可能产生额外的费用。
- </view>
-
- <view class="sub-title">
- 交通信息
- </view>
- <view class="intro">
- 市区搭乘地铁东涌线列车,在新澳站转乘迪士尼线列车
- </view>
-
- </view>
-
- <u-popup :show="show" round="16rpx" mode="bottom" @close="close">
- <view class="popup-title">
- 敦煌鸣沙山与月牙泉
- </view>
- <view class="box">
-
- <view class="sub-title">
- 取票地点
- </view>
- <view class="intro">
- 甘肃省酒泉市敦煌市南
- </view>
-
- <view class="sub-title">
- 入园方式
- </view>
- <view class="intro">
- 短信换票入园
- </view>
-
- <view class="sub-title">
- 预定截止
- </view>
- <view class="intro">
- 24号17点
- </view>
-
- <view class="sub-title">
- 退改规则
- </view>
- <view class="intro">
- 本产品不支持退订
- </view>
-
- <view class="sub-title">
- 预定须知
- </view>
- <view class="intro border-bottom">
- 特殊要求视入住时可提供的服务而定,并可能产生额外的费用。特
- 殊要求视入住时可提供的服务而定,并可能产生额外的费用。特殊
- 要求视入住时可提供的服务而定,并可能产生额外的费用。特殊要
- 求视入住时可提供的服务而定,并可能产生额外的费用。特殊要求
- 视入住时可提供的服务而定,并可能产生额外的费用。特殊要求视
- 入住时可提供的服务而定,并可能产生额外的费用。特殊要求视入
- 住时可提供的服务而定,并可能产生额外的费用。
- </view>
-
- <view class="sub-title">
- 其他说明
- </view>
- <view class="intro border-bottom">
- 特殊要求视入住时可提供的服务而定,并可能产生额外的费用。特
- 殊要求视入住时可提供的服务而定,并可能产生额外的费用。特殊
- 要求视入住时可提供的服务而定,并可能产生额外的费用。特殊要
- 求视入住时可提供的服务而定,并可能产生额外的费用。特殊要求
- 视入住时可提供的服务而定,并可能产生额外的费用。特殊要求视
- 入住时可提供的服务而定,并可能产生额外的费用。特殊要求视入
- 住时可提供的服务而定,并可能产生额外的费用。
- </view>
-
- </view>
- <view class="btn-box">
- <view class="left">
- <view class="num">
- 共1件
- </view>
- <view class="total">
- 合计 <view class="price-box">
- <view class="unit">
- ¥
- </view>
- <view class="price">
- 544
- </view>
- </view>
- </view>
- </view>
- <view class="buy-btn" @click="handleBtn">
- 立即预订
- </view>
- </view>
- </u-popup>
-
- <map class="map" id="map"></map>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- show:false,
- background: false,
- map:null,
- list:[
- {
- title:'成人票',
- list:[
- {
- title:'鸣沙山月牙泉门票+鸣沙山月牙泉鞋套租赁成人票租赁成人票租赁成人票租赁成人票租赁成人票租赁成人票',
- price:580,
- desc:'当天17点前可以预定'
- },
- {
- title:'鸣沙山月牙泉门票+鸣沙山月牙泉鞋套租赁成人票',
- price:580,
- desc:'当天17点前可以预定'
- }
- ]
- },
- {
- title:'成人票',
- list:[
- {
- title:'鸣沙山月牙泉门票+鸣沙山月牙泉鞋套租赁成人票',
- price:580,
- desc:'当天17点前可以预定'
- }
- ]
- }
- ]
- }
- },
- methods: {
- close(){
- this.show = false
- },
- handleBuy(){
- this.show = true
- },
- handleNavigation() {
- this.map.openMapApp({
- longitude:104.117262,
- latitude:30.598726,
- destination:'目的地',
- success(res){
-
- }
- })
- },
- handleBtn(){
- uni.navigateTo({
- url:'/scenic/makeOut'
- })
- }
- },
- onPageScroll(e) {
- if (e.scrollTop >= 50) {
- this.background = true
- } else {
- this.background = false
- }
- },
- onReady() {
- this.map = uni.createMapContext("map", this);
- }
- }
- </script>
- <style lang="scss" >
- .scenic-detail{
- .top-banner{
- width: 750rpx;
- height: 382rpx;
- vertical-align: bottom;
- }
- .map{
- position: absolute;
- top: -9999rpx;
- left: -9999rpx;
- }
- .content{
- position: relative;
- top: -20rpx;
- z-index: 2;
- background: #FFFFFF;
- border-radius: 16rpx 16rpx 0rpx 0rpx;
- padding: 28rpx 24rpx;
- .info{
- .title{
- font-weight: 600;
- font-size: 32rpx;
- color: #222222;
- }
- .address-box{
- display: flex;
- align-items: center;
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- margin-top: 26rpx;
- .province{
- padding-right: 12rpx;
- border-right: 2rpx solid #F0F0F0;
- }
- }
- .open-time{
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- margin-top: 20rpx;
- }
- }
- .navigation-box{
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 702rpx;
- height: 140rpx;
- background-image: url('../static/white-map.png');
- background-repeat: repeat;
- background-size: 100% 140rpx;
- // background: linear-gradient( 101deg, rgba(246,246,246,0.89) 0%, #FFFFFF 100%);
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding: 0 24rpx;
- box-sizing: border-box;
- margin-top: 20rpx;
- .address{
- font-weight: 600;
- font-size: 24rpx;
- color: #222222;
- width: 490rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .btn{
- width: 120rpx;
- height: 52rpx;
- line-height: 52rpx;
- text-align: center;
- background: #E2ECFF;
- border-radius: 26rpx 26rpx 26rpx 26rpx;
- font-weight: 300;
- font-size: 28rpx;
- color: #3879F9;
- }
- }
- .sub-title{
- font-weight: 600;
- font-size: 32rpx;
- color: #222222;
- margin: 20rpx 0;
- }
- .intro{
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- line-height: 40rpx;
- padding-bottom: 24rpx;
- }
- .border-bottom{
- border-bottom: 1rpx solid #F0F0F0!important;
- }
-
- .list{
- .item{
- .ticket-list{
- background: #F9F9F9;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding: 0 24rpx;
-
- .ticket-item{
- padding: 28rpx 0;
- .top{
- display: flex;
- align-items: center;
- justify-content: space-between;
- .title{
- font-weight: 400;
- font-size: 28rpx;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- /* 弹性伸缩盒子模型显示 */
- display: -webkit-box;
- /* 限制在一个块元素显示的文本的行数 */
- -webkit-line-clamp: 2;
- /* 设置或检索伸缩盒对象的子元素的排列方式 */
- -webkit-box-orient: vertical;
- }
- .price-box{
- display: flex;
- align-items: flex-end;
- margin-top: 12rpx;
- .unit{
- font-weight: 600;
- font-size: 20rpx;
- color: $uni-color-primary;
- }
- .price{
- font-weight: 600;
- font-size: 32rpx;
- color: $uni-color-primary;
- }
- .text{
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- margin-left: 6rpx;
- }
- }
- }
- .bottom{
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 20rpx;
- .left{
- display: flex;
- align-items: center;
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- .notice-box{
- display: flex;
- align-items: center;
- .more{
- width: 48rpx;
- height: 48rpx;
- }
- }
- }
- .btn{
- width: 120rpx;
- height: 52rpx;
- line-height: 52rpx;
- text-align: center;
- background: #EE4320;
- border-radius: 26rpx 26rpx 26rpx 26rpx;
- font-weight: 400;
- font-size: 24rpx;
- color: #FFFFFF;
- }
- }
- }
- }
- }
- }
- }
- .u-popup__content{
- padding: 0 24rpx 28rpx;
- position: relative;
- .popup-title{
- font-weight: 600;
- font-size: 32rpx;
- color: #222222;
- padding: 28rpx 0;
- border-bottom: 1rpx solid #F0F0F0;
- }
- .box{
- max-height: 70vh;
- overflow: auto;
- .sub-title{
- font-weight: 600;
- font-size: 28rpx;
- color: #222222;
- margin: 20rpx 0;
- }
- .intro{
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- line-height: 40rpx;
- padding-bottom: 24rpx;
- }
- .border-bottom{
- border-bottom: 1rpx solid #F0F0F0!important;
- }
- }
- .btn-box{
- // position: absolute;
- left: 0%;
- bottom: env(safe-area-inset-bottom);
- width: 100%;
- padding: 10rpx 24rpx;
- box-sizing: border-box;
- border-top: 1rpx solid #EEEEEE;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .left{
- display: flex;
- align-items: flex-end;
- .num{
- font-weight: 300;
- font-size: 24rpx;
- color: #AAAAAA;
- }
- .total{
- font-weight: 300;
- font-size: 24rpx;
- color: #222222;
- display: flex;
- align-items: flex-end;
- margin-left: 6rpx;
- .price-box{
- display: flex;
- align-items: flex-end;
- font-weight: 400;
- font-size: 32rpx;
- color: #222222;
- .unit{
- font-size: 20rpx;
- }
- }
- }
- }
- .buy-btn{
- width: 240rpx;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- background: #EE4320;
- border-radius: 40rpx 40rpx 40rpx 40rpx;
- font-weight: 600;
- font-size: 28rpx;
- color: #FFFFFF;
- }
- }
- }
- }
- </style>
|