修改测试问题

This commit is contained in:
fks-xuxinyue
2024-08-22 15:27:55 +08:00
parent 0009360d9f
commit ca74de5b37
15 changed files with 559 additions and 287 deletions

View File

@@ -15,7 +15,13 @@
margin-bottom: 1%;
">
<div>
<a-button v-if="selectedTime" type="primary" @click="changeYear(-1)">上一年</a-button>
<a-button
v-if="selectedTime"
type="primary"
style="border-radius: 5px 0 0 5px; border-right: none"
@click="changeYear(-1)"
>上一年</a-button
>
<a-date-picker
v-if="selectedTime"
valueFormat="YYYY"
@@ -23,7 +29,13 @@
v-model:value="selectYear"
@change="changeYear"
picker="year" />
<a-button v-if="selectedTime" type="primary" @click="changeYear(1)">下一年</a-button>
<a-button
v-if="selectedTime"
type="primary"
style="border-radius: 0 5px 5px 0; border-left: none"
@click="changeYear(1)"
>下一年</a-button
>
<a-date-picker
v-else
valueFormat="YYYY-MM"
@@ -344,7 +356,6 @@
border: 1px solid rgba(39, 120, 255, 1);
}
:deep(.ant-btn-primary) {
border-radius: unset !important;
border-color: #d7d7d7 !important;
background: #f2f2f2 !important;
color: black !important;