update
This commit is contained in:
parent
e296642ed9
commit
7e82735f82
@ -5,7 +5,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: tradus-web:1.3.12
|
image: tradus-web:1.3.13
|
||||||
container_name: tradus-web
|
container_name: tradus-web
|
||||||
ports:
|
ports:
|
||||||
- '6000:80'
|
- '6000:80'
|
||||||
|
|||||||
@ -249,8 +249,6 @@ onMounted(() => {
|
|||||||
上一页
|
上一页
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<span class="page-info">第 {{ currentPage }} 页</span>
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-if="historyList.length === limit"
|
v-if="historyList.length === limit"
|
||||||
class="page-btn"
|
class="page-btn"
|
||||||
@ -304,6 +302,7 @@ onMounted(() => {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overflow: hidden; /* 防止整个页面滚动,改为内部容器滚动 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-container {
|
.content-container {
|
||||||
@ -311,6 +310,9 @@ onMounted(() => {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 2rem 1rem;
|
padding: 2rem 1rem;
|
||||||
|
height: 100%; /* 高度100%确保内容填充可用空间 */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section {
|
.header-section {
|
||||||
@ -342,6 +344,10 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
flex: 1;
|
||||||
|
overflow-y: auto; /* 启用内容区域滚动 */
|
||||||
|
padding-right: 0.5rem; /* 为滚动条留出空间 */
|
||||||
|
max-height: calc(100vh - 200px); /* 限制最大高度,确保可滚动 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-container {
|
.loading-container {
|
||||||
@ -380,6 +386,8 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
|
overflow-y: visible; /* 确保列表项可见 */
|
||||||
|
padding-bottom: 2rem; /* 底部留出空间,避免最后一项被遮挡 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.history-item {
|
.history-item {
|
||||||
@ -507,11 +515,6 @@ onMounted(() => {
|
|||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-info {
|
|
||||||
font-size: 0.9rem;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 详情弹窗样式 */
|
/* 详情弹窗样式 */
|
||||||
.detail-modal {
|
.detail-modal {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -523,7 +526,7 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 1000;
|
z-index: 9999; /* 提高z-index值,确保在侧边栏菜单按钮上层 */
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -642,6 +645,24 @@ onMounted(() => {
|
|||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 优化滚动条样式 */
|
||||||
|
.history-content::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.history-content::-webkit-scrollbar-track {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.history-content::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.history-content::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user