index.less 10 KB

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