style.scss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. .packet-bg {
  2. display: inline-block;
  3. width: 281px;
  4. height: 387px;
  5. border-radius: 6px;
  6. background: url('./img/bg.png') no-repeat;
  7. box-sizing: border-box;
  8. background-size: 100%;
  9. vertical-align: middle;
  10. position: relative;
  11. overflow: hidden;
  12. padding-top: 40px;
  13. .el-icon-close {
  14. position: absolute;
  15. top: 6px;
  16. right: 6px;
  17. color: #ffffff;
  18. font-size: 20px;
  19. cursor: pointer;
  20. }
  21. }
  22. .nav-bar {
  23. display: none;
  24. }
  25. .user-info {
  26. text-align: center;
  27. }
  28. .avatar {
  29. display: block;
  30. width: 60px;
  31. height: 60px;
  32. margin: 0 auto;
  33. border-radius: 4px;
  34. &.no-avatar {
  35. line-height: 60px;
  36. text-align: center;
  37. font-size: 16px;
  38. color: #ffffff;
  39. }
  40. }
  41. .name {
  42. color: #f9efc5;
  43. font-size: 14px;
  44. display: inline-block;
  45. margin: 10px 0 12px 0;
  46. }
  47. .text {
  48. color: #f9efc5;
  49. font-size: 16px;
  50. padding: 0 14px;
  51. line-height: 1.4;
  52. }
  53. .open-btn {
  54. position: absolute;
  55. left: 0;
  56. right: 0;
  57. margin: 0 auto;
  58. font-size: 34px;
  59. bottom: 70px;
  60. width: 82px;
  61. height: 82px;
  62. line-height: 82px;
  63. text-align: center;
  64. border-radius: 50%;
  65. margin: 0 auto;
  66. background-color: #e8cca0;
  67. color: #553a1b;
  68. font-family: KaiTi, STKaiti, Microsoft Yahei, PingFang SC;
  69. cursor: pointer;
  70. &:hover {
  71. background-color: #dbbd8b;
  72. }
  73. }
  74. .detail {
  75. position: absolute;
  76. bottom: 20px;
  77. left: 0;
  78. right: 0;
  79. text-align: center;
  80. font-size: 14px;
  81. color: #f9efc5;
  82. cursor: pointer;
  83. }
  84. .detail-bg {
  85. display: inline-block;
  86. width: 281px;
  87. border-radius: 6px;
  88. background: url('./img/bg2.png') no-repeat;
  89. background-size: 100%;
  90. background-color: #ffffff;
  91. box-sizing: border-box;
  92. background-size: 100%;
  93. vertical-align: middle;
  94. position: relative;
  95. overflow: hidden;
  96. padding-top: 30px;
  97. .el-icon-close {
  98. position: absolute;
  99. top: 6px;
  100. right: 6px;
  101. color: #ffffff;
  102. font-size: 20px;
  103. cursor: pointer;
  104. }
  105. .name {
  106. color: #333333;
  107. margin-bottom: 6px;
  108. }
  109. .text {
  110. color: #333333;
  111. font-size: 12px;
  112. }
  113. }
  114. .money {
  115. text-align: center;
  116. font-size: 24px;
  117. color: #333333;
  118. margin: 14px 0;
  119. em {
  120. font-size: 12px;
  121. color: #999999;
  122. }
  123. }
  124. .state {
  125. font-size: 12px;
  126. color: #5a93eb;
  127. margin-bottom: 12px;
  128. }
  129. .state-num {
  130. font-size: 12px;
  131. margin: 4px 0;
  132. color: #999999;
  133. }
  134. .packet-list {
  135. margin: 14px 12px 0 12px;
  136. height: 148px;
  137. overflow: auto;
  138. li {
  139. display: flex;
  140. padding: 6px 0;
  141. border-top: 1px solid #eee;
  142. .avatar {
  143. width: 36px;
  144. height: 36px;
  145. border-radius: 2px;
  146. }
  147. .no-avatar {
  148. line-height: 36px;
  149. }
  150. }
  151. .content {
  152. flex: 1;
  153. margin-left: 10px;
  154. font-size: 12px;
  155. text-align: left;
  156. .top {
  157. color: #333333;
  158. line-height: 1.4;
  159. margin-bottom: 8px;
  160. }
  161. .amount {
  162. float: right;
  163. }
  164. .best{
  165. display: inline-block;
  166. vertical-align: middle;
  167. width: 14px;
  168. height: 16px;
  169. margin-left: 10px;
  170. background: url(../../../assets/crown-icon.png) no-repeat;
  171. }
  172. }
  173. .time {
  174. color: #999999;
  175. }
  176. }
  177. .tips {
  178. color: #999999;
  179. text-align: center;
  180. font-size: 12px;
  181. margin: 12px 0;
  182. }
  183. .redpack-tips {
  184. color: #f9efc5;
  185. font-size: 16px;
  186. line-height: 1.4;
  187. margin-top: 30px;
  188. padding: 0 12px;
  189. }
  190. .small {
  191. margin-top: 40px;
  192. .avatar {
  193. display: inline-block;
  194. vertical-align: middle;
  195. line-height: 30px;
  196. width: 30px;
  197. height: 30px;
  198. margin-right: 10px;
  199. border-radius: 4px;
  200. &.no-avatar {
  201. line-height: 30px;
  202. }
  203. }
  204. .name {
  205. font-size: 16px;
  206. }
  207. }
  208. .loading {
  209. pointer-events: none;
  210. }
  211. /*h5 style*/
  212. .h5-wrap {
  213. .packet-bg {
  214. width: px2rem(623);
  215. height: px2rem(920);
  216. background-image: url('./img/h5_bg.png');
  217. background-size: 100%;
  218. padding-top: 0;
  219. overflow: visible;
  220. }
  221. .detail-bg {
  222. width: 100%;
  223. height: 100%;
  224. box-sizing: border-box;
  225. padding: 0 0 px2rem(108); // padding-top: 10;
  226. border-radius: 0;
  227. background-color: #fff;
  228. background-image: url("./img/h5_bg2.png");
  229. background-size: 100% auto;
  230. @include webkitbox(2);
  231. &.is-quantity{
  232. background-image: url("./img/h5_bg3.png");
  233. .packet-list{
  234. // height: px2rem(400);
  235. }
  236. }
  237. .el-icon-close {
  238. visibility: hidden;
  239. }
  240. .name{
  241. color: #f9efc5;
  242. }
  243. .text{
  244. margin-top: px2rem(18);
  245. color: #f9efc5;
  246. font-size: px2rem(28);
  247. }
  248. .money{
  249. margin: px2rem(50) auto;
  250. font-size: px2rem(62);
  251. font-weight: bold;
  252. color: #fae3b7;
  253. em{
  254. color: #fae3b7;
  255. // font-weight: normal;
  256. }
  257. }
  258. .state{
  259. color: #f9efc5;
  260. }
  261. .state-num{
  262. padding-left: px2rem(34);
  263. margin-top: px2rem(156);
  264. text-align: left;
  265. }
  266. .packet-list{
  267. height: auto;
  268. flex: 1;
  269. .content{
  270. font-size: px2rem(32);
  271. color: #181818;
  272. .bottom{
  273. display: flex;
  274. justify-content: space-between;
  275. }
  276. .time{
  277. font-size: px2rem(26);
  278. color: #b4b4b4;
  279. margin-right: px2rem(10);
  280. }
  281. .best{
  282. font-size: px2rem(28);
  283. color: #fbc463;
  284. }
  285. }
  286. li{
  287. padding: px2rem(30) 0;
  288. }
  289. }
  290. .tips{
  291. position: absolute;
  292. left: 0;
  293. width: 100%;
  294. bottom: px2rem(30);
  295. }
  296. }
  297. .nav-bar {
  298. display: block;
  299. height: px2rem(84);
  300. display: flex;
  301. padding: 0 px2rem(25);
  302. justify-content: space-between;
  303. align-items: center;
  304. color: #f9efc5;
  305. margin-bottom: px2rem(66);
  306. a{
  307. font-size: px2rem(34);
  308. }
  309. }
  310. .avatar {
  311. display: inline-block;
  312. vertical-align: middle;
  313. line-height: 30px;
  314. width: 30px;
  315. height: 30px;
  316. margin-right: 10px;
  317. border-radius: 4px;
  318. &.no-avatar {
  319. line-height: 30px;
  320. }
  321. }
  322. .name {
  323. font-size: px2rem(34);
  324. }
  325. .user-info {
  326. margin-top: px2rem(215);
  327. }
  328. .text,
  329. .redpack-tips {
  330. font-size: px2rem(48);
  331. }
  332. .detail {
  333. font-size: px2rem(32);
  334. &::after {
  335. content: '';
  336. display: inline-block;
  337. width: px2rem(12);
  338. height: px2rem(12);
  339. margin-left: 2px;
  340. border-width: 1px;
  341. border-style: solid;
  342. border-color: #f9efc5 #f9efc5 transparent transparent;
  343. transform: rotate(45deg);
  344. vertical-align: middle;
  345. }
  346. }
  347. .open-btn {
  348. bottom: px2rem(152);
  349. width: px2rem(198);
  350. height: px2rem(198);
  351. line-height: px2rem(198);
  352. font-size: px2rem(94);
  353. font-family: KaiTi, STKaiti, Microsoft Yahei, PingFang SC;
  354. }
  355. .el-icon-close {
  356. top: auto;
  357. left: 50%;
  358. bottom: -px2rem(120);
  359. width: px2rem(80);
  360. height: px2rem(80);
  361. box-sizing: border-box;
  362. transform: translate(-50%);
  363. border: px2rem(4) solid #d2b072;
  364. border-radius: 50%;
  365. font-size: px2rem(48);
  366. color: #d2b072;
  367. line-height: px2rem(72);
  368. }
  369. }