goods.wxss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. page{ overflow-x: hidden; }
  2. .wxParse{ margin: 0 5px; font-family: Helvetica,sans-serif; font-size: 28rpx; color: #666; line-height: 1.8; }
  3. .wxParse-inline{ display: inline; margin: 0; padding: 0; }
  4. .wxParse-div{margin: 0;padding: 0;}
  5. .wxParse-h1{ font-size:2em; margin: .67em 0 }
  6. .wxParse-h2{ font-size:1.5em; margin: .75em 0 }
  7. .wxParse-h3{ font-size:1.17em; margin: .83em 0 }
  8. .wxParse-h4{ margin: 1.12em 0}
  9. .wxParse-h5 { font-size:.83em; margin: 1.5em 0 }
  10. .wxParse-h6{ font-size:.75em; margin: 1.67em 0 }
  11. .wxParse-h1 { font-size: 18px; font-weight: 400; margin-bottom: .9em; }
  12. .wxParse-h2 { font-size: 16px; font-weight: 400; margin-bottom: .34em; }
  13. .wxParse-h3 { font-weight: 400; font-size: 15px; margin-bottom: .34em; }
  14. .wxParse-h4 { font-weight: 400; font-size: 14px; margin-bottom: .24em; }
  15. .wxParse-h5 { font-weight: 400; font-size: 13px; margin-bottom: .14em; }
  16. .wxParse-h6 { font-weight: 400; font-size: 12px; margin-bottom: .04em; }
  17. .wxParse-h1, .wxParse-h2, .wxParse-h3, .wxParse-h4, .wxParse-h5, .wxParse-h6, .wxParse-b, .wxParse-strong { font-weight: bolder }
  18. .wxParse-i,.wxParse-cite,.wxParse-em,.wxParse-var,.wxParse-address{font-style:italic}
  19. .wxParse-pre,.wxParse-tt,.wxParse-code,.wxParse-kbd,.wxParse-samp{font-family:monospace}
  20. .wxParse-pre{white-space:pre}
  21. .wxParse-big{font-size:1.17em}
  22. .wxParse-small,.wxParse-sub,.wxParse-sup{font-size:.83em}
  23. .wxParse-sub{vertical-align:sub}
  24. .wxParse-sup{vertical-align:super}
  25. .wxParse-s,.wxParse-strike,.wxParse-del{text-decoration:line-through}
  26. .wxParse-strong,.wxParse-s{display: inline}
  27. .wxParse-a{ color: deepskyblue; word-break:break-all; overflow:auto; }
  28. .wxParse-video{ text-align: center; margin: 10px 0; }
  29. .wxParse-video-video{ width:100%; }
  30. .wxParse-img { background-color: #efefef; overflow: hidden; vertical-align: top; display: block; }
  31. .wxParse-blockquote { margin: 0; padding:10px 0 10px 5px; font-family:Courier, Calibri,"宋体"; background:#f5f5f5; border-left: 3px solid #dbdbdb; }
  32. .wxParse-code,.wxParse-wxxxcode-style{ display: inline; background:#f5f5f5; }
  33. .wxParse-ul{ margin: 20rpx 10rpx; }
  34. .wxParse-li,.wxParse-li-inner{ display: flex; align-items: baseline; margin: 10rpx 0; }
  35. .wxParse-li-text{ align-items: center; line-height: 20px; }
  36. .wxParse-li-circle{ display: inline-flex; width: 5px; height: 5px; background-color: #333; margin-right: 5px; }
  37. .wxParse-li-square{ display: inline-flex; width: 10rpx; height: 10rpx; background-color: #333; margin-right: 5px; }
  38. .wxParse-li-ring{ display: inline-flex; width: 10rpx; height: 10rpx; border: 2rpx solid #333; border-radius: 50%; background-color: #fff; margin-right: 5px; }
  39. .wxParse-u { text-decoration: underline; }
  40. .wxParse-hide{ display: none; }
  41. .WxEmojiView{ align-items: center; }
  42. .wxEmoji{ width: 16px; height:16px; }
  43. .wxParse-tr{ display: flex; border-right:1px solid #e0e0e0; border-bottom:1px solid #e0e0e0; border-top:1px solid #e0e0e0; }
  44. .wxParse-th, .wxParse-td{ flex:1; padding:5px; font-size:28rpx; border-left:1px solid #e0e0e0; word-break: break-all; }
  45. .wxParse-td:last{ border-top:1px solid #e0e0e0; }
  46. .wxParse-th{ background:#f0f0f0; border-top:1px solid #e0e0e0; }
  47. .wxParse-del{ display: inline; }
  48. .wxParse-p{ padding: 0 20rpx; overflow-x: hidden; }
  49. .wxParse-p wx-image{ display: block; margin-left: -20rpx; margin-right: -20rpx; max-width: none !important; }
  50. .goods-block { width: 100%; height: 72rpx; background-color: #fff1f1; padding: 0 24rpx; }
  51. .goods-info { color: #3f3f3f; height: 100%; }
  52. .goods-info .goods-img { width: 18rpx; height: 18rpx; transform:rotate(-90deg); }
  53. .content-modal { position: fixed; left: 0; top: 0; background-color: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; z-index: 111; }
  54. .content-body { width: 600rpx; background-color: #fff; border-radius: 8rpx; padding: 28rpx 32rpx 88rpx 32rpx; position: relative; }
  55. .content-img { position: absolute; right: 32rpx; top: 28rpx; }
  56. @-webkit-keyframes rotation{ from {-webkit-transform: rotate(0deg);}
  57. }.an{ -webkit-transform: rotate(360deg); animation: rotation 2s linear infinite; }
  58. .goods-qrcode-modal{ position: fixed; top:0; left: 0; width: 100%; height: 100%; z-index: 1000; background: rgba(0,0,0,.5); padding: 40rpx; transform: translateY(100%); opacity: .5; transition: opacity 250ms; visibility: hidden; }
  59. .goods-qrcode-modal.active{ transform: translateY(0); opacity: 1; visibility: visible; }
  60. .goods-qrcode-body{ background: #fff; height: 100%; border-radius: 10rpx; z-index: 99999; }
  61. .goods-qrcode-modal .goods-qrcode-box{ height: 100%; position: relative; box-shadow: 0 0 15rpx rgba(0,0,0,.15); }
  62. .goods-qrcode-modal .goods-qrcode-loading{ top:0; left: 0; position: absolute; width: 100%; height: 100%; }
  63. .goods-qrcode-modal .goods-qrcode{ top:0; left: 0; position: absolute; width: 100%; height: 100%; background: #fff; display: none; }
  64. .goods-qrcode-modal .goods-qrcode.active{ display: block; }
  65. .goods-qrcode-modal .goods-qrcode-close{ position: absolute; top:40rpx; right: 40rpx; padding: 15rpx; }
  66. .share-modal{ position: fixed; top:0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.0); z-index: 1000; transform: translateY(100%); transition: background 250ms; }
  67. .share-modal .share-modal-body{ position: fixed; bottom: 0; left: 0; width: 100%; background: #f2f2f2; padding-top: 60rpx; transform: translateY(100%); transition: transform 250ms; }
  68. .share-modal.active{ transform: translateY(0); background: rgba(0,0,0,.5); }
  69. .share-modal.active .share-modal-body{ transform: translateY(0); }
  70. .share-modal .share-bottom{ text-align: center; font-size: 9pt; margin: 0; padding: 0; margin-bottom: 60rpx; line-height: inherit; border: none; background: none; color: inherit; font-family: inherit; display: inline-block; }
  71. .share-modal .share-bottom:after{ display: none; }
  72. .share-modal .share-bottom wx-cover-image, .share-modal .share-bottom wx-image{ width: 120rpx; height: 120rpx; margin-bottom: 12rpx; border-radius: 999rpx; border: 1rpx solid #eee; }
  73. .share-modal .share-bottom:active wx-cover-image, .share-modal .share-bottom:active wx-image{ opacity: .7; }
  74. .share-modal .share-modal-close{ background: #fff; height: 100rpx; border-top: 1rpx solid #eee; }
  75. .banner { width: 100%; background-color: #fff; }
  76. .goods-image-swiper { width: 100%; height: 750rpx; }
  77. .goods-image { width: 100%; height: 750rpx; }
  78. .hide { display: none; }
  79. .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 1); z-index: 9999; }
  80. .modal wx-video { width: 100%; height: 430rpx; }
  81. .play { width: 150rpx; height: 150rpx; position: absolute; top: 275rpx; left: 300rpx; }
  82. .time-load { margin-top: -40rpx; height: 80rpx; width: 100%; position: relative; z-index: 10; }
  83. .time-load .time-bg { position: absolute; left: 0; top: 0; width: 100%; height: 80rpx; z-index: -1; }
  84. .time-box { height: 42rpx; color: #fff; background-color: #666; border-radius: 4rpx; padding: 0 10rpx; }
  85. .block { padding: 0 20rpx; background-color: #fff; margin-bottom: 16rpx; width: 100%; }
  86. .user-img { width: 96rpx; height:96rpx; margin-right: 34rpx; border-radius: 96rpx; }
  87. .font-o { color: #ff8c40; margin-left:10rpx; }
  88. .progress-box { width: 100%; height: 40rpx; border-radius: 20rpx; border: 2rpx solid #ff5c5c; overflow: hidden; margin-top: 28rpx; margin-bottom: 16rpx; }
  89. .progress-view { width: 50%; height: 100%; border-radius: 20rpx; background-color: #ff9f9f; }
  90. .info { width: 100%; border-radius: 16rpx; background-color: #fff7f7; margin-top: 44rpx; padding: 32rpx 24rpx; }
  91. .info .one { margin-bottom: 32rpx; }
  92. .info .one:last-child { margin-bottom: 0; }
  93. .info wx-image { width: 64rpx; height: 64rpx; margin-right: 24rpx; }
  94. .flow { height: 88rpx; color: #ff5c5c; font-size: 13pt; border-bottom: 1rpx solid #e2e2e2; background-color: #fff; padding: 0 20rpx; }
  95. .flow .flex-grow-0 { height: 34rpx; }
  96. .flow wx-image { width: 34rpx; height: 34rpx; margin-right: 16rpx; }
  97. .shuoming { padding: 26rpx 0 40rpx 0; }
  98. .shuoming wx-view::before { content: '●'; margin-right: 10rpx; }
  99. .goods-detail { padding-bottom: 120rpx; background-color: #fff; }
  100. .goods-detail wx-text, .goods-detail wx-image, .goods-detail wx-view{ box-sizing: border-box; max-width: 100%; }
  101. .bottom { position: fixed; left: 0; bottom: 0; width: 100%; height: 120rpx; background-color: #fff; color: #fff; padding: 0 20rpx; border-top: 1rpx solid #e2e2e2; }
  102. .bottom-first { width: 100%; height: 80rpx; background-color: #ff9292; border-radius: 40rpx; background: -prefix-linear-gradient(top, #ff9292, #fc6969); background: linear-gradient(to bottom, #ff9292, #fc6969); }
  103. .bottom-second { width: 346rpx; height: 80rpx; background-color: #ff9292; border-radius: 40rpx; background: -prefix-linear-gradient(top, #ffc46b, #ffa13c); background: linear-gradient(to bottom, #ffc46b, #ffa13c); margin-left: 18rpx; }
  104. .user-scroll { max-height: 264rpx; }
  105. .share-btn{ line-height: normal; padding: 0 10rpx; border: none; background: none; border-radius: 0; box-shadow: none; display: inline-block; font-size: 8pt; }