From ee42bf1badae06026efa79dc17d2a541297ab49b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 03 九月 2025 17:43:31 +0800
Subject: [PATCH] 采购管理整体样式优化,搜索条件修改

---
 src/styles/procurement-common.scss |  420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 420 insertions(+), 0 deletions(-)

diff --git a/src/styles/procurement-common.scss b/src/styles/procurement-common.scss
new file mode 100644
index 0000000..4ea652b
--- /dev/null
+++ b/src/styles/procurement-common.scss
@@ -0,0 +1,420 @@
+// 閲囪喘绠$悊妯″潡鍏叡鏍峰紡
+// 鐢ㄤ簬缁熶竴閲囪喘鐩稿叧椤甸潰鐨勬牱寮忛鏍�
+
+// 椤甸潰瀹瑰櫒鏍峰紡
+.sales-account {
+	min-height: 100vh;
+	background: #f8f9fa;
+	position: relative;
+}
+
+// 鎼滅储鍜岀瓫閫夊尯鍩熸牱寮�
+.search-section {
+	padding: 10px 20px;
+	background: #ffffff;
+}
+
+.search-bar {
+	display: flex;
+	align-items: center;
+	gap: 12px;
+}
+
+.search-input {
+	flex: 1;
+	background: #f5f5f5;
+	border-radius: 24px;
+	padding: 0 16px;
+	display: flex;
+	align-items: center;
+	gap: 8px;
+}
+
+.search-text {
+	flex: 1;
+	font-size: 14px;
+	color: #333;
+	background: transparent;
+	border: none;
+	outline: none;
+
+	&::placeholder {
+		color: #999;
+	}
+}
+
+.filter-button,
+.search-button {
+	width: 40px;
+	height: 40px;
+	border-radius: 8px;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+}
+
+// 寮�鍏宠鏍峰紡
+.switch-row {
+	padding: 8px;
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+	margin-top: 8px;
+}
+
+.switch-label {
+	font-size: 14px;
+	color: #333;
+}
+
+// 鍒楄〃瀹瑰櫒鏍峰紡
+.ledger-list,
+.history-list,
+.customer-list-container {
+	padding: 20px;
+}
+
+.customer-list {
+	display: flex;
+	flex-direction: column;
+	gap: 16px;
+}
+
+// 鍒楄〃椤规牱寮�
+.ledger-item,
+.history-item,
+.customer-item {
+	background: #ffffff;
+	border-radius: 12px;
+	margin-bottom: 16px;
+	overflow: hidden;
+	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+	padding: 0 16px;
+
+	&:active {
+		transform: scale(0.98);
+		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
+	}
+}
+
+.customer-item {
+	transition: all 0.3s ease;
+	margin-bottom: 0;
+}
+
+// 椤圭洰澶撮儴鏍峰紡
+.item-header {
+	padding: 16px 0;
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+}
+
+.item-left {
+	display: flex;
+	align-items: center;
+	gap: 8px;
+}
+
+.item-right {
+	display: flex;
+	align-items: center;
+	gap: 8px;
+}
+
+// 鍥炬爣鏍峰紡
+.document-icon,
+.customer-icon {
+	width: 24px;
+	height: 24px;
+	background: #2979ff;
+	border-radius: 4px;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+}
+
+// 鏂囨湰鏍峰紡
+.item-id,
+.customer-name {
+	font-size: 14px;
+	color: #333;
+	font-weight: 500;
+}
+
+.item-index {
+	font-size: 12px;
+	color: #999;
+	background: #f5f5f5;
+	padding: 2px 8px;
+	border-radius: 12px;
+}
+
+// 鏍囩鏍峰紡
+.item-tag {
+	border-radius: 4px;
+	padding: 2px 4px;
+
+	&.tag-electric {
+		background: #4caf50;
+	}
+
+	&.tag-acceptance {
+		background: #ff9800;
+	}
+
+	&.tag-unknown {
+		background: #9e9e9e;
+	}
+}
+
+.tag-text {
+	font-size: 11px;
+	color: #ffffff;
+	font-weight: 500;
+}
+
+// 璇︽儏鍖哄煙鏍峰紡
+.item-details {
+	padding: 16px 0;
+}
+
+.detail-row {
+	display: flex;
+	align-items: flex-end;
+	justify-content: space-between;
+	margin-bottom: 8px;
+
+	&:last-child {
+		margin-bottom: 0;
+	}
+}
+
+.detail-info {
+	margin-top: 10px;
+	display: flex;
+	align-items: flex-start;
+	justify-content: space-between;
+}
+
+.detail-label {
+	font-size: 12px;
+	color: #777777;
+	min-width: 60px;
+}
+
+.detail-value {
+	font-size: 12px;
+	color: #000000;
+	text-align: right;
+	flex: 1;
+	margin-left: 16px;
+
+	&.highlight {
+		color: #2979ff;
+		font-weight: 500;
+	}
+
+	&.danger {
+		color: #ee0a24;
+		font-weight: 500;
+	}
+
+	&.redlight {
+		color: red;
+		font-weight: 500;
+	}
+}
+
+// 瀛愬垪琛ㄦ牱寮�
+.children-list {
+	.children-title {
+		font-size: 14px;
+		font-weight: 500;
+		color: #333;
+		padding: 12px 0 8px 0;
+		border-top: 1px solid #f0f0f0;
+	}
+}
+
+.child-item {
+	.child-details {
+		padding: 12px 0;
+	}
+
+	.child-actions {
+		display: flex;
+		gap: 8px;
+		padding: 8px 0 16px 0;
+		justify-content: flex-end;
+	}
+}
+
+// 鎿嶄綔鎸夐挳鏍峰紡
+.action-buttons {
+	display: flex;
+	gap: 12px;
+	padding: 0 0 16px 0;
+	justify-content: space-between;
+
+	&.action-buttons-top {
+		padding: 12px 0 0 0;
+	}
+}
+
+.action-btn {
+	flex: 1;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+	gap: 8px;
+}
+
+// 娴姩鎸夐挳鏍峰紡
+.fab-button {
+	position: fixed;
+	bottom: calc(30px + env(safe-area-inset-bottom));
+	right: 30px;
+	width: 56px;
+	height: 56px;
+	background: #2979ff;
+	border-radius: 50%;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+	box-shadow: 0 4px 16px rgba(41, 121, 255, 0.3);
+	z-index: 1000;
+}
+
+// 鏃犳暟鎹彁绀烘牱寮�
+.no-data {
+	padding: 40px 0;
+	text-align: center;
+	color: #999;
+}
+
+// 姹囨�讳俊鎭牱寮�
+.summary-info {
+	background: #ffffff;
+	margin: 20px 20px 0 20px;
+	border-radius: 12px;
+	padding: 16px;
+	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+.summary-item {
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	margin-bottom: 8px;
+
+	&:last-child {
+		margin-bottom: 0;
+	}
+}
+
+.summary-label {
+	font-size: 14px;
+	color: #666;
+}
+
+.summary-value {
+	font-size: 14px;
+	color: #333;
+	font-weight: 500;
+
+	&.highlight {
+		color: #2979ff;
+		font-weight: 600;
+	}
+}
+
+// 寮圭獥鏍峰紡
+.filter-popup {
+	padding: 12px 12px 20px;
+}
+
+.popup-header {
+	padding: 10px 16px;
+	border-bottom: 1px solid #f5f5f5;
+}
+
+.popup-title {
+	font-size: 16px;
+	font-weight: 500;
+	color: #333;
+}
+
+.uploaded-list {
+	padding: 8px 16px 0 16px;
+}
+
+.uploaded-item {
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
+	padding: 8px 0;
+	border-bottom: 1px solid #f5f5f5;
+}
+
+.file-name {
+	font-size: 12px;
+	color: #333;
+	margin-right: 8px;
+	flex: 1;
+	overflow: hidden;
+	text-overflow: ellipsis;
+	white-space: nowrap;
+}
+
+.tip-text {
+	padding: 4px 16px 0 16px;
+	font-size: 12px;
+	color: #888;
+}
+
+.filter-actions {
+	display: flex;
+	gap: 12px;
+	padding: 12px 16px 16px;
+	justify-content: center;
+}
+
+.footer-btns {
+	position: fixed;
+	left: 0;
+	right: 0;
+	bottom: 0;
+	background: #fff;
+	display: flex;
+	justify-content: space-around;
+	align-items: center;
+	padding: 0.75rem 0;
+	box-shadow: 0 -0.125rem 0.5rem rgba(0,0,0,0.05);
+	z-index: 1000;
+}
+
+.cancel-btn {
+	font-weight: 400;
+	font-size: 1rem;
+	color: #FFFFFF;
+	width: 6.375rem;
+	background: #C7C9CC;
+	box-shadow: 0 0.25rem 0.625rem 0 rgba(3,88,185,0.2);
+	border-radius: 2.5rem 2.5rem 2.5rem 2.5rem;
+}
+
+.save-btn {
+	font-weight: 400;
+	font-size: 1rem;
+	color: #FFFFFF;
+	width: 14rem;
+	background: linear-gradient( 140deg, #00BAFF 0%, #006CFB 100%);
+	box-shadow: 0 0.25rem 0.625rem 0 rgba(3,88,185,0.2);
+	border-radius: 2.5rem 2.5rem 2.5rem 2.5rem;
+}
+
+// uView缁勪欢鏍峰紡閲嶇疆
+.u-divider {
+	margin: 0 !important;
+}
\ No newline at end of file

--
Gitblit v1.9.3