@@ -227,7 +227,7 @@
padding: 19px 12px 9px;
}
.price {
- font-size: 36px;
+ font-size: 28px;
font-weight: 500;
color: #b1652e;
span {
@@ -236,7 +236,7 @@
.originalPrice {
margin-left: 8px;
- font-size: 24px;
+ font-size: 18px;
color: #c59575 !important;
line-height: 16px;
font-weight: 300;
@@ -268,7 +268,7 @@
align-items: center;
justify-content: center;
position: absolute;
- top: -1px;
+ top: 0;
right: -1px;
border-radius: 0 12px 0 12px;
@@ -304,7 +304,9 @@ export default defineComponent({
type="primary"
round
block
- disabled={dayjs().isAfter(dayjs(item.expiryDate))}
+ disabled={dayjs(dayjs().format('YYYY-MM-DD')).isAfter(
+ dayjs(item.expiryDate)
+ )}
onClick={() => onUnitTestStart(item)}
>
{item.status === 'C_ING' ? '继续测验' : '开始测验'}