popup.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /* component/popup/popup.wxss */
  2. .popup {
  3. position: absolute;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, .5);
  9. z-index: 999;
  10. }
  11. .popup-container {
  12. position: absolute;
  13. left: 5%;
  14. top: 50%;
  15. transform: translateY(-50%);
  16. background: #fff;
  17. width: 90%;
  18. height: auto;
  19. border-radius: 20rpx;
  20. }
  21. .head-img {
  22. width: 100%;
  23. }
  24. .head-img image {
  25. width: 100%;
  26. height: 100%;
  27. }
  28. .head-txt {
  29. position: absolute;
  30. top: 26rpx;
  31. left: 0;
  32. width: 100%;
  33. text-align: center;
  34. color: #fff;
  35. }
  36. .head-txt .title {
  37. font-size: 48rpx;
  38. font-weight: bolder;
  39. }
  40. .head-txt .head-con {
  41. margin: 20rpx 0;
  42. }
  43. .content {
  44. display: flex;
  45. flex-direction: column;
  46. justify-content: center;
  47. align-items: center;
  48. font-size: 36rxp;
  49. }
  50. .content text {
  51. margin: 6rpx 0;
  52. }
  53. .send-btn {
  54. width: 70%;
  55. height: 80rpx;
  56. margin: 72rpx auto 40rpx auto;
  57. position: relative;
  58. }
  59. .send-btn image {
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .send-btn text {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. width: 100%;
  68. height: 100%;
  69. text-align: center;
  70. line-height: 80rpx;
  71. color: #fff;
  72. z-index: 3;
  73. }
  74. .cha {
  75. position: absolute;
  76. left: 50%;
  77. bottom: 5%;
  78. transform: translateX(-50%);
  79. width: 80rpx;
  80. height: 80rpx;
  81. }
  82. .cha image {
  83. width: 100%;
  84. height: 100%;
  85. }
  86. .bottom {
  87. width: 100%;
  88. font-size: 20rpx;
  89. text-align: center;
  90. color: #767676;
  91. margin: 60rpx 0 10rpx 0;
  92. }