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.
367 lines
7.9 KiB
367 lines
7.9 KiB
10 months ago
|
<template>
|
||
|
<view class="recycling">
|
||
|
<view class="recycling-swiper">
|
||
|
<u-swiper :list="list" mode="number" height="750" indicator-pos="bottomRight"></u-swiper>
|
||
|
</view>
|
||
|
<view class="recycling-hd">
|
||
|
<view class="a">
|
||
|
<view class="price">¥<text>112</text></view>
|
||
|
<view class="exchange">已售1890</view>
|
||
|
</view>
|
||
|
<view class="b">家用电器上门回收</view>
|
||
|
<view class="c">专业上门回收</view>
|
||
|
<view class="d">
|
||
|
<view class="l">
|
||
|
<image src="@/static/news/icon-recycling-05.png"></image>24小时客服
|
||
|
</view>
|
||
|
<view class="l">
|
||
|
<image src="@/static/news/icon-recycling-05.png"></image>未服务全额退
|
||
|
</view>
|
||
|
<view class="l">
|
||
|
<image src="@/static/news/icon-recycling-05.png"></image>未额外收费
|
||
|
</view>
|
||
|
<view class="l">
|
||
|
<image src="@/static/news/icon-recycling-05.png"></image>全程保障
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="recycling-select">
|
||
|
<view class="item">
|
||
|
<view class="a">已选</view>
|
||
|
<view class="b" @click="openPage(2)">{{selector[tabIndex]}}<u-icon name="arrow-right"></u-icon></view>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<view class="a">送至</view>
|
||
|
<view class="b">河北省秦皇岛市某某区</view>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<view class="a">服务</view>
|
||
|
<view class="b">优质服务全程跟踪</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="recycling-chat">
|
||
|
<view class="a">
|
||
|
<view class="l">用户评价<text>(30)</text></view>
|
||
|
<view class="r">查看更多 <u-icon name="arrow-right"></u-icon></view>
|
||
|
</view>
|
||
|
<view class="b">
|
||
|
<view class="item">全部12</view>
|
||
|
<view class="item">沟通愉快4</view>
|
||
|
</view>
|
||
|
<view class="c">
|
||
|
<view class="item" v-for="i in 5" :key="i">
|
||
|
<view class="name">
|
||
|
<image src="@/static/news/avater.png"></image>Shark特
|
||
|
</view>
|
||
|
<view class="desc">非常棒,讲解细致,下次还来!</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="recycling-bd">
|
||
|
<view class="title">产品详情</view>
|
||
|
<view class="conten">
|
||
|
<image mode="widthFix" src="@/static/news/pic1.png"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="recycling-fd">
|
||
|
<view class="a">
|
||
|
<image src="@/static/news/icon-recycling-06.png"></image>客服
|
||
|
<button open-type="contact"></button>
|
||
|
</view>
|
||
|
<view class="a">
|
||
|
<image src="@/static/news/icon-recycling-07.png"></image>收藏
|
||
|
</view>
|
||
|
<view class="a">
|
||
|
<image src="@/static/news/icon-recycling-08.png"></image>购物车
|
||
|
</view>
|
||
|
<view class="b">加入购物车</view>
|
||
|
<view class="c">立即预约</view>
|
||
|
</view>
|
||
|
<u-picker v-model="isShow" mode="selector" :range="selector" @confirm="confirm"></u-picker>
|
||
|
</view>
|
||
|
</template>
|
||
|
<script>
|
||
|
export default{
|
||
|
data(){
|
||
|
return {
|
||
|
tabIndex: 0,
|
||
|
isShow: false,
|
||
|
selector: ["门店回收","上门回收","邮寄回收"],
|
||
|
list: [
|
||
|
{
|
||
|
image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
|
||
|
title: '昨夜星辰昨夜风,画楼西畔桂堂东'
|
||
|
},
|
||
|
{
|
||
|
image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
|
||
|
title: '身无彩凤双飞翼,心有灵犀一点通'
|
||
|
},
|
||
|
{
|
||
|
image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
|
||
|
title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
openPage(index) {
|
||
|
if(index == 2){
|
||
|
this.isShow = true;
|
||
|
}
|
||
|
},
|
||
|
confirm(e){
|
||
|
this.tabIndex = e[0]
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style lang="scss" scoped>
|
||
|
.recycling{
|
||
|
padding-bottom: 130rpx;
|
||
|
overflow: hidden;
|
||
|
&-hd{
|
||
|
width: 720rpx;
|
||
|
min-height: 262rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
.a{
|
||
|
display: flex;
|
||
|
align-items: baseline;
|
||
|
justify-content: space-between;
|
||
|
.price{
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 500;
|
||
|
color: #ED2B00;
|
||
|
text{
|
||
|
margin-left: 10rpx;
|
||
|
font-size: 48rpx;
|
||
|
}
|
||
|
}
|
||
|
.exchange{
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 400;
|
||
|
color: #989898;
|
||
|
}
|
||
|
}
|
||
|
.b{
|
||
|
font-size: 28rpx;
|
||
|
font-family: PingFang SC, PingFang SC;
|
||
|
font-weight: 500;
|
||
|
color: #000000;
|
||
|
line-height: 43rpx;
|
||
|
}
|
||
|
.c{
|
||
|
font-size: 28rpx;
|
||
|
color: #989898;
|
||
|
line-height: 43rpx;
|
||
|
}
|
||
|
.d{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
font-size: 20rpx;
|
||
|
font-weight: 400;
|
||
|
color: #CDA55E;
|
||
|
margin-top: 10rpx;
|
||
|
.l{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
image{
|
||
|
width: 40rpx;
|
||
|
height: 40rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&-select{
|
||
|
width: 720rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 15rpx 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
.item{
|
||
|
padding: 12rpx 0;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
overflow: hidden;
|
||
|
.a{
|
||
|
width: 100rpx;
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 400;
|
||
|
color: #C4C4C4;
|
||
|
}
|
||
|
.b{
|
||
|
flex: 1;
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 400;
|
||
|
color: #3D3D3D;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&-chat{
|
||
|
width: 720rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 15rpx 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
.a{
|
||
|
display: flex;
|
||
|
align-items: baseline;
|
||
|
justify-content: space-between;
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 500;
|
||
|
color: #000000;
|
||
|
padding-top: 10rpx;
|
||
|
.l{
|
||
|
text{
|
||
|
|
||
|
font-size: 28psx;
|
||
|
font-family: PingFang SC, PingFang SC;
|
||
|
font-weight: 500;
|
||
|
color: #909090;
|
||
|
}
|
||
|
}
|
||
|
.r{
|
||
|
flex: 1;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 400;
|
||
|
color: #909090;
|
||
|
}
|
||
|
}
|
||
|
.b{
|
||
|
overflow: hidden;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
padding: 10rpx 0;
|
||
|
.item{
|
||
|
line-height: 50rpx;
|
||
|
background: #FFE7E7;
|
||
|
border-radius: 8rpx;
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #515151;
|
||
|
padding: 0 20rpx;
|
||
|
margin-right: 20rpx;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
.c{
|
||
|
.item{
|
||
|
padding: 20rpx 0;
|
||
|
border-top: 1px solid #f3f3f3;
|
||
|
&:first-child{
|
||
|
border-top: 1px solid #FFFFFF;
|
||
|
}
|
||
|
overflow: hidden;
|
||
|
.name{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #515151;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
image{
|
||
|
width: 75rpx;
|
||
|
height: 75rpx;
|
||
|
border-radius: 50%;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
.desc{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #515151;
|
||
|
line-height: 45rpx;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
&-bd{
|
||
|
width: 720rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
padding: 25rpx 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
.a{
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 500;
|
||
|
color: #000000;
|
||
|
}
|
||
|
.b{
|
||
|
width: 100%;
|
||
|
padding: 20rpx 0;
|
||
|
image{
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&-fd{
|
||
|
width: 100%;
|
||
|
height: 120rpx;
|
||
|
background-color: #FFFFFF;
|
||
|
padding: 25rpx 20rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
box-sizing: border-box;
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
z-index: 99;
|
||
|
.a{
|
||
|
flex: 1;
|
||
|
text-align: center;
|
||
|
font-size: 20rpx;
|
||
|
font-weight: 400;
|
||
|
color: #3D3D3D;
|
||
|
image{
|
||
|
width: 40rpx;
|
||
|
height: 40rpx;
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
}
|
||
|
.b{
|
||
|
width: 200rpx;
|
||
|
height: 78rpx;
|
||
|
line-height: 78rpx;
|
||
|
background: #FF9E2B;
|
||
|
border-radius: 78rpx;
|
||
|
text-align: center;
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 600;
|
||
|
color: #FFFFFF;
|
||
|
margin-left: 20rpx;
|
||
|
}
|
||
|
.c{
|
||
|
width: 200rpx;
|
||
|
height: 78rpx;
|
||
|
line-height: 78rpx;
|
||
|
background: linear-gradient(102deg, #FE5E06 0%, #F3221A 100%);
|
||
|
border-radius: 78rpx;
|
||
|
text-align: center;
|
||
|
font-size: 24rpx;
|
||
|
font-weight: 600;
|
||
|
color: #FFFFFF;
|
||
|
margin-left: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|