index.wxss 7.2 KB

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