index.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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. }
  155. //我的收藏
  156. .Legendary-Information{
  157. margin-top: 40rpx;
  158. width: 100%;
  159. background-color: white;
  160. overflow-y: hidden;
  161. padding-left: 3%;
  162. padding-right: 3%;
  163. padding-bottom: 40rpx;
  164. column-count: 2; /* 设置列数 */
  165. column-gap: 20rpx; /* 设置列间距 */
  166. .cardbox {
  167. break-inside: avoid; /* 防止卡片在列之间断裂 */
  168. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  169. width: 100%; /* 确保卡片宽度为100% */
  170. background-color: #F9F9F9;
  171. .pic{
  172. width: 100%;
  173. height: 275rpx;
  174. }
  175. .textobx{
  176. width: 100%;
  177. height: 220rpx;
  178. padding-top: 10rpx;
  179. padding-left: 20rpx;
  180. padding-right: 20rpx;
  181. .title{
  182. width: 100%;
  183. height: 50rpx;
  184. display: flex;
  185. align-items: center;
  186. .til{
  187. font-size: 30rpx;
  188. font-weight: 600;
  189. }
  190. .collect{
  191. width: 50rpx;
  192. height: 50rpx;
  193. margin-left: auto;
  194. }
  195. }
  196. .miaosu{
  197. width: 100%;
  198. height: 80rpx; /* 设置固定高度 */
  199. font-size: 28rpx;
  200. overflow: hidden; /* 隐藏超出部分 */
  201. display: -webkit-box; /* 使用弹性盒子布局 */
  202. -webkit-box-orient: vertical; /* 垂直排列 */
  203. -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */
  204. text-overflow: ellipsis; /* 超出部分显示省略号 */
  205. }
  206. .bottom{
  207. width: 100%;
  208. height: 80rpx;
  209. display: flex;
  210. align-items: center;
  211. .qian{
  212. color: #C5262Ced;
  213. display: flex;
  214. .numbox{
  215. margin-left: 6rpx;
  216. }
  217. }
  218. .soucang{
  219. width: 104rpx;
  220. height: 48rpx;
  221. font-size: 26rpx;
  222. background-color: #343027;
  223. border-radius: 40rpx;
  224. color: white;
  225. margin-left: auto;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. }
  230. }
  231. }
  232. }
  233. }
  234. }