post.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /* pages/dynamic/post/post.wxss */
  2. @import "../../../../icon.wxss";
  3. .container {
  4. padding: 20rpx 25rpx;
  5. background-color: #fff;
  6. }
  7. .btn-area button {
  8. background-color: #ff5777;
  9. color: #fff;
  10. }
  11. .content {
  12. position: relative;
  13. }
  14. .content .area {
  15. width: 100%;
  16. margin-bottom: 20rpx;
  17. transition: all 500ms ease-in-out;
  18. }
  19. .currentWordNumber {
  20. position: absolute;
  21. bottom: 0;
  22. right: 0;
  23. color: #999;
  24. }
  25. .goods {
  26. position: relative;
  27. background: #f2f2f2;
  28. padding: 10rpx;
  29. align-items: center;
  30. margin-bottom: 20rpx;
  31. }
  32. .goods-cover {
  33. width: 80rpx;
  34. height: 80rpx;
  35. margin-right: 18rpx;
  36. }
  37. .goods-cover image {
  38. width: 80rpx;
  39. height: 80rpx;
  40. }
  41. .goods-name {
  42. overflow: hidden;
  43. padding-right: 22rpx;
  44. font-size: 24rpx;
  45. }
  46. .goods-name .goods-title {
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. white-space: nowrap;
  50. }
  51. .goods-name .goods-price {
  52. color: #ff5777;
  53. margin-top: 5rpx;
  54. font-weight: bold;
  55. }
  56. .menu-list {
  57. margin-bottom: 20rpx;
  58. }
  59. .menu-list .menu-icon {
  60. position: relative;
  61. display: inline-block;
  62. width: 120rpx;
  63. height: 60rpx;
  64. line-height: 60rpx;
  65. color: #666;
  66. font-size: 28rpx;
  67. text-align: center;
  68. border-radius: 30rpx;
  69. background-color: #f8f8f8;
  70. margin-right: 16rpx;
  71. }
  72. .menu-list .menu-icon image {
  73. width: 30rpx;
  74. height: 30rpx;
  75. vertical-align: text-bottom;
  76. }
  77. .menu-list .menu-icon text {
  78. vertical-align: middle;
  79. font-size: 28rpx;
  80. }
  81. .img {
  82. position: relative;
  83. display: inline-block;
  84. margin-right: 30rpx;
  85. }
  86. .img image {
  87. width: 200rpx;
  88. height: 200rpx;
  89. }
  90. .delete-btn {
  91. position: absolute;
  92. top: -15rpx;
  93. right: -15rpx;
  94. width: 40rpx;
  95. height: 40rpx;
  96. background: red;
  97. border-radius: 50%;
  98. text-align: center;
  99. line-height: 40rpx;
  100. color: #fff;
  101. font-size: 34rpx;
  102. }
  103. .goods_wrapper {
  104. position: absolute;
  105. top: 0;
  106. left: 0;
  107. bottom: 0;
  108. right: 0;
  109. height: 100vh;
  110. transform: translate(-100%, -100%);
  111. background-color: #fff;
  112. overflow: hidden;
  113. transition: all 600ms linear;
  114. z-index: 999;
  115. }
  116. .goods_wrapper.visible {
  117. transform: translate(0, 0);
  118. }
  119. .guess_goods {
  120. padding: 10rpx 30rpx 60rpx;
  121. }
  122. .iwf .title {
  123. /* height: auto; */
  124. display: -webkit-box;
  125. -webkit-box-orient: vertical;
  126. -webkit-line-clamp: 2;
  127. overflow: hidden;
  128. /* text-overflow: ellipsis;
  129. white-space: nowrap; */
  130. }
  131. .p_price {
  132. color: #ff5777;
  133. }
  134. .scroll-wrapper {
  135. height: 100%;
  136. }
  137. .item-wrap {
  138. width: 48.5%;
  139. margin-bottom: 15rpx;
  140. }
  141. .img-wrap image {
  142. height: 325rpx;
  143. }
  144. .goods-tip {
  145. padding: 10rpx 30rpx;
  146. }
  147. .goods-tip-name {
  148. flex: 1;
  149. }
  150. .goods-tip-close {
  151. color: #ff5777;
  152. }
  153. .tips {
  154. clear: both;
  155. }
  156. .switch-btn {
  157. margin: 10rpx 0 30rpx;
  158. line-height: 30rpx;
  159. color: #666;
  160. }
  161. .checkbox text {
  162. vertical-align: middle;
  163. }
  164. .switch-btn .wx-checkbox-input{
  165. width: 30rpx;
  166. height: 30rpx;
  167. }
  168. .switch-btn .wx-checkbox-input.wx-checkbox-input-checked::before{
  169. font-size: 30rpx;
  170. }