alert-tip.wxss 743 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .FlexColumn {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. justify-content: center;
  6. }
  7. .FlexRow {
  8. display: flex;
  9. flex-direction: row;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. .alert-container {
  14. position: fixed;
  15. top: 0;
  16. left:0;
  17. width: 100%;
  18. height: 100rpx;
  19. z-index: 999;
  20. justify-content: flex-start;
  21. align-items: flex-start;
  22. }
  23. .alert-fadeout {
  24. animation: fadeOut 1s ease-out forwards;
  25. }
  26. @keyframes fadeOut {
  27. from {
  28. opacity: 1;
  29. }
  30. to {
  31. opacity: 0;
  32. }
  33. }
  34. .alert-content {
  35. border-radius: 10rpx;
  36. height: 70rpx;
  37. margin: 20rpx 0 0 30rpx;
  38. padding: 0 30rpx;
  39. }
  40. .alert-icon {
  41. width: 20rpx;
  42. height: 20rpx;
  43. }
  44. .alert-text {
  45. font-size: 24rpx;
  46. margin-left: 20rpx;
  47. }