shared.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .container {
  2. top: 0;
  3. left: 0;
  4. width: 100%;
  5. height: 100%;
  6. background-position: center center;
  7. background-size: cover;
  8. position: absolute;
  9. padding: 90rpx 0 0;
  10. margin-top: 0;
  11. overflow-y: scroll;
  12. }
  13. .container::after {
  14. content: '';
  15. display: block;
  16. height:380rpx
  17. }
  18. .mask {
  19. position: fixed;
  20. top: 0;
  21. left: 0;
  22. background: #000;
  23. opacity: 0.6;
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .shared-content {
  28. position: relative;
  29. z-index: 1;
  30. width: 590rpx;
  31. height: 920rpx;
  32. margin: 0 auto;
  33. border-radius:4px;
  34. overflow: hidden;
  35. }
  36. .canvas-img, .canvas {
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .canvas {
  41. position: absolute;
  42. right: -9999px;
  43. top: -9999px;
  44. }
  45. .dingzhi {
  46. position: absolute;
  47. right: 40rpx;
  48. top: 588rpx;
  49. font-size: 22rpx;
  50. background: #ED5D18;
  51. border-radius: 4rpx;
  52. line-height: 54rpx;
  53. width: 144rpx;
  54. text-align: center;
  55. color: #fff;
  56. }
  57. .tools-w {
  58. position: fixed;
  59. z-index: 1000;
  60. background: #fff;
  61. bottom: 0;
  62. left: 0;
  63. width: 100%;
  64. height: 340rpx;
  65. text-align: center;
  66. }
  67. .tools-title {
  68. font-size: 30rpx;
  69. font-weight: bold;
  70. line-height: 42rpx;
  71. padding-top: 24rpx;
  72. }
  73. .share-tools {
  74. margin-top: 62rpx;
  75. display: flex;
  76. font-size: 26rpx;
  77. color: #131D34;
  78. }
  79. .share-tools .share-item {
  80. flex: 1;
  81. font-size: 26rpx;
  82. line-height: 36rpx;
  83. }
  84. .wechat {
  85. width: 94rpx;
  86. height: 94rpx;
  87. background: #4ED77B;
  88. border-radius: 50%;
  89. margin: 0 auto 16rpx;
  90. color: #fff;
  91. line-height: 94rpx;
  92. align-items: center;
  93. justify-content: center;
  94. display: flex;
  95. }
  96. .wechat image {
  97. width: 48rpx;
  98. height: 48rpx;
  99. }
  100. .edit-box .mask {
  101. z-index: 111110;
  102. }
  103. .edit-w {
  104. position: absolute;
  105. top: 50%;
  106. left: 50%;
  107. transform: translate(-50%, -50%);
  108. z-index: 111111;
  109. background: #fff;
  110. width: 530rpx;
  111. }
  112. .edit-header {
  113. height: 110rpx;
  114. line-height: 108rpx;
  115. padding-left: 40rpx;
  116. font-size: 30rpx;
  117. color: #131D34;
  118. font-weight: bold;
  119. border-bottom: 2rpx solid #E5E5E5;
  120. }
  121. .edit-content {
  122. padding: 40rpx;
  123. position: relative;
  124. font-size: 30rpx;
  125. }
  126. .edit-content textarea {
  127. background: #F2F2F2;
  128. border-radius: 8rpx;
  129. padding: 16rpx 22rpx;
  130. height: 156rpx;
  131. width: 100%;
  132. box-sizing: border-box;
  133. }
  134. .text-tip {
  135. position: absolute;
  136. right: 60rpx;
  137. bottom: 50rpx;
  138. color: #909090;
  139. }
  140. .edit-footer {
  141. line-height: 90rpx;
  142. display: flex;
  143. border-top: 2rpx solid #e5e5e5;
  144. }
  145. .edit-footer view {
  146. flex: 1;
  147. text-align: center;
  148. font-size: 30rpx;
  149. color: #131D34;
  150. font-weight: bold;
  151. }
  152. .edit-footer .submit {
  153. color: #ED5D18;
  154. border-left: 2rpx solid #e5e5e5;
  155. }
  156. .link {
  157. background: #909090;
  158. }
  159. .photo {
  160. background: #FFCD3C;
  161. }
  162. button {
  163. border: none;
  164. background: transparent;
  165. padding: 0;
  166. }
  167. button::after {
  168. border: none;
  169. }