暂无描述

detail.css 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. #container{background: #F4F4F4;min-height: 100vh;padding-bottom: 0.5rem;}
  2. /*banner及详情*/
  3. .swiper-container{
  4. width: 3.75rem;
  5. height: 3.75rem;
  6. overflow: hidden;
  7. position: relative;
  8. }
  9. .swiper-wrapper{
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .swiper-slide img{
  14. width: 100%;
  15. }
  16. .swiper-pagination-bullet.swiper-pagination-bullet-active{
  17. width: 0.1rem;
  18. height: 0.03rem;
  19. background: #fff;
  20. border-radius: 0;
  21. }
  22. .commodity{
  23. /* width: 100%; */
  24. background: #ffffff;
  25. }
  26. .commodity_img{
  27. width:3.75rem;
  28. height:3.75rem;
  29. }
  30. .commodity_info{
  31. /* width: 100%; */
  32. /* height: 1.215rem; */
  33. padding: 0 0.15rem;
  34. padding-bottom: 0.05rem;
  35. }
  36. .commodity_info .info_top{
  37. color: #FF014F;
  38. font-size: 0.14rem;
  39. /* padding-bottom: 0.125rem;
  40. padding-top: 0.135rem; */
  41. padding-bottom: 0.025rem;
  42. padding-top: 0.035rem;
  43. display: flex;
  44. flex-direction: row;
  45. align-items: center;
  46. }
  47. .commodity_new_price em{
  48. font-size: 0.19rem;
  49. padding: 0 0.01rem;
  50. }
  51. .commodity_coupon{
  52. display: block;
  53. width: 0.64rem;
  54. height: 0.14rem;
  55. color: #ffffff;
  56. font-size: 0.11rem;
  57. margin-top: 0.12rem;
  58. margin-left: 0.13rem;
  59. margin-bottom: 0.09rem;
  60. background: url(../imgs/quan.png) no-repeat ;
  61. background-size:0.64rem 0.14rem;
  62. }
  63. .commodity_coupon em:nth-child(1){
  64. display: block;
  65. float: left;
  66. width: 0.195rem;
  67. height: 0.14rem;
  68. line-height: 0.14rem;
  69. text-align: center;
  70. }
  71. .commodity_coupon em:nth-child(2){
  72. display: block;
  73. width: 0.445rem;
  74. height: 0.14rem;
  75. float: left;
  76. line-height: 0.14rem;
  77. text-align: center;
  78. }
  79. .info_cen{
  80. font-size: 0.11rem;
  81. color: #BEBDBD;
  82. display: flex;
  83. flex-direction: row;
  84. justify-content: space-between;
  85. align-items: center;
  86. }
  87. .info_cen_old_price em{
  88. text-decoration: line-through;
  89. }
  90. .info_name{
  91. font-size:0.14rem;
  92. max-height: 0.55rem;
  93. padding-bottom: 0.1rem;
  94. columns: #333333;
  95. padding-top: 0.06rem;
  96. line-height: 0.27rem;
  97. display: -webkit-box;
  98. -webkit-box-orient: vertical;
  99. -webkit-line-clamp: 2;
  100. overflow: hidden;
  101. }
  102. .info_name .icon{
  103. width:0.155rem;
  104. height:0.155rem;
  105. margin-top: 0.02rem;
  106. margin-right: 0.02rem;
  107. display: inline-block;
  108. vertical-align: sub;
  109. }
  110. /* 店铺 */
  111. .shop{
  112. height: 0.69rem;
  113. /* width: 100%; */
  114. /* margin: 0.05rem 0; */
  115. margin-top: 0.05rem;
  116. background: #fff;
  117. padding: 0 0.15rem;
  118. display: flex;
  119. flex-direction: row;
  120. justify-content: space-between;
  121. }
  122. .shop_img{
  123. width: 0.47rem;
  124. height: 0.47rem;
  125. margin-top: 0.11rem;
  126. }
  127. .shop_info{
  128. display: block;
  129. width: 2.805rem;
  130. display: flex;
  131. flex-direction: column;
  132. }
  133. .shop_name{
  134. font-size: 0.16rem;
  135. color: #333333;
  136. line-height: 0.35rem;
  137. }
  138. .shop_about{
  139. font-size:0.12rem;
  140. color:#919090;
  141. line-height:0.315rem;
  142. display: flex;
  143. flex-direction: row;
  144. justify-content: space-between;
  145. }
  146. /* 宝贝详情 */
  147. .baby_details{
  148. /* width: 100%; */
  149. height: auto;
  150. background: #fff;
  151. margin: 0.05rem 0;
  152. }
  153. .baby_details .tit{
  154. color:transparent;
  155. background:linear-gradient(69deg,rgba(137,118,251,1) 0%, rgba(60,193,248,1) 99.462890625%);
  156. -webkit-background-clip:text;
  157. -webkit-text-fill-color:transparent;
  158. }
  159. .baby_img{
  160. /* width: 100%; */
  161. }
  162. /*宝贝详情*/
  163. .commodityDetails{
  164. background: #ffffff;
  165. display: flex;
  166. align-items: center;
  167. justify-content: center;
  168. margin-top: 0.05rem;
  169. }
  170. .commodityDetails .title{
  171. font-size: 0.14rem;
  172. color: #333;
  173. text-align: center;
  174. line-height: 0.5rem;
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. padding-left: 0.18rem;
  179. }
  180. .commodityDetails img{
  181. margin-left: 0.1rem;
  182. width: 0.15rem;
  183. height: 0.15rem;
  184. vertical-align: middle;
  185. -webkit-animation: start 1.5s infinite ease-in-out;
  186. animation: start 1.5s infinite ease-in-out;
  187. }
  188. @-webkit-keyframes start {
  189. 0% {transform: translate(-0.06rem,0);}
  190. 50% {transform: translate(0,0);}
  191. 100% {transform: translate(-0.06rem,0px);}
  192. }
  193. @-moz-keyframes start {
  194. 0% {transform: translate(-0.06rem,0);}
  195. 50% {transform: translate(0,0);}
  196. 100% {transform: translate(-0.06rem,0px);}
  197. }
  198. @keyframes start {
  199. 0% {transform: translate(-0.06rem,0);}
  200. 50% {transform: translate(0,0);}
  201. 100% {transform: translate(-0.06rem,0px);}
  202. }
  203. /*相关推荐*/
  204. #tuijian ul{
  205. display: flex;
  206. flex-wrap: wrap;
  207. justify-content: space-between;
  208. }
  209. #tuijian .title{
  210. text-align: center;
  211. font-size: 0.14rem;
  212. line-height: 0.5rem;
  213. margin-top: 0.05rem;
  214. background: #ffffff;
  215. }
  216. .goods_item{
  217. width:1.85rem;
  218. /*height:3.025rem;*/
  219. background:#ffffff;
  220. border:0.005rem solid #E7E7E7;
  221. border-radius:0.05rem;
  222. margin-bottom: 0.03rem;
  223. }
  224. .goods_img{
  225. width:100%;
  226. height:1.8rem;
  227. background: #CCCCCC;
  228. border-radius:0.05rem 0.05rem 0 0;
  229. }
  230. .goods_name{
  231. /* height: 0.69rem; */
  232. height: 0.32rem;
  233. font-size: 0.13rem;
  234. padding: 0 0.06rem;
  235. padding-top: 0.1rem;
  236. line-height: 0.18rem;
  237. text-overflow: -o-ellipsis-lastline;
  238. overflow: hidden;
  239. text-overflow: ellipsis;
  240. display: -webkit-box;
  241. -webkit-line-clamp: 2;
  242. -webkit-box-orient: vertical;
  243. }
  244. .goods_name .icon{
  245. width:0.14rem;
  246. height:0.14rem;
  247. margin-top: 0.02rem;
  248. margin-right: 0.02rem;
  249. display: inline-block;
  250. vertical-align: sub;
  251. }
  252. .quan{
  253. padding: 0 0 0 0.06rem;
  254. height: 35px;
  255. display: flex;
  256. align-items: center;
  257. }
  258. .goods_coupon{
  259. width: 0.64rem;
  260. height: 0.14rem;
  261. color: #ffffff;
  262. font-size: 0.11rem;
  263. background: url(../imgs/quan.png) no-repeat ;
  264. background-size:0.64rem 0.14rem;
  265. }
  266. .goods_coupon span:nth-child(1){
  267. display: block;
  268. float: left;
  269. width: 0.195rem;
  270. height: 0.14rem;
  271. line-height: 0.14rem;
  272. text-align: center;
  273. }
  274. .goods_coupon span:nth-child(2){
  275. display: block;
  276. width: 0.445rem;
  277. height: 0.14rem;
  278. float: left;
  279. line-height: 0.14rem;
  280. text-align: center;
  281. }
  282. .goods_price{
  283. font-size: 0.1rem;
  284. color: #FF014F;
  285. padding-left: 0.05rem;
  286. padding-bottom: 0.15rem;
  287. }
  288. .goods_price .new_price{
  289. font-size: 0.15rem;
  290. padding-left: 0.03rem;
  291. padding-right: 0.1rem;
  292. }
  293. .goods_price .old_price{
  294. color: #BEBDBD;
  295. text-decoration: line-through;
  296. }
  297. .loading {
  298. font-size: 0.12rem;
  299. color: #333;
  300. text-align: center;
  301. line-height: 0.3rem;
  302. cursor: pointer;
  303. margin: 0.2rem auto 0;
  304. /*box-shadow: 0 0 0.04rem rgba(0, 0, 0, 0.1);*/
  305. }
  306. /*立即购买*/
  307. #bottomTab{
  308. width: 100%;
  309. background:linear-gradient(132deg,rgba(251,109,36,1) 0%,rgba(251,109,36,1) 0%,rgba(254,15,63,1) 100%);
  310. font-size: 0.16rem;
  311. text-align: center;
  312. line-height: 0.5rem;
  313. position: fixed;
  314. bottom: 0;
  315. color: #ffffff;
  316. }