index.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .shop-info {
  2. width: 100%;
  3. height: 220rpx;
  4. border: 1rpx solid #ECECEC;
  5. display: flex;
  6. flex-direction: row;
  7. justify-content: space-between;
  8. align-items: center;
  9. padding: 20rpx 30rpx;
  10. box-sizing: border-box;
  11. margin-bottom: 10rpx;
  12. background-color: #fff;
  13. >.shopimg {
  14. width: 150rpx;
  15. height: 150rpx;
  16. >.img {
  17. width: 100%;
  18. height: 100%;
  19. }
  20. }
  21. .shopmsg {
  22. flex: 2;
  23. height: 200rpx;
  24. margin-left: 50rpx;
  25. display: flex;
  26. flex-direction: column;
  27. justify-content: space-around;
  28. >.shopview {
  29. display: flex;
  30. justify-content: space-between;
  31. }
  32. /* 处理定位图标上移的问题 */
  33. >.shop-address {
  34. position: relative;
  35. padding-left: 45rpx;
  36. .address-icon {
  37. position: absolute;
  38. top: -6rpx;
  39. left: 0;
  40. }
  41. }
  42. /* 新品促销标签 */
  43. .mark {
  44. width: 105rpx;
  45. height: 30rpx;
  46. line-height: 30rpx;
  47. text-align: center;
  48. border-radius: 30rpx;
  49. }
  50. .discount {
  51. color: #E359A8;
  52. border: 1px solid#E359A8;
  53. }
  54. .new {
  55. border: 1px solid #80CB5F;
  56. color: #80CB5F;
  57. }
  58. }
  59. }
  60. .c-202020 {
  61. color: #202020;
  62. }
  63. .c-707070 {
  64. color: #707070;
  65. }
  66. .f12 {
  67. font-size: 12px;
  68. }
  69. .f15 {
  70. font-size: 15px;
  71. }