优惠券分享

index.css 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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: 0.92rem;
  65. align-items: center;
  66. justify-content: center;
  67. padding: 0.1rem 0.2rem;
  68. background: #F4F4F4;
  69. }
  70. .download-wrapper .img-box{
  71. flex: 0 0 0.72rem;
  72. margin-right: 12px;
  73. }
  74. .download-wrapper .img-box img{
  75. width: 100%;
  76. height: 100%;
  77. }
  78. .download-wrapper .content{
  79. flex: 1;
  80. }
  81. .download-wrapper .content .title{
  82. font-size: 16px;
  83. font-weight: 500;
  84. line-height: 20px;
  85. }
  86. .download-wrapper .content .text{
  87. font-size: 10px;
  88. color: #666;
  89. line-height: 14px;
  90. }
  91. .download-wrapper a{
  92. flex: 0 0 1.6rem;
  93. height: 0.56rem;
  94. line-height: 0.56rem;
  95. text-align: center;
  96. background: linear-gradient(-90deg, #FF6900, #FFA500);
  97. border-radius: 28px;
  98. border: 0 none;
  99. font-size: 14px;
  100. color: #FFFFFF;
  101. }
  102. /*. download-wrapper .img-box,
  103. .download-wrapper .content,
  104. .download-wrapper button{
  105. } */
  106. .swiper-container{
  107. width: 7.5rem;
  108. height: 7.5rem;
  109. /*background-color: #f5f5f5;*/
  110. /*width: 100%;*/
  111. overflow: hidden;
  112. position: relative;
  113. }
  114. .swiper-wrapper{
  115. width: 100%;
  116. height: 100%;
  117. }
  118. .swiper-slide img{
  119. width: 100%;
  120. height: 100%;
  121. }
  122. .swiper-pagination-bullet{
  123. width: 3px;
  124. height: 3px;
  125. border-radius: 50%;
  126. display: inline-block;
  127. margin-left: 10px;
  128. background: #CFCFCF;
  129. }
  130. .swiper-pagination-bullet.swiper-pagination-bullet-active{
  131. width: 8px;
  132. background: #fff;
  133. border-radius: 0;
  134. }
  135. .details-wrapper{
  136. display: flex;
  137. display: -webkit-flex;
  138. flex-direction: column;
  139. width: 100%;
  140. padding: 0 0.2rem;
  141. margin-bottom: 50px;
  142. }
  143. .details-wrapper .price{
  144. margin-top: 16px;
  145. font-size: 0px;
  146. font-weight: normal;
  147. }
  148. .details-wrapper .price span{
  149. color: #FF1E00;
  150. font-size: 12px;
  151. font-weight: normal;
  152. }
  153. .details-wrapper .price em{
  154. line-height: 30px;
  155. font-size: 22px;
  156. color: #FF1E00;
  157. }
  158. span.icon.icon-price{
  159. display: inline-block;
  160. vertical-align: top;
  161. width: 1.28rem;
  162. height: 0.28rem;
  163. line-height: 0.28rem;
  164. margin-top: 9px;
  165. margin-left: 10px;
  166. background: url('img/icon-price.png') no-repeat center center;
  167. -webkit-background-size: 100% 100%;
  168. background-size: 100% 100%;
  169. font-size: 10px;
  170. color: #fff;
  171. padding: 0px 5px;
  172. }
  173. .details-wrapper .info{
  174. display: flex;
  175. display: -webkit-flex;
  176. justify-content: space-between;
  177. align-items: center;
  178. height: 18px;
  179. margin: 9px 0 5px;
  180. color: #878787;
  181. font-size: 13px;
  182. }
  183. .details-wrapper .desc{
  184. font-size: 15px;
  185. line-height: 20px;
  186. }
  187. .btn-wrapper{
  188. position: fixed;
  189. bottom: 0;
  190. left: 0;
  191. width: 100%;
  192. height: 50px;
  193. }
  194. .btn-wrapper .btn{
  195. width: 100%;
  196. height: 100%;
  197. border: 0 none;
  198. font-size: 16px;
  199. color: #fff;
  200. background: linear-gradient(90deg, #FF9000, #FF5000);
  201. }
  202. .btn-wrapper .btn em{
  203. font-weight: 500;
  204. }
  205. /*.step-wrapper{
  206. margin: 30px auto;
  207. font-size: 14px;
  208. line-height: 20px;
  209. padding-left: 0.2rem;
  210. }
  211. .inviting-pic{
  212. width: 5.6rem;
  213. height: 7.76rem;
  214. box-shadow: 0 4px 13px rgba(0, 0, 0, 0.15);
  215. margin: 0 auto;
  216. border-radius: 10px;
  217. }*/
  218. .weui-mask_transparent {
  219. position: fixed;
  220. z-index: 1000;
  221. top: 0;
  222. right: 0;
  223. left: 0;
  224. bottom: 0;
  225. }
  226. .weui-toast {
  227. position: fixed;
  228. z-index: 5000;
  229. width: 7.6em;
  230. min-height: 7.6em;
  231. top: 180px;
  232. left: 50%;
  233. margin-left: -3.8em;
  234. background: rgba(17, 17, 17, 0.7);
  235. text-align: center;
  236. border-radius: 5px;
  237. color: #FFFFFF;
  238. }
  239. .hide{
  240. display: none;
  241. opacity: 0;
  242. }
  243. .show{
  244. display: block;
  245. opacity: 1;
  246. }
  247. .weui-icon-success-no-circle {
  248. display: inline-block;
  249. vertical-align: middle;
  250. margin: 22px 0 0;
  251. width: 39px;
  252. height: 30px;
  253. background: url(img/getIt.png) no-repeat 0 0;
  254. -webkit-background-size: 39px 30px;
  255. background-size: 39px 30px;
  256. }
  257. .weui-toast__content {
  258. margin: 6px 0 15px;
  259. }