You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
297 lines
6.2 KiB
297 lines
6.2 KiB
<template>
|
|
<view class="dingzhi">
|
|
<view class="dingzhi-navbar">
|
|
<u-navbar :background="background"></u-navbar>
|
|
</view>
|
|
<view class="dingzhi-hd">
|
|
<view class="a">
|
|
<view class="fl">
|
|
<image src="@/static/lvyou/banyou-01.png"></image>开启伴游后,自动触发讲解
|
|
</view>
|
|
<view class="fr">
|
|
<view class="btn">开启伴游</view>
|
|
</view>
|
|
</view>
|
|
<view class="b">
|
|
<view class="item">
|
|
<image src="@/static/lvyou/banyou-05.png"></image>
|
|
<view class="info"><text>伴游历史</text>伴游讲解历史</view>
|
|
</view>
|
|
<view class="item">
|
|
<image src="@/static/lvyou/banyou-06.png"></image>
|
|
<view class="info"><text>伴游视频</text>伴游讲解历史</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="dingzhi-bd">
|
|
<view class="title">伴游视频</view>
|
|
<view class="content">
|
|
<view class="item">
|
|
<image class="img" src="@/static/lvyou/banyou-02.png"></image>
|
|
<image class="jingxuan" src="@/static/lvyou/banyou-04.png"></image>
|
|
<image class="video" src="@/static/lvyou/banyou-03.png"></image>
|
|
<view class="a">川藏线大渡河特大桥</view>
|
|
<view class="b"><image src="@/static/nv.png"></image>一起旅游</view>
|
|
</view>
|
|
</view>
|
|
<scroll-view class="shiping" scroll-x>
|
|
<view class="item" v-for="i in 10" :key="i">
|
|
<image class="img" src="@/static/lvyou/banyou-02.png"></image>
|
|
<image class="video" src="@/static/lvyou/banyou-03.png"></image>
|
|
<view class="a">新疆赛里木湖...</view>
|
|
<view class="b"><image src="@/static/nv.png"></image>一起旅游</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
// 导航栏背景图
|
|
background: 'url(https://api.lyiyuan.cn/profile/upload/2024/12/31/54013488449f38251cefea1dd3cf346c.png) center top no-repeat',
|
|
// 还可以设置背景图size属性
|
|
backgroundSize: '100% auto',
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.dingzhi{
|
|
background: #fff url(https://api.lyiyuan.cn/profile/upload/2024/12/31/54013488449f38251cefea1dd3cf346c.png) center top no-repeat;
|
|
background-size: 100% auto;
|
|
min-height: 100vh;
|
|
&-hd{
|
|
padding: 0 25rpx;
|
|
margin-top: 500rpx;
|
|
.b{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 30rpx;
|
|
.item{
|
|
width: 340rpx;
|
|
height: 120rpx;
|
|
background-color: #F6F4FF;
|
|
border-radius: 20rpx;
|
|
padding-top: 20rpx;
|
|
box-sizing: border-box;
|
|
&:first-child{
|
|
background-color: #F5F8FF;
|
|
}
|
|
image{
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
margin-right: 25rpx;
|
|
float: left;
|
|
margin-left: 55rpx;
|
|
margin-top: 12rpx;
|
|
}
|
|
.info{
|
|
flex: 1;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
text{
|
|
font-weight: bold;
|
|
font-size: 30rpx;
|
|
color: #222222;
|
|
display: block;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.a{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
height: 70rpx;
|
|
background: #F8F8F8;
|
|
border-radius: 20rpx;
|
|
padding: 0 15rpx;
|
|
box-sizing: border-box;
|
|
.fl{
|
|
flex: 1;
|
|
font-weight: bold;
|
|
font-size: 24rpx;
|
|
color: #222222;
|
|
display: flex;
|
|
align-items: center;
|
|
image{
|
|
width: 26rpx;
|
|
height: 26rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
.fr{
|
|
width: 200rpx;
|
|
height: 100rpx;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 50px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
.btn{
|
|
width: 160rpx;
|
|
height: 80rpx;
|
|
background: #000000;
|
|
border-radius: 40rpx;
|
|
font-weight: bold;
|
|
font-size: 24rpx;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
line-height: 80rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-bd{
|
|
padding: 0 25rpx ;
|
|
margin-top: 60rpx;
|
|
.title{
|
|
font-weight: 500;
|
|
font-size: 36rpx;
|
|
color: #222222;
|
|
}
|
|
.shiping{
|
|
white-space: nowrap;
|
|
margin-top: 30rpx;
|
|
.item{
|
|
width: 200rpx;
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-right: 20rpx;
|
|
.img{
|
|
width: 200rpx;
|
|
height: 140rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
.video{
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50rpx;
|
|
margin-left: -22rpx;
|
|
z-index: 2;
|
|
}
|
|
.a{
|
|
font-weight: bold;
|
|
font-size: 28rpx;
|
|
color: #212121;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-align: left;
|
|
}
|
|
.b{
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin-top: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
image{
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.content{
|
|
.item{
|
|
width: 700rpx;
|
|
height: 400rpx;
|
|
position: relative;
|
|
margin-top: 30rpx;
|
|
.img{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.jingxuan{
|
|
width: 50rpx;
|
|
height: 58rpx;
|
|
position: absolute;
|
|
left: 25rpx;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
.video{
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -45rpx;
|
|
margin-top: -45rpx;
|
|
z-index: 2;
|
|
}
|
|
.a{
|
|
font-weight: bold;
|
|
font-size: 30rpx;
|
|
color: #FFFFFF;
|
|
width: 100%;
|
|
padding: 0 25rpx;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 70rpx;
|
|
z-index: 2;
|
|
}
|
|
.b{
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #FFFFFF;
|
|
width: 100%;
|
|
padding: 0 25rpx;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 20rpx;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
image{
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-fd{
|
|
width: 100%;
|
|
height: 110rpx;
|
|
background: #FFFFFF;
|
|
padding: 0 25rpx;
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
bottom: 0;
|
|
z-index: 22;
|
|
.btn{
|
|
width: 100%;
|
|
line-height: 80rpx;
|
|
background: #FA6501;
|
|
border-radius: 80rpx;
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|