pulishPost.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /* pages/pulishPost/pulishPost.wxss */
  2. page {
  3. background-color: #ffffff;
  4. }
  5. .container-wrap {
  6. padding: 30rpx;
  7. background-color: #ffffff;
  8. padding-bottom: calc(var(--safe-area-inset-bottom, 0) + 120rpx);
  9. }
  10. .container-wrap .textarea {
  11. min-height: 400rpx;
  12. width: 100%;
  13. }
  14. .container-wrap .tag-wrap {
  15. display: flex;
  16. align-items: center;
  17. flex-wrap: wrap;
  18. margin-top: 15rpx;
  19. }
  20. .container-wrap .tag-wrap .tag {
  21. position: relative;
  22. font-size: 24rpx;
  23. font-family: PingFangSC-Medium, PingFang SC;
  24. font-weight: 500;
  25. color: #333333;
  26. padding: 8rpx 40rpx 8rpx 20rpx;
  27. background: rgba(246, 246, 246, 1);
  28. border-radius: 28rpx;
  29. margin-left: 12rpx;
  30. }
  31. .tag-wrap .tag:first-child {
  32. margin-left: 0;
  33. }
  34. .tag-wrap .tag::before,
  35. .tag-wrap .tag::after {
  36. position: absolute;
  37. top: 31%;
  38. right: 20rpx;
  39. content: " ";
  40. height: 18rpx;
  41. width: 2rpx;
  42. background-color: #999999;
  43. }
  44. .tag-wrap .tag::before {
  45. transform: rotate(45deg);
  46. }
  47. .tag-wrap .tag::after {
  48. transform: rotate(-45deg);
  49. }
  50. .bottom-wrap {
  51. position: fixed;
  52. left: 0;
  53. right: 0;
  54. bottom: 0;
  55. z-index: 100;
  56. display: flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. background-color: #ffffff;
  60. border-top: 1rpx solid #f7f7f7;
  61. padding-top: 10rpx;
  62. padding-left: 20rpx;
  63. padding-right: 20rpx;
  64. padding-bottom: calc(var(--safe-area-inset-bottom, 0) + 20rpx);
  65. }
  66. .add-tag {
  67. position: relative;
  68. font-size: 24rpx;
  69. font-family: PingFangSC-Medium, PingFang SC;
  70. font-weight: 500;
  71. color: rgba(51, 51, 51, 1);
  72. padding: 10rpx 20rpx 10rpx 45rpx;
  73. background: rgba(246, 246, 246, 1);
  74. border-radius: 28px;
  75. }
  76. .disabled {
  77. pointer-events: none;
  78. color: #999999;
  79. }
  80. .add-tag::before {
  81. content: "";
  82. position: absolute;
  83. top: 50%;
  84. left: 20rpx;
  85. width: 20rpx;
  86. height: 4rpx;
  87. background: #3b7aff;
  88. transform: translateY(-50%);
  89. }
  90. .add-tag::after {
  91. content: "";
  92. position: absolute;
  93. top: 50%;
  94. left: 28rpx;
  95. width: 4rpx;
  96. height: 20rpx;
  97. background: #3b7aff;
  98. transform: translateY(-50%);
  99. }
  100. .disabled::after,
  101. .disabled::before {
  102. background: #999999;
  103. }
  104. .btn {
  105. width: 108rpx;
  106. height: 56rpx;
  107. line-height: 56rpx;
  108. text-align: center;
  109. font-size: 28rpx;
  110. font-family: PingFangSC-Regular, PingFang SC;
  111. font-weight: 400;
  112. color: rgba(255, 255, 255, 1);
  113. background: rgba(59, 122, 255, 1);
  114. border-radius: 4rpx;
  115. }