diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index 953b724..0000000
Binary files a/dist.zip and /dev/null differ
diff --git a/src/components/TransactionCenter.vue b/src/components/TransactionCenter.vue
index 296cbb4..a77f7b3 100644
--- a/src/components/TransactionCenter.vue
+++ b/src/components/TransactionCenter.vue
@@ -14,9 +14,31 @@
著作权分类:
-
+
+
+
@@ -738,8 +746,13 @@ export default {
background-color: #f0f0f0;
cursor: pointer;
} */
-.center .box1 .content1 .row1,
-.center .box1 .content1 .row2,
+.center .box1 .content1 .row1 {
+ position: relative;
+ display: flex;
+ align-items: flex-start; /* 顶部对齐 */
+ height: .5rem;
+ margin: .25rem .125rem;
+}
.center .box1 .content1 .row3 {
position: relative;
display: flex;
@@ -822,20 +835,24 @@ input::-webkit-input-placeholder {
width: 2.25rem;
}
.center .box1 .content1 .row1 em,
-.center .box1 .content1 .row2 em,
.center .box1 .content1 .row3 em {
padding: .075rem .0625rem;
- width: 1.375rem;
+ width: 1.5rem;
/* background-color: pink; */
}
-.sort-buttons,
-.language-buttons {
- display: flex;
- flex-wrap: wrap;
- gap: .125rem; /* 按钮之间的间隔 */
+.sort-buttons-container {
+ flex: 1;
+ overflow-x: auto; /* 添加横向滚动 */
+ padding-bottom: 10px; /* 给滚动条留空间 */
}
-.sort-button,
-.language-button {
+.sort-buttons {
+ display: flex;
+ flex-wrap: nowrap;
+ gap: .125rem; /* 按钮之间的间隔 */
+ padding-right: .5rem; /* 防止按钮被截断 */
+}
+.sort-button {
+ height: .5rem;
padding: .075rem .375rem;
/* border: 1px solid #ccc; */
border: none;
@@ -844,14 +861,12 @@ input::-webkit-input-placeholder {
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
-.sort-button.selected,
-.language-button.selected {
+.sort-button.selected {
background-color: #fa7c38;
/* background: linear-gradient(to right,#ffbd52,#e86f12); */
color: white; /* 白色文字 */
}
-.sort-button:hover,
-.language-button:hover {
+.sort-button:hover {
background-color: #fa7c38;
color: #FFF;
}
@@ -864,11 +879,20 @@ input::-webkit-input-placeholder {
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
+/* 按钮样式微调 */
+.sort-button, .more-button {
+ flex-shrink: 0; /* 禁止按钮缩小 */
+ min-width: 1rem; /* 最小宽度 */
+ height: .5rem;
+ padding: 0 0.1875rem;
+ white-space: nowrap; /* 文字不换行 */
+}
.popup1 {
position: absolute;
- top: .5625rem;
- width: 13.125rem;
- /* max-width: 1050px; */
+ top: .6rem;
+ left: 1.5rem;
+ /* max-width: 13rem; */
+ width: 13rem;
background-color: white;
border: .0125rem solid #ccc;
padding: .125rem;
@@ -907,7 +931,14 @@ input::-webkit-input-placeholder {
background-color: #e7e7e7;
}
-
+/* 隐藏滚动条(可选) */
+.sort-buttons-container::-webkit-scrollbar {
+ height: 5px;
+}
+.sort-buttons-container::-webkit-scrollbar-thumb {
+ background: #ccc;
+ border-radius: 10px;
+}
.center .box1 .content2 {
width: 15rem;
@@ -1085,8 +1116,8 @@ input::-webkit-input-placeholder {
.modal-content {
position: relative;
z-index: 1;
- max-width: 80%;
- max-height: 70%;
+ max-width: 8rem;
+ max-height: 9.5rem;
display: flex;
flex-direction: column;
align-items: center;