123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- ion-content {
- --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
- background-size: cover;
- --padding-start: 16px;
- --padding-end: 16px;
- --padding-top: 20px;
- }
- :root {
- --primary: #3A5FE5;
- --secondary: #00C4A1;
- --danger: #FF4D4F;
- --bg: #F8F9FF;
- --text: #2D3748;
- --card: #FFFFFF;
- }
-
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
- }
-
- .container {
- width: 100%;
- max-width: 480px;
- margin: 0 auto;
- padding: 15px;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- }
-
- /* 顶部导航 */
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10px 0;
- margin-bottom: 15px;
- }
-
- .logo {
- font-weight: bold;
- font-size: 20px;
- color: #3A5FE5;
- display: flex;
- align-items: center;
- }
-
- .logo i {
- margin-right: 8px;
- color: #00C4A1;
- }
-
- .user-avatar {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- background-color: #3A5FE5;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- }
- /* 文书页面特有样式 */
- .documents-page {
- padding-bottom: 70px;
- }
-
- .search-bar {
- display: flex;
- background: white;
- border-radius: 24px;
- padding: 10px 15px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
- margin-bottom: 20px;
- }
-
- .search-input {
- flex: 1;
- border: none;
- outline: none;
- padding: 5px;
- font-size: 16px;
- }
-
- .search-btn {
- background: none;
- border: none;
- color: #3A5FE5;
- font-size: 18px;
- }
-
- .section-title {
- font-size: 18px;
- font-weight: bold;
- margin: 15px 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- .section-title a {
- font-size: 14px;
- font-weight: normal;
- color: #3A5FE5;
- text-decoration: none;
- }
-
- .category-tabs {
- display: flex;
- overflow-x: auto;
- gap: 10px;
- padding-bottom: 10px;
- margin: 15px 0;
- }
-
- .category-tab {
- padding: 8px 15px;
- background: white;
- border-radius: 20px;
- white-space: nowrap;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
- font-size: 14px;
- }
-
- .category-tab.active {
- background: #3A5FE5;
- color: white;
- }
-
- .document-grid {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 15px;
- margin: 15px 0;
- }
-
- .document-card {
- background: white;
- border-radius: 12px;
- padding: 15px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
- transition: transform 0.3s;
- }
-
- .document-card:active {
- transform: scale(0.98);
- }
-
- .document-icon {
- width: 40px;
- height: 40px;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-bottom: 10px;
- color: white;
- font-size: 18px;
- }
-
- .document-title {
- font-weight: bold;
- margin-bottom: 5px;
- }
-
- .document-desc {
- font-size: 12px;
- color: #666;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
-
- .recent-section {
- margin: 25px 0;
- }
-
- .recent-list {
- background: white;
- border-radius: 12px;
- padding: 15px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
- }
-
- .recent-item {
- display: flex;
- align-items: center;
- padding: 10px 0;
- border-bottom: 1px solid #eee;
- }
-
- .recent-item:last-child {
- border-bottom: none;
- }
-
- .recent-icon {
- width: 36px;
- height: 36px;
- border-radius: 8px;
- background: #E6F7FF;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 10px;
- color: #3A5FE5;
- }
-
- .recent-info {
- flex: 1;
- }
-
- .recent-name {
- font-weight: 500;
- margin-bottom: 3px;
- }
-
- .recent-date {
- font-size: 12px;
- color: #999;
- }
-
- .recent-action {
- color: #3A5FE5;
- }
-
- .floating-btn {
- position: fixed;
- bottom: 80px;
- right: 20px;
- width: 56px;
- height: 56px;
- background: #3A5FE5;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- box-shadow: 0 4px 12px rgba(58, 95, 229, 0.3);
- z-index: 10;
- }
- /* 加载动画 */
- .loading {
- display: flex;
- justify-content: center;
- padding: 20px;
- }
-
- .loading-dots {
- display: flex;
- gap: 5px;
- }
-
- .loading-dots span {
- width: 8px;
- height: 8px;
- background: #3A5FE5;
- border-radius: 50%;
- animation: bounce 1s infinite alternate;
- }
-
- .loading-dots span:nth-child(2) {
- animation-delay: 0.2s;
- }
-
- .loading-dots span:nth-child(3) {
- animation-delay: 0.4s;
- }
-
- @keyframes bounce {
- to {
- transform: translateY(-5px);
- }
- }
|