ourCanteen.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /* index */
  2. scroll-view ::-webkit-scrollbar {
  3. display: none;
  4. width: 0;
  5. height: 0;
  6. color: transparent;
  7. }
  8. page {
  9. height: 100%;
  10. background: #F5F5F5;
  11. }
  12. .head-bg {
  13. width: 100%;
  14. height: 375rpx;
  15. background-size: 100% 100%;
  16. }
  17. .navTitle {
  18. width: 100%;
  19. height: 160rpx;
  20. display: flex;
  21. align-items: center;
  22. }
  23. .navTitle t-icon {
  24. margin-top: 15rpx;
  25. width: 48rpx;
  26. color: #fff;
  27. }
  28. .navTitle .title {
  29. margin-top: 15rpx;
  30. width: 100%;
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. font-size: 38rpx;
  35. font-family: PingFang SC;
  36. color: #FFFFFF;
  37. }
  38. .tab {
  39. margin-top: 12rpx;
  40. padding-left: 20rpx;
  41. padding-right: 20rpx;
  42. height: 100rpx;
  43. display: flex;
  44. justify-content: space-between;
  45. }
  46. .tab-item {
  47. font-size: 35rpx;
  48. text-align: center;
  49. line-height: 80rpx;
  50. height: 80rpx;
  51. border-bottom: 6rpx solid #F5F5F5;
  52. display: flex;
  53. justify-content: center;
  54. flex-direction: row;
  55. }
  56. .tab-item.active {
  57. color: #508FF4;
  58. font-weight: bold;
  59. border-bottom: 7rpx solid #508FF4;
  60. }
  61. .swiper-content {
  62. height: 64vh;
  63. }
  64. .swiper-content swiper {
  65. height: 100%;
  66. }
  67. /* canteen */
  68. .content {
  69. height: 100%;
  70. }
  71. .content .cont-width {
  72. width: 90%;
  73. margin: 20rpx auto;
  74. margin-bottom: 50rpx;
  75. height: 480rpx;
  76. background: #fff;
  77. border-radius: 20px 20px 10px 10px;
  78. }
  79. .cont-width .cont-bg {
  80. height: 62%;
  81. width: 100%;
  82. border-radius: 20px 20px 0 0;
  83. }
  84. .cont-name {
  85. margin-top: 20rpx;
  86. }
  87. .cont-width .cont-name,
  88. .cont-width .cont-time {
  89. font-size: 30rpx;
  90. height: 12%;
  91. padding: 0 0 0 10rpx;
  92. margin-left: 15rpx;
  93. }
  94. .cont-width .cont-name view {
  95. font-size: 30rpx;
  96. height: 15%;
  97. display: inline-block;
  98. }
  99. .cont-width .cont-name .title {
  100. font-size: 34rpx;
  101. color: #333333;
  102. font-weight: 600;
  103. }
  104. .cont-width .cont-name .time {
  105. margin-left: 30rpx;
  106. height: 20rpx;
  107. line-height: 20rpx;
  108. font-size: 25rpx;
  109. padding: 10rpx 20rpx;
  110. text-align: center;
  111. color: #508FF4;
  112. background: #E8F1FF;
  113. border: 2rpx solid #518FF4;
  114. border-radius: 20rpx;
  115. }
  116. .cont-width .cont-time span {
  117. display: block;
  118. float: left;
  119. width: 300rpx;
  120. color: #666666;
  121. }
  122. /* notice */
  123. .notice-content {
  124. height: 950rpx;
  125. background-size: 100% 100%;
  126. /* padding-top: 3.75rem; */
  127. padding-bottom: 1.875rem;
  128. /* padding-left: 2.5rem; */
  129. margin-top: 0.9375rem;
  130. }
  131. .notice-content .text {
  132. padding-top: 155rpx;
  133. padding-bottom: 30rpx;
  134. padding-left: 75rpx;
  135. margin: 10rpx auto;
  136. line-height: 50rpx;
  137. width: 80%;
  138. }
  139. .notice-content .text view {
  140. font-size: 30rpx;
  141. margin-bottom: 10rpx;
  142. }