shopInfo.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /* pages/shopInfo/shopInfo.wxss */
  2. page{
  3. background: #f7f7f7;
  4. font-size: 30rpx;
  5. }
  6. /* 店铺信息 */
  7. .container .shop{
  8. }
  9. .container .shopInfo {
  10. display: flex;
  11. height: 110rpx;
  12. padding: 20rpx;
  13. margin: 20rpx 0 0 0;
  14. background: #fff
  15. }
  16. .shopInfo .shopLogo {
  17. flex: 1;
  18. padding-right: 8rpx;
  19. }
  20. .shopInfo .shopLogo image {
  21. width: 120rpx;
  22. height: 120rpx;
  23. border-radius: 8rpx;
  24. }
  25. .shopInfo .shopTitle {
  26. flex: 4;
  27. padding: 5rpx 0;
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: space-between;
  31. }
  32. .shopInfo .shopTitle .shopName {
  33. font-size: 30rpx;
  34. }
  35. .shopInfo .shopTitle .shopDesc {
  36. color: #999;
  37. font-size: 25rpx;
  38. }
  39. /* 收藏按钮 */
  40. .collection {
  41. position: absolute;
  42. top: 50rpx;
  43. right: 0;
  44. width: 80rpx;
  45. color: #666;
  46. font-size: 22rpx;
  47. padding-left: 20rpx;
  48. text-align: center;
  49. }
  50. .collection image {
  51. display: block;
  52. margin: auto;
  53. width: 30rpx;
  54. height: 30rpx;
  55. }
  56. .collection::after {
  57. content: "";
  58. display: block;
  59. width: 1px;
  60. height: auto;
  61. background: #f1f1f1;
  62. position: absolute;
  63. top: 0;
  64. bottom: 5px;
  65. left: 0;
  66. }
  67. /* 评分栏 */
  68. .grade{
  69. height: 80rpx;
  70. line-height: 80rpx;
  71. text-align: center;
  72. background: #fff;
  73. display: flex;
  74. justify-content: space-between;
  75. margin: 15rpx 0;
  76. }
  77. .grade .gradeItem{
  78. color: #888;
  79. font-size: 28rpx;
  80. flex: 1
  81. }
  82. .grade .gradeItem .fraction{
  83. color: red;
  84. font-size: 30rpx;
  85. font-weight: 600;
  86. }
  87. /* 其他店铺信息 */
  88. .other,.shopDetails{
  89. background: #fff;
  90. margin: 15rpx 0;
  91. }
  92. .otherItem{
  93. display: flex;
  94. justify-content: space-between;
  95. padding: 20rpx 30rpx;
  96. align-items: center;
  97. font-size: 28rpx;
  98. }
  99. .otherItem view{
  100. color: #888;
  101. }
  102. .otherItem:nth-child(2n+1){
  103. border-bottom: 1rpx solid #eee;
  104. }
  105. .other .otherItem .otherIcon{
  106. display: block;
  107. width: 40rpx;
  108. height: 40rpx;
  109. background: #0af;
  110. }
  111. /* 店铺简介 */
  112. .shop-intro{
  113. margin-top: 20rpx;
  114. padding: 20rpx;
  115. box-sizing: border-box;
  116. background-color: #fff;
  117. }
  118. .intro-tit {
  119. margin-bottom: 10rpx;
  120. font-weight: 600;
  121. }