tousujianyiList.wxss 4.0 KB

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