| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // 超出一行
- .one-line-text {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- }
- // 超出两行
- .tow-line-text {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* #ifndef APP-NVUE */
- image {
- display: inline-block;
- }
- view, text {
- box-sizing: border-box;
- }
- /* #endif */
- .flex {
- display: flex;
- align-items: center;
- flex-direction: row;
- }
- .flex-col {
- flex-direction: column;
- }
- // 底部操作栏
- .footer-bar {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1;
- background-color: #fff;
- padding: 20rpx 24rpx;
- box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.05);
- padding-bottom: calc(constant(safe-area-inset-bottom) + 20rpx);
- padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
|