|
|
@ -45,20 +45,16 @@ const leiList = [
|
|
|
|
const weightMenuList = [
|
|
|
|
const weightMenuList = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 1,
|
|
|
|
id: 1,
|
|
|
|
name: '5-10kg',
|
|
|
|
name: '10kg以下',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 2,
|
|
|
|
id: 2,
|
|
|
|
name: '10-15kg',
|
|
|
|
name: '10-20kg',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 3,
|
|
|
|
id: 3,
|
|
|
|
name: '15-20kg',
|
|
|
|
name: '20kg以上',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
{
|
|
|
|
|
|
|
|
id: 4,
|
|
|
|
|
|
|
|
name: '20-50kg',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
const handleMenuChange = (val) => {
|
|
|
|
const handleMenuChange = (val) => {
|
|
|
@ -68,11 +64,7 @@ const handleWeightChange = (val) => {
|
|
|
|
activeWeightKey.value = val
|
|
|
|
activeWeightKey.value = val
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const handleToto = () => {
|
|
|
|
const handleToto = () => {
|
|
|
|
uni.showToast({
|
|
|
|
uni.navigateTo({ url: '/pages/booking/booking-success' })
|
|
|
|
title: 'todo...',
|
|
|
|
|
|
|
|
icon: 'none',
|
|
|
|
|
|
|
|
duration: 1000,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 微信 - 获取当前经纬度
|
|
|
|
// 微信 - 获取当前经纬度
|
|
|
@ -152,10 +144,10 @@ const openAdressPop = () => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const handleTimePopChange = (val) => {
|
|
|
|
const handleTimePopChange = (val) => {
|
|
|
|
timdeLabel.value ='取件时间: ' + val
|
|
|
|
timdeLabel.value ='收货时间: ' + val
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const handleAddressPopChange = (e) => {
|
|
|
|
const handleAddressPopChange = (val) => {
|
|
|
|
debugger
|
|
|
|
addressLabel.value ='收货地址: ' + val
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -324,17 +316,18 @@ page {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.weight-menu {
|
|
|
|
.weight-menu {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: column;
|
|
|
|
.item {
|
|
|
|
.item {
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 10rpx;
|
|
|
|
margin: 10rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
border-radius: 8rpx;
|
|
|
|
border-radius: 8rpx;
|
|
|
|
padding: 30rpx 10rpx;
|
|
|
|
padding: 30rpx 10rpx;
|
|
|
|
background: #f2f2fa;
|
|
|
|
background: #f2f2fa;
|
|
|
|
&.active {
|
|
|
|
&.active {
|
|
|
|
background: #fff7e8;
|
|
|
|
background: #fff7e8;
|
|
|
|
|
|
|
|
border: 2rpx solid #FF7D00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|