2025-08-13 11:43:35 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="lease-page">
|
|
|
|
|
|
<!-- 头部区域 -->
|
|
|
|
|
|
<view class="header">
|
|
|
|
|
|
<view class="header-content">
|
|
|
|
|
|
<view class="title-section">
|
|
|
|
|
|
<text class="page-title">租赁申请</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="product-info">
|
|
|
|
|
|
<text class="product-name">渝锦汇节能灶燃烧器</text>
|
|
|
|
|
|
<text class="product-slogan">租来节能,灶就省钱</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="header-graphic">
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<image :src="commonEnum.FIRE" class="fire"></image>
|
2025-08-13 11:43:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 主要内容区域 -->
|
|
|
|
|
|
<view class="main-content">
|
|
|
|
|
|
<!-- 租赁信息表单 -->
|
|
|
|
|
|
<view class="form-section">
|
|
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="section-indicator"></view>
|
|
|
|
|
|
<text class="section-title">填写租赁信息</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="form-fields">
|
|
|
|
|
|
<!-- 姓名 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">姓名</text>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<input v-model="formData.name" class="field-input" placeholder="请输入姓名" />
|
2025-08-13 11:43:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 手机号 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">手机号</text>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<input
|
|
|
|
|
|
v-model="formData.phone"
|
|
|
|
|
|
class="field-input"
|
|
|
|
|
|
placeholder="请填写手机号"
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
/>
|
2025-08-13 11:43:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 地址 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">地址</text>
|
|
|
|
|
|
<view class="address-selector" @click="selectAddress">
|
|
|
|
|
|
<text class="address-text">{{ formData.address || '选择收货地址' }}</text>
|
|
|
|
|
|
<text class="map-icon">📍</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 当前定位 -->
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<view v-if="currentLocation" class="location-info">
|
2025-08-13 11:43:35 +08:00
|
|
|
|
<view class="location-details">
|
|
|
|
|
|
<text class="location-title">当前定位:{{ currentLocation.company }}</text>
|
|
|
|
|
|
<text class="location-address">{{ currentLocation.address }}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<button class="use-location-btn" @click="useCurrentLocation">使用</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 详细位置 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">详细位置</text>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<input v-model="formData.detailAddress" class="field-input" placeholder="例:6栋201室" />
|
2025-08-13 11:43:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 租赁设备 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">租赁设备</text>
|
|
|
|
|
|
<view class="selector" @click="selectEquipment">
|
|
|
|
|
|
<text class="selector-text">{{ formData.equipment || '选择设备类型' }}</text>
|
|
|
|
|
|
<text class="arrow-icon">></text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 租赁周期 -->
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
<text class="field-label">租赁周期</text>
|
|
|
|
|
|
<view class="selector" @click="selectPeriod">
|
|
|
|
|
|
<text class="selector-text">{{ formData.period || '1年' }}</text>
|
|
|
|
|
|
<text class="arrow-icon">></text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 支付区域 -->
|
|
|
|
|
|
<view class="payment-section">
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<button class="pay-button" @click="handlePayment">立即支付 ¥{{ totalAmount }}</button>
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
<view class="payment-details">
|
|
|
|
|
|
<view class="details-header" @click="toggleDetails">
|
|
|
|
|
|
<text class="details-title">明细</text>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
<text :class="{ expanded: showDetails }" class="details-arrow">▼</text>
|
2025-08-13 11:43:35 +08:00
|
|
|
|
</view>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
|
|
|
|
|
<view v-if="showDetails" class="details-content">
|
2025-08-13 11:43:35 +08:00
|
|
|
|
<view class="detail-item">
|
|
|
|
|
|
<text class="detail-label">租金</text>
|
|
|
|
|
|
<text class="detail-value">¥{{ totalAmount }}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 底部导航已由系统tabBar处理 -->
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2025-08-13 14:37:35 +08:00
|
|
|
|
import commonEnum from '../../enum/commonEnum'
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
name: 'LeasePage',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
computed: {
|
|
|
|
|
|
commonEnum() {
|
|
|
|
|
|
return commonEnum
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2025-08-13 11:43:35 +08:00
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
formData: {
|
|
|
|
|
|
name: '张珊珊',
|
|
|
|
|
|
phone: '',
|
|
|
|
|
|
address: '',
|
|
|
|
|
|
detailAddress: '',
|
|
|
|
|
|
equipment: '',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
period: '1年',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
},
|
|
|
|
|
|
currentLocation: {
|
|
|
|
|
|
company: '福鼎创特物联科技有限公司',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
address: '福建宁德市福鼎市',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
},
|
|
|
|
|
|
showDetails: false,
|
2025-08-13 14:37:35 +08:00
|
|
|
|
totalAmount: '100.10',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
selectAddress() {
|
|
|
|
|
|
// 选择地址逻辑
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: '选择地址功能',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
icon: 'none',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
useCurrentLocation() {
|
|
|
|
|
|
this.formData.address = this.currentLocation.company + ' ' + this.currentLocation.address
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: '已使用当前定位',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
icon: 'success',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
selectEquipment() {
|
|
|
|
|
|
// 选择设备逻辑
|
|
|
|
|
|
uni.showActionSheet({
|
|
|
|
|
|
itemList: ['节能灶', '燃烧器', '燃气灶', '电磁炉'],
|
2025-08-13 14:37:35 +08:00
|
|
|
|
success: res => {
|
2025-08-13 11:43:35 +08:00
|
|
|
|
const equipmentList = ['节能灶', '燃烧器', '燃气灶', '电磁炉']
|
|
|
|
|
|
this.formData.equipment = equipmentList[res.tapIndex]
|
2025-08-13 14:37:35 +08:00
|
|
|
|
},
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
selectPeriod() {
|
|
|
|
|
|
// 选择租赁周期逻辑
|
|
|
|
|
|
uni.showActionSheet({
|
|
|
|
|
|
itemList: ['1个月', '3个月', '6个月', '1年', '2年'],
|
2025-08-13 14:37:35 +08:00
|
|
|
|
success: res => {
|
2025-08-13 11:43:35 +08:00
|
|
|
|
const periodList = ['1个月', '3个月', '6个月', '1年', '2年']
|
|
|
|
|
|
this.formData.period = periodList[res.tapIndex]
|
2025-08-13 14:37:35 +08:00
|
|
|
|
},
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
toggleDetails() {
|
|
|
|
|
|
this.showDetails = !this.showDetails
|
|
|
|
|
|
},
|
|
|
|
|
|
handlePayment() {
|
|
|
|
|
|
// 支付逻辑
|
|
|
|
|
|
uni.showModal({
|
|
|
|
|
|
title: '确认支付',
|
|
|
|
|
|
content: `确认支付 ¥${this.totalAmount} 吗?`,
|
2025-08-13 14:37:35 +08:00
|
|
|
|
success: res => {
|
2025-08-13 11:43:35 +08:00
|
|
|
|
if (res.confirm) {
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: '支付成功',
|
2025-08-13 14:37:35 +08:00
|
|
|
|
icon: 'success',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
},
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
// 页面跳转现在由系统tabBar处理
|
|
|
|
|
|
goToHome() {
|
|
|
|
|
|
uni.switchTab({
|
2025-08-13 14:37:35 +08:00
|
|
|
|
url: '/pages/index/index',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
goToProfile() {
|
|
|
|
|
|
uni.switchTab({
|
2025-08-13 14:37:35 +08:00
|
|
|
|
url: '/pages/profile/profile',
|
2025-08-13 11:43:35 +08:00
|
|
|
|
})
|
2025-08-13 14:37:35 +08:00
|
|
|
|
},
|
|
|
|
|
|
},
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.lease-page {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 头部区域
|
|
|
|
|
|
.header {
|
2025-08-13 14:37:35 +08:00
|
|
|
|
padding: 80rpx 14rpx 40rpx 40rpx;
|
|
|
|
|
|
//border: #120d0d solid 2rpx;
|
|
|
|
|
|
background: linear-gradient(to bottom, #ffdecb 0, #f7ede6 600rpx);
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.header-content {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.title-section {
|
2025-08-13 14:37:35 +08:00
|
|
|
|
padding-top: 20rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
display: flex;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
justify-content: center;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 40rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.page-title {
|
|
|
|
|
|
font-size: 36rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
font-weight: 400;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.product-info {
|
|
|
|
|
|
margin-bottom: 40rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
//border: red solid 2rpx;
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.product-name {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: 48rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
color: #722b03;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.product-slogan {
|
|
|
|
|
|
font-size: 28rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
color: #f15a04;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.header-graphic {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
top: 58rpx;
|
|
|
|
|
|
//border: red solid 2rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.fire {
|
|
|
|
|
|
width: 252rpx;
|
|
|
|
|
|
height: 224rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 主要内容区域
|
|
|
|
|
|
.main-content {
|
2025-08-13 14:37:35 +08:00
|
|
|
|
background: #ffffff;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
border-radius: 40rpx 40rpx 0 0;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
margin: 0 30rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
padding: 40rpx;
|
|
|
|
|
|
min-height: 60vh;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
border: #120d0d solid 2rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 表单区域
|
|
|
|
|
|
.form-section {
|
|
|
|
|
|
margin-bottom: 60rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
border: #0c1387 solid 2rpx;
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.section-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 40rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
border: red solid 2rpx;
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.section-indicator {
|
|
|
|
|
|
width: 8rpx;
|
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
|
background: #ff4757;
|
|
|
|
|
|
border-radius: 4rpx;
|
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.section-title {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.form-fields {
|
|
|
|
|
|
.form-item {
|
|
|
|
|
|
margin-bottom: 40rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
border-bottom: 1rpx solid #d8d8d8;
|
|
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.field-label {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #333;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
border: 2rpx solid #d81313;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.field-input {
|
2025-08-13 14:37:35 +08:00
|
|
|
|
border: 2rpx solid #d81313;
|
|
|
|
|
|
flex: 4;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
height: 80rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
padding: 0 76rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
font-size: 28rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
&:focus {
|
|
|
|
|
|
border-color: #ff9a9e;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 地址选择器
|
|
|
|
|
|
.address-selector {
|
2025-08-13 14:42:17 +08:00
|
|
|
|
flex: 5;
|
|
|
|
|
|
width: 100%;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
padding-left: 76rpx;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
height: 80rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
border: 2rpx solid #d81313;
|
2025-08-13 14:42:17 +08:00
|
|
|
|
font-size: 28rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.address-text {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.map-icon {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 位置信息
|
|
|
|
|
|
.location-info {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
margin-bottom: 40rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.location-details {
|
|
|
|
|
|
flex: 1;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.location-title {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.location-address {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.use-location-btn {
|
|
|
|
|
|
background: #ff9a9e;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
|
padding: 10rpx 30rpx;
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 选择器
|
|
|
|
|
|
.selector {
|
2025-08-13 14:42:17 +08:00
|
|
|
|
flex: 4;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
border: 2rpx solid #e0e0e0;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
padding: 0 20rpx;
|
|
|
|
|
|
background: #f8f9fa;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.selector-text {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.arrow-icon {
|
|
|
|
|
|
font-size: 24rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
color: #989;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 支付区域
|
|
|
|
|
|
.payment-section {
|
|
|
|
|
|
.pay-button {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
background: #f15a04;
|
2025-08-13 11:43:35 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
margin-bottom: 40rpx;
|
|
|
|
|
|
box-shadow: 0 10rpx 30rpx rgba(255, 154, 158, 0.3);
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.payment-details {
|
|
|
|
|
|
.details-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding: 20rpx 0;
|
|
|
|
|
|
border-bottom: 2rpx solid #f0f0f0;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.details-title {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.details-arrow {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
transition: transform 0.3s;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
&.expanded {
|
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.details-content {
|
|
|
|
|
|
padding: 20rpx 0;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.detail-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.detail-label {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
|
2025-08-13 11:43:35 +08:00
|
|
|
|
.detail-value {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #ff4757;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 底部导航样式已移除,使用系统tabBar
|
|
|
|
|
|
|
|
|
|
|
|
// 动画
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
|
0% {
|
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
50% {
|
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
}
|
|
|
|
|
|
100% {
|
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-13 14:37:35 +08:00
|
|
|
|
</style>
|