toast.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /* comps/toast/toast.wxss */
  2. .toast_content_box {
  3. display: flex;
  4. width: 100%;
  5. justify-content: center;
  6. align-items: center;
  7. position: fixed;
  8. z-index: 999;
  9. top: 0;
  10. left: 0;
  11. }
  12. .toast_content {
  13. width: 80%;
  14. padding: 30rpx;
  15. border-radius: 10rpx;
  16. height: 88rpx;
  17. box-sizing: border-box;
  18. overflow: hidden;
  19. box-shadow: 0 8rpx 16rpx #BABABA;
  20. background-color: #fff;
  21. }
  22. .toast_content_border {
  23. width: 0px;
  24. height: 80rpx;
  25. border: 4rpx solid #CE3918;
  26. position: relative;
  27. left: -30rpx;
  28. top: -30rpx;
  29. }
  30. .toast_success {
  31. border: 4rpx solid #179F52;
  32. }
  33. .toast_content_icon {
  34. width: 30rpx;
  35. height: 30rpx;
  36. position: relative;
  37. top: -96rpx;
  38. }
  39. .toast_icon_img {
  40. width: 30rpx;
  41. height: 30rpx;
  42. }
  43. .toast_content_text {
  44. height: 100%;
  45. width: 100%;
  46. color: #000;
  47. font-size: 28rpx;
  48. text-align: center;
  49. /* display: ; */
  50. float: right;
  51. position: absolute;
  52. top: 0;
  53. line-height: 88rpx;
  54. text-align: left;
  55. padding-left: 50rpx;
  56. }
  57. .alert_content {
  58. width: 80%;
  59. border-radius: 10rpx;
  60. height: 200rpx;
  61. box-sizing: border-box;
  62. overflow: hidden;
  63. box-shadow: 0 8rpx 16rpx #BABABA;
  64. background-color: #fff;
  65. position: relative;
  66. overflow: hidden;
  67. }
  68. .alert_text {
  69. padding: 20rpx;
  70. font-size: 16px;
  71. }
  72. .alert_btn_container {
  73. width: 100%;
  74. height: 80rpx;
  75. display: flex;
  76. position: absolute;
  77. bottom: 0;
  78. }
  79. .alert_btn {
  80. flex: 1;
  81. border-radius: 0;
  82. color: #fff;
  83. height: 80rpx;
  84. line-height: 80rpx;
  85. font-size: 16px;
  86. }
  87. .agree {
  88. border: 1px solid #13b32e;
  89. background: #13b32e;
  90. }
  91. .refuse {
  92. border: 1px solid #ec4646;
  93. background: #ec4646;
  94. }