diff --git a/components/DatePicker/DatePicker.vue b/components/DatePicker/DatePicker.vue index 0834fb5..ef31faf 100644 --- a/components/DatePicker/DatePicker.vue +++ b/components/DatePicker/DatePicker.vue @@ -204,7 +204,7 @@ export default { font-size: 16px; } .cancel { color: #999; } -.confirm { color:#007aff; } +.confirm { color:#EA4D3E; } .title { font-weight:bold; } .picker-columns { @@ -225,7 +225,7 @@ export default { } .item.active { - color:#007aff; + color:#EA4D3E; font-weight:bold; font-size:18px; } diff --git a/pages/center/contract.vue b/pages/center/contract.vue index 7934858..53d4212 100644 --- a/pages/center/contract.vue +++ b/pages/center/contract.vue @@ -1,23 +1,17 @@ @@ -141,8 +136,10 @@ export default { .contract-detail-page { background: #f7f8fa; min-height: 100vh; - padding-top: 175rpx; /* 给导航栏留空间 */ - padding-bottom: 120rpx; /* 预留底部操作栏空间 */ + /* 给导航栏留空间 */ + padding-top: 120rpx; + /* 预留底部操作栏空间 */ + padding-bottom: 150rpx; } /* 顶部封面信息 */ @@ -154,9 +151,9 @@ export default { margin: 20rpx; .cover { - width: 180rpx; - height: 180rpx; - border-radius: 12rpx; + width: 194rpx; + height: 156rpx; + border-radius: 10rpx; margin-right: 20rpx; } @@ -164,12 +161,12 @@ export default { flex: 1; display: flex; flex-direction: column; - justify-content: center; .name { font-size: 30rpx; font-weight: bold; color: #333; + margin-top: 10rpx; margin-bottom: 12rpx; } @@ -188,17 +185,17 @@ export default { padding: 20rpx 24rpx; .section-title { - font-weight: bold; - font-size: 28rpx; + font-weight: 500; + font-size: 40rpx; margin-bottom: 12rpx; - color: #333; + color: #212121; } .info-item { display: flex; justify-content: space-between; align-items: center; - padding: 20rpx 0; + padding: 40rpx 0; border-bottom: 1rpx solid #f0f0f0; &:last-child { @@ -206,8 +203,8 @@ export default { } .label { - font-size: 26rpx; - color: #666; + font-size: 30rpx; + color: #86868C; } .value-box { @@ -215,8 +212,8 @@ export default { align-items: center; .value { - font-size: 26rpx; - color: #333; + font-size: 30rpx; + color: #222222; } u-icon { @@ -241,5 +238,13 @@ export default { width: 100%; height: 88rpx; } + + /* 使用样式穿透让u-btn样式生效 */ + &::v-deep .u-btn { + font-size: 30rpx; + color: #fff; + background: linear-gradient(90deg, #FF6F63 0%, #FB392A 100%); + border-radius: 10rpx; + } } diff --git a/pages/form/leaseCancel.vue b/pages/form/leaseCancel.vue index a60a66a..2b8fa18 100644 --- a/pages/form/leaseCancel.vue +++ b/pages/form/leaseCancel.vue @@ -135,7 +135,7 @@ export default { background-color: #f6f8fa; display: flex; flex-direction: column; - padding-top: 175rpx; + padding-top: 120rpx; padding-bottom: 120rpx; } @@ -159,7 +159,7 @@ export default { .section-title { font-size: 30rpx; font-weight: bold; - color: #007aff; + color: #EA4D3E; margin-top: 40rpx; margin-bottom: 20rpx; } @@ -191,6 +191,7 @@ export default { font-size: 28rpx; min-height: 140rpx; color: #333; + width: 94%; } } @@ -202,12 +203,13 @@ export default { background-color: #fff; padding: 20rpx 40rpx; box-shadow: 0 -4rpx 10rpx rgba(0, 0, 0, 0.08); + z-index: 999; } .submit-btn { width: 100%; height: 88rpx; - background: linear-gradient(90deg, #007aff, #00aaff); + background: linear-gradient(90deg, #FF6F63 0%, #FB392A 100%); border-radius: 44rpx; color: #fff; font-size: 32rpx; diff --git a/pages/notice/notice.vue b/pages/notice/notice.vue index ed18f4e..c4464e9 100644 --- a/pages/notice/notice.vue +++ b/pages/notice/notice.vue @@ -5,19 +5,17 @@ - - - + + + {{ item.title }} - + {{ item.date }} - {{ item.date }} - - - - {{ item.content }} + + {{ item.content }} + @@ -28,106 +26,145 @@ diff --git a/pages/reserve/reserveRecords.vue b/pages/reserve/reserveRecords.vue index e3c8171..65f93a6 100644 --- a/pages/reserve/reserveRecords.vue +++ b/pages/reserve/reserveRecords.vue @@ -18,12 +18,9 @@ :key="item.id" class="record-card" > - - - - - {{ item.date }} - + + + {{ item.assetName }} @@ -32,42 +29,41 @@ - - - - 资产名称:{{ item.assetName }} + + + + 预约时间: + {{ formatDate(item.date) }} - - - 地址:{{ item.assetAddress }} - - 查看位置 - + + + 地址: + {{ item.assetAddress }} - - - - 管家:{{ item.managerName }}({{ item.managerPhone }}) - - - 拨打电话 - + + + 管家: + {{ item.managerName }}({{ item.managerPhone }}) + + + + + + @@ -123,6 +119,19 @@ export default { return '未知'; } }, + formatDate(dateStr) { + // 格式化日期,例如:2025-11-10 周五 09:00 + const date = new Date(dateStr); + const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']; + const year = date.getFullYear(); + const month = String(date.getMonth() + 1).padStart(2, '0'); + const day = String(date.getDate()).padStart(2, '0'); + const weekday = weekdays[date.getDay()]; + const hours = String(date.getHours()).padStart(2, '0'); + const minutes = String(date.getMinutes()).padStart(2, '0'); + + return `${year}-${month}-${day} ${weekday} ${hours}:${minutes}`; + }, viewLocation(item) { uni.openLocation({ latitude: item.lat, @@ -153,9 +162,9 @@ export default {