import styled from 'styled-components' const rem = (px) => `${px/414*10}rem` export const Container = styled.div` width: 100%; font-family: PingFangSC-Regular; background-size: 100%; .count-down-wrap{ width: 10rem; height: ${rem(40)}; position: fixed; top: 0; left: 0; background: rgba(34,34,34,0.50); color: #fff; font-size: 12px; line-height: ${rem(40)}; text-align: center; z-index: 2 } .count-down-wrap.is-edit{ top: 39px; } .time-w{ display: inline-block; width: ${rem(20)}; height: ${rem(16)}; margin: 0 4px; font-size: 12px; line-height: ${rem(16)}; text-align: center; background: rgba(0,0,0,0.50); border-radius: 2px; } .m-header.empty{ text-align: center; } .btn-rule{ display: block; width: ${rem(100)}; height: ${rem(28)}; border: 1px solid; margin: 0 auto ${rem(16)}; text-align: center; line-height: ${rem(28)}; border-radius: ${rem(50)}; } em{ font-style: normal; font-weight: 400; } ` export const Rules = styled.div` padding: 0 ${rem(24)}; margin-top: ${rem(32)}; font-size: 14px; line-height: 22px; word-wrap:break-word; .title{ margin-bottom: 8px; font-size: 18px; font-weight: bold; } .link-qiyu{ color: #1890ff } `