award-detail.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. @import '../../lib/wxParse/wxParse.wxss';
  2. button{
  3. outline: none;
  4. border: none;
  5. }
  6. button::after{
  7. border: none;
  8. }
  9. .award-detail {
  10. padding-bottom: 100rpx;
  11. }
  12. .banner-wrapper{
  13. width: calc(100% - 50rpx);
  14. margin: 0 auto;
  15. border-radius: 25rpx;
  16. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  17. overflow: hidden;
  18. margin-bottom: 30rpx;
  19. }
  20. .swiper{
  21. border-radius: 25rpx 25rpx 0 0;
  22. overflow: hidden;
  23. height: 394rpx;
  24. }
  25. .swiper-image{
  26. width: 100%;
  27. height: 100%;
  28. }
  29. .preview-list{
  30. width: calc(100% - 20rpx);
  31. margin: 0 auto;
  32. height: 80rpx;
  33. overflow-x: auto;
  34. overflow-y: hidden;
  35. white-space: nowrap;
  36. box-sizing: border-box;
  37. padding-top: 10rpx;
  38. }
  39. .preview-item{
  40. width: 120rpx;
  41. height: 60rpx;
  42. margin-right: 10rpx;
  43. border-radius: 15rpx;
  44. }
  45. .preview-item:last-child{
  46. margin-right: 0rpx;
  47. }
  48. .wrapper-mid{
  49. position: relative;
  50. box-sizing: border-box;
  51. margin: 10rpx 30rpx 20rpx 30rpx;
  52. border-bottom: 1rpx solid #ddd;
  53. padding-bottom: 20rpx;
  54. }
  55. .wrapper-mid button.download{
  56. position: absolute;
  57. width: 80rpx;
  58. height: 80rpx;
  59. background-color: #2d8cf0;
  60. right: 10rpx;
  61. top: 25rpx;
  62. color: #fff;
  63. padding: 0;
  64. font-size: 28rpx;
  65. border-radius: 50%;
  66. outline: none;
  67. border: 10rpx solid #c7e6fa;
  68. box-sizing: content-box;
  69. line-height: 80rpx;
  70. text-align: center;
  71. }
  72. .award-title, .award-quota, .award-time{
  73. display: block;
  74. margin-top: 6rpx;
  75. line-height: 2;
  76. }
  77. .award-quota, .award-time{
  78. font-size: 26rpx;
  79. color: #999;
  80. line-height: 1.7
  81. }
  82. .wrapper-bottom{
  83. box-sizing: border-box;
  84. margin: 0rpx 30rpx 20rpx 30rpx;
  85. display: flex;
  86. align-items: center;
  87. font-size: 26rpx;
  88. color: #999;
  89. }
  90. .award-sponsor{
  91. flex: 1;
  92. }
  93. .sponsor{
  94. display: flex;
  95. align-items: center;
  96. }
  97. .sponsor image{
  98. width: 50rpx;
  99. height: 50rpx;
  100. border-radius: 50%;
  101. margin-right: 15rpx;
  102. }
  103. .award-article{
  104. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  105. border-top: 1rpx solid #eee;
  106. box-sizing: border-box;
  107. padding: 10rpx 25rpx;
  108. margin-bottom: 30rpx;
  109. position: relative;
  110. padding-bottom: 80rpx;
  111. transition: all ease 1s;
  112. height: auto;
  113. }
  114. .award-article image{
  115. width: 100% !important;
  116. }
  117. .award-article.fold{
  118. height: 500rpx;
  119. overflow: hidden;
  120. }
  121. .award-article view{
  122. word-break:break-all; overflow:auto;
  123. }
  124. button.fold{
  125. border: none;
  126. outline: none;
  127. background: transparent;
  128. font-size: 31rpx;
  129. color: #64a8d1;
  130. position: absolute;
  131. bottom: 0;
  132. left: 50%;
  133. transform: translateX(-50%);
  134. background-color: #fff;
  135. width: 100%;
  136. }
  137. button.fold::after{
  138. border: none;
  139. }
  140. .hide{
  141. display: none;
  142. }
  143. .public-platform{
  144. margin-top: 30rpx;
  145. box-sizing: border-box;
  146. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  147. border-top: 1rpx solid #eee;
  148. display: flex;
  149. align-items: center;
  150. height: 130rpx;
  151. padding-left: 15rpx;
  152. }
  153. .public-platform image{
  154. width: 100rpx;
  155. height: 100rpx;
  156. border-radius: 50%;
  157. margin-right: 30rpx;
  158. }
  159. .public-platform .info{
  160. display: flex;
  161. flex-direction: column;
  162. font-size: 30rpx;
  163. flex: 1;
  164. }
  165. .public-platform .info view.name{
  166. font-weight: bolder;
  167. margin-bottom: 10rpx;
  168. }
  169. .public-platform .info view:last-child{
  170. font-size: 22rpx;
  171. color: #999;
  172. }
  173. .steps{
  174. margin-top: 80rpx;
  175. margin-bottom: 50rpx;
  176. }
  177. .btn-draw, .btn-invite{
  178. width: 200rpx;
  179. height: 200rpx;
  180. line-height: 200rpx;
  181. text-align: center;
  182. border-radius: 50%;
  183. text-align: center;
  184. color: #fff;
  185. font-size: 30rpx;
  186. position: relative;
  187. box-sizing: content-box;
  188. padding: 0;
  189. }
  190. .btn-draw{
  191. background-color: #2d8cf0;
  192. }
  193. .btn-invite{
  194. background-color: #19be6b;
  195. }
  196. .btn-wrapper{
  197. position: relative;
  198. }
  199. .aniamte-ring{
  200. position: absolute;
  201. width: 200rpx;
  202. height: 200rpx;
  203. border-radius: 50%;
  204. left: calc(50% - 100rpx);
  205. top: calc(50% - 100rpx);
  206. animation: scale 3s ease infinite;
  207. z-index: -1;
  208. }
  209. .aniamte-ring.draw{
  210. background-color: rgba(45, 140, 240, 0.3);
  211. }
  212. .aniamte-ring.invite{
  213. background-color: rgba(25, 190, 107, 0.3);
  214. }
  215. @keyframes scale{
  216. 0%{transform: scale(1)}
  217. 50% {transform: scale(1.2)}
  218. 100%{transform: scale(1)}
  219. }
  220. .my-code{
  221. margin-top: 50rpx;
  222. }
  223. .award-code, .winner-code{
  224. font-size: 40rpx;
  225. font-weight: bolder;
  226. display: flex;
  227. align-items: center;
  228. justify-content: space-between;
  229. font-family: "Courier New", Courier, monospace;
  230. }
  231. .invited-users{
  232. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  233. border-top: 1rpx solid #eee;
  234. box-sizing: border-box;
  235. padding: 10rpx 25rpx;
  236. }
  237. .invited-users view.title, .results view.title{
  238. font-size: 28rpx;
  239. font-weight: bolder;
  240. margin-bottom: 15rpx;
  241. }
  242. .invited-list{
  243. white-space: nowrap;
  244. width: 100%;
  245. overflow-x: auto;
  246. overflow-y: hidden;
  247. }
  248. .invited-users .avatar{
  249. margin-right: 10rpx;
  250. margin-bottom: 10rpx;
  251. }
  252. .results{
  253. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  254. border-top: 1rpx solid #eee;
  255. margin-top: 30rpx;
  256. box-sizing: border-box;
  257. padding: 10rpx 25rpx;
  258. }
  259. .results .winner{
  260. display: flex;
  261. align-items: center;
  262. margin-bottom: 10rpx;
  263. border-bottom: 1rpx solid #eee;
  264. padding-bottom: 10rpx;
  265. }
  266. .results .winner:last-child{
  267. margin-bottom: 0;
  268. }
  269. .results .winner:nth-child(2){
  270. border-top: 1rpx solid #eee;
  271. padding-top: 10rpx;
  272. }
  273. .results .winner image{
  274. width: 100rpx;
  275. height: 100rpx;
  276. border-radius: 10rpx;
  277. }
  278. .all-users{
  279. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
  280. border-top: 1rpx solid #eee;
  281. box-sizing: border-box;
  282. padding: 15rpx 25rpx;
  283. margin-top: 30rpx;
  284. margin-bottom: 30rpx;
  285. }
  286. .all-users .count{
  287. font-size: 28rpx;
  288. text-align: center;
  289. color: #aaa;
  290. }
  291. .all-users .count .see-all{
  292. color: #64a8d1;
  293. }
  294. .all-users .users-list{
  295. margin: 25rpx auto 25rpx auto;
  296. width: 544rpx;
  297. }
  298. .all-users .users-list .avatar{
  299. margin-left: 5rpx;
  300. margin-bottom: 5rpx;
  301. }
  302. .all-users .view-count{
  303. display: flex;
  304. justify-content: space-between;
  305. width: 544rpx;
  306. margin: 0 auto;
  307. }
  308. .all-users .view-count view{
  309. font-size: 24rpx;
  310. color: #aaa;
  311. }
  312. .all-users .view-count view:last-child{
  313. text-decoration: underline;
  314. }
  315. .winner-code{
  316. font-size: 40rpx;
  317. font-weight: bolder;
  318. }