index.module.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. .shareContainer {
  2. width: 375px;
  3. .swipe__indicators {
  4. color: #fff;
  5. }
  6. .indicators {
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. margin-top: 10px;
  11. }
  12. .swipe__indicator {
  13. width: 48px;
  14. height: 4px;
  15. background-color: #fff;
  16. opacity: 0.5;
  17. border-radius: 0;
  18. &:first-child {
  19. border-radius: 4px 0 0 4px;
  20. }
  21. &:last-child {
  22. border-radius: 0 4px 4px 0;
  23. }
  24. }
  25. .swipe__indicator--active {
  26. opacity: 1;
  27. }
  28. .total {
  29. text-align: center;
  30. padding-top: 8px;
  31. font-size: 14px;
  32. line-height: 20px;
  33. }
  34. :global {
  35. .van-swipe {
  36. transform: translateZ(0);
  37. }
  38. .van-swipe-item {
  39. // margin: 0 5px;
  40. }
  41. // .van-swipe__indicators {
  42. // border-radius: 2px;
  43. // overflow: hidden;
  44. // }
  45. // .van-swipe__indicator:not(:last-child) {
  46. // margin-right: 0;
  47. // }
  48. // .van-swipe__indicator {
  49. // width: 48px;
  50. // height: 4px;
  51. // background-color: #fff;
  52. // opacity: 0.5;
  53. // border-radius: 0;
  54. // }
  55. // .van-swipe__indicator--active {
  56. // opacity: 1;
  57. // }
  58. }
  59. }
  60. .shareTitle {
  61. .title {
  62. font-size: 24px;
  63. font-weight: 600;
  64. color: #333333;
  65. line-height: 35px;
  66. }
  67. .titleTip {
  68. padding-top: 5px;
  69. font-size: 14px;
  70. color: #666666;
  71. line-height: 20px;
  72. }
  73. }
  74. .shareTeacher {
  75. margin-top: 15px;
  76. padding: 12px;
  77. background: linear-gradient(270deg, #baffe7 0%, #c0dcff 100%);
  78. border-radius: 9px;
  79. color: #333;
  80. .teacherImg {
  81. margin-right: 12px;
  82. position: relative;
  83. width: 40px;
  84. text-align: center;
  85. }
  86. .recommend {
  87. position: absolute;
  88. height: 14px;
  89. left: 0;
  90. bottom: 3px;
  91. }
  92. .img {
  93. width: 33px;
  94. height: 33px;
  95. border-radius: 50%;
  96. overflow: hidden;
  97. }
  98. .name {
  99. font-size: 15px;
  100. font-weight: 500;
  101. line-height: 24px;
  102. }
  103. .titleTips {
  104. font-size: 12px;
  105. line-height: 18px;
  106. }
  107. }
  108. .shareSection {
  109. border-radius: 12px;
  110. width: 334px;
  111. padding: 16px;
  112. margin: 0 auto;
  113. box-sizing: border-box;
  114. background: #fff;
  115. &.video {
  116. background: url('./images/video1.png') no-repeat top center #fff;
  117. background-size: cover;
  118. &.yellow {
  119. background: url('./images/video2.png') no-repeat top center #fff;
  120. background-size: cover;
  121. }
  122. &.pink {
  123. background: url('./images/video3.png') no-repeat top center #fff;
  124. background-size: cover;
  125. }
  126. }
  127. &.live {
  128. background: url('./images/live1.png') no-repeat top center #fff;
  129. background-size: cover;
  130. &.yellow {
  131. background: url('./images/live2.png') no-repeat top center #fff;
  132. background-size: cover;
  133. }
  134. &.pink {
  135. background: url('./images/live3.png') no-repeat top center #fff;
  136. background-size: cover;
  137. }
  138. }
  139. &.mall {
  140. background: url('./images/shop1.png') no-repeat top center #fff;
  141. background-size: cover;
  142. &.yellow {
  143. background: url('./images/shop2.png') no-repeat top center #fff;
  144. background-size: cover;
  145. }
  146. &.pink {
  147. background: url('./images/shop3.png') no-repeat top center #fff;
  148. background-size: cover;
  149. }
  150. }
  151. &.music {
  152. background: url('./images/music1.png') no-repeat top center #fff;
  153. background-size: cover;
  154. &.yellow {
  155. background: url('./images/music2.png') no-repeat top center #fff;
  156. background-size: cover;
  157. }
  158. &.pink {
  159. background: url('./images/music3.png') no-repeat top center #fff;
  160. background-size: cover;
  161. }
  162. }
  163. &.vip {
  164. background: url('./images/vip1.png') no-repeat top center #fff;
  165. background-size: cover;
  166. &.yellow {
  167. background: url('./images/vip2.png') no-repeat top center #fff;
  168. background-size: cover;
  169. }
  170. }
  171. &.album {
  172. background: url('./images/album1.png') no-repeat top center #fff;
  173. background-size: contain;
  174. }
  175. .shareContent {
  176. padding-top: 124px;
  177. }
  178. }
  179. .download {
  180. margin-top: 16px;
  181. display: flex;
  182. align-items: center;
  183. justify-content: space-between;
  184. .logo {
  185. margin-left: 12px;
  186. padding-left: 14px;
  187. font-size: 12px;
  188. color: #333;
  189. line-height: 18px;
  190. flex: 1;
  191. border-left: 1px solid #ccc;
  192. font-weight: 500;
  193. img {
  194. height: 20px;
  195. vertical-align: middle;
  196. margin-bottom: 4px;
  197. margin-top: 8px;
  198. }
  199. }
  200. .qrcode {
  201. position: relative;
  202. width: 92px;
  203. height: 92px;
  204. .qrcodeCanvas {
  205. width: 100% !important;
  206. height: 100% !important;
  207. }
  208. .qrcodeLogo {
  209. position: absolute;
  210. top: 50%;
  211. left: 50%;
  212. margin-left: -8px;
  213. margin-top: -8px;
  214. width: 16px;
  215. height: 16px;
  216. border-radius: 4px;
  217. }
  218. }
  219. .tips {
  220. color: #999;
  221. font-weight: 400;
  222. }
  223. }
  224. .shareGroupBtn {
  225. display: flex;
  226. align-items: center;
  227. justify-content: space-between;
  228. padding-top: 12px;
  229. :global(.van-button) {
  230. padding: 8px 46px;
  231. }
  232. &.shareGroupTenantBtn {
  233. :global {
  234. .van-button--primary {
  235. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  236. border: none;
  237. }
  238. .van-button--plain.van-button--primary {
  239. color: #FF204B;
  240. background: #fff !important;
  241. }
  242. }
  243. }
  244. }