productInfo.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .product{
  2. padding: 15rpx 30rpx;
  3. }
  4. .worker_search {
  5. width: 100%;
  6. height: 110rpx;
  7. position: relative;
  8. z-index: 1;
  9. padding: 16rpx 30rpx 0 30rpx;
  10. box-sizing: border-box;
  11. box-shadow: 0 4rpx 16rpx 0 rgba(0, 0, 0, 0.03);
  12. border-radius: 20rpx;
  13. background: #ffffff;
  14. margin-bottom: 22rpx;
  15. }
  16. .worker_search_con {
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. padding: 0 30rpx;
  21. border-radius: 80rpx;
  22. background: #F2F5F9;
  23. }
  24. .worker_search_con input {
  25. flex: auto;
  26. width: 100%;
  27. background: none;
  28. border: none;
  29. height: 78rpx;
  30. }
  31. .worker_search_con view {
  32. flex: none;
  33. width: 100rpx;
  34. display: inline-block;
  35. line-height: 60rpx;
  36. font-size: 26rpx;
  37. }
  38. .worker_search_con view text {
  39. margin-right: 10rpx;
  40. font-size: 30rpx;
  41. }
  42. .top{
  43. width: 100%;
  44. background-color: var(--color);
  45. text-align: center;
  46. padding: 20rpx 30rpx;
  47. color: #fff;
  48. border-top: 2.5rpx solid #f8f8f8;
  49. }
  50. .productInfo{
  51. /* padding:30rpx; */
  52. background: #fff;
  53. display: flex;
  54. margin-bottom: 25rpx;
  55. }
  56. .productInfo .info>text{
  57. color: #2D59E6;
  58. overflow: hidden;
  59. display: block;
  60. white-space: nowrap;
  61. text-overflow: ellipsis;
  62. }
  63. .productInfo .text{
  64. color: #999999;
  65. }
  66. .productInfo >text>text{
  67. color: #000;
  68. }
  69. .del ,.edit{
  70. flex-grow: 0;
  71. color: #fff;
  72. width: 160rpx;
  73. line-height: 80rpx;
  74. text-align: center;
  75. padding: 37rpx 0;
  76. }
  77. .del{
  78. background-color: #fe3e2f;
  79. }
  80. .edit{
  81. background-color: var(--color);
  82. }
  83. .productInfo .info{
  84. flex-grow: 1;
  85. width: 100%;
  86. margin-left: -320rpx;
  87. background-color: #fff;
  88. padding: 15rpx 30rpx;
  89. }
  90. .productInfo .info > view{
  91. padding-top: 15rpx;
  92. }
  93. .productInfo .info ,.productInfo .del,.productInfo .edit{
  94. transform: translateX(320rpx);
  95. transition: all 0.4s;
  96. }
  97. .touch-move-active .info,.touch-move-active .del ,.touch-move-active .edit{
  98. -webkit-transform: translateX(0);
  99. transform: translateX(0);
  100. }