index.wxss 6.7 KB

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