裂变星小程序-25.03.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.4 KiB

2 months ago
2 months ago
2 months ago
  1. // 文字益处处理
  2. .text-ellipsis{
  3. overflow:hidden; //超出的文本隐藏
  4. text-overflow:ellipsis; //溢出用省略号显示
  5. white-space:nowrap; //溢出不换行
  6. }
  7. .text-ellipsis-2{
  8. overflow: hidden;
  9. text-overflow: ellipsis;
  10. display:-webkit-box; //作为弹性伸缩盒子模型显示。
  11. -webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
  12. -webkit-line-clamp:2; //显示的行
  13. }
  14. .text-ellipsis-3{
  15. overflow: hidden;
  16. text-overflow: ellipsis;
  17. display:-webkit-box; //作为弹性伸缩盒子模型显示。
  18. -webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
  19. -webkit-line-clamp:3; //显示的行
  20. }
  21. .share{
  22. padding: 0;
  23. margin: 0;
  24. background-color: #fff;
  25. display: flex !important;
  26. flex-direction: column !important;
  27. justify-content: center !important;
  28. align-items: center !important;
  29. font-size: 26rpx;
  30. line-height: unset;
  31. }
  32. .share::after{
  33. border: none;
  34. padding: 0;
  35. margin: 0;
  36. width: 0;
  37. height: 0;
  38. }
  39. .flex {
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. }
  44. .flex-column {
  45. flex-direction: column;
  46. }
  47. .card {
  48. background-color: #FFFFFF;
  49. border-radius: 12rpx;
  50. padding: 18rpx 20rpx;
  51. }
  52. .btn-simple {
  53. width: auto;
  54. height: auto !important;
  55. border: none !important;
  56. border-radius: none;
  57. box-shadow: none;
  58. padding: 0 !important;
  59. margin: 0;
  60. line-height: 1 !important;
  61. }