新页面和修改对应逻辑

This commit is contained in:
not-like-juvenile
2026-01-26 17:12:37 +08:00
parent b1c845d571
commit 1c83f29f7d
10 changed files with 1297 additions and 157 deletions

View File

@@ -3,10 +3,10 @@
<!-- 顶部导航栏 -->
<view class="page-header">
<!-- 左上角:返回主页按钮(箭头+文字 垂直排列) -->
<view class="nav-left" @click="goBackToHome">
<text class="nav-icon">←</text>
<text class="nav-title">返回页</text>
</view>
<view class="nav-left" @click="goBackToHome">
<text class="nav-icon">←</text>
<text class="nav-title">返回上一页</text>
</view>
<!-- 页面标题居中 -->
<text class="page-title">收入明细</text>
@@ -308,11 +308,9 @@ export default {
}
},
// 返回主页
// 返回到来源页面
goBackToHome() {
uni.reLaunch({
url: '/pages/mall/delivery/index'
})
uni.navigateBack()
}
}
}
@@ -336,7 +334,7 @@ type EarningType = {
}
</script>
<style>
<style scoped>
/* 全局样式 */
.earnings-container {
background-color: #f5f5f5;