index.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /* components/productCard/index.wxss */
  2. .card {
  3. position: relative;
  4. padding: 10px;
  5. }
  6. .flex {
  7. display: flex;
  8. }
  9. .card image {
  10. width: 50px;
  11. height: 50px;
  12. margin-right: 10px;
  13. }
  14. .image{
  15. flex-shrink: 0;
  16. }
  17. .title {
  18. margin-bottom: 12rpx;
  19. line-height: 30rpx;
  20. .tag {
  21. display: inline-block;
  22. margin-right: 8rpx;
  23. font-size: 22rpx;
  24. color: #fff;
  25. padding: 4rpx 10rpx;
  26. border-radius: 4rpx;
  27. box-sizing: border-box;
  28. }
  29. .M {
  30. background-color: #3774F6;
  31. }
  32. .P {
  33. background-color: #FF9F00;
  34. }
  35. .m {
  36. background-color: #3774F6;
  37. }
  38. .p {
  39. background-color: #FF9F00;
  40. }
  41. }
  42. .small {
  43. font-size: 24rpx;
  44. color: #999;
  45. line-height: 25px;
  46. }
  47. .deleteBtn {
  48. position: absolute;
  49. height: 25px;
  50. width: 25px;
  51. border-radius: 100%;
  52. font-size: 15rpx;
  53. color: #fff;
  54. background-color: #e34d59;
  55. display: flex;
  56. align-items: center;
  57. justify-content: space-around;
  58. top: 80rpx;
  59. right: 10rpx;
  60. }
  61. .flex-align-center {
  62. display: flex;
  63. align-items: center;
  64. }
  65. input {
  66. border-bottom: 1px solid #f1f2f3;
  67. width: 50px;
  68. margin-left: 5px;
  69. color: #333
  70. }
  71. .input {
  72. display: flex;
  73. margin-top: 16rpx;
  74. }
  75. .input .label {
  76. width: 140rpx;
  77. font-size: 28rpx;
  78. line-height: 48rpx;
  79. }
  80. .input input,
  81. .input textarea {
  82. height: 37rpx;
  83. width: 450rpx;
  84. border: 1rpx solid #ddd;
  85. margin: 0 !important;
  86. padding: 8rpx !important;
  87. }