myToast.wxss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. z-index:999;
  9. }
  10. .toastBox {
  11. width: 600rpx;
  12. height: 250rpx;
  13. border-radius: 30rpx;
  14. background: #fff;
  15. position: absolute;
  16. left: 0;
  17. right: 0;
  18. margin: auto;
  19. top: 0;
  20. bottom: 0;
  21. padding: 37rpx 28rpx;
  22. box-sizing: border-box;
  23. }
  24. .line1 {
  25. /* display: flex; */
  26. /* flex-direction: row; */
  27. align-items: center;
  28. margin: 0 auto 20rpx;
  29. }
  30. .line2 {
  31. margin: 0 auto;
  32. }
  33. .myToastIcon {
  34. width: 26rpx;
  35. height: 26rpx;
  36. margin-right: 10rpx;
  37. }
  38. .line1Text {
  39. height: 40rpx;
  40. font-size: 32rpx;
  41. /* font-family: PingFangSC-Regular; */
  42. /* font-weight: 400; */
  43. color: red;
  44. line-height: 40rpx;
  45. text-align: center;
  46. display: block;
  47. }
  48. .line2Text {
  49. height: 40rpx;
  50. font-size: 32rpx;
  51. /* font-family: PingFangSC-Regular; */
  52. /* font-weight: 400; */
  53. color: rgba(37, 37, 37, 1);
  54. line-height: 40rpx;
  55. display: block;
  56. text-align: center;
  57. }
  58. .line3Text{
  59. height: 40rpx;
  60. font-size: 32rpx;
  61. /* font-family: PingFangSC-Regular; */
  62. /* font-weight: 400; */
  63. color: rgba(37, 37, 37, 1);
  64. line-height: 166rpx;
  65. display: block;
  66. text-align: center;
  67. }
  68. .close-img{
  69. width: 78rpx;
  70. height: 78rpx;
  71. position: absolute;
  72. left: 0;
  73. right: 0;
  74. margin: 38rpx auto 0;
  75. top: 60%;
  76. }