index.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. /* pages/goods-details/index.wxss */
  2. .container{
  3. background:#f2f2f2;
  4. }
  5. .swiper{
  6. width:750rpx;
  7. height:750rpx
  8. }
  9. .swiper-item image{
  10. width:100%;
  11. height:750rpx
  12. }
  13. .goods-info{
  14. margin-bottom: 24rpx;
  15. width: 100%;
  16. }
  17. .goods-info .goods-title{
  18. box-sizing: border-box;
  19. padding: 35rpx 35rpx 0 35rpx;
  20. font-size: 32rpx;
  21. line-height: 1.4;
  22. color: #000;
  23. background:#fff;
  24. }
  25. .goods-info .goods-price{
  26. box-sizing:border-box;
  27. padding: 35rpx 35rpx;
  28. color:#e64340;
  29. font-size: 28rpx;
  30. font-weight: bold;
  31. background:#fff;
  32. }
  33. .row-arrow{
  34. width: 100%;
  35. box-sizing: border-box;
  36. padding: 0 120rpx 0 35rpx;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. overflow: hidden;
  40. height: 102rpx;
  41. font-size: 28rpx;
  42. line-height: 102rpx;
  43. margin:28rpx 0;
  44. background: #fff url(../../images/arrow-right.png) no-repeat 697rpx center;
  45. background-size: 18rpx auto;
  46. }
  47. .goods-des-info{
  48. width: 100%;
  49. margin: 10rpx,10rpx;
  50. box-sizing: border-box;
  51. background-color: #fff;
  52. }
  53. .label-title{
  54. font-size:28rpx;
  55. color:#000000;
  56. padding: 30rpx;
  57. }
  58. .goods-text{
  59. padding: 0 30rpx;
  60. font-size:28rpx;
  61. color:#666666;
  62. line-height: 56rpx;
  63. margin-bottom: 30rpx;
  64. }
  65. .des-imgs{
  66. width:100%;
  67. }
  68. .des-imgs image{
  69. width: 100%;
  70. }
  71. .row-arrow{
  72. width: 100%;
  73. box-sizing: border-box;
  74. padding: 0 120rpx 0 35rpx;
  75. text-overflow: ellipsis;
  76. white-space: nowrap;
  77. overflow: hidden;
  78. height: 102rpx;
  79. font-size: 28rpx;
  80. line-height: 102rpx;
  81. margin-bottom: 28rpx;
  82. background: #fff url(https://cdn.it120.cc/images/weappshop/arrow-right.png) no-repeat 697rpx center;
  83. background-size: 18rpx auto;
  84. }
  85. .footer-box{
  86. width: 100%;
  87. height: 100rpx;
  88. background-color: #fff;
  89. position: fixed;
  90. bottom: 0;
  91. left: 0;
  92. display: flex;
  93. box-shadow:0 0 8rpx 0 ;
  94. }
  95. .footer-box .shop-cart-btn{
  96. position: relative;
  97. width: 150rpx;
  98. height: 100%;
  99. line-height: 100rpx;
  100. text-align: center;
  101. padding-top: 26rpx;
  102. font-size:20rpx;
  103. color:#acacb7;
  104. box-sizing: border-box;
  105. background:url("https://cdn.it120.cc/images/weappshop/cart.png") no-repeat center 21rpx;
  106. background-size: 44rpx auto;
  107. }
  108. .footer-box .shop-cart-btn .shop-num{
  109. position: absolute;
  110. color:#e64340;
  111. left: 80rpx;
  112. top:-20rpx;
  113. }
  114. .footer-box .join-shop-cart{
  115. text-align: center;
  116. width: 300rpx;
  117. height: 100%;
  118. line-height: 100rpx;
  119. background-color: #ff6850;
  120. color:#fff;
  121. font-size: 34rpx;
  122. }
  123. .footer-box .now-buy{
  124. text-align: center;
  125. height: 100%;
  126. width: 800rpx;
  127. line-height: 100rpx;
  128. background-color: #e64340;
  129. color:#fff;
  130. font-size: 34rpx;
  131. }
  132. .show-popup{
  133. position: fixed;
  134. top: 0;
  135. left: 0;
  136. width:100%;
  137. height: 100%;
  138. z-index: 4;
  139. }
  140. .popup-mask{
  141. position: fixed;
  142. top: 0;
  143. left: 0;
  144. width:100%;
  145. height: 100%;
  146. background-color: rgba(0, 0, 0, 0.5);
  147. z-index: 5;
  148. }
  149. .popup-contents{
  150. position: fixed;
  151. left: 0;
  152. bottom: 0;
  153. width:100%;
  154. background-color: #fff;
  155. z-index: 6;
  156. }
  157. .pop-goods-info{
  158. display: flex;
  159. align-items: center;
  160. margin-left: 30rpx;
  161. padding: 30rpx 0;
  162. border-bottom: 1px solid #eee;
  163. }
  164. .pop-img-box{
  165. width: 120rpx;
  166. height: 120rpx;
  167. overflow: hidden;
  168. margin-right: 26rpx;
  169. }
  170. .pop-img-box .goods-thumbnail{
  171. width: 120rpx;
  172. height: 120rpx;
  173. }
  174. .pop-goods-title{
  175. width: 484rpx;
  176. text-overflow: ellipsis;
  177. white-space: nowrap;
  178. overflow: hidden;
  179. font-size:26rpx;
  180. color:#000000;
  181. }
  182. .pop-goods-price{
  183. font-size:26rpx;
  184. color:#e64340;
  185. margin-top:20rpx;
  186. }
  187. .pop-goods-close{
  188. width: 36rpx;
  189. height: 36rpx;
  190. flex: 1;
  191. background:url("https://cdn.it120.cc/images/weappshop/popup-close.png") no-repeat center center;
  192. background-size: 36rpx auto;
  193. align-self: flex-start;
  194. margin-top: -10rpx;
  195. }
  196. .size-label-box .label{
  197. font-size:26rpx;
  198. color:#000;
  199. padding-left: 30rpx;
  200. padding: 30rpx 0 20rpx 30rpx;
  201. }
  202. .size-label-box .label-item-box{
  203. display: flex;
  204. margin-left: 30rpx;
  205. flex-direction: row;
  206. flex-wrap:wrap;
  207. }
  208. .size-label-box .label-item{
  209. font-size:26rpx;
  210. color:#000;
  211. padding: 14rpx 20rpx;
  212. border: 1px solid #ddd;
  213. border-radius: 6rpx;
  214. margin: 0 20rpx 20rpx 0;
  215. }
  216. .size-label-box .label-item.active{
  217. color: #e64340;
  218. border: 1px solid #e64340;
  219. }
  220. .buy-num-box{
  221. display: flex;
  222. justify-content: space-between;
  223. padding: 30rpx 30rpx 48rpx 0;
  224. margin-left: 30rpx;
  225. border-top: 1px solid #eee;
  226. margin-top: 30rpx;
  227. align-items: center;
  228. }
  229. .num-label{
  230. font-size:26rpx;
  231. color:#000000;
  232. }
  233. .buy-num-box .num-box{
  234. display: flex;
  235. }
  236. .buy-num-box .num-box .num-jian,
  237. .buy-num-box .num-box .num-input,
  238. .buy-num-box .num-box .num-jia{
  239. width: 80rpx;
  240. height: 64rpx;
  241. line-height: 62rpx;
  242. text-align: center;
  243. border: 1px solid #eee;
  244. }
  245. .buy-num-box .num-box .num-input{
  246. font-size: 28rpx;
  247. }
  248. .buy-num-box .num-box .num-input input{
  249. height: 100%;
  250. }
  251. .popup-join-btn{
  252. width: 100%;
  253. height: 89rpx;
  254. text-align: center;
  255. line-height: 89rpx;
  256. font-size:34rpx;
  257. color:#ffffff;
  258. background-color: #e64340;
  259. }
  260. .buy-num-box .num-box .hui{
  261. background-color: #f5f5f9;
  262. }
  263. .comments .panel-heading {
  264. border-bottom: 1px solid #efefef;
  265. padding-bottom: 30rpx;
  266. }
  267. .comment-info {
  268. margin-bottom: 20rpx;
  269. }
  270. .comment-info .score {
  271. position: relative;
  272. margin-bottom: 0;
  273. }
  274. .comment-info .pull-right {
  275. margin-top: 5rpx;
  276. }
  277. .comment-right {
  278. padding-left: 30rpx;
  279. box-sizing: border-box;
  280. }
  281. .comment-list {
  282. border-bottom: 1rpx solid #efefef;
  283. padding-bottom: 30rpx;
  284. margin-bottom: 40rpx;
  285. height: 90px;
  286. }
  287. .comment-list image {
  288. width: 120rpx;
  289. height: 120rpx;
  290. }
  291. .lfcontainer{
  292. display: flex;
  293. flex-direction: row;
  294. align-items: center;
  295. }