|
|
- // 文字益处处理
- .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;
- }
-
- .flex {
- display: flex;
- align-items: center;
- justify-content: center;
- }
-
- .flex-column {
- flex-direction: column;
- }
-
- .card {
- background-color: #FFFFFF;
- border-radius: 12rpx;
- padding: 18rpx 20rpx;
- }
-
- .btn-simple {
- width: auto;
- height: auto !important;
- border: none !important;
- border-radius: none;
- box-shadow: none;
- padding: 0 !important;
- margin: 0;
- line-height: 1 !important;
- }
|