|
@ -15,8 +15,8 @@ |
|
|
<view v-if="isQrcode" style="margin-top: -66rpx;"> |
|
|
<view v-if="isQrcode" style="margin-top: -66rpx;"> |
|
|
<view class="qrcode-remain">还剩<span>{{remainNum}}</span>张未核销</view> |
|
|
<view class="qrcode-remain">还剩<span>{{remainNum}}</span>张未核销</view> |
|
|
|
|
|
|
|
|
<swiper class="qrcode-box" :circular="false" previous-margin="120rpx" next-margin="120rpx" |
|
|
<swiper class="qrcode-box" :circular="false" previous-margin="120rpx" next-margin="120rpx" :duration="800" |
|
|
:duration="800" :current="current" @change="swiperChange"> |
|
|
:current="current" @change="swiperChange"> |
|
|
<swiper-item v-for="(item, index) in info.order_child" :key="index" class="flex-center"> |
|
|
<swiper-item v-for="(item, index) in info.order_child" :key="index" class="flex-center"> |
|
|
<view class="qrcode-item flex-column"> |
|
|
<view class="qrcode-item flex-column"> |
|
|
<view class="qrcode-title">{{item.specifications_name}}</view> |
|
|
<view class="qrcode-title">{{item.specifications_name}}</view> |
|
@ -25,7 +25,8 @@ |
|
|
style="width:150px;height:150px;z-index: -20;bottom: -500px;position: absolute;"></canvas> |
|
|
style="width:150px;height:150px;z-index: -20;bottom: -500px;position: absolute;"></canvas> |
|
|
<view class="qrcode-subtitle">核销码:{{item.child_id}}</view> |
|
|
<view class="qrcode-subtitle">核销码:{{item.child_id}}</view> |
|
|
|
|
|
|
|
|
<view class="complete-text flex-center" v-if="['WAIT_REFUND','REFUND_SUCCESS','WAIT_COMMENT','COMPLETE'].includes(item.status)"> |
|
|
<view class="complete-text flex-center" |
|
|
|
|
|
v-if="['WAIT_REFUND','REFUND_SUCCESS','WAIT_COMMENT','COMPLETE'].includes(item.status)"> |
|
|
<view class="flex-center" v-if="item.status == 'WAIT_COMMENT'"> |
|
|
<view class="flex-center" v-if="item.status == 'WAIT_COMMENT'"> |
|
|
已核销 |
|
|
已核销 |
|
|
</view> |
|
|
</view> |
|
@ -39,7 +40,8 @@ |
|
|
|
|
|
|
|
|
<!-- 指示点 --> |
|
|
<!-- 指示点 --> |
|
|
<view class="swiper-point flex-center"> |
|
|
<view class="swiper-point flex-center"> |
|
|
<view v-for="(item,index) in info.order_child" :key="index" :class="[{'swiper-points': index == current}]"></view> |
|
|
<view v-for="(item,index) in info.order_child" :key="index" |
|
|
|
|
|
:class="[{'swiper-points': index == current}]"></view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- 提示语 --> |
|
|
<!-- 提示语 --> |
|
@ -68,7 +70,8 @@ |
|
|
|
|
|
|
|
|
<!-- 子订单规格 --> |
|
|
<!-- 子订单规格 --> |
|
|
<view> |
|
|
<view> |
|
|
<view v-for="(item,index) in info.order_child" :key="index" class="specifications-item flex-between"> |
|
|
<view v-for="(item,index) in info.order_child" :key="index" |
|
|
|
|
|
class="specifications-item flex-between"> |
|
|
<view>{{item.specifications_name}}</view> |
|
|
<view>{{item.specifications_name}}</view> |
|
|
<view class="flex-between" style="width: 150rpx;"> |
|
|
<view class="flex-between" style="width: 150rpx;"> |
|
|
<view>¥{{item.pay_money / 100}}</view> |
|
|
<view>¥{{item.pay_money / 100}}</view> |
|
@ -146,12 +149,14 @@ |
|
|
<view class="pickup-box" v-if="info.order_child[0].contact_id && info.order_child[0].extract_id"> |
|
|
<view class="pickup-box" v-if="info.order_child[0].contact_id && info.order_child[0].extract_id"> |
|
|
自提信息 |
|
|
自提信息 |
|
|
<view class="pickup-user"> |
|
|
<view class="pickup-user"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/user.png" class="picker-img"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/user.png" class="picker-img"> |
|
|
|
|
|
</image> |
|
|
<view>{{info.order_child[0].contact.name}}</view> |
|
|
<view>{{info.order_child[0].contact.name}}</view> |
|
|
<view>{{info.order_child[0].contact.tel}}</view> |
|
|
<view>{{info.order_child[0].contact.tel}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="pickup-address"> |
|
|
<view class="pickup-address"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/location.png" class="picker-img" style="margin-top: 6rpx;"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/location.png" |
|
|
|
|
|
class="picker-img" style="margin-top: 6rpx;"></image> |
|
|
|
|
|
|
|
|
<view> |
|
|
<view> |
|
|
<view class="picker-shopName">{{info.order_child[0].extract.extract_name}}</view> |
|
|
<view class="picker-shopName">{{info.order_child[0].extract.extract_name}}</view> |
|
@ -160,11 +165,14 @@ |
|
|
|
|
|
|
|
|
<view class="pickup-icon flex-center"> |
|
|
<view class="pickup-icon flex-center"> |
|
|
<view @click="clickPhone(info.order_child[0].extract.mobile)"> |
|
|
<view @click="clickPhone(info.order_child[0].extract.mobile)"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/phone.png" mode=""></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/phone.png" mode=""> |
|
|
|
|
|
</image> |
|
|
电话 |
|
|
电话 |
|
|
</view> |
|
|
</view> |
|
|
<view @click="openLocation(info.order_child[0].extract.lat,info.order_child[0].extract.lon)"> |
|
|
<view |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png" mode=""></image> |
|
|
@click="openLocation(info.order_child[0].extract.lat,info.order_child[0].extract.lon)"> |
|
|
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png" |
|
|
|
|
|
mode=""></image> |
|
|
导航 |
|
|
导航 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -182,7 +190,8 @@ |
|
|
<view class="product-title">{{foodInfo.title}}</view> |
|
|
<view class="product-title">{{foodInfo.title}}</view> |
|
|
<view class="product-subtitle flex-between"> |
|
|
<view class="product-subtitle flex-between"> |
|
|
<view class="product-tags" v-if="foodInfo.specifications_new_tag"> |
|
|
<view class="product-tags" v-if="foodInfo.specifications_new_tag"> |
|
|
<view v-for="(item,index) in foodInfo.specifications_new_tag.split(',').slice(0,3)" :key="index">{{item}}</view> |
|
|
<view v-for="(item,index) in foodInfo.specifications_new_tag.split(',').slice(0,3)" |
|
|
|
|
|
:key="index">{{item}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<span>x{{info.order_child[0].num}}</span> |
|
|
<span>x{{info.order_child[0].num}}</span> |
|
|
</view> |
|
|
</view> |
|
@ -209,7 +218,8 @@ |
|
|
<view class="shop-info"> |
|
|
<view class="shop-info"> |
|
|
<view> |
|
|
<view> |
|
|
<view style="margin-top: 23rpx; display: flex;"> |
|
|
<view style="margin-top: 23rpx; display: flex;"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/time.png" class="shop-time"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/time.png" |
|
|
|
|
|
class="shop-time"></image> |
|
|
<view> |
|
|
<view> |
|
|
<view class="shop-title">营业时间</view> |
|
|
<view class="shop-title">营业时间</view> |
|
|
<view class="shop-subtitle">{{merchantInfo.open_time}}</view> |
|
|
<view class="shop-subtitle">{{merchantInfo.open_time}}</view> |
|
@ -220,20 +230,88 @@ |
|
|
<view> |
|
|
<view> |
|
|
<view class="flex-center" style="margin-top: 23rpx;"> |
|
|
<view class="flex-center" style="margin-top: 23rpx;"> |
|
|
<view style="display: flex;"> |
|
|
<view style="display: flex;"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/location.png" class="shop-time"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/location.png" |
|
|
|
|
|
class="shop-time"></image> |
|
|
<view style="width: 420rpx;"> |
|
|
<view style="width: 420rpx;"> |
|
|
<view class="shop-title">{{merchantInfo.province_name}}{{merchantInfo.city_name}}{{merchantInfo.district_name}}{{merchantInfo.detail_addr}}</view> |
|
|
<view class="shop-title text-overflow"> |
|
|
<view class="shop-subtitle" v-if="merchantInfo.juli">距您约{{merchantInfo.juli}}</view> |
|
|
{{merchantInfo.province_name}}{{merchantInfo.city_name}}{{merchantInfo.district_name}}{{merchantInfo.detail_addr}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shop-subtitle" v-if="merchantInfo.juli">距您约{{merchantInfo.juli}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="shop-icon"> |
|
|
<view class="shop-icon"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/phone.png" @click="clickPhone(merchantInfo.mobile)"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/phone.png" |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png" @click="openLocation(merchantInfo.lat,merchantInfo.lon)"></image> |
|
|
@click="clickPhone(merchantInfo.mobile)"></image> |
|
|
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigations.png" |
|
|
|
|
|
@click="openLocation(merchantInfo.lat,merchantInfo.lon)"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 酒店 --> |
|
|
|
|
|
<view v-if="info.order_child[0].goods_genre == 'hotel'"> |
|
|
|
|
|
<view class="hotel-detail"> |
|
|
|
|
|
入住信息 |
|
|
|
|
|
<view class="hotel-title">{{info.order_child[0].goods_title}}</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="hotel-date"> |
|
|
|
|
|
<view> |
|
|
|
|
|
{{(info.order_child[0].start_date).slice(5)}} |
|
|
|
|
|
<span>{{ShowDateDay(new Date(info.order_child[0].start_date).getDay())}}入住</span> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-days">共{{calDate(info.order_child[0].start_date, info.order_child[0].end_date)}}晚</view> |
|
|
|
|
|
<view class="use-date"> |
|
|
|
|
|
{{info.order_child[0].end_date.slice(5)}} |
|
|
|
|
|
<span>{{ShowDateDay(new Date(info.order_child[0].end_date).getDay())}}离店</span> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="flex-between" style="margin-top: 30rpx;"> |
|
|
|
|
|
<view class="hotel-address flex-between"> |
|
|
|
|
|
<view class="address text-overflowRows">地址地址地址地址地址地址地址地 址地址地址地址地址地址</view> |
|
|
|
|
|
<view class="address-image"> |
|
|
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png"></image> |
|
|
|
|
|
<view>地图</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="hotel-phone flex-center"> |
|
|
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/hotelPhone.png"></image> |
|
|
|
|
|
<view>电话</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="hotel-skuName flex-between"> |
|
|
|
|
|
<view class="text-overflow">{{info.order_child[0].specifications_name}}</view> |
|
|
|
|
|
<view class="flex-between"> |
|
|
|
|
|
<view>¥{{info.order_child[0].pay_money / 100}}</view> |
|
|
|
|
|
<view>x{{info.order_child[0].num}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 商品价格 --> |
|
|
|
|
|
<view class="public-price"> |
|
|
|
|
|
<view class="flex-between"> |
|
|
|
|
|
商品总额:<span>¥{{info.money / 100}}</span> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="flex-between" v-if="info.discounts"> |
|
|
|
|
|
优惠券:<span>-¥{{info.discounts / 100}}</span> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="flex-between"> |
|
|
|
|
|
实付金额:<span style="font-size: 35rpx;color: #EE3E3B;">¥{{info.pay_money / 100}}</span> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="hotel-information"> |
|
|
|
|
|
预订信息 |
|
|
|
|
|
<view><span>房间数:</span>{{info.order_child[0].num}}间</view> |
|
|
|
|
|
<view><span>入住姓名:</span>{{info.reserve_name}}</view> |
|
|
|
|
|
<view><span>联系电话:</span>{{info.reserve_phone}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -277,7 +355,9 @@ |
|
|
关闭订单 |
|
|
关闭订单 |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="btn" v-if="['WAIT_REFUND','REFUND_SUCCESS','WAIT_COMMENT','COMPLETE','CLOSED'].includes(info.status)" @click="gotoDetail"> |
|
|
<view class="btn" |
|
|
|
|
|
v-if="['WAIT_REFUND','REFUND_SUCCESS','WAIT_COMMENT','COMPLETE','CLOSED'].includes(info.status)" |
|
|
|
|
|
@click="gotoDetail"> |
|
|
再次购买 |
|
|
再次购买 |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
@ -311,6 +391,14 @@ |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 计算两个日期间的天数 |
|
|
|
|
|
calDate(startDate, endDate) { |
|
|
|
|
|
var start = new Date(startDate); |
|
|
|
|
|
var end = new Date(endDate); |
|
|
|
|
|
var diff = end - start; |
|
|
|
|
|
var days = Math.floor(diff / (1000 * 60 * 60 * 24)); // 计算天数差 |
|
|
|
|
|
return days; |
|
|
|
|
|
}, |
|
|
// 获取订单详情 |
|
|
// 获取订单详情 |
|
|
getDetail() { |
|
|
getDetail() { |
|
|
this.Post({ |
|
|
this.Post({ |
|
@ -324,7 +412,8 @@ |
|
|
goods_id: this.info.order_child[0].goods_id |
|
|
goods_id: this.info.order_child[0].goods_id |
|
|
}, '/api/goods/getSpecificationsByGoodsId').then(res => { |
|
|
}, '/api/goods/getSpecificationsByGoodsId').then(res => { |
|
|
res.data.forEach(item => { |
|
|
res.data.forEach(item => { |
|
|
if(item.id == this.info.order_child[0].specifications_id) this.foodInfo = item |
|
|
if (item.id == this.info.order_child[0].specifications_id) this |
|
|
|
|
|
.foodInfo = item |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
@ -340,7 +429,8 @@ |
|
|
|
|
|
|
|
|
// 景点、美食二维码 |
|
|
// 景点、美食二维码 |
|
|
if (['ticket', 'food'].includes(this.info.order_child[0].goods_genre)) { |
|
|
if (['ticket', 'food'].includes(this.info.order_child[0].goods_genre)) { |
|
|
if (['PAYMENT_SUCCESSFULLY','WAIT_REFUND','REFUND_SUCCESS','WAIT_COMMENT','COMPLETED'].includes(this.info.status)) { |
|
|
if (['PAYMENT_SUCCESSFULLY', 'WAIT_REFUND', 'REFUND_SUCCESS', 'WAIT_COMMENT', 'COMPLETED'] |
|
|
|
|
|
.includes(this.info.status)) { |
|
|
this.isQrcode = true |
|
|
this.isQrcode = true |
|
|
for (let i = 0; i < this.info.order_child.length; i++) { |
|
|
for (let i = 0; i < this.info.order_child.length; i++) { |
|
|
this.getCodeImg(this.info.order_child[i].child_id, i); |
|
|
this.getCodeImg(this.info.order_child[i].child_id, i); |
|
@ -385,7 +475,10 @@ |
|
|
}, |
|
|
}, |
|
|
//轮播图左右滑动 |
|
|
//轮播图左右滑动 |
|
|
swiperChange(e) { |
|
|
swiperChange(e) { |
|
|
let { current, source } = e.detail; |
|
|
let { |
|
|
|
|
|
current, |
|
|
|
|
|
source |
|
|
|
|
|
} = e.detail; |
|
|
//在自动或手动的时候才赋予current值 |
|
|
//在自动或手动的时候才赋予current值 |
|
|
if (source === 'autoplay' || source === 'touch') { |
|
|
if (source === 'autoplay' || source === 'touch') { |
|
|
this.current = current; |
|
|
this.current = current; |
|
@ -447,7 +540,10 @@ |
|
|
icon: 'success' |
|
|
icon: 'success' |
|
|
}); |
|
|
}); |
|
|
this.getDetail() |
|
|
this.getDetail() |
|
|
uni.$emit("updateDataByConnect", {msgType:'updateOrderTrades',data:{}}) |
|
|
uni.$emit("updateDataByConnect", { |
|
|
|
|
|
msgType: 'updateOrderTrades', |
|
|
|
|
|
data: {} |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -471,7 +567,10 @@ |
|
|
icon: 'success' |
|
|
icon: 'success' |
|
|
}); |
|
|
}); |
|
|
that.getDetail(); |
|
|
that.getDetail(); |
|
|
uni.$emit("updateDataByConnect", {msgType:'updateOrderTrades',data:{}}) |
|
|
uni.$emit("updateDataByConnect", { |
|
|
|
|
|
msgType: 'updateOrderTrades', |
|
|
|
|
|
data: {} |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -496,7 +595,10 @@ |
|
|
timeStamp: res.data.timeStamp, |
|
|
timeStamp: res.data.timeStamp, |
|
|
success: () => { |
|
|
success: () => { |
|
|
that.getDetail(); |
|
|
that.getDetail(); |
|
|
uni.$emit("updateDataByConnect", {msgType:'updateOrderTrades',data:{}}) |
|
|
uni.$emit("updateDataByConnect", { |
|
|
|
|
|
msgType: 'updateOrderTrades', |
|
|
|
|
|
data: {} |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -564,6 +666,7 @@ |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.qrcode-box { |
|
|
.qrcode-box { |
|
|
height: 456rpx; |
|
|
height: 456rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
@ -622,6 +725,7 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.swiper-point { |
|
|
.swiper-point { |
|
|
height: 63rpx; |
|
|
height: 63rpx; |
|
|
|
|
|
|
|
@ -631,6 +735,7 @@ |
|
|
background: #CCCCCC; |
|
|
background: #CCCCCC; |
|
|
border-radius: 50%; |
|
|
border-radius: 50%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
view:not(:first-child) { |
|
|
view:not(:first-child) { |
|
|
margin-left: 13rpx; |
|
|
margin-left: 13rpx; |
|
|
} |
|
|
} |
|
@ -639,6 +744,7 @@ |
|
|
background: #71B580; |
|
|
background: #71B580; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.swiper-prompt { |
|
|
.swiper-prompt { |
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
font-size: 29rpx; |
|
|
font-size: 29rpx; |
|
@ -728,6 +834,7 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.novice-item:nth-child(n+2) { |
|
|
.novice-item:nth-child(n+2) { |
|
|
border-top: 1rpx solid #D8D8D8; |
|
|
border-top: 1rpx solid #D8D8D8; |
|
|
} |
|
|
} |
|
@ -887,6 +994,7 @@ |
|
|
&>view { |
|
|
&>view { |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&>view:last-child { |
|
|
&>view:last-child { |
|
|
margin-left: 40rpx; |
|
|
margin-left: 40rpx; |
|
|
} |
|
|
} |
|
@ -939,6 +1047,7 @@ |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
margin-top: 23rpx; |
|
|
margin-top: 23rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.shop-icon { |
|
|
.shop-icon { |
|
|
margin-left: auto; |
|
|
margin-left: auto; |
|
|
|
|
|
|
|
@ -946,6 +1055,7 @@ |
|
|
width: 56rpx; |
|
|
width: 56rpx; |
|
|
height: 56rpx; |
|
|
height: 56rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
image:first-child { |
|
|
image:first-child { |
|
|
margin-right: 40rpx; |
|
|
margin-right: 40rpx; |
|
|
} |
|
|
} |
|
@ -953,6 +1063,140 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 酒店 |
|
|
|
|
|
.hotel-detail { |
|
|
|
|
|
width: 697rpx; |
|
|
|
|
|
height: auto; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
border-radius: 20rpx; |
|
|
|
|
|
padding: 33rpx 26rpx; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
margin: auto; |
|
|
|
|
|
|
|
|
|
|
|
.hotel-title { |
|
|
|
|
|
font-size: 31rpx; |
|
|
|
|
|
color: #222222; |
|
|
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-date { |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
font-size: 31rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
color: #666666; |
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-days { |
|
|
|
|
|
width: 113rpx; |
|
|
|
|
|
line-height: 37rpx; |
|
|
|
|
|
background: #E8F6EB; |
|
|
|
|
|
border-radius: 18rpx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
margin: 0 20rpx; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-address { |
|
|
|
|
|
width: 533rpx; |
|
|
|
|
|
height: 107rpx; |
|
|
|
|
|
background: url('https://static.ticket.sz-trip.com/yandu/images/order/addreeBg.png') no-repeat right; |
|
|
|
|
|
background-size: auto 100%; |
|
|
|
|
|
background-color: #E8F6EB; |
|
|
|
|
|
border-radius: 20rpx; |
|
|
|
|
|
padding: 22rpx 18rpx; |
|
|
|
|
|
|
|
|
|
|
|
.address { |
|
|
|
|
|
width: 398rpx; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 27rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.address-image { |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 30.67rpx; |
|
|
|
|
|
height: 30.67rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-phone { |
|
|
|
|
|
width: 93rpx; |
|
|
|
|
|
height: 107rpx; |
|
|
|
|
|
background: #E8F6EB; |
|
|
|
|
|
border-radius: 20rpx; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 30.67rpx; |
|
|
|
|
|
height: 30.67rpx; |
|
|
|
|
|
margin-bottom: 8rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-skuName { |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 27rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
height: 94rpx; |
|
|
|
|
|
border-top: 1rpx solid #D8D8D8; |
|
|
|
|
|
border-bottom: 1rpx solid #D8D8D8; |
|
|
|
|
|
margin-top: 34rpx; |
|
|
|
|
|
|
|
|
|
|
|
&>view:first-child { |
|
|
|
|
|
width: 400rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&>view:last-child { |
|
|
|
|
|
width: 140rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hotel-information { |
|
|
|
|
|
width: 697rpx; |
|
|
|
|
|
height: auto; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
border-radius: 20rpx; |
|
|
|
|
|
padding: 26rpx; |
|
|
|
|
|
margin: 20rpx auto; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
|
|
|
|
|
|
view { |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
font-size: 27rpx; |
|
|
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
width: 140rpx; |
|
|
|
|
|
color: #666666; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 商品价格 |
|
|
// 商品价格 |
|
|
.public-price { |
|
|
.public-price { |
|
|
|
|
|
|
|
@ -1055,11 +1299,13 @@ |
|
|
font-size: 48rpx; |
|
|
font-size: 48rpx; |
|
|
color: #EE3E3B; |
|
|
color: #EE3E3B; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
span::before { |
|
|
span::before { |
|
|
content: '¥'; |
|
|
content: '¥'; |
|
|
font-size: 27rpx; |
|
|
font-size: 27rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.btn-box { |
|
|
.btn-box { |
|
|
margin-left: auto; |
|
|
margin-left: auto; |
|
|
display: flex; |
|
|
display: flex; |
|
@ -1075,6 +1321,7 @@ |
|
|
font-size: 31rpx; |
|
|
font-size: 31rpx; |
|
|
color: #000000; |
|
|
color: #000000; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.btn:last-of-type { |
|
|
.btn:last-of-type { |
|
|
margin-right: 0; |
|
|
margin-right: 0; |
|
|
} |
|
|
} |
|
|