experience-webview.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. page {
  2. background: transparent;
  3. }
  4. .experience-shell {
  5. position: relative;
  6. min-height: 100vh;
  7. overflow: hidden;
  8. }
  9. .experience-shell__backdrop {
  10. position: absolute;
  11. inset: 0;
  12. background: rgba(14, 18, 17, 0.48);
  13. }
  14. .experience-shell__panel {
  15. position: absolute;
  16. left: 24rpx;
  17. right: 24rpx;
  18. background: #f6faf7;
  19. border: 2rpx solid rgba(21, 36, 27, 0.08);
  20. box-shadow: 0 24rpx 64rpx rgba(19, 31, 25, 0.22);
  21. overflow: hidden;
  22. }
  23. .experience-shell__panel--sheet {
  24. bottom: 24rpx;
  25. border-radius: 36rpx 36rpx 24rpx 24rpx;
  26. }
  27. .experience-shell__panel--dialog {
  28. top: 50%;
  29. transform: translateY(-50%);
  30. border-radius: 32rpx;
  31. }
  32. .experience-shell__panel--fullscreen {
  33. top: 12rpx;
  34. bottom: 12rpx;
  35. left: 12rpx;
  36. right: 12rpx;
  37. border-radius: 24rpx;
  38. }
  39. .experience-shell__header {
  40. display: flex;
  41. align-items: center;
  42. justify-content: space-between;
  43. gap: 20rpx;
  44. padding: 24rpx 24rpx 18rpx;
  45. background: linear-gradient(180deg, rgba(227, 243, 234, 0.96), rgba(246, 250, 247, 0.96));
  46. border-bottom: 2rpx solid rgba(30, 63, 46, 0.08);
  47. }
  48. .experience-shell__header-copy {
  49. min-width: 0;
  50. flex: 1;
  51. }
  52. .experience-shell__title {
  53. color: #13241c;
  54. font-size: 32rpx;
  55. font-weight: 700;
  56. line-height: 1.25;
  57. }
  58. .experience-shell__subtitle {
  59. margin-top: 6rpx;
  60. color: #557463;
  61. font-size: 22rpx;
  62. line-height: 1.35;
  63. }
  64. .experience-shell__close {
  65. flex-shrink: 0;
  66. padding: 12rpx 22rpx;
  67. border-radius: 999rpx;
  68. background: rgba(23, 46, 34, 0.08);
  69. color: #244432;
  70. font-size: 24rpx;
  71. font-weight: 600;
  72. }
  73. .experience-shell__body {
  74. position: relative;
  75. background: #f6faf7;
  76. }
  77. .experience-webview__loading {
  78. height: 100%;
  79. display: flex;
  80. flex-direction: column;
  81. align-items: center;
  82. justify-content: center;
  83. padding: 48rpx;
  84. color: #1f2f26;
  85. }
  86. .experience-webview__loading-title {
  87. font-size: 32rpx;
  88. font-weight: 600;
  89. }
  90. .experience-webview__loading-error {
  91. margin-top: 20rpx;
  92. font-size: 26rpx;
  93. color: #a0523d;
  94. }