myToast.wxss 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .myToast {
  2. width: 100%;
  3. height: 100%;
  4. background: rgba(37, 37, 37, .6);
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. }
  9. .toastBox {
  10. width: 600rpx;
  11. height: 274rpx;
  12. border-radius: 8rpx;
  13. background: #fff;
  14. position: absolute;
  15. left: 0;
  16. right: 0;
  17. margin: auto;
  18. top: 0;
  19. bottom: 0;
  20. padding: 86rpx 0 0 80rpx;
  21. box-sizing: border-box;
  22. }
  23. .line1 {
  24. display: flex;
  25. flex-direction: row;
  26. align-items: center;
  27. margin: 0 auto 20rpx;
  28. }
  29. .line2 {
  30. margin: 0 auto;
  31. }
  32. .myToastIcon {
  33. width: 26rpx;
  34. height: 26rpx;
  35. margin-right: 10rpx;
  36. }
  37. .line1Text {
  38. height: 40rpx;
  39. font-size: 28rpx;
  40. /* font-family: PingFangSC-Regular; */
  41. font-weight: 400;
  42. color: rgba(37, 37, 37, 1);
  43. line-height: 40rpx;
  44. }
  45. .line2Text {
  46. height: 40rpx;
  47. font-size: 28rpx;
  48. /* font-family: PingFangSC-Regular; */
  49. font-weight: 400;
  50. color: rgba(37, 37, 37, 1);
  51. line-height: 40rpx;
  52. }