popup.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /* component/popup.wxss */
  2. .wx-popup {
  3. position: absolute;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, 0.5);
  9. }
  10. .popup-container {
  11. position: absolute;
  12. left: 52%;
  13. /* top: 80%; */
  14. bottom: 232rpx;
  15. width: 163%;
  16. max-width: 600rpx;
  17. border: 2rpx solid #ccc;
  18. border-radius: 10rpx;
  19. box-sizing: bordre-box;
  20. transform: translate(-50%, -50%);
  21. overflow: hidden;
  22. background: #fff;
  23. }
  24. .wx-popup-title {
  25. width: 100%;
  26. font-size: 33rpx;
  27. padding-top: 10rpx;
  28. padding-bottom: 10rpx;
  29. padding-left: 19rpx;
  30. background: #f5f5f5;
  31. color: #272727;
  32. }
  33. .wx-popup-con {
  34. text-align: center;
  35. font-size: 27rpx;
  36. width: 80%;
  37. margin: auto auto 40rpx auto;
  38. }
  39. .wx-popup-conone {
  40. /* margin: 27rpx 10rpx; */
  41. text-align: center;
  42. margin-top: 33rpx;
  43. }
  44. .wx-popup-btn {
  45. display: flex;
  46. justify-content: space-around;
  47. margin-bottom: 40rpx;
  48. }
  49. .wx-popup-btn text:first-child {
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. width: 30%;
  54. height: 55rpx;
  55. border-radius: 48rpx;
  56. background: #F0F0F0;
  57. color: #323232;
  58. font-size: 28rpx;
  59. }
  60. .wx-popup-btn text:last-child {
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. width: 30%;
  65. height: 55rpx;
  66. border-radius: 48rpx;
  67. background: #33BCB2;
  68. color: white;
  69. font-size: 28rpx;
  70. }
  71. .img {
  72. width: 150rpx;
  73. height: 120rpx;
  74. }