popup.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* component/popup.wxss */
  2. .scc-popup {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. right: 0;
  7. bottom: 0;
  8. width: 100%;
  9. height: 100%;
  10. background: rgba(0, 0, 0, 0.5);
  11. z-index: 999;
  12. }
  13. .scc-popup-container {
  14. position: absolute;
  15. left: 50%;
  16. top: 50%;
  17. width: 520rpx;
  18. border-radius: 8rpx;
  19. box-sizing: bordre-box;
  20. transform: translate(-50%, -50%);
  21. background: #fff;
  22. }
  23. .scc-popup-icon {
  24. width: 110rpx;
  25. height: 110rpx;
  26. border-radius: 100%;
  27. position: absolute;
  28. top: -45rpx;
  29. left: 50%;
  30. transform: translate(-50%, 0);
  31. }
  32. .scc-popup-icon image {
  33. width: 92rpx;
  34. height: 92rpx;
  35. position: absolute;
  36. left: 8rpx;
  37. top: 8rpx;
  38. }
  39. .scc-popup-box {
  40. margin-top: 60rpx;
  41. padding: 0 20rpx;
  42. }
  43. .scc-popup-box view {
  44. padding: 20rpx 0;
  45. }
  46. .scc-popup-title {
  47. text-align: center;
  48. font-size: 28rpx;
  49. color: #686b78;
  50. font-family: PingFangSC-Regular;
  51. margin: 20rpx 0;
  52. }
  53. .scc-popup-content {
  54. font-size: 28rpx;
  55. color: #686b78;
  56. text-align: center;
  57. font-family: PingFangSC-Light;
  58. }
  59. .scc-popup-subcontent {
  60. margin-top: 20rpx;
  61. }
  62. .scc-popup-btn {
  63. display: flex;
  64. justify-content: space-around;
  65. width: 100%;
  66. border-radius: 0 0 8rpx 8rpx;
  67. overflow: hidden;
  68. margin-top: 50rpx;
  69. }
  70. .scc-popup-btn text {
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. width: 50%;
  75. height: 80rpx;
  76. border-top: 1rpx solid #eee;
  77. font-size: 28rpx;
  78. font-family: PingFangSC;
  79. font-weight: 300;
  80. line-height: 40px;
  81. }
  82. .scc-popup-btn.one-btn text {
  83. width: 100%;
  84. border-right: none;
  85. }
  86. .scc-popup-btn .scc-btn-confirm {
  87. color: #0091ff;
  88. border-left: 1rpx solid #eee;
  89. }