detail.css 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /* pages/detail/detail.wxss */
  2. .banner{overflow: hidden;position: relative;background: #fff;}
  3. .swiper,.swiper image{width: 100%;height: 750rpx;}
  4. .dots{position: absolute;left: 0;right: 0;bottom: 11rpx;align-items: center;justify-content: center;}
  5. .dot{background: var(--main) ;width: 10rpx;height: 10rpx;border-radius: 5rpx;margin: 0 3rpx;}
  6. .dot.active{width: 30rpx;}
  7. .info{padding: 30rpx 0;}
  8. .infos{align-items: center;justify-content: space-between;padding: 0 30rpx;}
  9. .price{font-size: 28rpx;color: #FE0419;align-items: center;flex: 0.5;}
  10. .price text{font-size: 40rpx;color: #FE0419;font-weight: bold;}
  11. .price text.origin{font-weight: normal;font-size: 24rpx;color: #999;text-decoration: line-through;margin-left: 10rpx;}
  12. /* 积分产品 */
  13. .bot .btnfot{flex: 0.5;display: flex;justify-content: space-around;}
  14. .bot .btnbuy{flex: 0.5;display: flex;}
  15. .price text.money{font-size: 26rpx;color: #FE0419;}
  16. .hyprice{align-items: center;margin-left: 15rpx;}
  17. .hyprice text{font-size: 30rpx;color: #333;font-weight: bold;}
  18. .hytxt{position: relative;width: 78rpx;height: 25rpx;margin-left: 8rpx;}
  19. .hytxt image{display: block;width: 78rpx;height: 25rpx;position: absolute;z-index: 1;top: 0;left: 0;}
  20. .hytxt text{font-size: 18rpx;color: #FFD9AF;position: relative;z-index: 2;font-weight: normal;display: block;line-height: 25rpx;text-align: center;padding-left: 5rpx;}
  21. .share{font-size: 20rpx;color: #999;text-align: center;position: relative;flex: 0.1;}
  22. .share::after{content: '';display: block;width: 2rpx;height: 45rpx;background: #e7e7e7;position: absolute;top: 50%;transform: translateY(-50%);left: -9rpx;}
  23. .share image{width: 31rpx;height: 31rpx;margin: 0 auto 10rpx;}
  24. .title{font-size: 30rpx;color: #222;line-height: 40rpx;font-weight: bold;margin-top: 25rpx; padding: 0 30rpx;}
  25. .tag{width: 82rpx;height: 36rpx;display: inline-block;margin: 0 10rpx 0 0;position: relative;top: 7rpx;}
  26. .yushou{display: inline-block;border: 2rpx solid #FE0419;border-radius: 6rpx;font-size: 22rpx;color: #FE0419;height: 30rpx;line-height: 30rpx;padding: 0 10rpx;vertical-align: top;margin-right: 15rpx;margin-top: 5rpx;}
  27. .detinfo .item{padding: 30rpx;border-bottom: 1rpx solid #f6f6f6;}
  28. .detinfo .item:last-child{border-bottom: none;}
  29. .item label{display: block;width: 130rpx;font-size: 28rpx;color: #222;font-weight: bold;line-height: 40rpx; white-space: nowrap;}
  30. .pro-time label{width: auto;margin-right: 30rpx;}
  31. .quan .flex{align-items: center;}
  32. .quan text{display: block;background: #FDF5F3;padding: 0 13rpx;height: 40rpx;line-height: 40rpx;font-size: 24rpx;color: #FF5F08;margin: 0 10rpx 10rpx 0;white-space: nowrap;}
  33. .coupon-list{flex-wrap: wrap;}
  34. .ling{font-size: 24rpx;color: #FF5F08;align-items: center;}
  35. .ling image{width: 14rpx;height: 24rpx;margin-left: 11rpx;}
  36. .address{font-size: 28rpx;color: #333;line-height: 40rpx;}
  37. .huo{font-size: 24rpx;color: #666;line-height: 40rpx;}
  38. .huo text{color: #FE0419;margin-right: 46rpx;font-size: 24rpx;}
  39. .more{width: 36rpx;height: 10rpx;padding: 15rpx 0;}
  40. /* .user{width: 68rpx;height: 68rpx;border-radius: 50%;margin-right: 15rpx;} */
  41. .name{font-size: 28rpx;color: #666;line-height: 68rpx;justify-content: space-between;align-items: center;}
  42. .pinglun{font-size: 28rpx;color: #333;margin: 15rpx 0 0;line-height: 44rpx;}
  43. .huifu{background: #F2F2F2;border-radius: 6rpx;margin: 25rpx 0 0;line-height: 42rpx;padding: 20rpx 30rpx;position: relative;}
  44. .huifu::after{content: '';display: block;width: 0;height: 0;border: 9rpx solid transparent;border-bottom-color: #F2F2F2;border-top: none;position: absolute;top: -8rpx;left: 39rpx;}
  45. .show{display: block;}
  46. .hide{display: none;}
  47. .bot{height: 80rpx;align-items: center;padding: 20rpx 30rpx 20rpx 0;}
  48. .botbtn{font-size: 22rpx;color: #6A6A6A;width: 95rpx !important;text-align: center;position: relative;}
  49. .botbtn image{width: 40rpx;height: 34rpx;margin: 10rpx auto 5rpx;}
  50. .message{background: #DF1A14;height: 28rpx;line-height: 28rpx;font-size: 20rpx;color: #fff;text-align: center;border-radius: 15rpx;box-sizing: border-box;min-width: 21rpx;padding: 0 8rpx;position: absolute;top: 0;right: 25%;}
  51. .addcart{width: 206rpx;height: 76rpx;border: 2rpx solid #FD3C31;border-radius: 40rpx;text-align: center;line-height: 76rpx;font-size: 30rpx;color: #FD3A31;margin: 0 10rpx;}
  52. .gray{color: #999;border-color: #999;}
  53. .gmbtn{width: 210rpx;height: 80rpx;border-radius: 40rpx;text-align: center;line-height: 80rpx;font-size: 30rpx;color: #fff;}
  54. .integral{width: 430rpx;height: 80rpx;border-radius: 40rpx;text-align: center;line-height: 80rpx;font-size: 30rpx;color: #fff;}
  55. .xiajia{position: fixed;background: rgba(0,0,0,.6);left: 0;right: 0;bottom: 120rpx;height: 80rpx;line-height: 80rpx;font-size: 28rpx;color: #999999;text-align: center;z-index: 50;}
  56. .details image{width: 100%;}
  57. /* 小店相关 */
  58. .xiaodian{position: relative;height: 122rpx;padding: 0 26rpx 0 110rpx;align-items: center;margin: 35rpx 30rpx 0;}
  59. .xdbg{position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: 1;}
  60. .shouyi{position: relative;z-index: 2;color: #fff;margin-right: 10rpx;}
  61. .shouyi view{font-size: 40rpx;font-weight: bold;margin-top: 8rpx;}
  62. .shouyi text{font-weight: normal;font-size: 24rpx;}
  63. .addshop{height: 62rpx;padding: 0 25rpx;border-radius: 31rpx;background:linear-gradient(115deg,rgba(255,78,78,1) 0%,rgba(220,21,21,1) 100%);text-align: center;line-height: 62rpx;font-size: 24rpx;color: #fff;position: relative;z-index: 2;}
  64. .fenxiang{height: 62rpx;padding: 0 25rpx;margin-left: 15rpx;border-radius: 31rpx;background:linear-gradient(115deg,rgba(255,78,78,1) 0%,rgba(220,21,21,1) 100%);text-align: center;line-height: 62rpx;font-size: 24rpx;color: #fff;position: relative;z-index: 2;}
  65. .goShop{height: 62rpx;padding: 0 25rpx;margin-left: 15rpx;border-radius: 31rpx;background:linear-gradient(115deg,rgba(255,78,78,1) 0%,rgba(220,21,21,1) 100%);text-align: center;line-height: 62rpx;font-size: 24rpx;color: #fff;position: relative;z-index: 2;}
  66. .suc{position: fixed;left: 50%;top: 50%;transform: translate(-50%,-50%);background: #fff;width: 536rpx;border-radius: 20rpx;z-index: 100;text-align: center;padding-bottom: 47rpx;}
  67. .tjcg1{width: 100%;height: 284rpx;}
  68. .tjcg{width: 195rpx;height: 38rpx;margin: 52rpx auto 15rpx;}
  69. .suc text{display: block;font-size: 24rpx;color: #333;}
  70. .shopcc{justify-content: center;}
  71. .shop{width:220rpx;height:80rpx;background:linear-gradient(123deg,rgba(255,130,130,1) 0%,rgba(220,21,21,1) 100%);font-size: 30rpx;color: #fff;line-height: 80rpx;border-radius: 40rpx;margin: 45rpx 15rpx 40rpx;}
  72. .share-btn{justify-content: space-between;padding: 0 54rpx;}
  73. .wxfriend,.wxposter{width: 196rpx !important;height: 76rpx !important;align-items: center;justify-content: center;font-size: 30rpx;color: #666;border: 2rpx solid #D8D8D8;border-radius: 40rpx !important;}
  74. .wxfriend image,.wxposter image{width: 31rpx;height: 31rpx;margin-right: 13rpx;}
  75. .suc-close{position: absolute;left: 50%;transform: translateX(-50%);bottom: -102rpx;width: 62rpx;height: 62rpx;}
  76. .sellStock{text-align: right; color: #999;flex: 0.3;}
  77. .sellStock text{ color:#222 ;}
  78. .protext{color: #999;margin-top: 15rpx;padding: 0 30rpx;/* overflow:hidden; text-overflow:ellipsis;display:-webkit-box; -webkit-box-orient:vertical;-webkit-line-clamp:2; */}
  79. .guarantee{border-top: 1rpx solid #f6f6f6;padding: 15rpx 0 0 0; margin-top: 15rpx;}
  80. .guarantee .cont{padding: 0 30rpx;flex-wrap: wrap;font-size: 26rpx;}
  81. .guarantee .cont .li{align-items: center;margin-right: 20rpx;
  82. margin-bottom: 10rpx;}
  83. .guarantee .cont image{ width: 30rpx;
  84. height: 30rpx;}
  85. .you{width: 12rpx;height: 20rpx;}
  86. /* 海外购 */
  87. .logistics{align-items: center;justify-content: space-around;margin-top: 40rpx;}
  88. .logistics view{color: #666666;}
  89. .logistics .lsicText{color: #238CF5;}
  90. .logistics .abroad{width: 46rpx;height: 46rpx;margin: 0 auto 20rpx;}
  91. /* 非会员 */
  92. .huiyuan{
  93. margin: 34rpx 30rpx 0 30rpx;
  94. }
  95. .huiyuanjia{
  96. padding: 20rpx;
  97. background: #FFF4E8;
  98. font-size: 28rpx;
  99. color: #553420;
  100. border-radius: 6rpx;
  101. align-items: center;
  102. justify-content: space-between;
  103. }
  104. .huiyuanimg{
  105. width: 152rpx;
  106. height: 30rpx;
  107. margin-right:6rpx ;
  108. }
  109. .d-open{color: #FD3A31;border-radius: 5rpx;font-size: 24rpx;border: 1rpx solid #FD3A31;padding: 5rpx 10rpx;}
  110. .hymoney{
  111. font-weight: bold;
  112. color: #FD3A31;
  113. margin-right: 6rpx;
  114. }
  115. .govipimg{
  116. width: 28rpx;
  117. height: 28rpx;
  118. }
  119. /* 会员 */
  120. .hyimg{
  121. height: 74rpx;
  122. width: 96rpx;
  123. position: absolute;
  124. left: -21rpx;
  125. top: -20rpx;
  126. }
  127. .hyjiage{
  128. border-radius: 16rpx 6rpx 6rpx 0;
  129. background: #FFFFFF;
  130. box-shadow: 5rpx 5rpx 10rpx #FD3A31 ;
  131. /* height: 32rpx; */
  132. position: relative;
  133. margin-left: 32rpx;
  134. height: 32rpx;
  135. font-size: 26rpx;
  136. color: #FD3A31;
  137. padding: 0 16rpx 0rpx 63rpx;
  138. }
  139. .huodong{
  140. margin-bottom: 30rpx;
  141. }
  142. .acti{
  143. justify-content: space-between;
  144. }
  145. .pro-sel{align-items: center;}
  146. .pro-sel .flex{text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  147. .mrico{width: 16rpx;height: 27rpx;}
  148. /* 右侧首页悬浮 */
  149. .side-contact{position: fixed;bottom: 400rpx;right: 20rpx;background: #fff !important;border-radius: 50% !important;width: 80rpx !important;height: 80rpx !important;box-shadow: 0 0 10rpx rgba(86, 86, 86, 0.36);font-size: 18rpx;color: #555;z-index: 20;text-align: center;}
  150. .side-contact image{width: 34rpx;height: 34rpx;margin: 12rpx auto 5rpx;}
  151. /* 供应商 */
  152. .det-sup{overflow: hidden;}
  153. .det-sup .flex{overflow: hidden;}
  154. .det-sup .mrico{margin-left: 20rpx;}
  155. .sup-name{font-size: 28rpx;color: #333;}
  156. .sup-bri{font-size: 24rpx;color: #999;margin-top: 15rpx;padding-right: 35rpx;}
  157. .roll-notice{height: 60rpx;background: rgba(0,0,0,.55);border-radius: 30rpx;padding: 0 30rpx 0 15rpx;font-size: 24rpx;color: #fff;position: fixed;left: 35rpx;align-items: center;animation: spin 5s ease-in-out infinite;animation-fill-mode: forwards;z-index: 20;max-width: 435rpx;overflow: hidden;}
  158. .roll-notice .flex{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  159. .roll-notice image{width: 40rpx;height: 40rpx;border-radius: 50%;margin-right: 11rpx;}
  160. @keyframes spin {
  161. 0% {
  162. top: 305rpx;
  163. opacity: 0;
  164. }
  165. 25% {
  166. top: 255rpx;
  167. opacity: 1;
  168. }
  169. 50% {
  170. top: 255rpx;
  171. opacity: 1;
  172. }
  173. 75% {
  174. top: 215rpx;
  175. opacity: 0;
  176. }
  177. 100%{
  178. top: 215rpx;
  179. opacity: 0;
  180. }
  181. }