// 文字益处处理 .text-ellipsis{ overflow:hidden; //超出的文本隐藏 text-overflow:ellipsis; //溢出用省略号显示 white-space:nowrap; //溢出不换行 } .text-ellipsis-2{ overflow: hidden; text-overflow: ellipsis; display:-webkit-box; //作为弹性伸缩盒子模型显示。 -webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列 -webkit-line-clamp:2; //显示的行 } .text-ellipsis-3{ overflow: hidden; text-overflow: ellipsis; display:-webkit-box; //作为弹性伸缩盒子模型显示。 -webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列 -webkit-line-clamp:3; //显示的行 } .share{ padding: 0; margin: 0; background-color: #fff; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; font-size: 26rpx; } .share::after{ border: none; padding: 0; margin: 0; width: 0; height: 0; } .page__view { width: 100vw; min-height: 100vh; background-color: $uni-bg-color; position: relative; font-family: PingFang SC; font-weight: 400; line-height: 1.4; } .flex { display: flex; align-items: center; justify-content: center; } .flex-column { flex-direction: column; } .btn { width: auto; height: auto; margin: 0; padding: 0; line-height: 1.4; border: none; background: none; } .btn:after { border: none; } .empty { margin-top: 165rpx; width: 100%; } .empty-icon { width: 464rpx; height: auto; }