spec-popup.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. .spec-contain.data-v-35ea5f84 {
  17. border-radius: 10rpx 10rpx 0 0;
  18. overflow: hidden;
  19. position: relative;
  20. }
  21. .spec-contain .close.data-v-35ea5f84 {
  22. position: absolute;
  23. right: 10rpx;
  24. top: 10rpx;
  25. }
  26. .spec-contain .header.data-v-35ea5f84 {
  27. padding: 30rpx;
  28. padding-right: 70rpx;
  29. align-items: flex-start;
  30. border: 1px solid #E5E5E5;
  31. }
  32. .spec-contain .spec-main.data-v-35ea5f84 {
  33. padding: 0 24rpx;
  34. }
  35. .spec-contain .spec-main .spec-list.data-v-35ea5f84 {
  36. padding: 30rpx 20rpx;
  37. }
  38. .spec-contain .spec-main .spec-list .spec-item.data-v-35ea5f84 {
  39. line-height: 54rpx;
  40. padding: 0 30rpx;
  41. background-color: #F4F4F4;
  42. border-radius: 60rpx;
  43. margin: 0 20rpx 20rpx 0;
  44. border: 1px solid #F4F4F4;
  45. }
  46. .spec-contain .spec-main .spec-list .spec-item.checked.data-v-35ea5f84 {
  47. background-color: #FFE9EB;
  48. color: #FF2C3C;
  49. border-color: currentColor;
  50. }
  51. .spec-contain .spec-main .spec-list .spec-item.spec-disabled.data-v-35ea5f84 {
  52. position: relative;
  53. }
  54. .spec-contain .spec-main .spec-list .spec-item.spec-disabled.data-v-35ea5f84::after {
  55. content: '缺货';
  56. position: absolute;
  57. right: -20rpx;
  58. top: -24rpx;
  59. color: #ffffff;
  60. width: 70rpx;
  61. height: 36rpx;
  62. text-align: center;
  63. line-height: 36rpx;
  64. font-size: 22rpx;
  65. border-radius: 20rpx 20rpx 20rpx 0;
  66. background-color: #FF2C3C;
  67. }
  68. .spec-contain .spec-main .spec-list .spec-item.unspec-disabled.data-v-35ea5f84::after {
  69. background-color: gray;
  70. }
  71. .spec-contain .disabled.data-v-35ea5f84 {
  72. opacity: 0.4;
  73. }
  74. .spec-contain .btns.data-v-35ea5f84 {
  75. height: 120rpx;
  76. padding: 0 30rpx;
  77. margin-top: 80rpx;
  78. }
  79. .spec-contain .btns .add-cart.data-v-35ea5f84 {
  80. background-color: #FF9E1E;
  81. }
  82. .spec-contain .btns .btn.data-v-35ea5f84 {
  83. margin: 0 10rpx;
  84. flex: 1;
  85. }
  86. .spec-contain .vip-price.data-v-35ea5f84 {
  87. margin: 0 24rpx;
  88. background-color: #FFE9BA;
  89. line-height: 36rpx;
  90. border-radius: 6rpx;
  91. overflow: hidden;
  92. }
  93. .spec-contain .vip-price .price-name.data-v-35ea5f84 {
  94. background-color: #101010;
  95. padding: 3rpx 12rpx;
  96. color: #FFD4B7;
  97. position: relative;
  98. overflow: hidden;
  99. }
  100. .spec-contain .vip-price .price-name.data-v-35ea5f84::after {
  101. content: '';
  102. display: block;
  103. width: 20rpx;
  104. height: 20rpx;
  105. position: absolute;
  106. right: -15rpx;
  107. background-color: #FFE9BA;
  108. border-radius: 50%;
  109. top: 50%;
  110. -webkit-transform: translateY(-50%);
  111. transform: translateY(-50%);
  112. box-sizing: border-box;
  113. }