index.less 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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: 428rpx;
  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. }
  162. }
  163. }
  164. .box {
  165. width: 100%;
  166. padding-left: 30rpx;
  167. padding-right: 30rpx;
  168. padding-top: 20rpx;
  169. .wangbox {
  170. width: 100%;
  171. display: flex;
  172. justify-content: center;
  173. align-items: center;
  174. flex-direction: column;
  175. margin-top: 60rpx;
  176. margin-bottom: 28rpx;
  177. .wang {
  178. width: 206rpx;
  179. height: 46rpx;
  180. font-size: 32rpx;
  181. color: #67806A;
  182. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200);
  183. background-position: center;
  184. /* 背景图片居中 */
  185. // background-size: cover; /* 背景图片覆盖整个元素 */
  186. background-repeat: no-repeat;
  187. /* 不重复背景图片 */
  188. display: flex;
  189. justify-content: center;
  190. align-items: center;
  191. }
  192. .wang2 {
  193. font-size: 24rpx;
  194. color: #969696;
  195. }
  196. }
  197. .wang-cardbox {
  198. margin-top: 40rpx;
  199. width: 100%;
  200. background-color: white;
  201. overflow-y: hidden;
  202. padding-left: 3%;
  203. padding-right: 3%;
  204. padding-bottom: 40rpx;
  205. column-count: 2;
  206. /* 设置列数 */
  207. column-gap: 16rpx;
  208. /* 设置列间距 */
  209. .wang-card {
  210. break-inside: avoid;
  211. /* 防止卡片在列之间断裂 */
  212. margin-bottom: 20rpx;
  213. /* 设置卡片底部间距 */
  214. width: 100%;
  215. /* 确保卡片宽度为100% */
  216. image {
  217. width: 100%;
  218. height: 204rpx;
  219. border-radius: 4rpx;
  220. }
  221. .wang-catex {
  222. font-size: 26rpx;
  223. font-weight: 400;
  224. height: 76rpx;
  225. }
  226. .wang-numbox {
  227. width: 100%;
  228. display: flex;
  229. align-items: center;
  230. .wang-num {
  231. display: flex;
  232. justify-content: flex-end;
  233. align-items: flex-end;
  234. color: #C5262Ced;
  235. font-size: 30rpx;
  236. .wang-num1 {
  237. font-size: 32rpx;
  238. }
  239. .wang-num2 {
  240. font-size: 40rpx;
  241. }
  242. }
  243. .wang-submit {
  244. width: 102rpx;
  245. height: 48rpx;
  246. font-size: 28rpx;
  247. color: white;
  248. background-color: #F8DA7F;
  249. border-radius: 15rpx;
  250. display: flex;
  251. justify-content: center;
  252. align-items: center;
  253. margin-left: auto;
  254. }
  255. }
  256. }
  257. }
  258. }
  259. }