新增技术文档,详细描述了项目的技术栈、配置、鉴权与安全、数据层等内容。同时,更新小程序页面以支持收益数据的加载与刷新功能,优化用户体验。新增收益接口以返回用户的累计收益和可提现金额,并调整相关逻辑以确保数据准确性。
This commit is contained in:
@@ -471,6 +471,36 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 我的收益 - 刷新图标 */
|
||||
.earnings-refresh-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 206, 209, 0.15);
|
||||
}
|
||||
|
||||
.earnings-refresh-wrap:active {
|
||||
background: rgba(0, 206, 209, 0.3);
|
||||
}
|
||||
|
||||
.earnings-refresh-icon {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
color: #00CED1;
|
||||
}
|
||||
|
||||
.earnings-refresh-spin {
|
||||
animation: earnings-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes earnings-spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 收益数据 */
|
||||
.earnings-data {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user