warningconfig.wxss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .warning{
  2. padding: 20rpx 20rpx 100rpx 20rpx;
  3. }
  4. .top{
  5. width: 100%;
  6. background-color: var(--color);
  7. text-align: center;
  8. padding: 20rpx 30rpx;
  9. color: #fff;
  10. border-top: 2.5rpx solid #f8f8f8;
  11. }
  12. .productInfo{
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. background: #fff;
  17. border-bottom: 5rpx solid #f8f8f8;
  18. }
  19. .scrollText{
  20. display: flex;
  21. }
  22. .edit,.del{
  23. width: 120rpx;
  24. /* line-height: 107px; */
  25. flex-grow: 0;
  26. color: #fff;
  27. padding: 22% 0;
  28. text-align: center;
  29. }
  30. .del{
  31. background-color: #fe3e2f;
  32. }
  33. .edit{
  34. background-color: var(--color);
  35. }
  36. .warningList{
  37. display: flex;
  38. background-color: #fff;
  39. margin-bottom: 25rpx;
  40. }
  41. .warningList .info{
  42. width: 100%;
  43. display: flex;
  44. padding:20rpx;
  45. justify-content: space-between;
  46. margin-left: -240rpx;
  47. background-color: #fff;
  48. flex-direction: column;
  49. }
  50. .warningList .info > view{
  51. display: flex;
  52. align-items: center;
  53. }
  54. .warningList .info ,.warningList .del,.warningList .edit{
  55. transform: translateX(240rpx);
  56. transition: all 0.4s;
  57. }
  58. .touch-move-active .info,.touch-move-active .del,.touch-move-active .edit {
  59. -webkit-transform: translateX(0);
  60. transform: translateX(0);
  61. }
  62. .addLabel{
  63. text-align: center;
  64. padding: 30rpx;
  65. position: fixed;
  66. bottom: 0;
  67. width: 100%;
  68. background-color: var(--color);
  69. color: #fff;
  70. }