postmessage.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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: 700rpx;
  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_title {
  57. width: 90%;
  58. margin: 20rpx auto;
  59. font-size: 32rpx;
  60. color: grey;
  61. }
  62. .post .post_contert .imgvideo_img {
  63. width: 250rpx;
  64. height: 250rpx;
  65. border: 2rpx solid #57C878;
  66. margin-left: 40rpx;
  67. position: relative;
  68. top: 0;
  69. left: 0;
  70. }
  71. .post .post_contert .imgvideo_img .imgbg {
  72. width: 100%;
  73. height: 100%;
  74. display: -webkit-box;
  75. display: -webkit-flex;
  76. display: flex;
  77. -webkit-box-pack: center;
  78. -webkit-justify-content: center;
  79. justify-content: center;
  80. -webkit-box-align: center;
  81. -webkit-align-items: center;
  82. align-items: center;
  83. }
  84. .post .post_contert .imgvideo_img .imgbg image {
  85. width: 50rpx;
  86. height: 50rpx;
  87. }
  88. .post .post_contert .imgvideo_img .toload {
  89. width: 100%;
  90. height: 100%;
  91. position: absolute;
  92. top: 0;
  93. }
  94. .post .post_contert .imgvideo_img .uploading {
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .post .post_contert .imgvideo_img .uploading .delete {
  99. width: 36rpx;
  100. height: 36rpx;
  101. background-color: #FF0000;
  102. border-radius: 50%;
  103. padding: 2px 2px;
  104. box-sizing: border-box;
  105. position: absolute;
  106. top: -18rpx;
  107. right: -18rpx;
  108. color: #FFFFFF;
  109. z-index: 10;
  110. }
  111. .post .post_contert .imgvideo_img .uploading .uploading {
  112. width: 100%;
  113. height: 100%;
  114. position: absolute;
  115. top: 0;
  116. }
  117. .post .post_btn {
  118. width: 90%;
  119. margin: 40rpx auto;
  120. background-color: #57C878;
  121. color: white;
  122. font-size: 32rpx;
  123. }