index.less 10 KB

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