baoxiuList.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. .bxcontainer {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. background-color: #f5f5f5;
  6. }
  7. .custom-nav {
  8. display: flex;
  9. align-items: center;
  10. height: 90rpx;
  11. margin-bottom: 20rpx;
  12. background-color: #2E82FF;
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. right: 0;
  17. z-index: 1000;
  18. padding: 0 20rpx;
  19. padding-top: 88rpx;
  20. }
  21. .fixed-back {
  22. font-size: 40rpx;
  23. text-align: center;
  24. color: #fff;
  25. }
  26. .nav-title {
  27. flex: 1;
  28. text-align: center;
  29. font-size: 34rpx;
  30. color: #fff;
  31. }
  32. .notice-list {
  33. width: 100%;
  34. /* height: calc(100vh - 120rpx); */
  35. padding: 20rpx;
  36. padding-top: 190rpx;
  37. box-sizing: border-box;
  38. }
  39. .notice-item {
  40. position: relative;
  41. background: #fff;
  42. border-radius: 12rpx;
  43. padding: 30rpx;
  44. margin-bottom: 20rpx;
  45. display: flex;
  46. flex-direction: column;
  47. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  48. }
  49. .notice-content {
  50. margin-right: 20rpx;
  51. margin-bottom: 16rpx;
  52. width: 90%;
  53. }
  54. .notice-title {
  55. font-size: 34rpx;
  56. font-weight: 90%;
  57. color: #333;
  58. line-height: 48rpx;
  59. overflow: hidden;
  60. text-overflow: ellipsis;
  61. display: -webkit-box;
  62. -webkit-line-clamp: 2;
  63. -webkit-box-orient: vertical;
  64. }
  65. .notice-address {
  66. left: 32rpx;
  67. width: 400rpx;
  68. opacity: 1;
  69. /** 文本1 */
  70. font-size: 28rpx;
  71. font-weight: 400;
  72. letter-spacing: 0px;
  73. line-height: 48rpx;
  74. color: rgba(104, 108, 128, 1);
  75. text-align: left;
  76. vertical-align: top;
  77. }
  78. .notice-info {
  79. display: flex;
  80. justify-content: space-between;
  81. font-size: 30rpx;
  82. color: rgba(100, 108, 128, 1);
  83. background-color: rgba(250, 250, 250, 1);
  84. padding: 12rpx 16rpx;
  85. border-radius: 8rpx;
  86. margin-top: 10rpx;
  87. width: 100%;
  88. }
  89. .preview {
  90. display: flex;
  91. flex-direction: column;
  92. align-items: center;
  93. position: absolute;
  94. right: 20rpx;
  95. top: 30rpx;
  96. width: 12%;
  97. }
  98. .preview-icon {
  99. width: 50rpx;
  100. height: 50rpx;
  101. }
  102. .preview-text {
  103. font-size: 24rpx;
  104. color: #666;
  105. margin-top: 8rpx;
  106. }
  107. .replied-stamp {
  108. position: absolute;
  109. width: 220rpx;
  110. height: 220rpx;
  111. right: 70rpx;
  112. top: 50%;
  113. transform: translateY(-50%);
  114. opacity: 0.8;
  115. }
  116. .add-button {
  117. position: fixed;
  118. right: 40rpx;
  119. bottom: 40rpx;
  120. width: 200rpx;
  121. height: 200rpx;
  122. border-radius: 50%;
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. }
  127. .add-button image {
  128. width: 120rpx;
  129. height: 120rpx;
  130. }
  131. .image-container {
  132. display: flex;
  133. flex-wrap: wrap;
  134. padding: 10rpx;
  135. }
  136. .preview-image {
  137. width: 220rpx;
  138. height: 220rpx;
  139. margin: 10rpx;
  140. border-radius: 8rpx;
  141. }
  142. .custom-preview-container {
  143. position: fixed;
  144. top: 0;
  145. left: 0;
  146. width: 100%;
  147. height: 100%;
  148. background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  149. z-index: 999;
  150. display: flex;
  151. justify-content: center;
  152. align-items: center;
  153. }
  154. .custom-preview-content {
  155. width: 90%;
  156. height: 70%;
  157. position: relative;
  158. }
  159. .preview-image {
  160. width: 100%;
  161. height: 100%;
  162. background-color: transparent;
  163. }
  164. .preview-controls {
  165. position: absolute;
  166. top: 50%;
  167. width: 100%;
  168. display: flex;
  169. justify-content: space-between;
  170. transform: translateY(-50%);
  171. }
  172. .preview-arrow {
  173. width: 80rpx;
  174. height: 80rpx;
  175. background-color: rgba(0, 0, 0, 0.3);
  176. border-radius: 50%;
  177. display: flex;
  178. justify-content: center;
  179. align-items: center;
  180. }
  181. .arrow-text {
  182. color: white;
  183. font-size: 36rpx;
  184. }
  185. .preview-counter {
  186. position: absolute;
  187. bottom: -60rpx;
  188. left: 50%;
  189. transform: translateX(-50%);
  190. color: white;
  191. font-size: 28rpx;
  192. background-color: rgba(0, 0, 0, 0.5);
  193. padding: 10rpx 20rpx;
  194. border-radius: 30rpx;
  195. }
  196. .close-button {
  197. position: absolute;
  198. top: -80rpx;
  199. right: 0;
  200. width: 60rpx;
  201. height: 60rpx;
  202. background-color: rgba(0, 0, 0, 0.5);
  203. color: white;
  204. border-radius: 50%;
  205. display: flex;
  206. justify-content: center;
  207. align-items: center;
  208. font-size: 40rpx;
  209. }