@import '../../baseStyle.less'; .lastDate { color: @main-danger-color; } .tableAddress { color: @main-color; font-weight: 600; } .tableLoadMore { margin-top: 15px; text-align: center; } .card { .ant-card-head { min-height: 40px; padding: 0 15px; .ant-card-head-title, .ant-card-extra { padding: 10px 0; } } .ant-card-body { min-height: 150px; text-indent: 26px; } } .banner { width: 100%; height: 600px; } .noticeList { padding: 10px 0; .noticeTitle { font-size: 22px; font-weight: 600; color: @main-color; padding: 10px 7px; } .noticeItem { background-color: #fff; padding: 24px; border-radius: 16px; box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.05); height: 249px; .title { margin: 14px 0; font-size: 20px; font-weight: 600; // 超过两行显示省略号 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; height: 63px; } .content{ font-size: 16px; color: @main-text-color-2; // 超过两行显示省略号 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .button{ color: @main-color; font-size: 16px; margin-top: 14px; cursor: pointer; } .header { display: flex; justify-content: space-between; align-items: center; .time { font-size: 14px; color: @main-text-color-2; } .type { display: inline-block; background-color: @main-color; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 20px; &.primary { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; } &.danger { background-color: rgba(255, 77, 77, 0.1); color: #ff4d4d; } } } } } // 登录入口 .loginType { background-color: #fff; padding: 40px 0 30px 0; .loginTypeItem { background-color: rgb(249, 250, 250); border-radius: 10px; display: flex; flex-direction: column; align-items: center; padding: 25px 0; .loginTypeItemTitle { font-size: 18px; font-weight: 600; color: @main-text-color; margin: 10px 0; } .loginTypeItemContent { font-size: 15px; color: @main-text-color-1; margin-bottom: 20px; } .btns { display: flex; gap: 20px; .ant-btn { width: 100px; border-radius: 5px; } } } } // 采购类型 .announce { margin-top: 40px !important; .bg { background-color: #fff; padding: 20px; } .types { height: 100%; .announceTitle { font-size: 18px; font-weight: 600; color: @main-color; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(@main-text-color-2, 0.5); } .typeItem { font-size: 16px; cursor: pointer; border-radius: 5px; padding: 10px 15px; &.active { background-color: @main-color; color: #fff; } &:hover { background-color: @main-color; color: #fff; } } } .search { height: 100%; } } // 关于我们 .about { background-color: #fff; padding: 40px 0 30px 0; margin-top: 50px; .blockTitle { font-weight: 600; font-size: 20px; margin-bottom: 20px; } .mt20 { margin-top: 20px; } .caBox { display: flex; flex-direction: column; justify-content: space-between; .caRow { border: 1px solid rgba(@main-text-color-2, 0.3); padding: 20px 30px; } .caItem { display: flex; flex-direction: column; align-items: center; justify-content: center; img { width: 60px; margin-bottom: 10px; } } .contactBox { flex: 1; display: flex; flex-direction: column; .contact { flex: 1; border: 1px solid rgba(@main-text-color-2, 0.3); padding: 20px 30px; } } } .borderBox { border: 1px solid rgba(@main-text-color-2, 0.3); padding: 20px 30px; padding-bottom: 50px; img { width: 100%; height: 100%; } .questionItem { line-height: 50px; border-bottom: 1px solid rgba(@main-text-color-2, 0.5); .icon { margin-right: 10px; font-size: 18px; } } } } // 友情链接 .firendLink { background-color: #fff; padding: 40px 0 30px 0; .linkTitle { font-weight: 600; font-size: 20px; margin-bottom: 20px; } :global(.ant-card) { background-color: red; } img { width: 100%; height: 100%; } }