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/sales-common.scss |  337 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 337 insertions(+), 0 deletions(-)

diff --git a/src/styles/sales-common.scss b/src/styles/sales-common.scss
new file mode 100644
index 0000000..da0aa13
--- /dev/null
+++ b/src/styles/sales-common.scss
@@ -0,0 +1,337 @@
+// 閿�鍞ā鍧楀叕鍏辨牱寮�
+// 鐢ㄤ簬缁熶竴閿�鍞浉鍏抽〉闈㈢殑鏍峰紡椋庢牸
+
+// 椤甸潰瀹瑰櫒鏍峰紡
+.sales-account {
+	min-height: 100vh;
+	background: #f8f9fa;
+	position: relative;
+}
+
+.receipt-payment-ledger {
+	min-height: 100vh;
+	background: #f8f9fa;
+	position: relative;
+}
+
+// 鎼滅储鍜岀瓫閫夊尯鍩熸牱寮�
+.search-filter-section,
+.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;
+	}
+}
+
+// 瀛愬垪琛ㄦ牱寮�
+.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;
+	}
+}
+
+// uView缁勪欢鏍峰紡閲嶇疆
+.u-divider {
+	margin: 0 !important;
+}
\ No newline at end of file

--
Gitblit v1.9.3