|
|
@ -38,33 +38,34 @@ |
|
|
|
{{info.address}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view @click="goMap"> |
|
|
|
<img style="width: 30rpx;height: 30rpx;" :src="showImg('/uploads/20240827/5b19517f2a630f3a766ea03ac621a3be.png')"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="box-title" v-if="sku.length>0">门票预定</view> |
|
|
|
<view class="common-container" v-if="sku.length>0"> |
|
|
|
<view class="w-full" v-if="sku.length>0"> |
|
|
|
<view class="scenic-list" v-for="(item, index) in sku" :key="index"> |
|
|
|
<view class="list-title text-overflow">{{ item.title }}</view> |
|
|
|
<view class="scenic-item com-flex-tao" v-for="(itemSku, indexSku) in item.specifications" :key="indexSku"> |
|
|
|
<view class="w-1rpx flex-1"> |
|
|
|
<view class="scenic-item " v-for="(itemSku, indexSku) in item.specifications" :key="indexSku"> |
|
|
|
<view class="w-1rpx flex-1 item-left"> |
|
|
|
<view class="title text-overflow">{{ itemSku.title }}</view> |
|
|
|
<view> |
|
|
|
<view class="tags-box"> |
|
|
|
<view class="tags text-overflow" v-if="itemSku.specifications_new_tag"> |
|
|
|
<view v-for="(tagSku,tagSkuIndex) in itemSku.specifications_new_tag.split(',').slice(0, 2)" |
|
|
|
:key="tagSkuIndex">{{ tagSku }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="bottom com-flex-tao "> |
|
|
|
|
|
|
|
<view class="notice" @click="showSkuInfo(item, itemSku)"> |
|
|
|
预订须知 > |
|
|
|
</view> |
|
|
|
<view></view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="item-right com-flex-tao flex-shrink-0"> |
|
|
|
<view class="item-right flex-shrink-0"> |
|
|
|
<view class="price"> |
|
|
|
{{showNoPriceNew(itemSku.price)}} |
|
|
|
</view> |
|
|
@ -84,16 +85,16 @@ |
|
|
|
|
|
|
|
<!-- 预订须知的弹窗 --> |
|
|
|
<uni-popup ref="popupRule" type="bottom" :safe-area="false"> |
|
|
|
<view class="popup-content-date" > |
|
|
|
<view class="popup-content-title flex"> |
|
|
|
<view class="popup-content-date flex-column flex" > |
|
|
|
<view class="popup-content-title flex flex-shrink-0"> |
|
|
|
<view class="flex-1 w-1rpx text-overflow"> |
|
|
|
{{skuInfo.title}} |
|
|
|
</view> |
|
|
|
<img src="https://static.ticket.sz-trip.com/taizhou/images/cha.png" @click="closePopupRule" |
|
|
|
style="width: 31rpx;height: 31rpx;" class="flex-shrink-0"> |
|
|
|
</view> |
|
|
|
<view class="content"> |
|
|
|
<view class="detail-content" v-html="skuInfo.info"></view> |
|
|
|
<view class="content flex-1 h-1rpx no-scrollbar"> |
|
|
|
<view class="detail-content" v-html="formateRichText(skuInfo.reserve_content)"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
@ -227,6 +228,17 @@ |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
goMap () { |
|
|
|
uni.openLocation({ |
|
|
|
latitude: Number(this.info.lat), |
|
|
|
longitude: Number(this.info.lon), |
|
|
|
name: this.info.title, |
|
|
|
address: this.info.address, |
|
|
|
success: function () { |
|
|
|
console.log('success'); |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
showSkuInfo (itemSku,goods) { |
|
|
|
this.skuInfo = itemSku |
|
|
@ -509,11 +521,11 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.box-title { |
|
|
|
margin: 52rpx 0 26rpx 12rpx; |
|
|
|
font-family: PingFang; |
|
|
|
font-weight: bold; |
|
|
|
margin: 60rpx 12rpx 28rpx; |
|
|
|
font-size: 37rpx; |
|
|
|
color: #000000; |
|
|
|
font-family: PingFang SC; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
|
|
|
|
.address-icon{ |
|
|
@ -523,31 +535,40 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.scenic-list{ |
|
|
|
.list-title { |
|
|
|
padding-bottom: 20rpx; |
|
|
|
} |
|
|
|
.scenic-item { |
|
|
|
/* border-top: 1px solid #d9d9d9; */ |
|
|
|
padding: 20rpx; |
|
|
|
text-align: left; |
|
|
|
background: rgba(11, 137, 142, .06); |
|
|
|
border-radius: 20rpx; |
|
|
|
width: 100%; |
|
|
|
height: 187rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
border-radius: 13rpx; |
|
|
|
margin-bottom: 20rpx; |
|
|
|
padding: 26rpx; |
|
|
|
display: flex; |
|
|
|
font-family: PingFang SC; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 23rpx; |
|
|
|
color: #666666; |
|
|
|
|
|
|
|
.item-left{ |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
justify-content: space-between; |
|
|
|
padding-left: 20rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.title { |
|
|
|
font-weight: bold; |
|
|
|
color: #333333; |
|
|
|
width: 100%; |
|
|
|
font-family: PingFang SC; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 31rpx; |
|
|
|
color: #000000; |
|
|
|
} |
|
|
|
.tags-box { |
|
|
|
overflow: hidden; |
|
|
|
padding-bottom: 6rpx; |
|
|
|
.tags { |
|
|
|
display: flex; |
|
|
|
flex-wrap: nowrap; |
|
|
|
flex: 1; |
|
|
|
font-weight: 400; |
|
|
|
color: #666666; |
|
|
|
} |
|
|
|
.tags view::after { |
|
|
|
content: '丨' |
|
|
@ -557,35 +578,38 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
.item-right { |
|
|
|
width: 100rpx; |
|
|
|
width: 133rpx; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: flex-end; |
|
|
|
} |
|
|
|
.price { |
|
|
|
font-size: 30rpx; |
|
|
|
font-weight: 400; |
|
|
|
color: #8d8d8d; |
|
|
|
font-family: PingFangSC; |
|
|
|
font-weight: 500; |
|
|
|
color: #d62828; |
|
|
|
font-size: 36rpx; |
|
|
|
color: #EE3E3B; |
|
|
|
} |
|
|
|
.price::before { |
|
|
|
display: inline-block; |
|
|
|
content: "¥"; |
|
|
|
font-size: 24rpx; |
|
|
|
font-weight: 400; |
|
|
|
color: #d62828; |
|
|
|
font-weight: 500; |
|
|
|
color: #EE3E3B; |
|
|
|
} |
|
|
|
|
|
|
|
.btn { |
|
|
|
width: 100rpx; |
|
|
|
height: 60rpx; |
|
|
|
background: #0B898E; |
|
|
|
border-radius: 20rpx; |
|
|
|
margin-top: 20rpx; |
|
|
|
width: 133rpx; |
|
|
|
height: 53rpx; |
|
|
|
background: linear-gradient(270deg, #FD6F34, #F4A61F); |
|
|
|
border-radius: 27rpx; |
|
|
|
text-align: center; |
|
|
|
line-height: 58rpx; |
|
|
|
line-height: 53rpx; |
|
|
|
font-weight: 500; |
|
|
|
font-family: PingFang SC; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 31rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
} |
|
|
|
} |
|
|
@ -601,11 +625,15 @@ |
|
|
|
.popup-content-date { |
|
|
|
background-color: white; |
|
|
|
padding: 0rpx 39rpx 51rpx 39rpx; |
|
|
|
height: auto; |
|
|
|
height: 70vh; |
|
|
|
border-radius: 20rpx 20rpx 0 0 ; |
|
|
|
.popup-content-title{ |
|
|
|
padding: 20rpx 0; |
|
|
|
} |
|
|
|
// 预定须知 |
|
|
|
.content{ |
|
|
|
overflow-y: auto; |
|
|
|
} |
|
|
|
|
|
|
|
.dateMore{ |
|
|
|
width: 120rpx; |
|
|
|