shopinfo.wxss 2.0 KB

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