index.wxss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. /* pages/guicangDetails/index.wxss */
  2. .container {
  3. padding: 0;
  4. background: url('https://swkz-1332577016.cos.ap-guangzhou.myqcloud.com/swkzGuicang/bg.png') no-repeat;
  5. background-size: cover;
  6. color: #fff;
  7. height: 100vh;
  8. position: relative;
  9. overflow: hidden;
  10. }
  11. /* 下载APP提示栏 */
  12. .app-download-banner {
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. width: 100%;
  17. background: #fff;
  18. z-index: 100;
  19. padding: 20rpx 30rpx;
  20. box-sizing: border-box;
  21. }
  22. .banner-content {
  23. display: flex;
  24. align-items: center;
  25. justify-content: space-between;
  26. }
  27. .app-logo {
  28. width: 60rpx;
  29. height: 60rpx;
  30. border-radius: 12rpx;
  31. margin-right: 20rpx;
  32. }
  33. .app-info {
  34. flex: 1;
  35. margin-right: 20rpx;
  36. }
  37. .app-name {
  38. font-size: 32rpx;
  39. font-weight: bold;
  40. color: #333333;
  41. line-height: 1.2;
  42. }
  43. .app-subtitle {
  44. font-size: 24rpx;
  45. color: #888888;
  46. line-height: 1.2;
  47. }
  48. .banner-actions {
  49. display: flex;
  50. align-items: center;
  51. }
  52. .download-btn {
  53. background-color: #B39775;
  54. border: 1px solid #B39775;
  55. border-radius: 30rpx;
  56. padding: 12rpx 24rpx;
  57. font-size: 26rpx;
  58. color: #fff;
  59. margin-right: 20rpx;
  60. }
  61. .close-btn {
  62. color: #888888;
  63. font-size: 48rpx;
  64. margin-right: 10rpx;
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. }
  69. .close-icon {
  70. width: 24rpx;
  71. height: 24rpx;
  72. opacity: 0.8;
  73. }
  74. /* 图片区域 */
  75. .image-container {
  76. width: 100%;
  77. height: 50%;
  78. position: absolute;
  79. top: 45%;
  80. transform: translateY(-50%);
  81. background-size: cover;
  82. }
  83. .main-image {
  84. width: 100%;
  85. height: 100%;
  86. object-fit: cover;
  87. }
  88. .image-info {
  89. position: absolute;
  90. bottom: 240rpx;
  91. left: 0;
  92. width: 100%;
  93. padding: 30rpx;
  94. background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  95. }
  96. .title {
  97. font-size: 40rpx;
  98. font-weight: bold;
  99. margin-bottom: 10rpx;
  100. }
  101. .subtitle {
  102. font-size: 28rpx;
  103. color: #ccc;
  104. }
  105. /* 可上拉信息框 */
  106. .info-box {
  107. position: absolute;
  108. left: 0;
  109. width: 100%;
  110. height: 100vh;
  111. background-color: #1a1a1a;
  112. border-top-left-radius: 30rpx;
  113. border-top-right-radius: 30rpx;
  114. transition: top 0.3s ease;
  115. z-index: 10;
  116. }
  117. .info-box.full-screen {
  118. top: 10vh !important;
  119. }
  120. /* 上拉指示器 */
  121. .drag-indicator {
  122. width: 80rpx;
  123. height: 8rpx;
  124. background-color: #fff;
  125. border-radius: 4rpx;
  126. margin: 20rpx auto;
  127. }
  128. /* 内容区域 */
  129. .info-content {
  130. padding: 0 30rpx 30rpx;
  131. overflow-y: auto;
  132. max-height: calc(98vh - 60rpx);
  133. }
  134. .section-title {
  135. font-size: 32rpx;
  136. font-weight: bold;
  137. margin-bottom: 30rpx;
  138. }
  139. .description-text {
  140. font-size: 28rpx;
  141. line-height: 1.6;
  142. color: #ccc;
  143. margin-bottom: 30rpx;
  144. white-space: pre-wrap;
  145. }
  146. /* 信息区域 */
  147. .info-section {
  148. margin-top: 30rpx;
  149. border-top: 1px solid #333;
  150. padding-top: 30rpx;
  151. }
  152. .info-item {
  153. display: flex;
  154. margin-bottom: 20rpx;
  155. }
  156. .info-label {
  157. width: 120rpx;
  158. color: #999;
  159. font-size: 28rpx;
  160. }
  161. .info-value {
  162. flex: 1;
  163. color: #fff;
  164. font-size: 28rpx;
  165. }
  166. /* 加载中 */
  167. .loading {
  168. display: flex;
  169. flex-direction: column;
  170. justify-content: center;
  171. align-items: center;
  172. height: 100vh;
  173. color: #999;
  174. }
  175. .loading-text {
  176. margin-top: 20rpx;
  177. font-size: 28rpx;
  178. }
  179. /* 添加以下样式到index.wxss文件 */
  180. .header-section {
  181. display: flex;
  182. justify-content: space-between;
  183. align-items: flex-start;
  184. margin-bottom: 30rpx;
  185. padding-bottom: 20rpx;
  186. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  187. }
  188. .title-container {
  189. flex: 1;
  190. }
  191. .title {
  192. font-size: 36rpx;
  193. font-weight: bold;
  194. color: #fff;
  195. margin-bottom: 10rpx;
  196. }
  197. .subtitle {
  198. font-size: 24rpx;
  199. color: rgba(255, 255, 255, 0.6);
  200. }
  201. .share-button {
  202. width: 100rpx;
  203. height: 80rpx;
  204. display: flex;
  205. justify-content: center;
  206. align-items: center;
  207. margin-left: 20rpx;
  208. border-radius: 30rpx;
  209. border: 1px solid #252525;
  210. }
  211. .down-icon {
  212. width: 40rpx;
  213. height: 40rpx;
  214. }
  215. .share-icon {
  216. width: 30rpx;
  217. height: 30rpx;
  218. }
  219. /* 分享弹窗样式 */
  220. .share-popup {
  221. position: fixed;
  222. top: 0;
  223. left: 0;
  224. width: 100%;
  225. height: 100%;
  226. z-index: 999;
  227. }
  228. .share-popup-mask {
  229. position: absolute;
  230. top: 0;
  231. left: 0;
  232. width: 100%;
  233. height: 100%;
  234. background-color: rgba(0, 0, 0, 0.7);
  235. }
  236. .share-popup-content {
  237. position: absolute;
  238. bottom: 0;
  239. left: 0;
  240. width: 100%;
  241. background-color: #2a2a2a;
  242. border-top-left-radius: 20rpx;
  243. border-top-right-radius: 20rpx;
  244. padding: 30rpx;
  245. box-sizing: border-box;
  246. }
  247. .share-title {
  248. font-size: 32rpx;
  249. color: #fff;
  250. text-align: center;
  251. margin-bottom: 30rpx;
  252. }
  253. .canvas {
  254. width: 375px;
  255. height: 600px;
  256. position: fixed;
  257. left: -9999px;
  258. top: 0;
  259. }
  260. .widget{
  261. position: absolute;
  262. left: -9999px;
  263. top: 0;
  264. }
  265. .share-image-container {
  266. width: 720rpx;
  267. height: 512rpx;
  268. display: flex;
  269. flex-direction: column;
  270. background-color: #ccc;
  271. align-items: center;
  272. }
  273. .share-png-box{
  274. position: absolute;
  275. left: 36rpx;
  276. top: -160%;
  277. z-index: 10;
  278. width: 680rpx;
  279. height: 512rpx;
  280. border-radius: 20rpx;
  281. overflow: hidden;
  282. background: #323233;
  283. }
  284. .share-tips{
  285. width: 100%;
  286. height: 100%;
  287. font-size: 28rpx;
  288. color: #f5f5f5;
  289. display: flex;
  290. justify-content: center;
  291. align-items: center;
  292. }
  293. .share-png{
  294. width: 100%;
  295. height: 100%;
  296. }
  297. .top-image{
  298. width: 100%;
  299. height: 378rpx;
  300. background: linear-gradient(to bottom, #000 0%, #040404 25%, #262626 50%, #343434 75%, #3D3D3D 100%);
  301. }
  302. .wenwubg{
  303. width: 100%;
  304. height: 378rpx;
  305. }
  306. .item-box{
  307. position: relative;
  308. width: 100%;
  309. height: 134rpx;
  310. }
  311. .btmbg{
  312. width: 100%;
  313. height: 134rpx;
  314. }
  315. .left-box{
  316. position:absolute;
  317. display: flex;
  318. left: 0;
  319. top: 0;
  320. width: 710rpx;
  321. height: 132rpx;
  322. flex-direction: column;
  323. justify-content: center;
  324. padding-left: 48rpx;
  325. }
  326. .text{
  327. width: 254rpx;
  328. text-align: left;
  329. }
  330. .canvas-code{
  331. position: absolute;
  332. width: 72rpx;
  333. height: 72rpx;
  334. top: -50%;
  335. z-index: -1;
  336. }
  337. .scrwenwu {
  338. font-size: 14px;
  339. color: #383127;
  340. vertical-align: bottom;
  341. }
  342. .scrcontent {
  343. font-size: 10px;
  344. color: #B39775;
  345. vertical-align: top;
  346. }
  347. .rightBox {
  348. width: 100rpx;
  349. height: 100rpx;
  350. position:absolute;
  351. right: 0;
  352. top: 16rpx;
  353. }
  354. .qrcode {
  355. width: 50px;
  356. height: 50px;
  357. border-radius: 1;
  358. }
  359. .share-image {
  360. max-width: 90%;
  361. margin: 0 auto;
  362. }
  363. .loading-image {
  364. width: 80%;
  365. height: 400rpx;
  366. display: flex;
  367. justify-content: center;
  368. align-items: center;
  369. color: #999;
  370. font-size: 28rpx;
  371. background-color: #333;
  372. border-radius: 10rpx;
  373. }
  374. .share-options {
  375. display: flex;
  376. justify-content: space-around;
  377. margin-bottom: 40rpx;
  378. }
  379. .share-option-item {
  380. display: flex;
  381. flex-direction: column;
  382. align-items: center;
  383. }
  384. .option-img{
  385. display: flex;
  386. justify-content: center;
  387. align-items: center;
  388. width: 148rpx;
  389. height: 96rpx;
  390. background: #323233;
  391. box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
  392. border-radius: 24rpx;
  393. margin-bottom: 8rpx;
  394. }
  395. .option-icon {
  396. width: 44rpx;
  397. height: 44rpx;
  398. }
  399. .option-text {
  400. font-size: 24rpx;
  401. color: #fff;
  402. }
  403. .cancel-button {
  404. width: 100%;
  405. height: 90rpx;
  406. line-height: 90rpx;
  407. text-align: center;
  408. background-color: #3a3a3a;
  409. color: #fff;
  410. font-size: 32rpx;
  411. border-radius: 45rpx;
  412. box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
  413. }