index.less 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. /* nova-tourism/pages/my/my-order/index.wxss */
  2. .all {
  3. width: 100vw;
  4. background-color: #F4F4F4;
  5. overflow-y: scroll;
  6. padding-bottom: 20rpx;
  7. color: #382E2E;
  8. font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  9. /* 添加后备字体 */
  10. font-weight: 400;
  11. .tabbos {
  12. width: 100%;
  13. background-color: white;
  14. .tabs {
  15. width: 50%;
  16. margin-left: auto;
  17. }
  18. .a {
  19. box-shadow: none;
  20. }
  21. }
  22. @font-face {
  23. font-family: 'NotoSans-Bold-5';
  24. src: url('https://file-cloud.fmode.cn//tmp/5iLLGbrCKubyce219ad4b2ae30ae432fe9a88f8261b1.ttf')format('truetype');
  25. /* 字体文件路径 */
  26. }
  27. //为选中
  28. @font-face {
  29. font-family: 'NotoSans-Regular-2';
  30. src: url('https://file-cloud.fmode.cn//tmp/5iLLGbrCKubyce219ad4b2ae30ae432fe9a88f8261b1.ttf')format('truetype');
  31. /* 字体文件路径 */
  32. }
  33. .tab-bar {
  34. display: flex;
  35. // justify-content: space-around;
  36. background-color: white;
  37. padding-bottom: 10rpx;
  38. font-family: 'NotoSans-Regular-2', sans-serif;
  39. }
  40. .tab-item {
  41. padding: 10px 0;
  42. text-align: center;
  43. position: relative;
  44. color: #969696;
  45. font-size: 28rpx;
  46. font-weight: 400;
  47. }
  48. .tab-item.active {
  49. position: relative;
  50. color: #67806A;
  51. font-size: 32rpx;
  52. font-weight: 500;
  53. font-family: 'NotoSans-Bold-5', sans-serif;
  54. }
  55. .tab-item.active::after {
  56. content: "";
  57. width: 64rpx;
  58. position: absolute;
  59. left: calc(50% - 32rpx);
  60. right: calc(50% - 32rpx);
  61. bottom: 0;
  62. height: 2rpx;
  63. background-color: #67806A;
  64. border-radius: 4rpx;
  65. }
  66. .cardbox {
  67. width: 100%;
  68. height: 450rpx;
  69. padding-left: 30rpx;
  70. padding-right: 30rpx;
  71. padding-top: 24rpx;
  72. padding-bottom: 10rpx;
  73. margin-top: 26rpx;
  74. background-color: white;
  75. .title {
  76. width: 100%;
  77. font-size: 28rpx;
  78. font-weight: 400;
  79. display: flex;
  80. }
  81. .roombox {
  82. width: 100%;
  83. display: flex;
  84. margin-top: 24rpx;
  85. image {
  86. width: 150rpx;
  87. height: 150rpx;
  88. border-radius: 4rpx;
  89. }
  90. .room {
  91. height: 100%;
  92. margin-left: 34rpx;
  93. .room-name {
  94. width: 460rpx;
  95. font-size: 24rpx;
  96. margin-bottom: 10rpx;
  97. }
  98. .room-tag {
  99. font-size: 20rpx;
  100. width: 460rpx;
  101. height: auto;
  102. color: #F37B40;
  103. margin-bottom: 10rpx;
  104. }
  105. .room-text {
  106. width: 460rpx;
  107. height: auto;
  108. font-size: 20rpx;
  109. color: #737373;
  110. }
  111. .room-text2 {
  112. width: 460rpx;
  113. height: auto;
  114. font-size: 26rpx;
  115. margin-top: 100rpx;
  116. color: #737373;
  117. overflow: hidden;
  118. white-space: nowrap;
  119. text-overflow: ellipsis;
  120. }
  121. }
  122. }
  123. .pricebox {
  124. width: 100%;
  125. display: flex;
  126. align-items: center;
  127. .ciri {
  128. margin-right: 10rpx;
  129. padding: 10rpx 20rpx;
  130. // width: 200rpx;
  131. font-size: 28rpx;
  132. height: 36rpx;
  133. display: flex;
  134. justify-content: center;
  135. align-items: center;
  136. background-color: #FBF5E1;
  137. color: #F9C28B;
  138. border-radius: 10rpx;
  139. }
  140. .price {
  141. margin-left: auto;
  142. font-size: 28rpx;
  143. }
  144. }
  145. .sumbitbox {
  146. width: 100%;
  147. display: flex;
  148. justify-content: flex-end;
  149. margin-top: 32rpx;
  150. .sumbit {
  151. width: 168rpx;
  152. height: 68rpx;
  153. border-radius: 20rpx;
  154. border: #F37B40 solid 2rpx;
  155. background-color: white;
  156. color: #F37B40;
  157. font-size: 28rpx;
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. margin: 0 10rpx;
  162. }
  163. }
  164. }
  165. .box {
  166. width: 100%;
  167. padding-left: 30rpx;
  168. padding-right: 30rpx;
  169. padding-top: 20rpx;
  170. .wangbox {
  171. width: 100%;
  172. display: flex;
  173. justify-content: center;
  174. align-items: center;
  175. flex-direction: column;
  176. margin-top: 60rpx;
  177. margin-bottom: 28rpx;
  178. .wang {
  179. width: 206rpx;
  180. height: 46rpx;
  181. font-size: 32rpx;
  182. color: #67806A;
  183. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200);
  184. background-position: center;
  185. /* 背景图片居中 */
  186. // background-size: cover; /* 背景图片覆盖整个元素 */
  187. background-repeat: no-repeat;
  188. /* 不重复背景图片 */
  189. display: flex;
  190. justify-content: center;
  191. align-items: center;
  192. }
  193. .wang2 {
  194. font-size: 24rpx;
  195. color: #969696;
  196. }
  197. }
  198. .wang-cardbox {
  199. margin-top: 40rpx;
  200. width: 100%;
  201. background-color: white;
  202. overflow-y: hidden;
  203. padding-left: 3%;
  204. padding-right: 3%;
  205. padding-bottom: 40rpx;
  206. column-count: 2;
  207. /* 设置列数 */
  208. column-gap: 16rpx;
  209. /* 设置列间距 */
  210. .wang-card {
  211. break-inside: avoid;
  212. /* 防止卡片在列之间断裂 */
  213. margin-bottom: 20rpx;
  214. /* 设置卡片底部间距 */
  215. width: 100%;
  216. /* 确保卡片宽度为100% */
  217. image {
  218. width: 100%;
  219. height: 204rpx;
  220. border-radius: 4rpx;
  221. }
  222. .wang-catex {
  223. font-size: 26rpx;
  224. font-weight: 400;
  225. height: 76rpx;
  226. }
  227. .wang-numbox {
  228. width: 100%;
  229. display: flex;
  230. align-items: center;
  231. .wang-num {
  232. display: flex;
  233. justify-content: flex-end;
  234. align-items: flex-end;
  235. color: #C5262Ced;
  236. font-size: 30rpx;
  237. .wang-num1 {
  238. font-size: 32rpx;
  239. }
  240. .wang-num2 {
  241. font-size: 40rpx;
  242. }
  243. }
  244. .wang-submit {
  245. width: 102rpx;
  246. height: 48rpx;
  247. font-size: 28rpx;
  248. color: white;
  249. background-color: #F8DA7F;
  250. border-radius: 15rpx;
  251. display: flex;
  252. justify-content: center;
  253. align-items: center;
  254. margin-left: auto;
  255. }
  256. }
  257. }
  258. }
  259. }
  260. }