detail.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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(--mina) ;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 0rpx;}
  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: 100rpx;align-items: center;}
  48. .botbtn{font-size: 28rpx;color: #fff;width: 95rpx !important;text-align: center;position: relative;background-color: var(--main);line-height: 100rpx;}
  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. .contact_index{background: #fff !important;color: #555;bottom: 360rpx !important;right: 30rpx !important;}
  150. .side-contact{position: fixed;bottom: 530rpx;right: 30rpx;background: var(--mina) !important;border-radius: 50% !important;width: 100rpx !important;height: 100rpx !important;box-shadow: 0 0 10rpx rgba(86, 86, 86, 0.36);font-size: 18rpx;color: #fff;z-index: 20;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;}
  151. .side-contact image{width: 40rpx;height: 40rpx;margin: 0 auto 5rpx;}
  152. /* 供应商 */
  153. .det-sup{overflow: hidden;}
  154. .det-sup .flex{overflow: hidden;}
  155. .det-sup .mrico{margin-left: 20rpx;}
  156. .sup-name{font-size: 28rpx;color: #333;}
  157. .sup-bri{font-size: 24rpx;color: #999;margin-top: 15rpx;padding-right: 35rpx;}
  158. .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;}
  159. .roll-notice .flex{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  160. .roll-notice image{width: 40rpx;height: 40rpx;border-radius: 50%;margin-right: 11rpx;}
  161. @keyframes spin {
  162. 0% {
  163. top: 305rpx;
  164. opacity: 0;
  165. }
  166. 25% {
  167. top: 255rpx;
  168. opacity: 1;
  169. }
  170. 50% {
  171. top: 255rpx;
  172. opacity: 1;
  173. }
  174. 75% {
  175. top: 215rpx;
  176. opacity: 0;
  177. }
  178. 100%{
  179. top: 215rpx;
  180. opacity: 0;
  181. }
  182. }
  183. .chat-fixed{
  184. position: fixed;
  185. bottom: 230rpx;
  186. /* left:calc(100% - 130rpx); */
  187. right: 30rpx;
  188. z-index: 1;
  189. /* transition:all 2s ease-in; */
  190. }
  191. .chat-box{
  192. width: 100rpx;
  193. height: 100rpx;
  194. background-color: #fff;
  195. border-radius: 100rpx;
  196. position: relative;
  197. padding: 8rpx;
  198. box-sizing: border-box;
  199. transition:all 0.5s cubic-bezier(0.5,0.8,1,1);
  200. }
  201. .chat-fixed-long{
  202. }
  203. .chat-fixed-long .chat-box{
  204. width: 690rpx;
  205. }
  206. .chat-fixed-long .chat-lyl{
  207. position: relative;
  208. transform: translateX(0);
  209. left: unset;
  210. right: unset;
  211. top: unset;
  212. bottom: unset;
  213. width: 123rpx;
  214. height: 56rpx;
  215. line-height: 56rpx;
  216. font-size: 28rpx;
  217. border-radius: 28rpx;
  218. margin-right: 20rpx;
  219. opacity: 1;
  220. }
  221. .chat-lyl{
  222. width: 123rpx;
  223. background: var(--main);
  224. text-align: center;
  225. color: #fff;
  226. opacity: 0;
  227. transition:all 0.5s cubic-bezier(0.5,0.8,1,1);
  228. }
  229. .chat-box image{
  230. width: 86rpx;
  231. height: 86rpx;
  232. margin: auto;
  233. border-radius: 100%;
  234. }
  235. .chat-lyl2{
  236. position: absolute;
  237. bottom: -13rpx;
  238. left: 50%;
  239. transform: translateX(-50%);
  240. width: 86rpx;
  241. height: 32rpx;
  242. line-height: 32rpx;
  243. background: var(--main);
  244. border-radius: 16rpx 16rpx 16rpx 16rpx;
  245. text-align: center;
  246. color: #fff;
  247. font-size: 20rpx;
  248. font-family: PingFang SC-Regular, PingFang SC;
  249. font-weight: 400;
  250. opacity: 1;
  251. }
  252. /* 邀请码弹窗 */
  253. .ceng2{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba(0,0,0,.5);z-index: 99;}
  254. .code-pop{
  255. position: fixed;
  256. top:50%;
  257. left:50%;
  258. transform: translate(-50%,-50%);
  259. width: 574rpx;
  260. background: #FFFFFF;
  261. border-radius: 20rpx 20rpx 20rpx 20rpx;
  262. z-index: 100;
  263. }
  264. .code-text{
  265. line-height: 41rpx;
  266. color: #151515;
  267. font-size: 28rpx;
  268. margin: 51rpx 47rpx 50rpx;
  269. text-align: center;
  270. }
  271. .code-content image{
  272. width: 365rpx;
  273. height: 365rpx;
  274. margin: 50rpx auto 30rpx;
  275. }
  276. .code-btn{
  277. padding: 25rpx;
  278. text-align: center;
  279. font-size: 28rpx;
  280. color: #2A82FD;
  281. border-top: 1px solid #E9E9E9;
  282. }
  283. .pop-scroll{
  284. max-height: 750rpx;
  285. overflow: scroll;
  286. padding: 30rpx;
  287. }
  288. .pop-scroll::-webkit-scrollbar {
  289. display: none;
  290. }
  291. .bottom-text{
  292. font-size: 28rpx;
  293. color: #999;
  294. text-align: center;
  295. line-height: 48rpx;
  296. padding: 30rpx;
  297. }
  298. .tag{
  299. padding: 4rpx 10rpx;
  300. font-size: 24rpx;
  301. color: #4b95f6;
  302. background-color: #ecf0fd;
  303. margin-right: 10rpx;
  304. margin-top: 10rpx;
  305. }