noticePopup.wxss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .content{
  2. width: 80%;
  3. max-height: 70%;
  4. position: absolute;
  5. top: 0;
  6. bottom: 0;
  7. left: 0;
  8. right: 0;
  9. margin: auto;
  10. text-align: center;
  11. font-size: 32rpx;
  12. }
  13. .content .prize_pic image{
  14. width: 100%;
  15. border-radius: 10rpx;
  16. }
  17. .content .prize_name{
  18. font-size: 60rpx;
  19. font-weight: 700;
  20. margin-top: 60rpx;
  21. }
  22. .content .prize_instr{
  23. margin: 20rpx 0;
  24. color: #fff;
  25. }
  26. .content .btn{
  27. margin-top: 30rpx;
  28. }
  29. .content .btn button{
  30. border-radius: 50rpx;
  31. width: 350rpx;
  32. font-size: 32rpx;
  33. line-height: 2.1;
  34. }
  35. .content .btn button:nth-child(2){
  36. margin-top: 20rpx;
  37. color: #666;
  38. background: #fff;
  39. }
  40. /* --- 主题 --- */
  41. /* 红色 */
  42. .redContent .prize_name{color: #ff8382;}
  43. .redContent .btn button:nth-child(1){background-image: linear-gradient(to right, #ee3a43, #ff8483)}
  44. /* 蓝色 */
  45. .blueContent .prize_name{color: #c1edf4;}
  46. .blueContent .btn button:nth-child(1){background-image: linear-gradient(to right, #509cd3, #bfdfe7)}
  47. .blueContent .btn button:nth-child(2){border: 1px solid #4998d2;}
  48. /* 绿色 */
  49. .greenContent .prize_name{color: #ffebbc;}
  50. .greenContent .btn button:nth-child(1){background-image: linear-gradient(to right, #698b36, #95b06a)}
  51. .greenContent .btn button:nth-child(2){border: 1px solid #95b06a;}