优惠券分享

index.css 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. html,
  2. body,
  3. div,
  4. h3, h4, h5, h6, p,
  5. span, em, i,
  6. ::before,
  7. ::after{
  8. padding: 0;
  9. margin: 0;
  10. -webkit-box-sizing: border-box;
  11. box-sizing: border-box;
  12. -webkit-tap-highlight-color: transparent;
  13. }
  14. ol, ul{
  15. list-style: none;
  16. padding: 0;
  17. margin: 0;
  18. }
  19. body{
  20. font-size: 14px;
  21. color: #333;
  22. }
  23. em, i{
  24. font-style: normal;
  25. }
  26. a{
  27. text-decoration: none;
  28. }
  29. .clearfix::before,
  30. .clearfix::after{
  31. content: "";
  32. display: block;
  33. height: 0;
  34. line-height: 0;
  35. visibility: hidden;
  36. clear: both;
  37. }
  38. .elli{
  39. display: box;
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. display: -webkit-box;
  43. -webkit-line-clamp: 2;
  44. -webkit-box-orient: vertical;
  45. }
  46. #copy_1{
  47. outline: none;
  48. border: 0px;
  49. color: rgba(0,0,0,0.0);
  50. position: absolute;
  51. left:-200px;
  52. background-color: transparent;
  53. }
  54. #copy_2{
  55. position: absolute;
  56. left:-200px;
  57. color: rgba(0,0,0,0);
  58. background-color: transparent
  59. }
  60. .download-wrapper {
  61. display: flex;
  62. display: -webkit-flex;
  63. width: 100%;
  64. height: 1.12rem;
  65. align-items: center;
  66. justify-content: center;
  67. padding: 0.2rem;
  68. background: #F4F4F4;
  69. position: fixed;
  70. top: 0;
  71. left: 0;
  72. z-index: 500;
  73. }
  74. .download-wrapper .img-box{
  75. flex: 0 0 0.72rem;
  76. margin-right: 12px;
  77. border-radius: 6px;
  78. overflow: hidden;
  79. }
  80. .download-wrapper .img-box img{
  81. width: 100%;
  82. height: 100%;
  83. }
  84. .download-wrapper .content{
  85. flex: 1;
  86. }
  87. .download-wrapper .content .title{
  88. font-size: 16px;
  89. font-weight: 500;
  90. line-height: 20px;
  91. }
  92. .download-wrapper .content .text{
  93. font-size: 10px;
  94. color: #666;
  95. line-height: 14px;
  96. }
  97. .download-wrapper a{
  98. flex: 0 0 1.6rem;
  99. height: 0.56rem;
  100. line-height: 0.56rem;
  101. text-align: center;
  102. background: linear-gradient(-90deg, #FF6900, #FFA500);
  103. border-radius: 28px;
  104. border: 0 none;
  105. font-size: 14px;
  106. color: #FFFFFF;
  107. }
  108. /*. download-wrapper .img-box,
  109. .download-wrapper .content,
  110. .download-wrapper button{
  111. } */
  112. .swiper-container{
  113. width: 7.5rem;
  114. height: 7.5rem;
  115. overflow: hidden;
  116. position: relative;
  117. padding-top: 0.92rem;
  118. }
  119. .swiper-wrapper{
  120. width: 100%;
  121. height: 100%;
  122. }
  123. .swiper-slide img{
  124. width: 100%;
  125. height: 100%;
  126. }
  127. .swiper-pagination-bullet{
  128. width: 3px;
  129. height: 3px;
  130. border-radius: 50%;
  131. display: inline-block;
  132. margin-left: 10px;
  133. background: #CFCFCF;
  134. }
  135. .swiper-pagination-bullet.swiper-pagination-bullet-active{
  136. width: 8px;
  137. background: #fff;
  138. border-radius: 0;
  139. }
  140. .details-wrapper{
  141. display: flex;
  142. display: -webkit-flex;
  143. flex-direction: column;
  144. width: 100%;
  145. padding: 0 0.2rem;
  146. margin-bottom: 50px;
  147. }
  148. .details-wrapper .price{
  149. margin-top: 16px;
  150. font-size: 0px;
  151. font-weight: normal;
  152. }
  153. .details-wrapper .price span{
  154. color: #FF1E00;
  155. font-size: 12px;
  156. font-weight: normal;
  157. }
  158. .details-wrapper .price em{
  159. line-height: 30px;
  160. font-size: 22px;
  161. color: #FF1E00;
  162. }
  163. span.icon.icon-price{
  164. display: inline-block;
  165. vertical-align: top;
  166. width: 1.28rem;
  167. height: 0.28rem;
  168. line-height: 0.28rem;
  169. margin-top: 9px;
  170. margin-left: 10px;
  171. background: url('img/icon-price.png') no-repeat center center;
  172. -webkit-background-size: 100% 100%;
  173. background-size: 100% 100%;
  174. font-size: 10px;
  175. color: #fff;
  176. padding: 0px 5px;
  177. }
  178. .details-wrapper .info{
  179. display: flex;
  180. display: -webkit-flex;
  181. justify-content: space-between;
  182. align-items: center;
  183. height: 18px;
  184. margin: 9px 0 5px;
  185. color: #878787;
  186. font-size: 13px;
  187. }
  188. .details-wrapper .info .before-price > span{
  189. text-decoration: line-through;
  190. }
  191. .details-wrapper .desc{
  192. font-size: 15px;
  193. line-height: 20px;
  194. }
  195. .btn-wrapper{
  196. position: fixed;
  197. bottom: 0;
  198. left: 0;
  199. width: 100%;
  200. height: 50px;
  201. }
  202. .btn-wrapper .btn{
  203. width: 100%;
  204. height: 100%;
  205. border: 0 none;
  206. font-size: 16px;
  207. color: #fff;
  208. background: linear-gradient(90deg, #FF9000, #FF5000);
  209. }
  210. .btn-wrapper .btn em{
  211. font-weight: 500;
  212. }
  213. /*.step-wrapper{
  214. margin: 30px auto;
  215. font-size: 14px;
  216. line-height: 20px;
  217. padding-left: 0.2rem;
  218. }
  219. .inviting-pic{
  220. width: 5.6rem;
  221. height: 7.76rem;
  222. box-shadow: 0 4px 13px rgba(0, 0, 0, 0.15);
  223. margin: 0 auto;
  224. border-radius: 10px;
  225. }*/
  226. .weui-mask_transparent {
  227. position: fixed;
  228. z-index: 1000;
  229. top: 0;
  230. right: 0;
  231. left: 0;
  232. bottom: 0;
  233. }
  234. .weui-toast {
  235. position: fixed;
  236. z-index: 5000;
  237. width: 7.6em;
  238. min-height: 7.6em;
  239. top: 180px;
  240. left: 50%;
  241. margin-left: -3.8em;
  242. background: rgba(17, 17, 17, 0.7);
  243. text-align: center;
  244. border-radius: 5px;
  245. color: #FFFFFF;
  246. }
  247. .hide{
  248. display: none;
  249. opacity: 0;
  250. }
  251. .show{
  252. display: block;
  253. opacity: 1;
  254. }
  255. .weui-icon-success-no-circle {
  256. display: inline-block;
  257. vertical-align: middle;
  258. margin: 22px 0 0;
  259. width: 39px;
  260. height: 30px;
  261. background: url(img/getIt.png) no-repeat 0 0;
  262. -webkit-background-size: 39px 30px;
  263. background-size: 39px 30px;
  264. }
  265. .weui-toast__content {
  266. margin: 6px 0 15px;
  267. }