index.less 8.3 KB

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