index.less 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /* nova-tourism/components/collect/index.wxss */
  2. .all{
  3. width: 100vw;
  4. overflow-y: scroll;
  5. padding-bottom: 30rpx;
  6. color: #382E2E;
  7. font-weight: 400;
  8. font-family: "Microsoft JhengHei", "PingFang SC", "Helvetica Neue", sans-serif;
  9. .img2{
  10. width: 100%;
  11. height: 442rpx;
  12. }
  13. //云上风物
  14. .box{
  15. width: 100%;
  16. padding-left: 30rpx;
  17. padding-right: 30rpx;
  18. padding-top: 20rpx;
  19. .taps{
  20. width: 100%;
  21. height: 220rpx;
  22. display: flex;
  23. justify-content: space-around;
  24. border-bottom: solid 4rpx #99B6A0;
  25. .tap{
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. flex-direction: column;
  30. image{
  31. width: 100rpx;
  32. height: 100rpx;
  33. border-radius: 50%;
  34. }
  35. .tap-tex{
  36. font-size: 26rpx;
  37. margin-top: 20rpx;
  38. color: #969696 ;
  39. }
  40. }
  41. }
  42. .box-tex{
  43. font-size: 32rpx;
  44. color: #67806A;
  45. margin-top: 10rpx;
  46. margin-bottom: 20rpx;
  47. }
  48. .picturebox{
  49. width: 100%;
  50. height: 500rpx;
  51. position: relative;
  52. .img{
  53. width: 100%;
  54. height: 500rpx;
  55. image{
  56. width: 100%;
  57. height: 100%;
  58. }
  59. }
  60. .numberbox{
  61. position: absolute;
  62. bottom: 40rpx;
  63. right: 20rpx;
  64. border-radius: 45%;
  65. z-index: 10;
  66. color: white;
  67. width: 70rpx;
  68. height: 45rpx;
  69. font-size: 24rpx;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. background-color: rgba(12, 12, 12, 0.5);
  74. }
  75. }
  76. .wangbox{
  77. width: 100%;
  78. display: flex;
  79. justify-content: center;
  80. align-items: center;
  81. flex-direction: column;
  82. margin-top: 40rpx;
  83. margin-bottom: 20rpx;
  84. .wang{
  85. width: 200rpx;
  86. height: 60rpx;
  87. font-size: 32rpx;
  88. color: #67806A;
  89. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200);
  90. background-position: center; /* 背景图片居中 */
  91. // background-size: cover; /* 背景图片覆盖整个元素 */
  92. background-repeat: no-repeat; /* 不重复背景图片 */
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. }
  97. .wang2{
  98. font-size: 28rpx;
  99. color: #969696;
  100. }
  101. }
  102. .wang-cardbox{
  103. margin-top: 40rpx;
  104. width: 100%;
  105. background-color: white;
  106. overflow-y: hidden;
  107. padding-left: 3%;
  108. padding-right: 3%;
  109. padding-bottom: 40rpx;
  110. column-count: 2; /* 设置列数 */
  111. column-gap: 20rpx; /* 设置列间距 */
  112. .wang-card{
  113. break-inside: avoid; /* 防止卡片在列之间断裂 */
  114. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  115. width: 100%; /* 确保卡片宽度为100% */
  116. image{
  117. width: 100%;
  118. height: 275rpx;
  119. border-radius: 15rpx;
  120. }
  121. .wang-catex{
  122. font-size: 28rpx;
  123. }
  124. .wang-numbox{
  125. width: 100%;
  126. height: 80rpx;
  127. display: flex;
  128. align-items: center;
  129. .wang-num{
  130. display: flex;
  131. justify-content: flex-end;
  132. align-items: flex-end;
  133. color: #C5262Ced;
  134. font-size: 30rpx;
  135. .wang-num1{
  136. font-size: 32rpx;
  137. }
  138. .wang-num2{
  139. font-size: 36rpx;
  140. }
  141. }
  142. .wang-submit{
  143. width: 100rpx;
  144. height: 50rpx;
  145. font-size: 30rpx;
  146. color: white;
  147. background-color: #F8DA7F;
  148. border-radius: 40rpx;
  149. display: flex;
  150. justify-content: center;
  151. align-items: center;
  152. margin-left: auto;
  153. }
  154. }
  155. }
  156. }
  157. .more{
  158. width: 100%;
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. .more-tex{
  163. font-size: 28rpx;
  164. color: #969696;
  165. }
  166. }
  167. }
  168. //我的收藏
  169. .Legendary-Information{
  170. margin-top: 44rpx;
  171. width: 100%;
  172. background-color: white;
  173. overflow-y: hidden;
  174. padding-left: 3%;
  175. padding-right: 3%;
  176. padding-bottom: 40rpx;
  177. column-count: 2; /* 设置列数 */
  178. column-gap: 10rpx; /* 设置列间距 */
  179. .cardbox {
  180. break-inside: avoid; /* 防止卡片在列之间断裂 */
  181. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  182. width: 346rpx;
  183. height: 398rpx; /* 确保卡片宽度为100% */
  184. background-color: #F9F9F9;
  185. display: flex;
  186. align-items: center;
  187. flex-direction: column;
  188. .pic{
  189. width: 336rpx;
  190. height: 198rpx;
  191. border-radius: 10rpx;
  192. }
  193. .textobx{
  194. width: 302;
  195. height: 152rpx;
  196. margin-bottom: 20rpx;
  197. .title{
  198. width: 100%;
  199. height: 50rpx;
  200. margin-top: 4rpx;
  201. display: flex;
  202. align-items: center;
  203. .til{
  204. font-size: 28rpx;
  205. font-weight:700;
  206. }
  207. .collect{
  208. width: 46rpx;
  209. height: 46rpx;
  210. margin-left: auto;
  211. }
  212. }
  213. .miaosu{
  214. width: 284rpx;
  215. height: 70rpx;
  216. font-size: 26rpx;
  217. font-weight: 400;
  218. overflow: hidden;
  219. display: -webkit-box;
  220. -webkit-box-orient: vertical;
  221. -webkit-line-clamp: 2;
  222. text-overflow: ellipsis;
  223. }
  224. .bottom{
  225. width: 100%;
  226. height: 46rpx;
  227. margin-top: 4rpx;
  228. display: flex;
  229. .qian{
  230. font-size: 28;
  231. font-weight: 400;
  232. color: #C5262Ced;
  233. display: flex;
  234. .numbox{
  235. margin-left: 6rpx;
  236. }
  237. }
  238. .soucang{
  239. width: 118rpx;
  240. height: 46rpx;
  241. font-size: 24rpx;
  242. font-weight: 700;
  243. background-color: #343027;
  244. border-radius: 40rpx;
  245. color: white;
  246. margin-left: auto;
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. }
  251. }
  252. }
  253. }
  254. }
  255. //选中
  256. @font-face {
  257. font-family: 'NotoSans-Bold-5';
  258. src: url('../../../assets/font/Noto-sans/NotoSans-Bold-5.ttf'); /* 字体文件路径 */
  259. }
  260. //为选中
  261. @font-face {
  262. font-family: 'NotoSans-Regular-2';
  263. src: url('../../../assets/font/Noto-sans/NotoSans-Regular-2.ttf'); /* 字体文件路径 */
  264. }
  265. .tab-bar {
  266. display: flex;
  267. // justify-content: space-around;
  268. margin-top: 28rpx;
  269. font-family: 'NotoSans-Regular-2', sans-serif;
  270. }
  271. .tab-item {
  272. padding: 10rpx 0;
  273. text-align: center;
  274. position: relative;
  275. color: #969696;
  276. font-size: 28rpx;
  277. font-weight: 400;
  278. }
  279. .tab-item.active {
  280. position: relative;
  281. color: #67806A;
  282. font-size: 32rpx;
  283. font-weight: 500;
  284. font-family: 'NotoSans-Bold-5', sans-serif;
  285. }
  286. .tab-item.active::after {
  287. content: "";
  288. width: 64rpx;
  289. position: absolute;
  290. left: calc(50% - 32rpx);
  291. right: calc(50% - 32rpx);
  292. bottom: 0;
  293. height: 2rpx;
  294. background-color: #67806A;
  295. border-radius: 4rpx;
  296. }
  297. }