You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/* policy-interpretation.wxss */.container { min-height: 100vh; background-color: #f5f7fa; padding-bottom: 40rpx; } /* 头部样式 */ .header { background: linear-gradient(135deg, #1a5f23 0%, #2d8c3c 100%); color: white; padding: 40rpx 30rpx 30rpx; border-radius: 0 0 30rpx 30rpx; box-shadow: 0 4rpx 20rpx rgba(26, 95, 35, 0.2); } .title-section { margin-bottom: 20rpx; } .page-title { font-size: 48rpx; font-weight: bold; display: block; margin-bottom: 10rpx; } .page-subtitle { font-size: 28rpx; opacity: 0.9; } .date-info { font-size: 24rpx; text-align: right; opacity: 0.8; } /* 搜索区域 */ .search-section { background-color: white; margin: -20rpx 30rpx 30rpx; border-radius: 20rpx; padding: 30rpx; box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.06); } .search-box { display: flex; align-items: center; background-color: #f5f7fa; border-radius: 50rpx; margin-bottom: 30rpx; } .search-icon { width: 36rpx; height: 36rpx; margin: 0 20rpx; } .search-input { flex: 1; height: 80rpx; font-size: 28rpx; } .placeholder-style { color: #999; } .search-btn { background-color: #2d8c3c; color: white; font-size: 28rpx; padding: 16rpx 30rpx; border-radius: 40rpx; margin-left: 20rpx; } /* 筛选区域 */ .filter-scroll { white-space: nowrap; width: 100%; } .filter-tag { display: inline-block; padding: 16rpx 30rpx; margin-right: 20rpx; background-color: #f5f7fa; border-radius: 40rpx; font-size: 26rpx; color: #666; } .filter-tag.active { background-color: #2d8c3c; color: white; } /* 政策列表 */ .policy-list { padding: 0 30rpx; } .policy-card { background-color: white; border-radius: 20rpx; padding: 30rpx; margin-bottom: 30rpx; box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.06); transition: transform 0.3s, box-shadow 0.3s; } .policy-card:active { transform: translateY(-4rpx); box-shadow: 0 12rpx 40rpx rgba(0, 0, 0, 0.1); } .policy-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; } .policy-tag { font-size: 22rpx; padding: 6rpx 20rpx; border-radius: 20rpx; } .policy-tag.financial { background-color: #e8f4ea; color: #1a5f23; } .policy-tag.technology { background-color: #e8f0fb; color: #1a5b8c; } .policy-tag.insurance { background-color: #fff7e6; color: #d48806; } .policy-tag.environment { background-color: #e6f7ff; color: #006d75; } .policy-date { font-size: 24rpx; color: #999; } .policy-title { font-size: 32rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; line-height: 1.4; } .policy-summary { font-size: 28rpx; color: #666; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .policy-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25rpx; padding-top: 20rpx; border-top: 1rpx solid #eee; } .policy-source { font-size: 24rpx; color: #999; } .policy-arrow { width: 26rpx; height: 26rpx; } /* 空状态 */ .empty-state { text-align: center; padding: 80rpx 30rpx; } .empty-icon { width: 200rpx; height: 200rpx; margin-bottom: 30rpx; opacity: 0.5; } .empty-text { display: block; font-size: 32rpx; color: #999; margin-bottom: 15rpx; } .empty-tip { font-size: 26rpx; color: #ccc; } /* 政策详情弹窗 */ .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s; } .modal.show { opacity: 1; visibility: visible; } .modal-content { background-color: white; width: 90%; max-height: 80vh; border-radius: 20rpx; overflow: hidden; transform: translateY(50rpx); transition: transform 0.3s; } .modal.show .modal-content { transform: translateY(0); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 30rpx; border-bottom: 1rpx solid #eee; background-color: #f9f9f9; } .modal-title { font-size: 32rpx; font-weight: bold; color: #333; flex: 1; margin-right: 20rpx; } .modal-close { font-size: 50rpx; color: #999; width: 60rpx; height: 60rpx; text-align: center; line-height: 50rpx; } .modal-body { max-height: 60vh; padding: 30rpx; box-sizing: border-box; } .policy-info-row { display: flex; flex-wrap: wrap; background-color: #f9f9f9; border-radius: 12rpx; padding: 20rpx; margin-bottom: 30rpx; } .info-item { width: 50%; margin-bottom: 15rpx; } .info-label { font-size: 26rpx; color: #999; margin-right: 10rpx; } .info-value { font-size: 26rpx; color: #333; font-weight: 500; } .section { margin-bottom: 40rpx; } .section-title { font-size: 30rpx; font-weight: bold; color: #1a5f23; margin-bottom: 20rpx; padding-bottom: 10rpx; border-bottom: 2rpx solid #e8f4ea; } .section-content { font-size: 28rpx; color: #333; line-height: 1.6; } .key-point { margin-bottom: 15rpx; padding-left: 20rpx; position: relative; } .key-point:before { content: ""; position: absolute; left: 0; top: 16rpx; width: 8rpx; height: 8rpx; background-color: #2d8c3c; border-radius: 50%; } .interpretation-text { text-align: justify; } .applicable-objects { display: flex; flex-wrap: wrap; gap: 20rpx; } .object-tag { background-color: #f0f9ff; color: #1a5b8c; font-size: 24rpx; padding: 10rpx 20rpx; border-radius: 20rpx; } .guide-item { display: flex; align-items: flex-start; margin-bottom: 25rpx; } .guide-step { width: 40rpx; height: 40rpx; background-color: #2d8c3c; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24rpx; margin-right: 20rpx; flex-shrink: 0; } .guide-text { flex: 1; line-height: 1.5; } .expert-advice { background-color: #f9f9f9; border-radius: 12rpx; padding: 25rpx; } .advice-header { display: flex; align-items: center; margin-bottom: 20rpx; } .expert-avatar { width: 80rpx; height: 80rpx; border-radius: 50%; margin-right: 20rpx; } .expert-info { display: flex; flex-direction: column; } .expert-name { font-size: 28rpx; font-weight: bold; color: #333; } .expert-title { font-size: 24rpx; color: #999; margin-top: 5rpx; } .advice-content { font-size: 26rpx; color: #666; line-height: 1.6; } .link-item { display: flex; align-items: center; justify-content: space-between; padding: 20rpx 0; border-bottom: 1rpx solid #eee; } .link-item:last-child { border-bottom: none; } .link-text { font-size: 28rpx; color: #1a5f23; } .link-icon { width: 30rpx; height: 30rpx; } .modal-footer { display: flex; padding: 30rpx; border-top: 1rpx solid #eee; gap: 20rpx; } .btn { flex: 1; height: 80rpx; line-height: 80rpx; border-radius: 40rpx; font-size: 28rpx; } .btn::after{ border: none; } .btn-secondary { background-color: #f5f7fa; color: #666; border:1px solid rgb(243, 241, 241); } .btn-primary { background-color: #2d8c3c; color: white; } /* 底部提示 */ .bottom-tip { text-align: center; padding: 30rpx; } .tip-text { display: block; font-size: 24rpx; color: #999; margin-bottom: 10rpx; }
|