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

276 lines
5.8 KiB

<template>
<view class="dingzhi">
<view class="dingzhi-hd">
<view class="title">定制流程</view>
<view class="content">
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-01.png"></image>
线下沟通
</view>
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-02.png"></image>
提交偏好
</view>
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-03.png"></image>
沟通设计
</view>
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-04.png"></image>
线路支付
</view>
</view>
</view>
<view class="dingzhi-bd">
<view class="title">定制套餐</view>
<view class="content">
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-05.png"></image>
<view class="name">终身定制套餐A</view>
<view class="desc">单次定制15天内不限时不限次</view>
<view class="day">可定制15天<text>线下沟通</text></view>
</view>
<view class="item">
<image src="@/static/lvyou/icon-dingzhi-06.png"></image>
<view class="name">终身定制套餐B</view>
<view class="desc">单次定制30天内不限时不限次</view>
<view class="day">可定制30天<text>线下沟通</text></view>
</view>
</view>
</view>
<view class="dingzhi-bd">
<view class="title">游玩天数
<view class="count">
<image src="@/static/lvyou/add-02.png" @click="toNext(1)"></image>
<view class="txt">{{count}}</view>
<image src="@/static/lvyou/add-01.png" @click="toNext(2)"></image>
</view>
</view>
<view class="content">
<view class="box">
<view class="tips">
预定须知
</view>
<view class="xuzhi">根据游玩天数将收取每天20元的定制费用线下报名后将会有官方定制师与您联系为您定制自驾线路请至少提前1天预定</view>
</view>
</view>
</view>
<view class="dingzhi-fd">
<view class="btn" @click="toNext(3)">线下报名</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
count: 1
};
},
onLoad(o) {
this.count = o.count?o.count:1
},
methods: {
toNext(index){
if(index == 1){
this.count --
}else if(index == 2){
this.count ++
}else if(index == 3){
uni.showToast({
icon: "none",
position: "bottom",
title: "提交成功,请您保持电话联系"
})
}
}
}
}
</script>
<style scoped lang="scss">
.dingzhi{
padding: 0 25rpx;
overflow: hidden;
&-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;
}
}
&-bd{
background-color: #fff;
border-radius: 20rpx;
margin-top: 20rpx;
box-sizing: border-box;
overflow: hidden;
padding: 0 20rpx;
.title{
padding: 20rpx 0;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 58rpx;
display: flex;
align-items: center;
justify-content: space-between;
.count{
display: flex;
align-items: center;
justify-content: center;
image{
width: 44rpx;
height: 44rpx;
}
.txt{
width: 100rpx;
font-weight: 500;
font-size: 36rpx;
text-align: center;
color: #FA6501;
}
}
}
.content{
display: flex;
align-items: center;
justify-content: space-between;
overflow: hidden;
.box{
width: 100%;
height: 200rpx;
background: #FEF5F0;
border-radius: 20rpx;
margin-bottom: 20rpx;
padding: 30rpx;
box-sizing: border-box;
.tips{
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.xuzhi{
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 36rpx;
margin-top: 10rpx;
}
}
.item{
width: 320rpx;
height: 200rpx;
position: relative;
overflow: hidden;
border-radius: 20rpx;
image{
width: 100%;
height: 100%;
}
.name{
font-weight: 400;
font-size: 36rpx;
color: #FFFFFF;
line-height: 58rpx;
position: absolute;
left: 20rpx;
top: 20rpx;
z-index: 2;
}
.desc{
width: 167rpx;
height: 56rpx;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
line-height: 32rpx;
position: absolute;
left: 20rpx;
top: 80rpx;
z-index: 2;
}
.day{
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
line-height: 50rpx;
position: absolute;
left: 0;
bottom: 0;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
width: 320rpx;
height: 50rpx;
background: #1C1C1C;
box-sizing: border-box;
padding: 0 20rpx;
}
}
}
}
&-hd{
background-color: #fff;
border-radius: 20rpx;
margin-top: 20rpx;
box-sizing: border-box;
overflow: hidden;
.title{
padding: 20rpx 20rpx;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 58rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.content{
padding: 0 0 20rpx 20rpx;
overflow: hidden;
.item{
width: 150rpx;
height: 180rpx;
background: #FFFFFF;
border-radius: 20rpx;
border: 1px solid #CCCCCC;
font-weight: 400;
font-size: 28rpx;
text-align: center;
color: #333333;
float: left;
margin-left: 18rpx;
&:first-child{
margin-left: 0;
}
image{
width: 66rpx;
height: 66rpx;
display: block;
margin: 0 auto;
margin-top: 30rpx;
margin-bottom: 10rpx;
}
}
}
}
}
</style>