postmessage.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. page {
  28. background-color: #F5F5F5;
  29. }
  30. .post {
  31. width: 100%;
  32. padding-top: 16rpx;
  33. }
  34. .post .post_title {
  35. padding: 40rpx 20rpx;
  36. background-color: white;
  37. width: 100%;
  38. box-sizing: border-box;
  39. }
  40. .post .post_title input {
  41. width: 90%;
  42. margin: 0 auto;
  43. }
  44. .post .post_contert {
  45. margin-top: 16rpx;
  46. padding: 40rpx 20rpx;
  47. background-color: white;
  48. width: 100%;
  49. height: 660rpx;
  50. box-sizing: border-box;
  51. }
  52. .post .post_contert textarea {
  53. width: 90%;
  54. margin: 0 auto;
  55. }
  56. .post .post_contert .imgvideo_img {
  57. width: 250rpx;
  58. height: 250rpx;
  59. border: 2rpx solid #57C878;
  60. margin-left: 40rpx;
  61. position: relative;
  62. top: 0;
  63. left: 0;
  64. }
  65. .post .post_contert .imgvideo_img .imgbg {
  66. width: 100%;
  67. height: 100%;
  68. display: -webkit-box;
  69. display: -webkit-flex;
  70. display: flex;
  71. -webkit-box-pack: center;
  72. -webkit-justify-content: center;
  73. justify-content: center;
  74. -webkit-box-align: center;
  75. -webkit-align-items: center;
  76. align-items: center;
  77. }
  78. .post .post_contert .imgvideo_img .imgbg image {
  79. width: 50rpx;
  80. height: 50rpx;
  81. }
  82. .post .post_contert .imgvideo_img .uploading {
  83. width: 100%;
  84. height: 100%;
  85. }
  86. .post .post_contert .imgvideo_img .uploading .delete {
  87. width: 36rpx;
  88. height: 36rpx;
  89. background-color: #FF0000;
  90. border-radius: 50%;
  91. padding: 2px 2px;
  92. box-sizing: border-box;
  93. position: absolute;
  94. top: -18rpx;
  95. right: -18rpx;
  96. color: #FFFFFF;
  97. z-index: 10;
  98. }
  99. .post .post_contert .imgvideo_img .uploading .uploading {
  100. width: 100%;
  101. height: 100%;
  102. position: absolute;
  103. top: 0;
  104. }
  105. .post .post_btn {
  106. width: 90%;
  107. margin: 40rpx auto;
  108. background-color: #57C878;
  109. color: white;
  110. font-size: 32rpx;
  111. }