style: 移除下拉菜单按钮文字单行显示的样式
移除checkinPage和myClassPage中关于.van-dropdown-menu__title的单行显示样式,保持样式一致性
Showing
2 changed files
with
15 additions
and
15 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-05-29 15:34:17 | 2 | * @Date: 2025-05-29 15:34:17 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-06-28 21:38:42 | 4 | + * @LastEditTime: 2025-06-28 21:43:29 |
| 5 | * @FilePath: /mlaj/src/views/teacher/checkinPage.vue | 5 | * @FilePath: /mlaj/src/views/teacher/checkinPage.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -849,12 +849,12 @@ const handleAdd = (type) => { | ... | @@ -849,12 +849,12 @@ const handleAdd = (type) => { |
| 849 | } | 849 | } |
| 850 | 850 | ||
| 851 | /* 下拉菜单按钮文字单行显示 */ | 851 | /* 下拉菜单按钮文字单行显示 */ |
| 852 | -.van-dropdown-menu__title { | 852 | +// .van-dropdown-menu__title { |
| 853 | - white-space: nowrap; | 853 | +// white-space: nowrap; |
| 854 | - overflow: hidden; | 854 | +// overflow: hidden; |
| 855 | - text-overflow: ellipsis; | 855 | +// text-overflow: ellipsis; |
| 856 | - max-width: 100%; | 856 | +// max-width: 100%; |
| 857 | -} | 857 | +// } |
| 858 | .calendar-checkin { | 858 | .calendar-checkin { |
| 859 | .van-calendar__selected-day { | 859 | .van-calendar__selected-day { |
| 860 | background: #a2d8a3 !important; | 860 | background: #a2d8a3 !important; | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2025-01-20 10:00:00 | 3 | * @Date: 2025-01-20 10:00:00 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2025-06-27 15:29:06 | 5 | + * @LastEditTime: 2025-06-28 21:42:55 |
| 6 | * @FilePath: /mlaj/src/views/teacher/myClassPage.vue | 6 | * @FilePath: /mlaj/src/views/teacher/myClassPage.vue |
| 7 | * @Description: 我的班级页面 | 7 | * @Description: 我的班级页面 |
| 8 | --> | 8 | --> |
| ... | @@ -469,19 +469,19 @@ onUnmounted(() => { | ... | @@ -469,19 +469,19 @@ onUnmounted(() => { |
| 469 | max-width: 100%; | 469 | max-width: 100%; |
| 470 | flex: 0 0 80%; /* title占80%宽度 */ | 470 | flex: 0 0 80%; /* title占80%宽度 */ |
| 471 | } | 471 | } |
| 472 | - | 472 | + |
| 473 | .van-cell__value { | 473 | .van-cell__value { |
| 474 | flex: 0 0 20%; /* value占20%宽度 */ | 474 | flex: 0 0 20%; /* value占20%宽度 */ |
| 475 | } | 475 | } |
| 476 | } | 476 | } |
| 477 | 477 | ||
| 478 | /* 下拉菜单按钮文字单行显示 */ | 478 | /* 下拉菜单按钮文字单行显示 */ |
| 479 | -.van-dropdown-menu__title { | 479 | +// .van-dropdown-menu__title { |
| 480 | - white-space: nowrap; | 480 | + // white-space: nowrap; |
| 481 | - overflow: hidden; | 481 | + // overflow: hidden; |
| 482 | - text-overflow: ellipsis; | 482 | + // text-overflow: ellipsis; |
| 483 | - max-width: 100%; | 483 | + // max-width: 100%; |
| 484 | -} | 484 | +// } |
| 485 | 485 | ||
| 486 | .van-circle { | 486 | .van-circle { |
| 487 | font-size: 12px; | 487 | font-size: 12px; | ... | ... |
-
Please register or login to post a comment