index.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. /* pages/feedback/index.wxss */
  2. .f-container {
  3. box-sizing: border-box;
  4. }
  5. .f-container {
  6. height: 100vh;
  7. overflow: hidden;
  8. overflow-y: scroll;
  9. background: #f7f7f7;
  10. }
  11. .header {
  12. padding: 40rpx 32rpx 30rpx;
  13. background: #fff;
  14. }
  15. .header .title {
  16. font-size: 36rpx;
  17. font-weight: bold;
  18. color: #333;
  19. }
  20. .header .desc {
  21. font-size: 28rpx;
  22. color: #666;
  23. margin-top: 16rpx;
  24. }
  25. .block {
  26. margin-top: 20rpx;
  27. background: #fff;
  28. padding: 32rpx;
  29. }
  30. .block-title {
  31. font-size: 30rpx;
  32. font-weight: bold;
  33. color: #333;
  34. margin-bottom: 24rpx;
  35. }
  36. .required {
  37. color: #f44;
  38. }
  39. .qs-list {
  40. display: flex;
  41. flex-wrap: wrap;
  42. }
  43. .qs-item {
  44. padding: 12rpx 28rpx;
  45. margin: 0 24rpx 24rpx 0;
  46. border: 2rpx solid #999;
  47. border-radius: 8rpx;
  48. font-size: 28rpx;
  49. color: #333;
  50. }
  51. .qs-item.active {
  52. border-color: #276fff;
  53. color: #276fff;
  54. background: rgba(39, 111, 255, 0.08);
  55. }
  56. .textarea {
  57. width: 100%;
  58. min-height: 240rpx;
  59. padding: 20rpx;
  60. background: #f9f9f9;
  61. border-radius: 8rpx;
  62. font-size: 30rpx;
  63. line-height: 48rpx;
  64. }
  65. .word-limit {
  66. text-align: right;
  67. font-size: 24rpx;
  68. color: #999;
  69. margin-top: 12rpx;
  70. }
  71. .uploader {
  72. margin-top: 20rpx;
  73. }
  74. .upload-grid {
  75. display: flex;
  76. flex-wrap: wrap;
  77. }
  78. .image-item,
  79. .add-btn {
  80. position: relative;
  81. width: 180rpx;
  82. height: 180rpx;
  83. margin-right: 20rpx;
  84. margin-bottom: 20rpx;
  85. border-radius: 12rpx;
  86. overflow: hidden;
  87. background: #f5f5f5;
  88. }
  89. .image-item .img {
  90. width: 100%;
  91. height: 100%;
  92. }
  93. .uploading {
  94. width: 100%;
  95. height: 100%;
  96. background: rgba(0, 0, 0, 0.6);
  97. color: #fff;
  98. font-size: 24rpx;
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. text-align: center;
  103. padding: 20rpx;
  104. }
  105. .delete {
  106. position: absolute;
  107. right: 0rpx;
  108. top: 0rpx;
  109. width: 30rpx;
  110. height: 30rpx;
  111. }
  112. .add-btn {
  113. border: 2rpx dashed #ccc;
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. }
  118. .icon-add {
  119. width: 40rpx;
  120. height: 40rpx;
  121. font-size: 80rpx;
  122. }
  123. .upload-tip {
  124. font-size: 24rpx;
  125. color: #999;
  126. margin-top: 16rpx;
  127. }
  128. .contact-input {
  129. height: 88rpx;
  130. padding: 0 20rpx;
  131. background: #f9f9f9;
  132. border-radius: 8rpx;
  133. font-size: 30rpx;
  134. }
  135. .footer {
  136. padding: 30rpx 30rpx 60rpx 30rpx;
  137. background: #fff;
  138. justify-content: space-between;
  139. display: flex;
  140. }
  141. .btn-primary {
  142. width: 330rpx !important;
  143. height: 96rpx;
  144. line-height: 2;
  145. background: #276fff;
  146. color: #fff;
  147. border-radius: 12rpx;
  148. font-size: 32rpx;
  149. }
  150. .btn-service {
  151. width: 330rpx !important;
  152. height: 96rpx;
  153. line-height: 2;
  154. color: #333;
  155. border-radius: 12rpx;
  156. font-size: 32rpx;
  157. background: #efefef;
  158. margin-left: 30rpx;
  159. }
  160. /* 昵称弹窗 */
  161. .popup-mask {
  162. position: fixed;
  163. top: 0;
  164. left: 0;
  165. right: 0;
  166. bottom: 0;
  167. background: rgba(0, 0, 0, 0.5);
  168. display: flex;
  169. align-items: flex-end;
  170. justify-content: center;
  171. z-index: 999;
  172. }
  173. .popup-panel {
  174. width: 640rpx;
  175. background: #fff;
  176. border-radius: 20rpx;
  177. overflow: hidden;
  178. box-shadow: 0 16rpx 40rpx rgba(0, 0, 0, 0.08);
  179. margin-bottom: 100rpx;
  180. }
  181. .popup-title {
  182. padding: 32rpx;
  183. font-size: 32rpx;
  184. font-weight: 600;
  185. color: #333;
  186. text-align: center;
  187. }
  188. .popup-body {
  189. padding: 0 32rpx 32rpx;
  190. }
  191. .popup-input {
  192. width: 100%;
  193. height: 88rpx;
  194. padding: 0 24rpx;
  195. box-sizing: border-box;
  196. background: #f7f7f7;
  197. border-radius: 12rpx;
  198. font-size: 30rpx;
  199. }
  200. .popup-footer {
  201. display: block;
  202. border-top: 1rpx solid #f1f1f1;
  203. padding: 20rpx 0;
  204. }
  205. .popup-btn {
  206. width: 100%;
  207. border: none;
  208. border-radius: 0;
  209. height: 80rpx;
  210. line-height: 1.8;
  211. font-size: 30rpx;
  212. }
  213. .popup-btn.confirm {
  214. background: #276fff;
  215. color: #fff;
  216. border-radius: 12rpx;
  217. }