index.less 7.9 KB

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