toast.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* pages/components/toast/toast.wxss */
  2. .toast{
  3. position: fixed;
  4. bottom: 0;
  5. left: 0;
  6. width: 100vw;
  7. background-color: rgba(0, 0, 0, 0.6);
  8. display: flex;
  9. align-items: center;
  10. justify-content: center;
  11. }
  12. .toast-view{
  13. display: flex;
  14. align-items: center;
  15. flex-direction: column;
  16. padding: 14rpx 50rpx 34rpx;
  17. width: 520rpx;
  18. background: #FFFFFF;
  19. border-radius: 18rpx;
  20. }
  21. .toast-view>view>text{
  22. display: block;
  23. }
  24. .toast-view .title{
  25. margin-bottom: 14rpx;
  26. font-size: 30rpx;
  27. font-weight: bold;
  28. color: #353535;
  29. line-height: 38rpx;
  30. text-align: center;
  31. }
  32. .toast-view .info{
  33. margin-bottom: 14rpx;
  34. font-size: 28rpx;
  35. color: #999;
  36. line-height: 38rpx;
  37. text-align: center;
  38. }
  39. .foot{
  40. display: flex;
  41. justify-content: center;
  42. }
  43. .foot>view{
  44. width: 226rpx;
  45. height: 80rpx;
  46. text-align: center;
  47. line-height: 80rpx;
  48. border-radius: 40rpx;
  49. font-size: 30rpx;
  50. font-weight: bold;
  51. margin: 0 10rpx;
  52. }
  53. .foot>view.onBut{
  54. background-color: rgba(153, 153, 153, 1);
  55. color: #fff;
  56. }
  57. .foot>view.twoBut{
  58. background-color: rgba(101, 71, 163, 1);
  59. color: #fff;
  60. }