index.wxss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*!单行超出部分以省略号显示*/
  2. .singleline {
  3. overflow: hidden;
  4. text-overflow: ellipsis;
  5. white-space: nowrap;
  6. }
  7. /*!超出两行以省略号显示*/
  8. .twoline {
  9. overflow: hidden;
  10. text-overflow: ellipsis;
  11. display: -webkit-box;
  12. -webkit-box-orient: vertical;
  13. -webkit-line-clamp: 2;
  14. }
  15. /* 超出三行以省略号显示 */
  16. .threeline {
  17. overflow: hidden;
  18. text-overflow: ellipsis;
  19. display: -webkit-box;
  20. -webkit-box-orient: vertical;
  21. -webkit-line-clamp: 3;
  22. }
  23. /* 底部tip */
  24. .no-more {
  25. color: #d7d8db;
  26. font-size: 26rpx;
  27. text-align: center;
  28. padding: 30rpx 0;
  29. }
  30. /* 固定底部按钮 */
  31. .fixed-bottom {
  32. position: fixed;
  33. left: 0;
  34. bottom: 0;
  35. width: 100%;
  36. padding: 40rpx 26rpx;
  37. background-color: #fff;
  38. z-index: 1994;
  39. }
  40. .button::before,
  41. .button::after {
  42. content: none;
  43. }
  44. .button {
  45. color: #fff;
  46. font-size: 32rpx;
  47. height: 92rpx;
  48. line-height: 92rpx;
  49. text-align: center;
  50. border-radius: 16rpx;
  51. background-color: rgb(33, 204, 71);
  52. }
  53. .button.default {
  54. height: auto;
  55. line-height: 1;
  56. border-radius: 0;
  57. padding: 0;
  58. margin: 0;
  59. background-color: transparent;
  60. }
  61. .button-hover {
  62. background-color: rgba(33, 204, 71, 0.5);
  63. }
  64. /* 发布按钮 */
  65. .fixed-icon {
  66. position: fixed;
  67. right: 26rpx;
  68. bottom: 26rpx;
  69. display: flex;
  70. flex-direction: column;
  71. align-items: center;
  72. justify-content: center;
  73. width: 112rpx;
  74. height: 112rpx;
  75. border-radius: 50%;
  76. background: linear-gradient(130deg, rgba(36, 237, 136, 1) 0%, rgba(43, 214, 79, 1) 100%);
  77. box-shadow: 0 6rpx 16rpx 0 rgba(42, 218, 88, 0.2);
  78. z-index: 100;
  79. }
  80. .fixed-icon .icon {
  81. width: 32rpx;
  82. height: 52rpx;
  83. }
  84. .fixed-icon .text {
  85. color: #fff;
  86. font-size: 24rpx;
  87. }