小鹿提示修改
This commit is contained in:
parent
13039906ed
commit
812c9facf4
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<view class="bj"></view>
|
||||
<view class="toptit" @click="btnqh"><!-- @click="topage(4)" -->
|
||||
<image @click.stop="topage(4)" style="width: 36rpx;height: 36rpx;margin-right: 10rpx;" src="https://api.ccttiot.com/smartmeter/img/static/uEQLkI1vDF4PTy44DTXH" mode=""></image> {{areaname}} <u-icon style="margin-left: 10rpx;" name="arrow-down" color="#fff" size="28"></u-icon>
|
||||
</view>
|
||||
<view class="toptit" @click="btnqh"><!-- @click="topage(4)" -->
|
||||
<image @click.stop="topage(4)" style="width: 36rpx;height: 36rpx;margin-right: 10rpx;" src="https://api.ccttiot.com/smartmeter/img/static/uEQLkI1vDF4PTy44DTXH" mode=""></image> {{areaname}} <u-icon style="margin-left: 10rpx;" name="arrow-down" color="#fff" size="28"></u-icon>
|
||||
</view>
|
||||
<view class="" style="width: 718rpx;
|
||||
height: 258rpx;
|
||||
background: #FFFFFF;
|
||||
|
|
@ -458,6 +458,15 @@ export default {
|
|||
btnqh(){
|
||||
this.show = true
|
||||
},
|
||||
// 点击菜单图标
|
||||
handleMenuClick(){
|
||||
// 可以在这里添加菜单功能,比如显示更多选项
|
||||
uni.showToast({
|
||||
title: '功能开发中',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
},
|
||||
getareaList() {
|
||||
this.$u.get('/bst/area/list?pageNunm=1&pageSize=9999').then((res) => {
|
||||
if (res.code == 200) {
|
||||
|
|
|
|||
|
|
@ -60,19 +60,6 @@
|
|||
this.userId = uni.getStorageSync('user').userId
|
||||
this.getList()
|
||||
},
|
||||
onShareAppMessage: function() {
|
||||
return {
|
||||
title: '创想物联',
|
||||
path: '/pages/shouye/index'
|
||||
}
|
||||
},
|
||||
onShareTimeline: function() {
|
||||
return {
|
||||
title: '创想物联',
|
||||
query: '',
|
||||
path: '/pages/shouye/index'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
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;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.list-wrap {
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
background: #FFFFFF;
|
||||
border-radius: 16rpx;
|
||||
padding: 24rpx;
|
||||
margin-bottom: 20rpx;
|
||||
box-shadow: 0 2rpx 20rpx rgba(0, 0, 0, 0.05);
|
||||
|
||||
.item-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 16rpx;
|
||||
|
||||
.type {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
|
||||
.u-icon {
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.amount {
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
|
||||
&.income {
|
||||
color: seagreen;
|
||||
}
|
||||
|
||||
&.expense {
|
||||
color: #FF4444;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
|
||||
.label {
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
|
||||
.value {
|
||||
flex: 1;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.balance {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-top: 170rpx;
|
||||
|
||||
image {
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
}
|
||||
|
||||
text {
|
||||
margin-top: 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #808080;
|
||||
}
|
||||
}
|
||||
|
||||
.no-more {
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
|
|
|
|||
|
|
@ -281,24 +281,39 @@ page {
|
|||
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
}
|
||||
.container {
|
||||
padding: 30rpx;
|
||||
padding: 30rpx 24rpx;
|
||||
min-height: calc(100vh - 100rpx);
|
||||
}
|
||||
|
||||
/* 通用卡片样式 */
|
||||
.section-card {
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
padding: 36rpx;
|
||||
border-radius: 24rpx;
|
||||
padding: 40rpx 36rpx;
|
||||
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 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
color: #303133;
|
||||
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 {
|
||||
margin-bottom: 10rpx;
|
||||
margin-bottom: 20rpx;
|
||||
padding-bottom: 24rpx;
|
||||
padding-top: 8rpx;
|
||||
border-bottom: 1rpx solid #F0F2F5;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.form-item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.form-label {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
font-size: 26rpx;
|
||||
color: #606266;
|
||||
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 {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
font-size: 30rpx;
|
||||
color: #303133;
|
||||
height: 48rpx;
|
||||
line-height: 48rpx;
|
||||
padding: 8rpx 0;
|
||||
placeholder {
|
||||
color: #C0C4CC;
|
||||
font-size: 28rpx;
|
||||
|
|
@ -370,45 +404,61 @@ page {
|
|||
margin: 20rpx 0 40rpx 0;
|
||||
}
|
||||
.upload-area {
|
||||
width: 220rpx;
|
||||
height: 220rpx;
|
||||
background: #F7F9FC;
|
||||
border-radius: 16rpx;
|
||||
width: 240rpx;
|
||||
height: 240rpx;
|
||||
background: linear-gradient(135deg, #F7F9FC 0%, #EEF5FF 100%);
|
||||
border-radius: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
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 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 16rpx;
|
||||
border-radius: 18rpx;
|
||||
object-fit: cover;
|
||||
border: 2rpx solid #E4E7ED;
|
||||
}
|
||||
.upload-tip {
|
||||
margin-top: 16rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
margin-top: 20rpx;
|
||||
font-size: 26rpx;
|
||||
color: #909399;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* 提交按钮 */
|
||||
.submit-btn {
|
||||
margin-top: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.custom-button {
|
||||
height: 92rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
background: linear-gradient(90deg, #409EFF 0%, #5CB8FF 100%);
|
||||
border-radius: 46rpx;
|
||||
box-shadow: 0 6rpx 16rpx rgba(64, 158, 255, 0.2);
|
||||
height: 96rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
background: linear-gradient(135deg, #409EFF 0%, #5CB8FF 100%);
|
||||
border-radius: 48rpx;
|
||||
box-shadow: 0 8rpx 24rpx rgba(64, 158, 255, 0.25);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.custom-button::after {
|
||||
border: none;
|
||||
}
|
||||
.custom-button:active {
|
||||
transform: translateY(2rpx);
|
||||
box-shadow: 0 4rpx 12rpx rgba(64, 158, 255, 0.2);
|
||||
}
|
||||
.custom-button:disabled {
|
||||
background: #C0C4CC;
|
||||
background: linear-gradient(135deg, #C0C4CC 0%, #D3D4D6 100%);
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<view class="account-card" v-for="(item, index) in bankAccounts" :key="index">
|
||||
<view class="account-header">
|
||||
<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 class="account-detail">
|
||||
<view class="detail-item">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user