index.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .specs-popup {
  2. width: 100vw;
  3. box-sizing: border-box;
  4. padding: 32rpx 32rpx calc(20rpx + env(safe-area-inset-bottom)) 32rpx;
  5. max-height: 80vh;
  6. display: flex;
  7. flex-direction: column;
  8. background-color: white;
  9. border-radius: 20rpx 20rpx 0 0;
  10. }
  11. .specs-popup .section {
  12. margin-top: 44rpx;
  13. flex: auto;
  14. overflow-y: scroll;
  15. overflow-x: hidden;
  16. -webkit-overflow-scrolling: touch;
  17. }
  18. .specs-popup .section .title {
  19. font-size: 26rpx;
  20. color: #4f5356;
  21. }
  22. .specs-popup .section .options {
  23. color: #333333;
  24. font-size: 24rpx;
  25. margin-right: -26rpx;
  26. }
  27. .specs-popup .section .options .option {
  28. display: inline-block;
  29. margin-top: 24rpx;
  30. height: 56rpx;
  31. line-height: 56rpx;
  32. padding: 0 16rpx;
  33. border-radius: 8rpx;
  34. background-color: #f5f5f5;
  35. max-width: 100%;
  36. box-sizing: border-box;
  37. white-space: nowrap;
  38. overflow: hidden;
  39. text-overflow: ellipsis;
  40. }
  41. .specs-popup .section .options .option:not(:last-child) {
  42. margin-right: 26rpx;
  43. }
  44. .specs-popup .bottom-btn {
  45. margin-top: 42rpx;
  46. position: relative;
  47. height: 80rpx;
  48. line-height: 80rpx;
  49. text-align: center;
  50. background-color: white;
  51. color: #fa4126;
  52. }
  53. .specs-popup .bottom-btn--active {
  54. opacity: 0.5;
  55. }
  56. .specs-popup .bottom-btn::after {
  57. display: block;
  58. content: ' ';
  59. position: absolute;
  60. left: 0;
  61. top: 0;
  62. width: 200%;
  63. height: 200%;
  64. border: 1px solid #fa4126;
  65. border-radius: 80rpx;
  66. transform: scale(0.5);
  67. transform-origin: left top;
  68. }