连云港陪玩陪聊
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.
 
 
 
 
 
 
chunwan/pages/news/detail.vue

152 lines
3.7 KiB

<template>
<view class="dingzhi">
<view class="dingzhi-navbar">
<u-navbar :background="background"></u-navbar>
</view>
<view class="dingzhi-hd">
<view class="title">中国公路</view>
<view class="sub">Zhong Guo Gong Lu</view>
<view class="desc">公路穿越山水领略中国大美风光</view>
<view class="stitle">中国公路</view>
<view class="content">让眼睛忙碌让心灵放松何不选择踏上一段公路旅程去探索那浓墨重彩的美从文明的世界驶向神秘的远方从喧嚣的城市开向静谧的田野一路穿越即可领略半壁江山的华美沿着或蜿蜒或笔直的公路你可环游中国壮阔的边疆深入到高原戈壁和海岛的奇异之地从东到西从南到北这片多姿多彩的土地孕育出丰富的文化底蕴走走停停的途中最能感知那些变与不变</view>
</view>
<view class="dingzhi-bd">
<view class="title">全部线路</view>
<view class="content">
<view class="item">
<image src="@/static/lvyou/xiangqing-01.png"></image>
<view class="a">55/总长31299.2km</view>
</view>
<view class="item">
<image src="@/static/lvyou/xiangqing-02.png"></image>
<view class="a">35/总长31299.2km</view>
</view>
</view>
</view>
<view class="dingzhi-fd">
<view class="btn" @click="toPage()">解锁智能语音导游</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
// 导航栏背景图
background: 'url(https://api.lyiyuan.cn/profile/upload/2024/12/31/71d4ff436c4368dec03d5e64d2946f7f.png) center top no-repeat',
// 还可以设置背景图size属性
backgroundSize: '100% auto',
};
},
methods: {
toPage() {
uni.navigateTo({
url: "/pages/users/center/index"
})
},
}
}
</script>
<style scoped lang="scss">
.dingzhi{
background: #fff url(https://api.lyiyuan.cn/profile/upload/2024/12/31/71d4ff436c4368dec03d5e64d2946f7f.png) center top no-repeat;
background-size: 100% auto;
min-height: 100vh;
&-hd{
padding: 0 25rpx;
margin-top: 400rpx;
.title{
font-weight: 500;
font-size: 60rpx;
color: #FFFFFF;
text-shadow: 0px 2rpx 0px rgba(17,17,17,0.18);
}
.sub{
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
text-shadow: 0px 2px 0px rgba(17,17,17,0.18);
margin-top: 10rpx;
}
.desc{
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
text-shadow: 0px 2px 0px rgba(17,17,17,0.18);
margin-top: 10rpx;
}
.stitle{
font-family: PingFang SC;
font-weight: 500;
font-size: 48rpx;
color: #222222;
margin-top: 120rpx;
}
.content{
font-weight: 500;
font-size: 28rpx;
color: #222222;
line-height: 50rpx;
margin-top: 20rpx;
}
}
&-bd{
padding: 0 25rpx 150rpx;
margin-top: 60rpx;
.title{
font-weight: 500;
font-size: 36rpx;
color: #222222;
}
.content{
.item{
width: 700rpx;
height: 340rpx;
position: relative;
margin-top: 30rpx;
image{
width: 100%;
height: 100%;
}
.a{
font-weight: 500;
font-size: 24rpx;
color: #FFFFFF;
width: 100%;
padding: 0 25rpx;
box-sizing: border-box;
position: absolute;
left: 0;
bottom: 25rpx;
z-index: 2;
}
}
}
}
&-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>