小鹿提示修改

This commit is contained in:
吴鹏 2025-12-20 17:34:11 +08:00
parent 13039906ed
commit 812c9facf4
4 changed files with 95 additions and 65 deletions

View File

@ -458,6 +458,15 @@ export default {
btnqh(){ btnqh(){
this.show = true this.show = true
}, },
//
handleMenuClick(){
//
uni.showToast({
title: '功能开发中',
icon: 'none',
duration: 2000
})
},
getareaList() { getareaList() {
this.$u.get('/bst/area/list?pageNunm=1&pageSize=9999').then((res) => { this.$u.get('/bst/area/list?pageNunm=1&pageSize=9999').then((res) => {
if (res.code == 200) { if (res.code == 200) {

View File

@ -60,19 +60,6 @@
this.userId = uni.getStorageSync('user').userId this.userId = uni.getStorageSync('user').userId
this.getList() this.getList()
}, },
onShareAppMessage: function() {
return {
title: '创想物联',
path: '/pages/shouye/index'
}
},
onShareTimeline: function() {
return {
title: '创想物联',
query: '',
path: '/pages/shouye/index'
}
},
methods: { methods: {
getList() { getList() {
this.$u.get(`/bst/balanceLog/list?pageNum=${this.pagenum}&pageSize=${this.pagesize}&orderByColumn=createTime&isAsc=desc&bodyId=${this.userId}&type=1`).then((res) => { this.$u.get(`/bst/balanceLog/list?pageNum=${this.pagenum}&pageSize=${this.pagesize}&orderByColumn=createTime&isAsc=desc&bodyId=${this.userId}&type=1`).then((res) => {
@ -117,88 +104,72 @@
padding: 20rpx; padding: 20rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.list-wrap { .list-wrap {
padding: 0 20rpx; padding: 0 20rpx;
} }
.list-item { .list-item {
background: #FFFFFF; background: #FFFFFF;
border-radius: 16rpx; border-radius: 16rpx;
padding: 24rpx; padding: 24rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
box-shadow: 0 2rpx 20rpx rgba(0, 0, 0, 0.05); box-shadow: 0 2rpx 20rpx rgba(0, 0, 0, 0.05);
.item-top { .item-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 16rpx; margin-bottom: 16rpx;
.type { .type {
display: flex; display: flex;
align-items: center; align-items: center;
color: #666; color: #666;
font-size: 28rpx; font-size: 28rpx;
.u-icon { .u-icon {
margin-right: 8rpx; margin-right: 8rpx;
} }
} }
.amount { .amount {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
&.income { &.income {
color: seagreen; color: seagreen;
} }
&.expense { &.expense {
color: #FF4444; color: #FF4444;
} }
} }
} }
.item-bottom { .item-bottom {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 28rpx; font-size: 28rpx;
color: #666; color: #666;
.label { .label {
margin-right: 8rpx; margin-right: 8rpx;
} }
.value { .value {
flex: 1; flex: 1;
color: #333; color: #333;
} }
.balance { .balance {
color: #333; color: #333;
} }
} }
} }
.empty-state { .empty-state {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-top: 170rpx; margin-top: 170rpx;
image { image {
width: 200rpx; width: 200rpx;
height: 200rpx; height: 200rpx;
} }
text { text {
margin-top: 30rpx; margin-top: 30rpx;
font-size: 28rpx; font-size: 28rpx;
color: #808080; color: #808080;
} }
} }
.no-more { .no-more {
text-align: center; text-align: center;
font-size: 28rpx; font-size: 28rpx;

View File

@ -281,24 +281,39 @@ page {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
} }
.container { .container {
padding: 30rpx; padding: 30rpx 24rpx;
min-height: calc(100vh - 100rpx);
} }
/* 通用卡片样式 */ /* 通用卡片样式 */
.section-card { .section-card {
background: #fff; background: #fff;
border-radius: 20rpx; border-radius: 24rpx;
padding: 36rpx; padding: 40rpx 36rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.03); box-shadow: 0 2rpx 16rpx rgba(0, 0, 0, 0.04);
border: 1rpx solid #F0F2F5;
} }
/* 通用标题样式 */ /* 通用标题样式 */
.section-title { .section-title {
font-size: 32rpx; font-size: 34rpx;
font-weight: 500; font-weight: 600;
color: #333; color: #303133;
margin-bottom: 30rpx; margin-bottom: 36rpx;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #F5F7FA;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -2rpx;
left: 0;
width: 60rpx;
height: 2rpx;
background: linear-gradient(90deg, #409EFF 0%, #5CB8FF 100%);
border-radius: 2rpx;
} }
/* 账户类型选择 */ /* 账户类型选择 */
@ -342,21 +357,40 @@ page {
/* 表单样式 */ /* 表单样式 */
.form-item { .form-item {
margin-bottom: 10rpx; margin-bottom: 20rpx;
padding-bottom: 24rpx; padding-bottom: 24rpx;
padding-top: 8rpx;
border-bottom: 1rpx solid #F0F2F5; border-bottom: 1rpx solid #F0F2F5;
transition: all 0.3s ease;
}
.form-item:last-child {
margin-bottom: 0;
} }
.form-label { .form-label {
font-size: 28rpx; font-size: 26rpx;
color: #333; color: #606266;
font-weight: 500; font-weight: 500;
margin-bottom: 16rpx; margin-bottom: 20rpx;
display: flex;
align-items: center;
position: relative;
padding-left: 8rpx;
}
.form-label::before {
content: '';
position: absolute;
left: 0;
width: 4rpx;
height: 24rpx;
background: linear-gradient(180deg, #409EFF 0%, #5CB8FF 100%);
border-radius: 2rpx;
} }
.custom-input { .custom-input {
font-size: 28rpx; font-size: 30rpx;
color: #333; color: #303133;
height: 40rpx; height: 48rpx;
line-height: 40rpx; line-height: 48rpx;
padding: 8rpx 0;
placeholder { placeholder {
color: #C0C4CC; color: #C0C4CC;
font-size: 28rpx; font-size: 28rpx;
@ -370,45 +404,61 @@ page {
margin: 20rpx 0 40rpx 0; margin: 20rpx 0 40rpx 0;
} }
.upload-area { .upload-area {
width: 220rpx; width: 240rpx;
height: 220rpx; height: 240rpx;
background: #F7F9FC; background: linear-gradient(135deg, #F7F9FC 0%, #EEF5FF 100%);
border-radius: 16rpx; border-radius: 20rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
position: relative; position: relative;
border: 2rpx dashed #D3D4D6;
transition: all 0.3s ease;
}
.upload-area:active {
transform: scale(0.98);
border-color: #409EFF;
background: linear-gradient(135deg, #EEF5FF 0%, #E1F0FF 100%);
} }
.qrcode-img { .qrcode-img {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 16rpx; border-radius: 18rpx;
object-fit: cover; object-fit: cover;
border: 2rpx solid #E4E7ED;
} }
.upload-tip { .upload-tip {
margin-top: 16rpx; margin-top: 20rpx;
font-size: 24rpx; font-size: 26rpx;
color: #999; color: #909399;
font-weight: 400;
} }
/* 提交按钮 */ /* 提交按钮 */
.submit-btn { .submit-btn {
margin-top: 40rpx; margin-top: 50rpx;
margin-bottom: 30rpx;
} }
.custom-button { .custom-button {
height: 92rpx; height: 96rpx;
font-size: 32rpx; font-size: 34rpx;
font-weight: 500; font-weight: 600;
background: linear-gradient(90deg, #409EFF 0%, #5CB8FF 100%); background: linear-gradient(135deg, #409EFF 0%, #5CB8FF 100%);
border-radius: 46rpx; border-radius: 48rpx;
box-shadow: 0 6rpx 16rpx rgba(64, 158, 255, 0.2); box-shadow: 0 8rpx 24rpx rgba(64, 158, 255, 0.25);
transition: all 0.3s ease;
} }
.custom-button::after { .custom-button::after {
border: none; border: none;
} }
.custom-button:active {
transform: translateY(2rpx);
box-shadow: 0 4rpx 12rpx rgba(64, 158, 255, 0.2);
}
.custom-button:disabled { .custom-button:disabled {
background: #C0C4CC; background: linear-gradient(135deg, #C0C4CC 0%, #D3D4D6 100%);
box-shadow: none; box-shadow: none;
transform: none;
} }
</style> </style>

View File

@ -15,7 +15,7 @@
<view class="account-card" v-for="(item, index) in bankAccounts" :key="index"> <view class="account-card" v-for="(item, index) in bankAccounts" :key="index">
<view class="account-header"> <view class="account-header">
<u-icon name="account-fill" size="40" color="#4C97E7"></u-icon> <u-icon name="account-fill" size="40" color="#4C97E7"></u-icon>
<text class="account-name">{{item.channelName}}</text> <text class="account-name">{{item.channelOutName}}</text>
</view> </view>
<view class="account-detail"> <view class="account-detail">
<view class="detail-item"> <view class="detail-item">