木邻有你前端代码仓库
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.

190 lines
4.2 KiB

  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. .click-animation.data-v-48dc3ccc:active {
  16. -webkit-transform: scale(0.98);
  17. transform: scale(0.98);
  18. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.12);
  19. }
  20. /* 行为相关颜色 */
  21. /* 文字基本颜色 */
  22. /* 背景颜色 */
  23. /* 边框颜色 */
  24. /* 尺寸变量 */
  25. /* 文字尺寸 */
  26. /* 图片尺寸 */
  27. /* Border Radius */
  28. /* 水平间距 */
  29. /* 垂直间距 */
  30. /* 透明度 */
  31. /* 文章场景相关 */
  32. .publish-page.data-v-48dc3ccc {
  33. min-height: 100vh;
  34. background-color: #F3F7F8;
  35. }
  36. .tip-container.data-v-48dc3ccc {
  37. background-color: #E3F2FD;
  38. padding: 24rpx 32rpx;
  39. margin: 20rpx;
  40. border-radius: 12rpx;
  41. display: flex;
  42. align-items: flex-start;
  43. gap: 16rpx;
  44. border-left: 6rpx solid #007AFF;
  45. }
  46. .tip-container.red.data-v-48dc3ccc {
  47. border-left-color: #FF4757;
  48. background-color: rgba(255, 71, 87, 0.1);
  49. }
  50. .tip-container.blue.data-v-48dc3ccc {
  51. border-left-color: #007AFF;
  52. }
  53. .tip-text.data-v-48dc3ccc {
  54. font-size: 26rpx;
  55. color: #1976D2;
  56. line-height: 1.5;
  57. flex: 1;
  58. }
  59. .tip-text.red.data-v-48dc3ccc {
  60. color: #FF4757;
  61. }
  62. .main-container.data-v-48dc3ccc {
  63. flex: 1;
  64. margin: 0 20rpx;
  65. background-color: white;
  66. border-radius: 16rpx;
  67. padding: 32rpx;
  68. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
  69. }
  70. .title-section.data-v-48dc3ccc {
  71. margin-bottom: 32rpx;
  72. display: flex;
  73. align-items: center;
  74. gap: 16rpx;
  75. }
  76. .vertical-line.data-v-48dc3ccc {
  77. width: 8rpx;
  78. height: 40rpx;
  79. border-radius: 4rpx;
  80. }
  81. .vertical-line.red.data-v-48dc3ccc {
  82. background-color: #FF4757;
  83. }
  84. .vertical-line.blue.data-v-48dc3ccc {
  85. background-color: #007AFF;
  86. }
  87. .title-text.data-v-48dc3ccc {
  88. font-size: 36rpx;
  89. font-weight: bold;
  90. color: #333;
  91. }
  92. .message-section.data-v-48dc3ccc {
  93. margin-bottom: 40rpx;
  94. }
  95. .section-label.data-v-48dc3ccc {
  96. font-size: 28rpx;
  97. color: #666;
  98. display: block;
  99. margin-bottom: 20rpx;
  100. }
  101. .textarea-container.data-v-48dc3ccc {
  102. position: relative;
  103. background-color: #f5f5f5;
  104. border-radius: 12rpx;
  105. padding: 24rpx;
  106. }
  107. .message-textarea.data-v-48dc3ccc {
  108. width: 100%;
  109. min-height: 300rpx;
  110. font-size: 30rpx;
  111. color: #333;
  112. background-color: transparent;
  113. border: none;
  114. outline: none;
  115. resize: none;
  116. line-height: 1.6;
  117. }
  118. .char-count.data-v-48dc3ccc {
  119. position: absolute;
  120. bottom: 16rpx;
  121. right: 16rpx;
  122. }
  123. .count-text.data-v-48dc3ccc {
  124. font-size: 24rpx;
  125. color: #999;
  126. }
  127. .image-section.data-v-48dc3ccc {
  128. margin-bottom: 40rpx;
  129. }
  130. .image-grid.data-v-48dc3ccc {
  131. display: flex;
  132. flex-wrap: wrap;
  133. gap: 16rpx;
  134. }
  135. .image-item.data-v-48dc3ccc {
  136. position: relative;
  137. width: 200rpx;
  138. height: 200rpx;
  139. border-radius: 12rpx;
  140. overflow: hidden;
  141. }
  142. .preview-image.data-v-48dc3ccc {
  143. width: 100%;
  144. height: 100%;
  145. }
  146. .delete-btn.data-v-48dc3ccc {
  147. position: absolute;
  148. top: 8rpx;
  149. right: 8rpx;
  150. width: 40rpx;
  151. height: 40rpx;
  152. background-color: rgba(0, 0, 0, 0.6);
  153. border-radius: 50%;
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. }
  158. .add-image-btn.data-v-48dc3ccc {
  159. width: 200rpx;
  160. height: 200rpx;
  161. border: 2rpx dashed #ddd;
  162. border-radius: 12rpx;
  163. display: flex;
  164. flex-direction: column;
  165. align-items: center;
  166. justify-content: center;
  167. gap: 12rpx;
  168. background-color: #fafafa;
  169. transition: all 0.3s ease;
  170. }
  171. .add-image-btn.data-v-48dc3ccc:active {
  172. background-color: #f0f0f0;
  173. border-color: #007AFF;
  174. }
  175. .add-text.data-v-48dc3ccc {
  176. font-size: 24rpx;
  177. color: #999;
  178. }
  179. .submit-container.data-v-48dc3ccc {
  180. padding: 32rpx 40rpx;
  181. margin-top: 60rpx;
  182. border-top: 1rpx solid #f0f0f0;
  183. }
  184. .submit-btn.data-v-48dc3ccc {
  185. width: 100%;
  186. height: 88rpx;
  187. border-radius: 44rpx;
  188. font-size: 32rpx;
  189. font-weight: bold;
  190. }