新页面和修改对应逻辑
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user