invite.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. @import "../../../sass/base/mixins";
  2. .page-act-invite{
  3. position: relative;
  4. min-height: 100%;
  5. background: #ffffff;
  6. padding: px2rem(120) 0 px2rem(60) 0;
  7. color: #333333;
  8. text-align: center;
  9. background: url(./../../img/bg-act-invite.png) no-repeat #ffffff;
  10. background-size: px2rem(250) auto;
  11. padding-top: px2rem(60);
  12. &.is-app{
  13. padding-top: px2rem(280);
  14. .invite-info{
  15. width: px2rem(454);
  16. height: px2rem(296);
  17. padding-top: px2rem(110);
  18. .u-head{
  19. top: px2rem(-78);
  20. img{
  21. width: px2rem(140);
  22. height: px2rem(140);
  23. }
  24. }
  25. .u-code{
  26. border-bottom: 1px solid #cacaca;
  27. }
  28. }
  29. }
  30. h1{
  31. color: #292929;
  32. font-size: px2rem(40);
  33. line-height: px2rem(60);
  34. margin-bottom: px2rem(100);
  35. }
  36. .invite-info{
  37. position: relative;
  38. background: #FFF;
  39. border-radius: px2rem(30);
  40. width: px2rem(414);
  41. height: px2rem(228);
  42. margin: 0 auto;
  43. box-shadow: 0 0 px2rem(40) px2rem(10) #dedede;
  44. text-align: center;
  45. padding-top: px2rem(80);
  46. .u-head{
  47. position: absolute;
  48. top: px2rem(-58);
  49. left: 50%;
  50. transform: translateX(-50%);
  51. background: #FFF;
  52. padding: px2rem(8);
  53. img{
  54. display: block;
  55. width: px2rem(100);
  56. height: px2rem(100);
  57. overflow: hidden;
  58. border-radius: 50%;
  59. }
  60. }
  61. .u-title{
  62. font-size: px2rem(28);
  63. }
  64. .u-code{
  65. font-size: px2rem(44);
  66. line-height: px2rem(70);
  67. width: px2rem(288);
  68. margin: px2rem(30) auto px2rem(30) auto;
  69. letter-spacing: px2rem(12);
  70. }
  71. .u-tips{
  72. color: #999999;
  73. font-size: px2rem(24);
  74. em{
  75. color: #ff6b1a;
  76. }
  77. }
  78. }
  79. .invite-btn{
  80. .btn-copy{
  81. color: #fff;
  82. font-size: px2rem(32);
  83. line-height: px2rem(88);
  84. width: px2rem(610);
  85. margin: px2rem(66) auto px2rem(38) auto;
  86. border-radius: .96rem;
  87. background-image: -webkit-radial-gradient(ellipse at right bottom,#ff6b1a,#ff8e2a);
  88. background: radial-gradient(ellipse at right bottom,#ff6b1a,#ff8e2a);
  89. box-shadow: 1px 2px 8px 1px #fbb06d;
  90. &:active{
  91. opacity: .8;
  92. }
  93. }
  94. p{
  95. color: #999999;
  96. font-size: px2rem(24);
  97. }
  98. }
  99. .invite-share{
  100. h2{
  101. position: relative;
  102. font-size: px2rem(32);
  103. line-height: px2rem(70);
  104. margin: px2rem(30) 0 px2rem(30) 0;
  105. &:before,&:after{
  106. content: '';
  107. position: absolute;
  108. top: 50%;
  109. transform: translateY(50%);
  110. width: px2rem(190);
  111. height: 1px;
  112. background: #d8d8d8;
  113. }
  114. &:before{
  115. left: px2rem(90);
  116. }
  117. &:after{
  118. right: px2rem(90);
  119. }
  120. }
  121. ul{
  122. display: flex;
  123. justify-content: center;
  124. }
  125. li{
  126. width: px2rem(120);
  127. color: #181818;
  128. font-size: px2rem(24);
  129. }
  130. i{
  131. display: inline-block;
  132. width: px2rem(44);
  133. height: px2rem(44);
  134. margin-bottom: px2rem(20);
  135. }
  136. @for $i from 0 through 4{
  137. .icon-share#{$i}{
  138. background: url(./../../img/icon-share#{$i}.png) center center no-repeat;
  139. background-size: auto 100%;
  140. }
  141. }
  142. .icon-share0,.icon-share2{
  143. background-size: 100% auto;
  144. }
  145. }
  146. .invite-list{
  147. margin-top: px2rem(60);
  148. h2{
  149. color: #181818;
  150. font-size: px2rem(28);
  151. margin-bottom: px2rem(30);
  152. em{
  153. color: #ff6b1a;
  154. }
  155. }
  156. ul{
  157. }
  158. li{
  159. display: inline-block;
  160. width: px2rem(120);
  161. color: #666666;
  162. font-size: px2rem(24);
  163. margin: 0 px2rem(10) px2rem(15);
  164. overflow: hidden;
  165. }
  166. img{
  167. display: inline-block;
  168. width: px2rem(90);
  169. height: px2rem(90);
  170. overflow: hidden;
  171. border-radius: 50%;
  172. margin-bottom: px2rem(14);
  173. }
  174. p{
  175. white-space: nowrap;
  176. font-size: px2rem(20);
  177. }
  178. .is-empty{
  179. color: #999999;
  180. font-size: px2rem(28);
  181. padding-top: px2rem(108);
  182. background: url(./../../img/icon-share-gif.png) center 0 no-repeat;
  183. background-size: auto px2rem(80);
  184. }
  185. }
  186. .invite-add{
  187. img{
  188. width: 100%;
  189. overflow: hidden;
  190. display: block;
  191. }
  192. .box-add2{
  193. margin-top: px2rem(20);
  194. background: url(./../../img/act/bg-invite3.jpg) no-repeat;
  195. background-size: 100% auto;
  196. color: #ffffff;
  197. padding: px2rem(140) 0 px2rem(100) 0;
  198. height: px2rem(767);
  199. h2{
  200. font-size: px2rem(40);
  201. line-height: px2rem(70);
  202. }
  203. p{
  204. font-size: px2rem(24);
  205. line-height: px2rem(50);
  206. }
  207. ul{
  208. @include clearfix();
  209. padding: px2rem(40) 0 0 px2rem(20);
  210. }
  211. li{
  212. float: left;
  213. width: px2rem(196);
  214. margin-right: px2rem(20);
  215. span{
  216. display: block;
  217. }
  218. a{
  219. color: #FFFFFF;
  220. }
  221. }
  222. .item-cover{
  223. height: px2rem(276);
  224. position: relative;
  225. em{
  226. position: absolute;
  227. right: 0;
  228. bottom: 0;
  229. width: 100%;
  230. color: #ff6b1a;
  231. font-size: px2rem(28);
  232. line-height: px2rem(40);
  233. padding: 0 px2rem(5);
  234. text-align: right;
  235. @include gradient(rgba(0,0,0,0),rgba(0,0,0,1));
  236. }
  237. img{
  238. height: 100%;
  239. }
  240. }
  241. .item-title{
  242. font-size: px2rem(30);
  243. line-height: px2rem(70);
  244. @include ellipsis();
  245. }
  246. .item-num{
  247. font-size: px2rem(24);
  248. }
  249. }
  250. .box-add3{
  251. h2{
  252. color: #ff5e00;
  253. font-size: px2rem(40);
  254. margin-top: px2rem(50);
  255. }
  256. }
  257. }
  258. .invite-sugg{
  259. width: 100%;
  260. position: fixed;
  261. bottom: 0;
  262. line-height: px2rem(60);
  263. font-size: px2rem(24);
  264. background: #FFF;
  265. span{
  266. color: #ff6b1a;
  267. text-decoration: underline;
  268. }
  269. }
  270. .v-mod-footer{
  271. text-align: left;
  272. }
  273. }