index.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. html,body {
  2. padding: 0;
  3. margin: 0;
  4. line-height: 0;
  5. }
  6. /* 布局样式 */
  7. .content {
  8. display: none;
  9. position: relative;
  10. margin: 0 auto;
  11. max-width: 1000px;
  12. line-height: 0;
  13. font-size: 0;
  14. }
  15. .content-item, .content-item > img{
  16. width: 100%;
  17. position: relative;
  18. text-align: center;
  19. }
  20. .tips {
  21. display: inline-block;
  22. position: absolute;
  23. left: .91rem;
  24. top: 1.03rem;
  25. height:.29rem;
  26. font-size:.3rem;
  27. font-family:PingFang SC;
  28. font-weight:400;
  29. color:rgba(255,255,255,1);
  30. line-height:.44rem;
  31. letter-spacing: .03rem;
  32. }
  33. .shared-tips {
  34. top: .9rem;
  35. }
  36. /* 循环展示信息 */
  37. .loop-message {
  38. position: absolute;
  39. left: .85rem;
  40. top: .1rem;
  41. color: #FFD46D;
  42. line-height: .32rem;
  43. font-size: .26rem;
  44. height: .32rem;
  45. overflow: hidden;
  46. z-index: 1;
  47. }
  48. .loop-message ul {
  49. margin: 0;
  50. padding: 0;
  51. list-style: none;
  52. animation: 5s wordsLoop linear infinite;
  53. -webkit-animation: 5s wordsLoop linear infinite;
  54. }
  55. @keyframes wordsLoop {
  56. 0% {
  57. transform: translateY(0);
  58. -webkit-transform: translateY(0);
  59. }
  60. 100% {
  61. transform: translateY(-50%);
  62. -webkit-transform: translateY(-50%);
  63. }
  64. }
  65. @-webkit-keyframes wordsLoop {
  66. 0% {
  67. transform: translateY(0);
  68. -webkit-transform: translateY(0);
  69. }
  70. 100% {
  71. transform: translateY(-50%);
  72. -webkit-transform: translateY(-50%);
  73. }
  74. }
  75. /* 分享弹窗 */
  76. .share-dialog {
  77. display: none;
  78. position: fixed;
  79. left: 0;
  80. right: 0;
  81. top: 0;
  82. width: 100%;
  83. height: 100%;
  84. text-align: center;
  85. background-color: rgba(0,0,0,.8);
  86. transition: display 3s;
  87. z-index: 10;
  88. }
  89. .share-dialog img {
  90. width: 5.85rem;
  91. max-width: 780px;
  92. margin-top: 1.5rem;
  93. }
  94. .show {
  95. display: block;
  96. transition: display 3s;
  97. }
  98. /* 按钮样式 */
  99. .hidden-button {
  100. display: inline-block;
  101. position: absolute;
  102. outline: none;
  103. }
  104. .dialog-button {
  105. width: 5.4rem;
  106. height: .9rem;
  107. top: 9rem;
  108. left: 1.05rem;
  109. }
  110. .main-button {
  111. width: 4.81rem;
  112. height: .92rem;
  113. left: 1.37rem;
  114. top: .22rem;
  115. }
  116. .bottom-button {
  117. width: 6.63rem;
  118. height: .9rem;
  119. left: .44rem;
  120. top: .22rem;
  121. }
  122. .shared-main-button {
  123. width: 4.81rem;
  124. height: .92rem;
  125. left: 1.37rem;
  126. bottom: .31rem;
  127. }
  128. /* 已收获奖励样式 */
  129. .shared-data {
  130. text-align: left;
  131. z-index: 1;
  132. position: absolute;
  133. left: 0;
  134. top:.28rem;
  135. }
  136. .shared-data-item {
  137. display: inline-block;
  138. width:2.06rem;
  139. height: 1.83rem;
  140. margin-left: .35rem;
  141. }
  142. .shared-data-item-title {
  143. height:.55rem;
  144. font-size:.26rem;
  145. font-family:PingFang SC;
  146. font-weight:400;
  147. text-align: center;
  148. letter-spacing: .03rem;
  149. color:rgba(96,66,66,1);
  150. line-height:.44rem;
  151. }
  152. .shared-data-item-content {
  153. height: 1.27rem;
  154. text-align: center;
  155. font-size: .24rem;
  156. font-family: PingFang SC;
  157. font-weight: 400;
  158. color:rgba(96,66,66,1);
  159. line-height: 1.27rem;
  160. }
  161. .shared-data-item-number {
  162. font-size: .38rem;
  163. color:rgba(254,0,0,1);
  164. }
  165. /* 已邀请好友列表 */
  166. .invited-friends {
  167. width:6.73rem;
  168. max-height: 3.5rem;
  169. overflow-y: auto;
  170. overflow-x: hidden;
  171. position: absolute;
  172. left: .38rem;
  173. top: 1rem;
  174. }
  175. .no-friends {
  176. width:6.73rem;
  177. height: 3.5rem;
  178. position: absolute;
  179. left: .38rem;
  180. top: 1rem;
  181. }
  182. .no-friends img {
  183. width: .75rem;
  184. margin-top: .75rem;
  185. }
  186. .no-friends p {
  187. font-size:.24rem;
  188. font-family:Source Han Sans CN;
  189. font-weight:400;
  190. color:rgba(96,66,66,1);
  191. line-height:.42rem;
  192. opacity:0.6;
  193. }
  194. .invited-friend {
  195. height: .69rem;
  196. line-height: .69rem;
  197. border-bottom: .01rem dotted rgba(5,5,5,.2);
  198. }
  199. .invited-friend-left {
  200. display: inline-block;
  201. width: 4.15rem;
  202. text-align: left;
  203. }
  204. .invited-friend-right {
  205. display: inline-block;
  206. width: 2.42rem;
  207. text-align: right;
  208. }
  209. .invited-friend span {
  210. display: inline-block;
  211. vertical-align: middle;
  212. }
  213. .invited-friend-avator{
  214. width: .44rem;
  215. height: .44rem;
  216. margin: 0 .35rem;
  217. border-radius: 100%;
  218. overflow: hidden;
  219. background-color: #dadada;
  220. }
  221. .invited-friend-avator img{
  222. height: 0.44rem;
  223. width: 0.44rem;
  224. }
  225. .invited-friend-nickname {
  226. width: 3rem;
  227. color: #604242;
  228. font-size: .24rem;
  229. font-weight: 400;
  230. overflow: hidden;
  231. text-overflow: ellipsis;
  232. white-space: nowrap;
  233. }
  234. .invited-friend-no-coins {
  235. width:2.32rem;
  236. height:.46rem;
  237. margin-right: .3rem;
  238. line-height:.46rem;
  239. border:1px solid rgba(96,66,66,1);
  240. opacity:0.6;
  241. font-size: .24rem;
  242. text-align: center;
  243. border-radius:.23rem;
  244. }
  245. .invited-friend-earned-coins {
  246. margin-right: .3rem;
  247. font-size:.24rem;
  248. font-family:Source Han Sans CN;
  249. font-weight:400;
  250. color:rgba(254,0,0,1);
  251. }
  252. /* 活动规则样式 */
  253. .activity-rules {
  254. width: 5.6rem;
  255. padding: 0 .95rem;
  256. font-size: .28rem;
  257. font-family: Source Han Sans CN;
  258. font-weight: 400;
  259. color: rgba(96,66,66,1);
  260. line-height: .48rem;
  261. text-align: left;
  262. }
  263. .rules-1 {
  264. background: url(../../../img/frontend/share/01-con-2.jpg) repeat-y;
  265. background-size: 100% auto;
  266. }
  267. .rules-2 {
  268. background: url(../../../img/frontend/share/02-con-2.jpg) repeat-y;
  269. background-size: 100% auto;
  270. }
  271. .activity-rules p {
  272. margin: 0;
  273. padding-top: .1rem;
  274. }
  275. .activity-rules-dot {
  276. display: inline-block;
  277. margin-right: .1rem;
  278. width: .34rem;
  279. height: .34rem;
  280. line-height: .34rem;
  281. border-radius: 100%;
  282. font-size: .24rem;
  283. color: #ffffff;
  284. text-align: center;
  285. background-color: #F03E7A;
  286. }