diff --git a/src/components/MoneyManage/CurrencySelect.vue b/src/components/MoneyManage/CurrencySelect.vue
index 93732b9..cd010a8 100644
--- a/src/components/MoneyManage/CurrencySelect.vue
+++ b/src/components/MoneyManage/CurrencySelect.vue
@@ -18,7 +18,7 @@
-
+
@@ -66,6 +66,7 @@ const emit = defineEmits(['update:modelValue', 'change'])
// 切换下拉菜单
const toggleMenu = () => {
isOpen.value = !isOpen.value
+ searchData.value = ''
}
// 清除搜索
@@ -179,35 +180,37 @@ watchEffect(() => {
border-radius: 0 0 8px 8px; // 仅底部两侧圆角
z-index: 1000;
margin-top: 15px; // 关键:不要有上外边距,尖角要紧贴触发器
-overflow: visible;
-
-
- &::before {
- content: "";
- position: absolute;
- top: -8px;
- left: 50%;
- transform: translateX(-50%) scaleY(0.5);
- width: 30px;
- height: 16px;
- background: #fff;
- clip-path: polygon(0 100%, 100% 100%, 50% 0);
- z-index: 1001;
- border: none; /* 移除原来的边框 */
- }
-
- &::after {
- content: "";
- position: absolute;
- top: -9px; /* 比 ::before 往下一点,制造边框效果 */
- left: 50%;
- transform: translateX(-50%) scaleY(0.5);
- width: 30px;
- height: 16px;
- background: #678BFF;
- clip-path: polygon(0 100%, 100% 100%, 50% 0);
- z-index: 1000;
- }
+ overflow: visible;
+
+
+ &::before {
+ content: "";
+ position: absolute;
+ top: -8px;
+ left: 50%;
+ transform: translateX(-50%) scaleY(0.5);
+ width: 30px;
+ height: 16px;
+ background: #fff;
+ clip-path: polygon(0 100%, 100% 100%, 50% 0);
+ z-index: 1001;
+ border: none;
+ /* 移除原来的边框 */
+ }
+
+ &::after {
+ content: "";
+ position: absolute;
+ top: -9px;
+ /* 比 ::before 往下一点,制造边框效果 */
+ left: 50%;
+ transform: translateX(-50%) scaleY(0.5);
+ width: 30px;
+ height: 16px;
+ background: #678BFF;
+ clip-path: polygon(0 100%, 100% 100%, 50% 0);
+ z-index: 1000;
+ }
}
// 搜索框区域
@@ -222,11 +225,11 @@ overflow: visible;
// 搜索输入框:浅灰背景 + 图标定位
.search-input {
width: 100%;
- height: 25px;
+ height: 27px;
padding: 0 12px 0 5px;
/* 左侧留出图标空间 */
border: 1px solid #dcdfe6;
- border-radius: 8px;
+ border-radius: 10px;
box-sizing: border-box;
background-color: #f8f9fa;
/* 浅灰背景匹配参考图 */
@@ -260,7 +263,7 @@ overflow: visible;
// 清除图标:右侧定位 + hover效果
.clear-icon {
position: absolute;
- top: 50%;
+ top: 62%;
right: 20px;
transform: translateY(-50%);
color: #909399;
@@ -284,14 +287,17 @@ overflow: visible;
// 选项按钮:无边框 + hover/选中效果
.dropdown-item {
width: 100%;
- height: 25px;
+ height: 27px;
padding: 5px 12px 5px 5px;
text-align: center;
cursor: pointer;
border: none;
- border-radius: 8px;
+ border-radius: 10px;
background-color: #fff;
font-size: 12px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 20px;
margin: 5px 0;
color: #040A2D;
transition: all 0.2s ease;
diff --git a/src/components/MoneyManage/ProductSelect.vue b/src/components/MoneyManage/ProductSelect.vue
new file mode 100644
index 0000000..730e102
--- /dev/null
+++ b/src/components/MoneyManage/ProductSelect.vue
@@ -0,0 +1,121 @@
+
+
+
+
+ {{ selectedItem || placeholder }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue
index 1848572..e6f4d10 100644
--- a/src/views/moneyManage/receiveDetail/receiveDetail.vue
+++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue
@@ -220,8 +220,7 @@
-
-
+
@@ -230,14 +229,19 @@
-
-
+
+
+
+
+
+