index.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* pages/goods/detail/index.wxss */
  2. .goods-head {
  3. .t-swiper {
  4. height: 506rpx;
  5. image {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. }
  10. }
  11. .price-bar {
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. }
  16. .price-info {
  17. display: flex;
  18. column-gap: 20rpx;
  19. align-items: baseline;
  20. }
  21. .goods-price {
  22. font-size: 64rpx !important;
  23. color: #333 !important;
  24. font-weight: bold;
  25. font-family: DIN Alternate;
  26. }
  27. .goods-price-up {
  28. font-size: 26rpx !important;
  29. color: #333 !important;
  30. }
  31. .goods-del {
  32. font-size: 32rpx;
  33. color: #999 !important;
  34. }
  35. .split-bar {
  36. border-bottom: 20rpx solid #efefef;
  37. padding-bottom: 30rpx;
  38. }
  39. .desc-content__img {
  40. width: 100%;
  41. height: auto;
  42. }
  43. .h-auto {
  44. .t-collapse-panel__wrapper {
  45. height: auto !important;
  46. }
  47. }
  48. .goods-bottom-operation {
  49. position: fixed;
  50. left: 0;
  51. bottom: 0;
  52. width: 100%;
  53. background-color: #fff;
  54. padding-bottom: constant(safe-area-inset-bottom);
  55. padding-bottom: env(safe-area-inset-bottom);
  56. }
  57. .timgcasourel {
  58. width: 750rpx;
  59. height: 506rpx;
  60. }
  61. .chooseblock {
  62. background: #fff;
  63. padding: 20rpx 20rpx calc(constant(safe-area-inset-bottom)) 20rpx;
  64. padding: 20rpx 20rpx calc(env(safe-area-inset-bottom)) 20rpx;
  65. align-items: center;
  66. .chooseitem {
  67. flex: 1;
  68. display: flex;
  69. justify-content: center;
  70. color: #c78c41;
  71. font-size: 26rpx;
  72. flex-direction: column;
  73. align-items: center;
  74. &.disable {
  75. color: #aaa;
  76. .chooseicon {
  77. color: #aaa;
  78. }
  79. }
  80. }
  81. .chooseicon {
  82. font-size: 80rpx;
  83. color: #b49660;
  84. }
  85. .choosedivide {
  86. background: #dfdfdf;
  87. width: 1px;
  88. height: 80rpx;
  89. }
  90. }
  91. .spinning {
  92. position: relative;
  93. animation: rotate3d 0.5s linear infinite; /* 使用名为 "rotate3d" 的动画,持续时间为4秒,线性运动,并无限循环 */
  94. }
  95. @keyframes rotate3d {
  96. 0% {
  97. transform: rotate3d(0, 0, 1, 0deg); /* 从0度开始旋转 */
  98. opacity: 0.3;
  99. }
  100. 50% {
  101. transform: rotate3d(0, 0, 1, 180deg); /* 旋转一周,回到起点 */
  102. opacity: 1;
  103. }
  104. 100% {
  105. transform: rotate3d(0, 0, 1, 360deg); /* 旋转一周,回到起点 */
  106. opacity: 0.31;
  107. }
  108. }