| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /* 京东企业购 最终修复版全局样式 */
- :root {
- --jd-red: #E1251B;
- --jd-bg: #F4F4F4;
- --jd-white: #FFFFFF;
- --jd-text-3: #333333;
- --jd-text-6: #666666;
- --jd-text-9: #999999;
- --radius-lg: 12px;
- --radius-sm: 8px;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
- background-color: var(--jd-bg);
- color: var(--jd-text-3);
- font-size: 14px;
- -webkit-font-smoothing: antialiased;
- }
- ul, ol { list-style: none; }
- a { text-decoration: none; color: inherit; }
- /* 核心容器 */
- .w {
- margin: 0 auto;
- position: relative;
- }
- /* 媒体查询适配容器宽度 */
- @media screen and (min-width: 1600px) {
- .w { width: 1600px; }
- }
- @media screen and (min-width: 1210px) and (max-width: 1599px) {
- .w { width: 1190px; }
- }
- @media screen and (max-width: 1209px) {
- .w { width: 990px; }
- }
- @media screen and (min-width: 1210px) and (max-width: 1599px) {
- .w { width: 1190px; }
- }
- @media screen and (max-width: 1209px) {
- .w { width: 990px; }
- }
- /* Flex 布局工具 */
- .flex { display: flex; }
- .flex-1 { flex: 1; }
- .flex-center { display: flex; align-items: center; justify-content: center; }
- .flex-between { display: flex; align-items: center; justify-content: space-between; }
- .flex-column { display: flex; flex-direction: column; }
- .flex-wrap { flex-wrap: wrap; }
- .clearfix::after {
- content: "";
- display: block;
- clear: both;
- }
- /* 通用卡片样式 */
- .jd-card {
- background: var(--jd-white);
- border-radius: var(--radius-lg);
- overflow: hidden;
- }
- .tag-red {
- background: var(--jd-red);
- color: #fff;
- padding: 0 4px;
- border-radius: 2px;
- font-size: 12px;
- display: inline-block;
- line-height: 1.4;
- }
|