1234567891011121314151617181920 |
- /**app.wxss**/
- .singleline {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .twoline {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- @supports (bottom: env(safe-area-inset-bottom)) {
- page {
- --safe-area-inset-bottom: env(safe-area-inset-bottom);
- }
- }
|