|
@@ -1,44 +1,36 @@
|
|
|
ion-content {
|
|
|
- --background: #ffffff;
|
|
|
- height: 100vh;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: space-between;
|
|
|
+ --padding-top: 0;
|
|
|
+ --padding-bottom: 0;
|
|
|
+ --padding-start: 0;
|
|
|
+ --padding-end: 0;
|
|
|
|
|
|
.top-section {
|
|
|
display: flex;
|
|
|
- height: 75%;
|
|
|
- .left {
|
|
|
- flex: 1;
|
|
|
+ height: 75vh; // 占据3/4的高度
|
|
|
+
|
|
|
+ .left, .right {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
- padding: 16px;
|
|
|
- .time-slot {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- border: 1px solid #ccc;
|
|
|
- margin: 4px 0;
|
|
|
- border-radius: 8px;
|
|
|
- }
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .left {
|
|
|
+ width: 33.33%; // 左侧宽度1/3
|
|
|
+ background-color: #f0f0f0;
|
|
|
}
|
|
|
+
|
|
|
.right {
|
|
|
- flex: 2;
|
|
|
+ width: 66.66%; // 右侧宽度2/3
|
|
|
+ background-color: #e0e0e0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .task-time, .task-content {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: space-between;
|
|
|
- padding: 16px;
|
|
|
- .task-content {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- border: 1px solid #ccc;
|
|
|
- margin: 4px 0;
|
|
|
- border-radius: 8px;
|
|
|
- }
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 33.33%; // 每项高度1/3
|
|
|
+ font-size: 1.2em;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -46,20 +38,13 @@ ion-content {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
align-items: center;
|
|
|
- height: 25%;
|
|
|
- padding: 0 16px;
|
|
|
- .left-button,
|
|
|
- .center-button,
|
|
|
- .right-button {
|
|
|
- width: 150px;
|
|
|
- height: 150px;
|
|
|
- margin: 0 8px;
|
|
|
+ height: 25vh; // 占据1/4的高度
|
|
|
+
|
|
|
+ ion-button {
|
|
|
+ width: 40%; // 按钮宽度40%
|
|
|
+ height: 40%; // 按钮高度40%
|
|
|
border-radius: 50%;
|
|
|
- --padding-start: 0;
|
|
|
- --padding-end: 0;
|
|
|
- --inner-padding: 0;
|
|
|
- --margin-top: 8px;
|
|
|
- --margin-bottom: 8px;
|
|
|
+ font-size: 1.2em;
|
|
|
}
|
|
|
}
|
|
|
}
|