index.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. .top-bar {
  2. /* background-color: #745A42; */
  3. background-color: #593320;
  4. width: 100vw;
  5. /*兼容 IOS<11.2*/
  6. padding-bottom: constant(safe-area-inset-bottom);
  7. /*兼容 IOS>11.2*/
  8. padding-bottom: env(safe-area-inset-bottom);
  9. height: 120px;
  10. display: flex;
  11. flex-flow: row nowrap;
  12. justify-tab-bar: space-around;
  13. align-items: center;
  14. padding-top: 30px;
  15. position: fixed;
  16. left: 0;
  17. top: 0;
  18. z-index: 900;
  19. }
  20. .row {
  21. padding-top: 40px;
  22. display: flex;
  23. justify-content: space-between;
  24. width: 100%;
  25. }
  26. .column {
  27. padding: 10px 0px 0px 0px;
  28. text-align: left; /* 文本居中 */
  29. width: 100%;
  30. }
  31. .column1 { width: 24%; padding-left: 30px; }
  32. .column2 { width: 48%;padding-left:20px }
  33. .column3 { width: 20px; padding-left:10px; padding-top: 12px;}
  34. .column4 { width: 20%;margin-right: 30px; }
  35. .input-box {
  36. border: 1px solid #CCC; /* 白色边框 */
  37. border-radius: 10px; /* 边框弧形角度 */
  38. padding: 0px 5px; /* 内边距 */
  39. height: 24px;
  40. color: #FFF;
  41. }
  42. .input-box::placeholder {
  43. color: #FFF; /* 占位符文字颜色 */
  44. }
  45. .container{
  46. margin-top: 70px;
  47. background-color: #E5E5E5;
  48. min-height: 760px;
  49. width: 100%;
  50. .banner{
  51. width:100%;
  52. }
  53. .section1{
  54. width: 100%;
  55. min-height: 104px;
  56. background-color: #FFF;
  57. margin: 3px auto;
  58. .row {
  59. display: flex; /* 设置为Flex布局 */
  60. width: 95%; /* 行宽度占满容器 */
  61. margin: 0 auto;
  62. }
  63. .column {
  64. flex: 1; /* 每列平均分配空间 */
  65. display: flex;
  66. flex-direction: column; /* 列内部元素垂直排列 */
  67. padding: 20px 3px;
  68. text-align: center; /* 文本居中 */
  69. }
  70. .cell {
  71. flex: 1; /* 在列内部,每行平均分配空间 */
  72. font-size: 16px;
  73. color: #666666;
  74. display: flex;
  75. font-weight: bold;
  76. padding: 0px 0px; /* 内边距 */
  77. .cl{
  78. text-align: left; /* 文本靠左 */
  79. }
  80. }
  81. .active{
  82. color: rgb(160, 124, 90);
  83. font-weight: bold;
  84. }
  85. .full-row {
  86. font-size: 14px;
  87. margin-top: -20px;
  88. text-align: center; /* 文本居中 */
  89. display: flex;
  90. width: 70%;
  91. .column {
  92. flex: 0 0 59px; /* 每列平均分配空间 */
  93. display: flex;
  94. flex-direction: column; /* 列内部元素垂直排列 */
  95. padding: 10px 0px 0px 10px;
  96. text-align: left; /* 文本居中 */
  97. }
  98. .column2 {
  99. flex: 0 0 7px; /* 每列平均分配空间 */
  100. display: flex;
  101. flex-direction: column; /* 列内部元素垂直排列 */
  102. padding: 15px 20px 0px 0px;
  103. text-align: left; /* 文本居中 */
  104. }
  105. }
  106. .selected{
  107. position: absolute;
  108. width: 100px;
  109. height: 100px;
  110. z-index: 999;
  111. background-color: #fff;
  112. }
  113. }
  114. .section2{
  115. width: 100%;
  116. min-height: 132px;
  117. background-color: #FFF;
  118. border-radius: 10px;
  119. margin: -28px auto;
  120. position: relative;
  121. display: flex;
  122. flex-direction: column; /* 子元素垂直排列 */
  123. align-items: center; /* 子元素在交叉轴上居中对齐 */
  124. .row {
  125. width: 95%; /* 行宽度占满容器 */
  126. padding: 10px 20px; /* 行内边距 */
  127. text-align: left; /* 文本居中 */
  128. border-bottom: 1px dotted #ccc; /* 每行的底部边框 */
  129. margin-top: 10px;
  130. margin-left: 5px;
  131. margin-right: 5px;
  132. display: flex;
  133. flex-wrap: nowrap;
  134. }
  135. .divider {
  136. width: 80%; /* 分割线宽度 */
  137. height: 2px; /* 分割线高度 */
  138. background-color: #000; /* 分割线颜色 */
  139. margin: 20px 0; /* 分割线的上下外边距 */
  140. }
  141. }
  142. .section3{
  143. width: 100%;
  144. min-height: 502px;
  145. .item{
  146. width: 100%;
  147. height: 180px;
  148. background-color: #FFF;
  149. margin-top: 5px;
  150. border-radius: 5px;
  151. display: flex;
  152. .item_img{
  153. margin: 15px 0px 10px 10px;
  154. width: 222px;
  155. height: 147px;
  156. border-radius: 7px;
  157. overflow: hidden;
  158. flex: 0 0 200px;
  159. img{
  160. width: 100%;
  161. height: 100%;
  162. }
  163. }
  164. .item_info{
  165. flex: 0 0 45%;
  166. line-height: 22px;
  167. height: 80px;
  168. .title{
  169. font-size: 14px;
  170. padding: 10px 10px 0px 15px;
  171. font-weight: bold;
  172. height: 75px;
  173. overflow: hidden;
  174. margin-bottom: 7px;
  175. }
  176. }
  177. }
  178. }
  179. .time_yuyue{
  180. width: 95%;
  181. padding: 2px 0px 0px 2px;
  182. font-size: 12px;
  183. color: #666666;
  184. display: flex;
  185. line-height: 18px;
  186. height: 30px;
  187. flex-wrap: wrap;
  188. .ico{
  189. padding-top: 2px;
  190. flex:0 0 20px;
  191. padding-left: 5px;
  192. }
  193. .time{
  194. flex:0 0 80%;
  195. text-align: left;
  196. }
  197. .didian{
  198. flex:0 0 80%;
  199. text-align: left;
  200. }
  201. }
  202. .yuyue_btn{
  203. margin-left: 70px;
  204. margin-top: 12px;
  205. image{
  206. justify-content: flex-end;
  207. }
  208. }
  209. }
  210. .slide-image{
  211. width: 100%;
  212. height: 300px;
  213. }