businessDetail.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .page-section {
  2. width: 100%;
  3. }
  4. .page-section swiper {
  5. width: 100%;
  6. height: 562rpx;
  7. overflow: hidden;
  8. }
  9. .page-section .swiper-item {
  10. height: 100%;
  11. }
  12. .page-section .swiper-item image {
  13. display: block;
  14. width: 100%;
  15. height: 100%;
  16. background: pink;
  17. }
  18. .business-name {
  19. padding: 68rpx 56rpx 0;
  20. font-size: 48rpx;
  21. color: rgba(51, 51, 51, 1);
  22. }
  23. .nav-wrap {
  24. display: flex;
  25. align-items: center;
  26. width: 100%;
  27. border-bottom: 1rpx solid rgba(189, 189, 189, 1);
  28. }
  29. .nav-wrap view {
  30. flex: 1;
  31. padding: 24rpx 0;
  32. line-height: 40rpx;
  33. font-size: 28rpx;
  34. color: rgba(51, 51, 51, 1);
  35. text-align: center;
  36. }
  37. .nav-wrap view.active {
  38. position: relative;
  39. left: 0;
  40. top: 0;
  41. color: rgba(145, 179, 121, 1);
  42. }
  43. .nav-wrap view.active:after {
  44. position: absolute;
  45. left: 50%;
  46. bottom: 0;
  47. content: '';
  48. width: 162rpx;
  49. height: 8rpx;
  50. border-radius: 40rpx 40rpx 0 0;
  51. background: rgba(145, 179, 121, 1);
  52. transform: translateX(-50%);
  53. }
  54. .business-info {
  55. display: flex;
  56. flex-direction: column;
  57. padding: 36rpx 42rpx 36rpx 72rpx;
  58. }
  59. .business-info text {
  60. font-size: 26rpx;
  61. color: rgba(153, 153, 153, 1);
  62. }
  63. .business-info .phone,
  64. .business-info .wechat {
  65. white-space: nowrap;
  66. }
  67. .business-info .introduce {
  68. word-break: break-all;
  69. word-wrap: break-word;
  70. }
  71. .waterfall {
  72. display: flex;
  73. justify-content: space-between;
  74. width: 690rpx;
  75. padding: 30rpx 0;
  76. margin: 0 auto;
  77. }