木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
4.1 KiB

1 month ago
1 month ago
1 month ago
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .publish-page.data-v-48dc3ccc {
  28. min-height: 100vh;
  29. background-color: #F3F7F8;
  30. }
  31. .tip-container.data-v-48dc3ccc {
  32. background-color: #E3F2FD;
  33. padding: 24rpx 32rpx;
  34. margin: 20rpx;
  35. border-radius: 12rpx;
  36. display: flex;
  37. align-items: flex-start;
  38. gap: 16rpx;
  39. border-left: 6rpx solid #007AFF;
  40. }
  41. .tip-container.red.data-v-48dc3ccc {
  42. border-left-color: #FF4757;
  43. background-color: rgba(255, 71, 87, 0.1);
  44. }
  45. .tip-container.blue.data-v-48dc3ccc {
  46. border-left-color: #007AFF;
  47. }
  48. .tip-text.data-v-48dc3ccc {
  49. font-size: 26rpx;
  50. color: #1976D2;
  51. line-height: 1.5;
  52. flex: 1;
  53. }
  54. .tip-text.red.data-v-48dc3ccc {
  55. color: #FF4757;
  56. }
  57. .main-container.data-v-48dc3ccc {
  58. flex: 1;
  59. margin: 0 20rpx;
  60. background-color: white;
  61. border-radius: 16rpx;
  62. padding: 32rpx;
  63. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
  64. }
  65. .title-section.data-v-48dc3ccc {
  66. margin-bottom: 32rpx;
  67. display: flex;
  68. align-items: center;
  69. gap: 16rpx;
  70. }
  71. .vertical-line.data-v-48dc3ccc {
  72. width: 8rpx;
  73. height: 40rpx;
  74. border-radius: 4rpx;
  75. }
  76. .vertical-line.red.data-v-48dc3ccc {
  77. background-color: #FF4757;
  78. }
  79. .vertical-line.blue.data-v-48dc3ccc {
  80. background-color: #007AFF;
  81. }
  82. .title-text.data-v-48dc3ccc {
  83. font-size: 36rpx;
  84. font-weight: bold;
  85. color: #333;
  86. }
  87. .message-section.data-v-48dc3ccc {
  88. margin-bottom: 40rpx;
  89. }
  90. .section-label.data-v-48dc3ccc {
  91. font-size: 28rpx;
  92. color: #666;
  93. display: block;
  94. margin-bottom: 20rpx;
  95. }
  96. .textarea-container.data-v-48dc3ccc {
  97. position: relative;
  98. background-color: #f5f5f5;
  99. border-radius: 12rpx;
  100. padding: 24rpx;
  101. }
  102. .message-textarea.data-v-48dc3ccc {
  103. width: 100%;
  104. min-height: 300rpx;
  105. font-size: 30rpx;
  106. color: #333;
  107. background-color: transparent;
  108. border: none;
  109. outline: none;
  110. resize: none;
  111. line-height: 1.6;
  112. }
  113. .char-count.data-v-48dc3ccc {
  114. position: absolute;
  115. bottom: 16rpx;
  116. right: 16rpx;
  117. }
  118. .count-text.data-v-48dc3ccc {
  119. font-size: 24rpx;
  120. color: #999;
  121. }
  122. .image-section.data-v-48dc3ccc {
  123. margin-bottom: 40rpx;
  124. }
  125. .image-grid.data-v-48dc3ccc {
  126. display: flex;
  127. flex-wrap: wrap;
  128. gap: 16rpx;
  129. }
  130. .image-item.data-v-48dc3ccc {
  131. position: relative;
  132. width: 200rpx;
  133. height: 200rpx;
  134. border-radius: 12rpx;
  135. overflow: hidden;
  136. }
  137. .preview-image.data-v-48dc3ccc {
  138. width: 100%;
  139. height: 100%;
  140. }
  141. .delete-btn.data-v-48dc3ccc {
  142. position: absolute;
  143. top: 8rpx;
  144. right: 8rpx;
  145. width: 40rpx;
  146. height: 40rpx;
  147. background-color: rgba(0, 0, 0, 0.6);
  148. border-radius: 50%;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. }
  153. .add-image-btn.data-v-48dc3ccc {
  154. width: 200rpx;
  155. height: 200rpx;
  156. border: 2rpx dashed #ddd;
  157. border-radius: 12rpx;
  158. display: flex;
  159. flex-direction: column;
  160. align-items: center;
  161. justify-content: center;
  162. gap: 12rpx;
  163. background-color: #fafafa;
  164. transition: all 0.3s ease;
  165. }
  166. .add-image-btn.data-v-48dc3ccc:active {
  167. background-color: #f0f0f0;
  168. border-color: #007AFF;
  169. }
  170. .add-text.data-v-48dc3ccc {
  171. font-size: 24rpx;
  172. color: #999;
  173. }
  174. .submit-container.data-v-48dc3ccc {
  175. padding: 32rpx 40rpx;
  176. margin-top: 60rpx;
  177. border-top: 1rpx solid #f0f0f0;
  178. }
  179. .submit-btn.data-v-48dc3ccc {
  180. width: 100%;
  181. height: 88rpx;
  182. border-radius: 44rpx;
  183. font-size: 32rpx;
  184. font-weight: bold;
  185. }