index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. .main .addPhoto image{
  2. display:block;
  3. width:80rpx;
  4. height:80rpx;
  5. border-radius:50%;
  6. margin:auto;
  7. z-index:100;
  8. position:absolute;
  9. right:80rpx;
  10. top:5rpx;
  11. box-shadow:0 0 6rpx 6rpx #fff;
  12. }
  13. .main .addPhoto image::after{
  14. content: '';
  15. background: #000;
  16. width: 90rpx;
  17. height: 90rpx;
  18. position: absolute;
  19. top:0;
  20. z-index: -1;
  21. opacity: .2;
  22. }
  23. .changePhoto_txt{
  24. color:#fff;
  25. position:absolute;
  26. right:69rpx;
  27. top:90rpx;
  28. font-family:'SimHei';
  29. font-size:17rpx;
  30. }
  31. .main{
  32. height: 100%;
  33. z-index: -2;
  34. }
  35. .post{
  36. }
  37. .post_image{
  38. width: 100%;
  39. }
  40. .photoView{
  41. display: flex;
  42. flex-direction: row;
  43. justify-content:space-around;
  44. align-items:center;
  45. width:100%;
  46. height:100%;
  47. position:absolute;
  48. top:0;
  49. z-index:100;
  50. background-color:#f8f8f8;
  51. }
  52. .takePhoto{
  53. position: relative;
  54. }
  55. .photoView .takePhoto image{
  56. width:80rpx;
  57. height:80rpx;
  58. }
  59. .circle1{
  60. width:100rpx;
  61. height:100rpx;
  62. background-color:#fff;
  63. position:absolute;
  64. top:50rpx;
  65. z-index:-1;
  66. border-radius:50%;
  67. left:-9rpx;
  68. box-shadow: 0 0 6rpx 6rpx #efefef;
  69. }
  70. .circle2{
  71. width:100rpx;
  72. height:100rpx;
  73. background-color:#fff;
  74. position:absolute;
  75. top:55rpx;
  76. z-index:-1;
  77. border-radius:50%;
  78. left:-15rpx;
  79. box-shadow: 0 0 6rpx 6rpx #efefef;
  80. }
  81. .photoView .albulm{
  82. position: relative;
  83. }
  84. .photoView_txt{
  85. font-family:'SimHei';
  86. font-size: 26rpx;
  87. color: #999;
  88. font-weight: 100;
  89. text-align: center;
  90. height:60rpx;
  91. }
  92. .photoView_txt2{
  93. height:69rpx;
  94. }
  95. .photoView .albulm image{
  96. width:68rpx;
  97. height:68rpx;
  98. }
  99. .content {
  100. font-size: 28rpx;
  101. padding:0 30rpx;
  102. z-index:-1000;
  103. }
  104. .content .title,.content .author{
  105. padding:20rpx 0rpx;
  106. border-bottom: 1rpx dashed #ededed;
  107. }
  108. .content .section{
  109. padding:20rpx 0rpx;
  110. border-bottom: 1rpx dashed #ededed;
  111. }
  112. .content .title{
  113. color:#333;
  114. }
  115. .content .author{
  116. color:#999;
  117. }
  118. .content view textarea{
  119. width: 100%;
  120. height: 150rpx;
  121. font-size:36rpx;
  122. }
  123. .saveContent{
  124. position: fixed;
  125. bottom: 200rpx;
  126. right:125rpx;
  127. }
  128. .save{
  129. width: 40rpx;
  130. height: 40rpx;
  131. position: absolute;
  132. top:65rpx;
  133. left:20rpx;
  134. }
  135. .save_txt{
  136. color:#bfbfbf;
  137. font-size:24rpx;
  138. position:absolute;
  139. top:106rpx;
  140. left:16rpx;
  141. width: 50rpx;
  142. }
  143. .save_btn{
  144. width:100rpx;
  145. height:100rpx;
  146. position:fixed;
  147. position: fixed;
  148. bottom:50rpx;
  149. right:33rpx;
  150. z-index:100;
  151. opacity:0;
  152. }
  153. canvas {
  154. overflow: scroll;
  155. height: 100%;
  156. width: 100%;
  157. position: absolute;
  158. top:0;
  159. background-color:#fff;
  160. z-index:100;
  161. }
  162. .canvas_btn{
  163. z-index:101;
  164. margin:0 auto;
  165. width: 100%;
  166. height:70px;
  167. border-top:1px solid #000;
  168. line-height:70px;
  169. padding-top:10px;
  170. background-color: #000;
  171. }
  172. .canvas_btn button{
  173. width:50px;
  174. height:50px;
  175. line-height:50px;
  176. border-radius:50%;
  177. background:#fff;
  178. color:#000;
  179. font-size:20px;
  180. box-shadow:0 0 6rpx 6rpx #eee
  181. }