index.wxss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. /* wxParse.wxss */
  2. @import "/wxParse/wxParse.wxss";
  3. .slide-image {
  4. background: #fff;
  5. }
  6. .banner-box {
  7. height: 750rpx;
  8. border-bottom: 1rpx solid #e4e4e4;
  9. }
  10. .user-orderJtou {
  11. color: #999;
  12. font-size: 26rpx;
  13. position: absolute;
  14. top: 50%;
  15. margin-top: -9rpx;
  16. }
  17. /* 底部操作栏 */
  18. .footer-fixed .goods-fixed-icon {
  19. width: 150rpx;
  20. background: #fff;
  21. margin: 0 auto;
  22. padding: 0 6rpx;
  23. border-left: 1rpx solid #eee;
  24. height: 92rpx;
  25. position: relative;
  26. }
  27. .footer-fixed .goods-fixed-icon:first-child {
  28. border-left: none;
  29. }
  30. .footer-fixed .goods-fixed-icon image {
  31. width: 56rpx;
  32. height: 56rpx;
  33. display: block;
  34. position: absolute;
  35. left: 0%;
  36. margin-left: 30rpx;
  37. top: 0%;
  38. margin-top: 17rpx;
  39. }
  40. .footer-fixed .goods-fixed-icon text {
  41. color: #7a7e83;
  42. font-size: 48rpx;
  43. }
  44. .footer-fixed .goods-fixed-icon .bargain-icon {
  45. height: 50rpx;
  46. }
  47. .footer-fixed .goods-fixed-icon .bargain-icon image {
  48. height: 50rpx;
  49. width: 50rpx;
  50. margin-top: -40rpx;
  51. }
  52. .footer-fixed .goods-fixed-icon .bargain-home {
  53. margin-top: 6rpx;
  54. text-align: center;
  55. }
  56. .footer-fixed .goods-fixed-icon .flow_num text {
  57. display: block;
  58. color: #fff;
  59. font-size: 22rpx;
  60. text-align: center;
  61. }
  62. .footer-fixed .goods-fixed-icon .icon-shoucang {
  63. font-size: 40rpx;
  64. }
  65. .footer-fixed .goods-fixed-icon .s_cont {
  66. color: #ff495e;
  67. }
  68. /* 商品标题 */
  69. .goods-title {
  70. overflow: hidden;
  71. padding: 0 0rpx 0 0;
  72. color: #333;
  73. }
  74. /* 商品价格 */
  75. .money-box {
  76. margin: 10rpx 0;
  77. }
  78. .money-box .goods-price .goods-price_num {
  79. font-size: 40rpx;
  80. }
  81. .money-box .line-price {
  82. font-size: 24rpx;
  83. color: #999;
  84. padding-top: 6rpx;
  85. text-decoration: line-through;
  86. margin-left: 12rpx;
  87. }
  88. /* 会员价标签 */
  89. .tag-grade-price {
  90. background: linear-gradient(to right, #fa1e8c 0, #fc1e56 100%);
  91. background: #fc1e56;
  92. font-size: 22rpx;
  93. border-radius: 12rpx;
  94. color: #fff;
  95. padding: 4rpx 12rpx;
  96. margin-left: 20rpx;
  97. }
  98. /* 商品销量 */
  99. .goods-sales-box .stock {
  100. display: block;
  101. text-align: right;
  102. }
  103. /* 商品评论 */
  104. .goods-comment .goods-property-box {
  105. position: relative;
  106. padding: 12px;
  107. }
  108. .goods-comment .goods-property-jianTou {
  109. width: 52rpx;
  110. position: absolute;
  111. right: 0;
  112. top: 50%;
  113. margin-top: -13rpx;
  114. }
  115. .goods-comment .goods-property-jianTou image {
  116. height: 100%;
  117. width: 100%;
  118. }
  119. .goods-comment-box .comment_btn {
  120. width: 220rpx;
  121. margin: 0 auto;
  122. padding: 20rpx 0;
  123. }
  124. .goods-comment-box .comment_btn text {
  125. display: block;
  126. padding: 5rpx 0;
  127. color: #ff495e;
  128. font-size: 26rpx;
  129. text-align: center;
  130. border: 1px solid #ff495e;
  131. border-radius: 30rpx;
  132. }
  133. /* 商品规格 */
  134. .goods-attr {
  135. padding: 10rpx 0;
  136. }
  137. .goods-attr .goods-attr--scroll {
  138. max-height: 600rpx;
  139. }
  140. .goods-attr .group-item .tips-text {
  141. font-size: 26rpx;
  142. color: #888;
  143. margin-bottom: 10rpx;
  144. }
  145. .goods-attr .group-item .spec-item {
  146. display: inline-block;
  147. font-size: 26rpx;
  148. height: 55rpx;
  149. line-height: 55rpx;
  150. padding: 0 30rpx;
  151. margin: 0 20rpx 20rpx 0;
  152. border-radius: 8rpx;
  153. color: #888;
  154. border: 1rpx solid #e6e6e6;
  155. }
  156. .goods-attr .group-item .spec-item.cur {
  157. background: #f82169;
  158. border: 1rpx solid #f82169;
  159. color: #fff;
  160. }
  161. .goods-attr .group-item .spec-item.disabled {
  162. color: #dedede;
  163. cursor: not-allowed;
  164. background: #eee;
  165. border: 2rpx dashed #dedede;
  166. }
  167. .select-number {
  168. width: 202rpx;
  169. height: 52rpx;
  170. flex-direction: row;
  171. border: 1rpx solid rgb(231, 231, 231);
  172. border-radius: 5rpx;
  173. }
  174. .select-number .default {
  175. float: left;
  176. width: 60rpx;
  177. height: 52rpx;
  178. line-height: 48rpx;
  179. padding: 0;
  180. background: #fff;
  181. color: #444;
  182. font-size: 40rpx;
  183. border-radius: unset;
  184. }
  185. .select-number .disabled {
  186. background: #f7f7f7;
  187. color: #ddd;
  188. }
  189. .select-number button:after {
  190. content: none;
  191. border: none;
  192. }
  193. .select-number input {
  194. float: left;
  195. width: 80rpx;
  196. height: 52rpx;
  197. line-height: 52rpx;
  198. border-right: 1rpx solid #eee;
  199. border-left: 1rpx solid #eee;
  200. text-align: center;
  201. font-size: 28rpx;
  202. color: #444;
  203. }
  204. /* banner计数 */
  205. .banner-num {
  206. position: absolute;
  207. right: 30rpx;
  208. margin-top: -70rpx;
  209. padding: 0 18rpx;
  210. background: rgba(0, 0, 0, 0.3);
  211. border-radius: 50rpx;
  212. color: #fff;
  213. font-size: 32rpx;
  214. }
  215. .banner-num text:last-child {
  216. color: rgba(255, 255, 255, 0.6);
  217. font-size: 26rpx;
  218. }
  219. .footer-fixed .order-number {
  220. width: 50%;
  221. background: linear-gradient(to right, #fac905 0, #ff9500 100%);
  222. color: #fff;
  223. text-align: center;
  224. line-height: 92rpx;
  225. }
  226. .footer-fixed .order-number button {
  227. background: none;
  228. padding: 0;
  229. font-size: 34rpx;
  230. color: #fff;
  231. line-height: inherit;
  232. border-radius: 0;
  233. border: 0;
  234. }
  235. .footer-fixed .order-number button::after {
  236. content: " ";
  237. width: 0;
  238. height: 0;
  239. position: absolute;
  240. top: 0;
  241. left: 0;
  242. border: none;
  243. transform: scale(0);
  244. transform-origin: 0 0;
  245. box-sizing: border-box;
  246. border-radius: 0;
  247. }
  248. .footer-fixed .default-btn {
  249. width: 100%;
  250. background-color: #ccc;
  251. color: #fff;
  252. text-align: center;
  253. line-height: 92rpx;
  254. }
  255. .footer-fixed .flow_num {
  256. background: #ff495e;
  257. position: absolute;
  258. right: 20rpx;
  259. top: 10rpx;
  260. border-radius: 30rpx;
  261. height: 30rpx;
  262. min-width: 30rpx;
  263. }
  264. /* 商品详情 */
  265. .goods-detail-box {
  266. font-size: 28rpx;
  267. }
  268. /* 评价次数 */
  269. .comment-num {
  270. position: absolute;
  271. right: 34px;
  272. top: 50%;
  273. margin-top: -20rpx;
  274. font-size: 28rpx;
  275. color: #333;
  276. }
  277. .top-nav-bar {
  278. padding: 24rpx;
  279. font-size: 28rpx;
  280. color: #333;
  281. }
  282. .goods-fixed-icon contact-button {
  283. display: block;
  284. }
  285. /* 商品分享 */
  286. .goods__share button.share-btn {
  287. line-height: normal;
  288. padding: 0 0 0 10rpx;
  289. background: none;
  290. border-radius: 0;
  291. box-shadow: none;
  292. font-size: 8pt;
  293. border: none;
  294. color: #888;
  295. }
  296. .goods__share button.share-btn::after {
  297. border: none;
  298. }
  299. .goods__share .share__icon {
  300. font-size: 46rpx;
  301. margin-bottom: 5rpx;
  302. }
  303. /* 商品海报 弹出层 */
  304. .pop-poster {
  305. position: relative;
  306. background: #fff;
  307. padding: 42rpx;
  308. border-radius: 10rpx;
  309. }
  310. /* 关闭按钮 */
  311. .pop-poster .pop-close {
  312. position: absolute;
  313. width: 56rpx;
  314. height: 56rpx;
  315. background: #fff;
  316. border-radius: 50%;
  317. box-shadow: 0 0 25rpx rgba(0, 0, 0, 0.15);
  318. right: -28rpx;
  319. top: -28rpx;
  320. }
  321. .pop-poster .pop-close text {
  322. display: block;
  323. }
  324. .pop-poster .poster__image {
  325. padding: 0 40rpx;
  326. }
  327. .pop-poster .poster__image image {
  328. box-shadow: 0 0 25rpx rgba(0, 0, 0, 0.15);
  329. width: 460rpx;
  330. height: 696.746rpx;
  331. }
  332. .pop-poster .profile-btn button {
  333. margin-bottom: 0;
  334. }
  335. /* sku选择器 */
  336. .sku-selector {
  337. padding: 30rpx 20rpx;
  338. }
  339. /* 确认购买弹窗 */
  340. .popup__trade {
  341. width: 750rpx;
  342. position: relative;
  343. padding-bottom: 92rpx;
  344. z-index: 999;
  345. }
  346. .popup__trade .trade-close {
  347. position: absolute;
  348. top: 20rpx;
  349. right: 20rpx;
  350. width: 50rpx;
  351. height: 50rpx;
  352. }
  353. .popup__trade .trade-main {
  354. background: #fff;
  355. box-sizing: border-box;
  356. padding: 24rpx;
  357. }
  358. .popup__trade .footer-fixed {
  359. position: absolute;
  360. }
  361. .popup__trade .trade-main .goods-info {
  362. margin-bottom: 10rpx;
  363. }
  364. .popup__trade .trade-main .goods-info .goods-image {
  365. margin-top: -40px;
  366. margin-right: 20rpx;
  367. }
  368. .popup__trade .trade-main .goods-info .goods-image image {
  369. width: 90px;
  370. height: 90px;
  371. border: 5rpx solid #fff;
  372. box-shadow: 0 4rpx 10rpx rgba(220, 220, 220, 0.79);
  373. }
  374. .popup__trade .trade-main .goods-info .money-box {
  375. margin: 0;
  376. }
  377. .popup__trade .trade-main .goods-info .goods-stock {
  378. padding-left: 10rpx;
  379. }
  380. .popup__trade .trade-main .buy_number {
  381. margin: 20rpx 0;
  382. justify-content: space-between;
  383. }
  384. .popup__trade .trade-main .buy_number .buyNumber {
  385. color: #888;
  386. background: #fff;
  387. border-radius: 10rpx;
  388. margin-bottom: 10rpx;
  389. }
  390. /* 商品卖点 */
  391. .goods-selling-point {
  392. color: #f20c59;
  393. }