share.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. /* pages/share/share.wxss */
  2. .share-view {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. right: 0;
  7. bottom: 0;
  8. display: flex;
  9. flex-direction: column;
  10. }
  11. .share-layer {
  12. flex: 1;
  13. background-color: rgba(0,0,0,0.5);
  14. position: relative;
  15. }
  16. .share-content {
  17. position: absolute;
  18. border-radius: 4px;
  19. left: 80rpx;
  20. right: 80rpx;
  21. top: 80rpx;
  22. bottom: 80rpx;
  23. background-color: #fff;
  24. padding: 40rpx;
  25. display: flex;
  26. flex-direction: column;
  27. justify-content: space-between;
  28. }
  29. .share-layer .cover {
  30. width: 100%;
  31. height: 510rpx;
  32. }
  33. .share-info {
  34. flex: 0 0 auto;
  35. display: flex;
  36. align-items: center;
  37. }
  38. .share-info view {
  39. flex: 1;
  40. }
  41. .share-info .text {
  42. line-height: 42rpx;
  43. font-size: 26rpx;
  44. color: #909090;
  45. }
  46. .share-info .text.b {
  47. font-size: 30rpx;
  48. color: #131D34;
  49. font-weight: bold;
  50. }
  51. .share-info .oper-btn {
  52. flex: 0 0 auto;
  53. background-color: #0075DC;
  54. color: #fff;
  55. padding: 0 16rpx;
  56. }
  57. .share-sty {
  58. flex: 0 0 auto;
  59. display: flex;
  60. align-items: center;
  61. }
  62. .share-sty image {
  63. flex: 0 0 auto;
  64. width: 120rpx;
  65. height: 120rpx;
  66. margin-right: 30rpx;
  67. }
  68. .share-sty .sty-info {
  69. flex: 1;
  70. }
  71. .share-sty .text {
  72. font-size: 24rpx;
  73. line-height: 40rpx;
  74. }
  75. .share-sty .text.b {
  76. color: #131D34;
  77. font-weight: bold;
  78. }
  79. .share-sty .text:not(.b) {
  80. margin-top: 10rpx;
  81. }
  82. .share-ctrl {
  83. flex: 0 0 auto;
  84. height: 340rpx;
  85. padding: 24rpx;
  86. box-sizing: border-box;
  87. display: flex;
  88. flex-direction: column;
  89. background-color: #fff;
  90. }
  91. .share-ctrl .title{
  92. flex: 0 0 auto;
  93. text-align: center;
  94. font-size: 30rpx;
  95. color: #000000;
  96. font-weight: bold;
  97. }
  98. .ctrl-layer {
  99. flex: 1;
  100. display: flex;
  101. align-items: center;
  102. justify-content: space-around;
  103. }
  104. .ctrl-item {
  105. color: #131D34;
  106. font-size: 26rpx;
  107. line-height: 36rpx;
  108. text-align: center;
  109. }
  110. .ctrl-item .image {
  111. display: block;
  112. margin: 0 auto;
  113. width: 94rpx;
  114. height: 94rpx;
  115. border-radius: 50%;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. margin-bottom: 16rpx;
  120. }
  121. .ctrl-item:nth-child(1) .image {
  122. background-color: #4ED77B;
  123. }
  124. .ctrl-item:nth-child(2) .image {
  125. background-color: #909090;
  126. }
  127. .ctrl-item:nth-child(3) .image {
  128. background-color: #FFCD3C;
  129. }
  130. .ctrl-item .image image {
  131. width: 48rpx;
  132. height: 48rpx;
  133. }
  134. .input-recommend {
  135. position: absolute;
  136. left: 0;
  137. right: 0;
  138. top: 0;
  139. bottom: 0;
  140. background-color: rgba(0,0,0,0.5);
  141. }
  142. .recoment-layer {
  143. position: absolute;
  144. left: 110rpx;
  145. right: 110rpx;
  146. top: 50%;
  147. transform: translateY(-50%);
  148. background-color: #fff;
  149. border-radius:4px;
  150. }
  151. .recoment-layer .title {
  152. color: #131D34;
  153. font-size: 30rpx;
  154. font-weight:bold;
  155. padding: 34rpx 40rpx;
  156. border-bottom: 1px solid rgba(0,0,0,0.1);
  157. }
  158. .recoment-layer .textarea {
  159. margin: 40rpx;
  160. height: 156rpx;
  161. position: relative;
  162. }
  163. .recoment-layer .textarea textarea {
  164. display: block;
  165. width: 100%;
  166. height: 100%;
  167. font-size: 30rpx;
  168. padding: 16rpx 22rpx;
  169. background-color: #F2F2F2;
  170. border-radius: 4px;
  171. box-sizing: border-box;
  172. }
  173. .recoment-layer .textarea view {
  174. position: absolute;
  175. right: 20rpx;
  176. bottom: 10rpx;
  177. color: #909090;
  178. font-size: 30rpx;
  179. padding: 0;
  180. z-index: 9999;
  181. }
  182. .btns {
  183. border-top: 1px solid rgba(0,0,0,0.1);
  184. display: flex;
  185. position: relative;
  186. }
  187. .btns view:not(.split) {
  188. flex: 1;
  189. display: block;
  190. height: 90rpx;
  191. text-align: center;
  192. line-height: 90rpx;
  193. font-size: 30rpx;
  194. font-weight: bold;
  195. border-radius: 0;
  196. box-sizing: border-box;
  197. background-color: #fff;
  198. margin: 0;
  199. }
  200. .btns .split {
  201. width: 1px;
  202. position: absolute;
  203. left: 50%;
  204. top: 0;
  205. bottom: 0;
  206. background: rgba(0,0,0,0.1);
  207. z-index: 999999;
  208. }
  209. .btns view.cancel {
  210. color: #131D34;
  211. }
  212. .btns view.enter {
  213. color: #0075DC;
  214. }