dialog.wxss 561 B

123456789101112131415161718192021222324252627282930
  1. /* compontents/dialog/dialog.wxss */
  2. .dialog {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, .4);
  9. z-index:100;
  10. }
  11. .dialog-contain {
  12. position: absolute;
  13. left: 0;
  14. top: 0;
  15. bottom: 0;
  16. right: 0;
  17. width: 80%;
  18. height: 200rpx;
  19. background: #fff;
  20. margin: auto;
  21. border-radius: 20rpx;
  22. text-align: center;
  23. padding: 0 40rpx;
  24. box-sizing: border-box;
  25. display: flex;
  26. flex-direction: column;
  27. justify-content: space-around;
  28. font-size: 32rpx;
  29. }