fix: 自测问题统一修复。

This commit is contained in:
tianyongbao
2025-12-08 14:35:15 +08:00
parent 95d51064a3
commit 18f157e36c
6 changed files with 58 additions and 108 deletions

View File

@@ -30,6 +30,7 @@
"path": "pages/calendar/index", "path": "pages/calendar/index",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom",
"disableScroll": true "disableScroll": true
} }
}, },
@@ -49,21 +50,24 @@
{ {
"path": "pages/work/index", "path": "pages/work/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": "",
"navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/statistic/index", "path": "pages/statistic/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": "",
"navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/mine", "path": "pages/mine",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"disableScroll": true "disableScroll": true,
"navigationStyle": "custom"
} }
}, },
{ {

View File

@@ -1,6 +1,5 @@
<template> <template>
<div class="calendar-container"> <view class="content">
<u-sticky offsetTop="0">
<view class="calendar-header"> <view class="calendar-header">
<view class="header-content"> <view class="header-content">
<view class="title-section"> <view class="title-section">
@@ -18,9 +17,7 @@
</view> </view>
</view> </view>
</view> </view>
</u-sticky>
<!-- 月视图和周视图显示列视图显示表格形式 -->
<div class="calendar-wrapper"> <div class="calendar-wrapper">
<div v-show="type !== '3'" ref="fullcalendar" class="calendar-view" /> <div v-show="type !== '3'" ref="fullcalendar" class="calendar-view" />
</div> </div>
@@ -47,7 +44,7 @@
</view> </view>
</view> </view>
</view> </view>
</div> </view>
<!-- 悬停按钮刷新--> <!-- 悬停按钮刷新-->
<refresh></refresh> <refresh></refresh>
</template> </template>
@@ -396,19 +393,8 @@ const handleSelectDate = (info) => {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
page { .content {
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #f5f7fa; background-color: #f5f7fa;
min-height: 100%;
height: auto;
}
.calendar-container {
background: #f5f7fa;
display: flex;
flex-direction: column;
} }
.calendar-header { .calendar-header {
@@ -475,32 +461,16 @@ page {
} }
.events-section { .events-section {
flex: 1;
margin: 6rpx 16rpx 10rpx; margin: 6rpx 16rpx 10rpx;
background: #ffffff; background: #ffffff;
border-radius: 16rpx; border-radius: 16rpx;
padding: 20rpx 16rpx 16rpx; padding: 20rpx 16rpx 16rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
display: flex; min-height: 400rpx;
flex-direction: column;
overflow: hidden;
min-height: 0;
} }
.events-list { .events-list {
flex: 1; /* 不设置 overflow让它自然显示 */
overflow-y: auto;
overflow-x: hidden;
min-height: 0;
/* 隐藏滚动条 */
&::-webkit-scrollbar {
display: none !important;
width: 0 !important;
height: 0 !important;
}
scrollbar-width: none !important;
-ms-overflow-style: none !important;
} }
.section-title { .section-title {

View File

@@ -1,5 +1,5 @@
<template> <template>
<view class="work-container"> <view class="content">
<!-- 账单统计分析 --> <!-- 账单统计分析 -->
<view class="section-header" v-show="auth.hasPermi('invest:creditAnalysis:list')"> <view class="section-header" v-show="auth.hasPermi('invest:creditAnalysis:list')">
@@ -61,6 +61,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <refresh></refresh> -->
</template> </template>
<script setup> <script setup>
@@ -103,18 +104,9 @@
<style lang="scss"> <style lang="scss">
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
page {
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #f5f7fa;
min-height: 100%;
height: auto;
}
/* #endif */ /* #endif */
.work-container { .content {
padding: 12rpx 0; padding: 12rpx 0;
} }

View File

@@ -321,8 +321,9 @@ getDicts('deal_category').then(result => {
tempDebitTypeName.value = null tempDebitTypeName.value = null
queryAccountParams.value.debitType = null queryAccountParams.value.debitType = null
// 如果是储蓄账户(type='1')且不是修改模式,显示储蓄账户类型选择 // 如果是储蓄账户(type='1'),显示储蓄账户类型选择
if (form.value.type === '1' && form.value.id == null) { // 编辑模式(id不为null且flag为null)时不需要显示因为已经在getData中处理
if (form.value.type === '1' && !(form.value.id != null && flag.value == null)) {
debitTypeShow.value = true debitTypeShow.value = true
} else { } else {
debitTypeShow.value = false debitTypeShow.value = false

View File

@@ -9,6 +9,7 @@
> >
</u-navbar> </u-navbar>
<u-sticky offsetTop="0rpx" customNavHeight="0rpx">
<view class="search-view"> <view class="search-view">
<u--input v-model="queryParams.time" border="false" disabled placeholder="请输入时间" class="search-input" <u--input v-model="queryParams.time" border="false" disabled placeholder="请输入时间" class="search-input"
@blur="searchBlur" suffixIcon="calendar" suffixIconStyle="color: #909399"> @blur="searchBlur" suffixIcon="calendar" suffixIconStyle="color: #909399">
@@ -17,6 +18,9 @@
<uni-icons type="list" size="18" color="#667eea"></uni-icons> <uni-icons type="list" size="18" color="#667eea"></uni-icons>
<text>筛选</text> <text>筛选</text>
</view> </view>
</view>
</u-sticky>
<u-transition :show="filterPanel" mode="fade"> <u-transition :show="filterPanel" mode="fade">
<view class="filter-panel" :style="{ height: `${windowHeight - 42}px` }"> <view class="filter-panel" :style="{ height: `${windowHeight - 42}px` }">
<view class="filter-panel-content"> <view class="filter-panel-content">
@@ -48,7 +52,6 @@
></u-datetime-picker> ></u-datetime-picker>
</view> </view>
</u-transition> </u-transition>
</view>
<u-list @scrolltolower="loadmore" :spaceHeight="170" lowerThreshold="100"> <u-list @scrolltolower="loadmore" :spaceHeight="170" lowerThreshold="100">
<u-list-item v-for="(item, index) in listData" :key="index"> <u-list-item v-for="(item, index) in listData" :key="index">
<view class="list-item"> <view class="list-item">
@@ -272,18 +275,6 @@ page {
height: 100%; height: 100%;
overflow: auto; overflow: auto;
} }
.btnAdd {
width: 146rpx;
height: 56rpx;
line-height: 56rpx;
border-radius: 8rpx;
display:float;
text-align: center;
}
.search-view { .search-view {
padding: 12rpx 32rpx; padding: 12rpx 32rpx;
background-color: #ffffff; background-color: #ffffff;

View File

@@ -1,5 +1,5 @@
<template> <template>
<view class="work-container"> <view class="content">
<!-- 常用功能 --> <!-- 常用功能 -->
<view class="section-header" v-show="auth.hasPermi('invest:accountDealRecord:list')"> <view class="section-header" v-show="auth.hasPermi('invest:accountDealRecord:list')">
@@ -81,6 +81,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <refresh></refresh> -->
</template> </template>
<script setup> <script setup>
@@ -134,18 +135,9 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
<style lang="scss"> <style lang="scss">
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
page {
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #f5f7fa;
min-height: 100%;
height: auto;
}
/* #endif */ /* #endif */
.work-container { .content {
padding: 12rpx 0; padding: 12rpx 0;
} }