baoxiuList.wxss 3.7 KB

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