index.wxss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  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 100% 180%;
  5. background-size: cover;
  6. color: #fff;
  7. min-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. .share-icon {
  212. width: 30rpx;
  213. height: 30rpx;
  214. }
  215. /* 分享弹窗样式 */
  216. .share-popup {
  217. position: fixed;
  218. top: 0;
  219. left: 0;
  220. width: 100%;
  221. height: 100%;
  222. z-index: 999;
  223. }
  224. .share-popup-mask {
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. width: 100%;
  229. height: 100%;
  230. background-color: rgba(0, 0, 0, 0.7);
  231. }
  232. .share-popup-content {
  233. position: absolute;
  234. bottom: 0;
  235. left: 0;
  236. width: 100%;
  237. background-color: #2a2a2a;
  238. border-top-left-radius: 20rpx;
  239. border-top-right-radius: 20rpx;
  240. padding: 30rpx;
  241. box-sizing: border-box;
  242. }
  243. .share-title {
  244. font-size: 32rpx;
  245. color: #fff;
  246. text-align: center;
  247. margin-bottom: 30rpx;
  248. }
  249. .canvas {
  250. width: 375px;
  251. height: 600px;
  252. position: fixed;
  253. left: -9999px;
  254. top: 0;
  255. }
  256. .widget{
  257. position: absolute;
  258. left: -9999px;
  259. top: 0;
  260. }
  261. .share-image-container {
  262. width: 720rpx;
  263. height: 512rpx;
  264. display: flex;
  265. flex-direction: column;
  266. background-color: #ccc;
  267. align-items: center;
  268. }
  269. .share-png-box{
  270. position: absolute;
  271. left: 36rpx;
  272. top: -160%;
  273. z-index: 10;
  274. width: 680rpx;
  275. height: 512rpx;
  276. border-radius: 20rpx;
  277. overflow: hidden;
  278. background: #323233;
  279. }
  280. .share-tips{
  281. width: 100%;
  282. height: 100%;
  283. font-size: 28rpx;
  284. color: #f5f5f5;
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. }
  289. .share-png{
  290. width: 100%;
  291. height: 100%;
  292. }
  293. .top-image{
  294. width: 100%;
  295. height: 378rpx;
  296. background: linear-gradient(to bottom, #000 0%, #040404 25%, #262626 50%, #343434 75%, #3D3D3D 100%);
  297. }
  298. .wenwubg{
  299. width: 100%;
  300. height: 378rpx;
  301. }
  302. .item-box{
  303. position: relative;
  304. width: 100%;
  305. height: 134rpx;
  306. }
  307. .btmbg{
  308. width: 100%;
  309. height: 134rpx;
  310. }
  311. .left-box{
  312. position:absolute;
  313. display: flex;
  314. left: 0;
  315. top: 0;
  316. width: 710rpx;
  317. height: 132rpx;
  318. flex-direction: column;
  319. justify-content: center;
  320. padding-left: 48rpx;
  321. }
  322. .text{
  323. width: 254rpx;
  324. text-align: left;
  325. }
  326. .canvas-code{
  327. position: absolute;
  328. width: 72rpx;
  329. height: 72rpx;
  330. top: -50%;
  331. z-index: -1;
  332. }
  333. .scrwenwu {
  334. font-size: 14px;
  335. color: #383127;
  336. vertical-align: bottom;
  337. }
  338. .scrcontent {
  339. font-size: 10px;
  340. color: #B39775;
  341. vertical-align: top;
  342. }
  343. .rightBox {
  344. width: 100rpx;
  345. height: 100rpx;
  346. position:absolute;
  347. right: 0;
  348. top: 16rpx;
  349. }
  350. .qrcode {
  351. width: 50px;
  352. height: 50px;
  353. border-radius: 1;
  354. }
  355. .share-image {
  356. max-width: 90%;
  357. margin: 0 auto;
  358. }
  359. .loading-image {
  360. width: 80%;
  361. height: 400rpx;
  362. display: flex;
  363. justify-content: center;
  364. align-items: center;
  365. color: #999;
  366. font-size: 28rpx;
  367. background-color: #333;
  368. border-radius: 10rpx;
  369. }
  370. .share-options {
  371. display: flex;
  372. justify-content: space-around;
  373. margin-bottom: 40rpx;
  374. }
  375. .share-option-item {
  376. display: flex;
  377. flex-direction: column;
  378. align-items: center;
  379. }
  380. .option-img{
  381. display: flex;
  382. justify-content: center;
  383. align-items: center;
  384. width: 148rpx;
  385. height: 96rpx;
  386. background: #323233;
  387. box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
  388. border-radius: 24rpx;
  389. margin-bottom: 8rpx;
  390. }
  391. .option-icon {
  392. width: 44rpx;
  393. height: 44rpx;
  394. }
  395. .option-text {
  396. font-size: 24rpx;
  397. color: #fff;
  398. }
  399. .cancel-button {
  400. width: 100%;
  401. height: 90rpx;
  402. line-height: 90rpx;
  403. text-align: center;
  404. background-color: #3a3a3a;
  405. color: #fff;
  406. font-size: 32rpx;
  407. border-radius: 45rpx;
  408. box-shadow: inset 0rpx 4rpx 0rpx 0rpx rgba(255,255,255,0.1), inset 0rpx 2rpx 0rpx 0rpx #000000;
  409. }