shopinfo.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .container {
  2. // background-color: #F7F7F7;
  3. .shop-img {
  4. width: 100%;
  5. height: 340rpx;
  6. image {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. }
  11. .shop-info {
  12. height: 290rpx;
  13. background-color: #fff;
  14. display: flex;
  15. flex-direction: column;
  16. padding-left: 25rpx;
  17. padding-top: 15rpx;
  18. >view {
  19. flex: 1;
  20. position: relative;
  21. }
  22. .stars {
  23. margin-right: 25rpx;
  24. border-bottom: 1px solid #ebeef5;
  25. }
  26. .address {
  27. display: flex;
  28. justify-content: space-between;
  29. .way {
  30. position: relative;
  31. padding-right: 10rpx;
  32. .checkway {
  33. margin-right: 40rpx;
  34. }
  35. .next {
  36. position: absolute;
  37. top: 8rpx;
  38. right: 13rpx;
  39. width: 30rpx;
  40. height: 30rpx;
  41. }
  42. }
  43. }
  44. .tel {
  45. margin-top: 20rpx;
  46. }
  47. }
  48. .products {
  49. margin-top: 10rpx;
  50. .product {
  51. display: flex;
  52. justify-content: flex-start;
  53. padding: 20rpx 40rpx;
  54. .product-img {
  55. image {
  56. width: 150rpx;
  57. height: 150rpx;
  58. }
  59. }
  60. .product-info {
  61. padding-left: 20rpx;
  62. display: flex;
  63. flex-direction: column;
  64. justify-content: space-around;
  65. .price {
  66. display: flex;
  67. justify-content: flex-start;
  68. align-items: center;
  69. .new-price {
  70. width: 100rpx;
  71. height: 60rpx;
  72. color: #e40360;
  73. }
  74. .old-price {
  75. width: 80rpx;
  76. height: 50rpx;
  77. text-decoration: line-through;
  78. padding-top: 5rpx;
  79. }
  80. }
  81. }
  82. }
  83. }
  84. .shop-desc {
  85. margin: 10rpx 0;
  86. .desc {
  87. padding: 20rpx 40rpx;
  88. text-indent: 20rpx;
  89. line-height: 50rpx;
  90. }
  91. }
  92. .comments {
  93. margin-bottom: 10rpx;
  94. }
  95. }
  96. .padding40 {
  97. padding-left: 40rpx;
  98. }
  99. .icon {
  100. position: absolute;
  101. top: -6rpx;
  102. left: 0;
  103. }
  104. .shop-title {
  105. width: 100%;
  106. height: 90rpx;
  107. line-height: 90rpx;
  108. border: 1px solid #ebeef5;
  109. padding-left: 20rpx;
  110. }