连云港陪玩陪聊
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/xiangqing.vue

195 lines
3.5 KiB

1 month ago
<template>
<view class="xiangqing">
<view class="image">
<image src="/static/lvyou/shouce-01.png"></image>
</view>
<view class="hd">
<view class="price">
<view class="new"><text>138</text></view>
<view class="old">166</view>
</view>
<view class="title">趣兜风-川藏线 318 电子地图电子讲解(专用版)</view>
<view class="tag">
<text>赠品</text>攻略 地图 摄影 手帐 相册一本全收
</view>
<view class="p">
<view class="fl">快递</view>
<view class="fr">常规地区免邮</view>
</view>
<view class="p">
<view class="fl">发货</view>
<view class="fr">超4斤重560页全彩西藏攻略下单后预计48小时为您发货!</view>
</view>
</view>
<view class="bd">
<view class="title">详情</view>
<view class="desc">
<image mode="widthFix" src="/static/lvyou/shouce-01.png"></image>
</view>
</view>
<view class="fd">
<view class="btn" @click="toPage()">立即下单</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
toPage() {
if(uni.getStorageSync("userInfo").token){
uni.navigateTo({
url: "/pages/news/confirm"
})
}else{
uni.navigateTo({
url: "/pages/login/index"
})
}
},
}
}
</script>
<style scoped lang="scss">
.xiangqing{
min-height: 100vh;
background-color: #FFFFFF;
.image{
width: 750rpx;
height: 750rpx;
display: block;
image{
width: 100%;
height: 100%;
}
}
.hd{
width: 750rpx;
background: #FFFFFF;
border-radius: 30rpx 30rpx 0px 0px;
padding: 30rpx 25rpx;
box-sizing: border-box;
.price{
display: flex;
align-items: center;
.new{
font-weight: bold;
font-size: 36rpx;
color: #FA6501;
line-height: 58rpx;
text{
font-size: 48rpx;
}
}
.old{
margin-left: 20rpx;
font-weight: 400;
font-size: 28rpx;
color: #999999;
line-height: 58rpx;
text-decoration-line: line-through;
}
}
.title{
font-weight: 500;
font-size: 38rpx;
color: #333333;
line-height: 58rpx;
}
.tag{
display: flex;
align-items: center;
font-weight: 400;
font-size: 24rpx;
color: #999999;
margin-top: 20rpx;
text{
display: block;
width: 70rpx;
line-height: 32rpx;
background: #FFFFFF;
border-radius: 10rpx;
border: 1px solid #FA6501;
text-align: center;
font-weight: 400;
font-size: 24rpx;
color: #FA6501;
margin-right: 10rpx;
}
}
.p{
display: flex;
align-items: flex-start;
font-weight: 300;
font-size: 30rpx;
color: #333333;
margin-top: 20rpx;
.fl{
width: 120rpx;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.fr{
flex: 1;
max-width: 550rpx;
}
}
}
.bd{
padding-bottom: 150rpx;
overflow: hidden;
.title{
padding: 30rpx 25rpx;
font-weight: 500;
font-size: 38rpx;
color: #333333;
position: relative;
&::after{
content: "";
width: 66rpx;
height: 8rpx;
background: #FA6501;
border-radius: 8rpx;
position: absolute;
left: 25rpx;
bottom: 20rpx;
z-index: 2;
}
}
.desc{
image{
width: 100%;
}
}
}
.fd{
width: 100%;
height: 110rpx;
background: #FFFFFF;
padding: 15rpx 25rpx;
box-sizing: border-box;
position: fixed;
left: 0;
bottom: 0;
z-index: 22;
.btn{
width: 100%;
line-height: 80rpx;
background: #FA6501;
border-radius: 80rpx;
text-align: center;
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
}
}
}
</style>