This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
wxSmallApp/pages/policy/policy.wxss

40 lines
844 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

.policy-page {
display: flex;
flex-direction: column;
}
.search-bar, .input-class {
width: 90%;
padding: 10px;
border: 1px solid #ccc; /* 轻微边框 */
border-radius: 5px; /* 圆角 */
margin:0 auto; /* 上下保持0左右自动实现水平居中 */
}
.policy-item .title, .policy-item .date {
display: block;
}
.policy-list .policy-item {
padding: 10rpx;
}
.policy-item .title {
font-size: 36rpx;
color: #333;
}
.policy-item .date {
font-size: 14px; /* 日期字体大小 */
color: #666; /* 日期颜色 */
margin-top: 5px;
}
.policy-card {
background-color: white; /* 卡片背景色 */
border-radius: 10px; /* 圆角 */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
margin: 20rpx; /* 外边距,根据需要调整 */
padding: 20rpx; /* 内边距,根据需要调整 */
}