product.wxss 1.9 KB

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