样式小优化
This commit is contained in:
@@ -39,11 +39,9 @@ export function CompactSearchBox({
|
||||
};
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
marginBottom: '24px'
|
||||
}}>
|
||||
<div>
|
||||
<div style={{
|
||||
padding: '20px 0',
|
||||
|
||||
margin: '0',
|
||||
background: 'none'
|
||||
}}>
|
||||
@@ -115,7 +113,7 @@ export function CompactSearchBox({
|
||||
border: 'none',
|
||||
borderRadius: '6px',
|
||||
padding: '6px 16px',
|
||||
fontSize: '13px',
|
||||
fontSize: '14px',
|
||||
fontWeight: '500',
|
||||
cursor: 'pointer',
|
||||
transition: 'all 0.3s ease',
|
||||
|
||||
@@ -36,7 +36,7 @@ export function SearchResultHeader({
|
||||
</button>
|
||||
</div>
|
||||
<select
|
||||
className="px-3 py-2 border border-gray-200 rounded-lg text-sm"
|
||||
className="px-3 py-3 border border-gray-200 rounded-lg text-sm"
|
||||
value={sortBy}
|
||||
onChange={(e) => onSortChange(e.target.value)}
|
||||
>
|
||||
|
||||
@@ -92,7 +92,7 @@ export function TemplateCard({ template, onClick }: TemplateCardProps) {
|
||||
<span>使用次数:{template.useCount.toLocaleString()}</span>
|
||||
</div>
|
||||
|
||||
<div className="template-actions">
|
||||
<div className="template-actions mt-3">
|
||||
<button
|
||||
className="action-btn primary"
|
||||
onClick={(e) => handleActionClick(e, '立即使用')}
|
||||
|
||||
@@ -485,6 +485,17 @@
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.page-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.page-btn:disabled:hover {
|
||||
background: white;
|
||||
color: var(--text-color);
|
||||
border-color: #e5e7eb;
|
||||
}
|
||||
|
||||
/* 模板详情页面 */
|
||||
.template-detail {
|
||||
max-width: 800px;
|
||||
|
||||
Reference in New Issue
Block a user