cart2.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <extend name="Public:mogubase" />
  2. <block name="content">
  3. <script type="text/javascript"> window.use_screen_base = '750'; (function(a,b){var c="orientationchange"in b?"orientationchange":"resize",d=use_screen_base.indexOf("_mate"),e=parseInt(use_screen_base),f=a.documentElement,g=function(){var a=f.clientWidth,c=b.innerWidth;f.style.fontSize=100*(c/e)+"px"};if(/iPad.*OS|iPhone.*OS/.test(navigator.userAgent)&&d>0){var h=a.querySelectorAll("meta[name=viewport]"),i=b.devicePixelRatio;i=i!=1?2:1,h[0]&&h[0].setAttribute("content","width=device-width, user-scalable=no, minimum-scale="+1/i+", maximum-scale="+1/i+", initial-scale="+1/i)}g(),b.addEventListener(c,g,!1),delete use_screen_base})(document,window); </script>
  4. <script src="__PUBLIC__/js/jquery/jquery-2.0.3.min.js"></script>
  5. <link href="__PUBLIC__/css/cart-1422de16.css" rel="stylesheet">
  6. <style>
  7. .cart .empty-cart{margin: .956rem 0 .85333333rem;}
  8. .cart .empty-cart .cart-img{width:0px;height:0px;}
  9. .cart .empty-cart .cart-hint{
  10. padding: .512rem 0;
  11. color: #3d3d3d;
  12. font-size: .298rem;
  13. line-height: .426666rem;
  14. }
  15. .cart .empty-cart .cart-btn{
  16. display: inline-block;
  17. border: 1px solid #f7afbc;
  18. border-radius: .085rem;
  19. padding: .124rem .2513rem;
  20. background-color: #fff;
  21. color: #ff4965;
  22. font-size: .298rem;
  23. line-height: .298rem;
  24. }
  25. .footer{display:none;}
  26. </style>
  27. <section class="wrapper J_wrapper" id="wrapper">
  28. <section class="privilege-info tips-info" id="J-privilege-info" style="margin-bottom:0"></section>
  29. <section class="tips-info shrink-tips" id="tips-info"></section>
  30. <section class="grid-wrap cart" id="cart-info">
  31. <div class="empty-cart">
  32. <i class="cart-img"></i>
  33. <p class="cart-hint">购物车空空如也,马上去挑选哦~</p>
  34. <a class="cart-btn J_go2login" href="{:U('Index/index')}">去挑选</a>
  35. </div></section>
  36. <section class="J-preheat-list"></section>
  37. <section class="lose-list J-lose-list"></section>
  38. <section class="recommand-module J-recommand-module">
  39. {~W('Product/relapin_goods_list',array('goods_id' => 1))}
  40. </section>
  41. <style>
  42. .wrapper{
  43. padding-bottom:0px;
  44. }
  45. img {
  46. display: block;
  47. width: 100%
  48. }
  49. body {
  50. background-color: #f2f5f8
  51. }
  52. .lazyloadBg {
  53. background-size: 34%
  54. }
  55. .notice_box,.rule_box h3,h2 {
  56. background-color: #fff;
  57. font-size: .28rem;
  58. padding: .15rem .2rem
  59. }
  60. .rule_box h3,h2 {
  61. font-weight: 400;
  62. color: #333
  63. }
  64. .notice_box {
  65. color: #999;
  66. display: block
  67. }
  68. .notice_box span {
  69. display: inline-block;
  70. margin-right: .1rem
  71. }
  72. .notice_box img {
  73. width: .14rem
  74. }
  75. .banner_box,.notice_box,.rule_box {
  76. margin-bottom: .1rem
  77. }
  78. .banner_box a {
  79. display: block;
  80. height: 2.5rem
  81. }
  82. .rule_box {
  83. padding: .2rem;
  84. padding-top: 0;
  85. background-color: #fff
  86. }
  87. .rule_box h3 {
  88. background-color: #fff6f8;
  89. color: #f69;
  90. font-size: .24rem;
  91. padding: .08rem .1rem;
  92. margin-bottom: .12rem
  93. }
  94. .rule_box p {
  95. font-size: .24rem;
  96. line-height: .32rem;
  97. color: #666
  98. }
  99. .pullUp {
  100. position: relative;
  101. left: 50%;
  102. width: .7rem;
  103. height: .7rem;
  104. overflow: hidden;
  105. margin-left: -.35rem
  106. }
  107. .pullUp div,.pullUp:before {
  108. position: absolute;
  109. -webkit-transition: all .3s linear
  110. }
  111. .pullUp:before {
  112. content: "木有了";
  113. line-height: .7rem;
  114. left: -3em;
  115. font-size: .22rem
  116. }
  117. .pullUp[status=end]:before {
  118. left: 0
  119. }
  120. .pullUp[status=end] div {
  121. opacity: 0
  122. }
  123. .pullUp div {
  124. top: .29rem;
  125. left: .06rem;
  126. border: .06rem solid #999;
  127. -webkit-border-radius: 50%;
  128. border-radius: 50%;
  129. -webkit-transform-origin: .29rem .06rem;
  130. opacity: 0
  131. }
  132. .pullUp[status=loading] {
  133. transform: rotate(0deg) translateZ(0);
  134. -webkit-transform: rotate(0deg) translateZ(0);
  135. -webkit-animation: loading 2s infinite linear .3s
  136. }
  137. @-webkit-keyframes loading {
  138. 0% {
  139. transform: rotate(0deg) translateZ(0);
  140. -webkit-transform: rotate(0deg) translateZ(0)
  141. }
  142. to {
  143. transform: rotate(360deg) translateZ(0);
  144. -webkit-transform: rotate(360deg) translateZ(0)
  145. }
  146. }
  147. .pullUp[status=loading] div {
  148. opacity: 1
  149. }
  150. .pullUp[status=loading] div:nth-child(1) {
  151. -webkit-transform: rotate(45deg);
  152. transform: rotate(45deg)
  153. }
  154. .pullUp[status=loading] div:nth-child(2) {
  155. -webkit-transform: rotate(90deg);
  156. transform: rotate(90deg)
  157. }
  158. .pullUp[status=loading] div:nth-child(3) {
  159. -webkit-transform: rotate(135deg);
  160. transform: rotate(135deg)
  161. }
  162. .pullUp[status=loading] div:nth-child(4) {
  163. -webkit-transform: rotate(180deg);
  164. transform: rotate(180deg)
  165. }
  166. .pullUp[status=loading] div:nth-child(5) {
  167. -webkit-transform: rotate(225deg);
  168. transform: rotate(225deg)
  169. }
  170. .pullUp[status=loading] div:nth-child(6) {
  171. -webkit-transform: rotate(270deg);
  172. transform: rotate(270deg)
  173. }
  174. .pullUp[status=loading] div:nth-child(7) {
  175. -webkit-transform: rotate(315deg);
  176. transform: rotate(315deg)
  177. }
  178. .pullUp[status=tap] div:nth-child(1) {
  179. left: .06rem;
  180. opacity: 1
  181. }
  182. .pullUp[status=tap] div:nth-child(2) {
  183. left: .3rem;
  184. opacity: 1
  185. }
  186. .pullUp[status=tap] div:nth-child(4) {
  187. left: .54rem;
  188. opacity: 1
  189. }
  190. .pullUp[status=stop] {
  191. display: none
  192. }
  193. .poster_wrap {
  194. background-color: #fff;
  195. padding: 0 .2rem
  196. }
  197. .goods_box {
  198. float: left;
  199. margin-right: 2%;
  200. width: 48%;
  201. overflow: hidden;
  202. margin-bottom: .2rem;
  203. }
  204. .goods_box a {
  205. display: block;
  206. width: 100%;
  207. overflow: hidden
  208. }
  209. .goods_box .soldout::after {
  210. content: "";
  211. width: 100%;
  212. height: 4rem;
  213. position: absolute;
  214. left: 0;
  215. top: 0;
  216. z-index: 10;
  217. background: url(http://s16.mogucdn.com/p1/160816/idid_ie3wemzvgqydsojwmezdambqgayde_180x180.png) no-repeat center center;
  218. background-color: rgba(0,0,0,.2);
  219. background-size: 1.5rem;
  220. -webkit-border-radius: .2rem;
  221. border-radius: .2rem
  222. }
  223. .goods_box .desc_box,.goods_box img {
  224. width: 100%
  225. }
  226. .goods_box h3 {
  227. padding: 0 .1rem;
  228. white-space: nowrap;
  229. overflow: hidden;
  230. text-overflow: ellipsis;
  231. text-align: center;
  232. font-size: .25rem;
  233. line-height: .32rem;
  234. margin-top: .2rem;
  235. margin-bottom: .2rem;
  236. font-weight: 400;
  237. color: #666;
  238. }
  239. .goods_box .co_box {
  240. *zoom: 1;
  241. height: .36rem;
  242. overflow: hidden;
  243. font-size: 0
  244. }
  245. .goods_box .co_box:after {
  246. clear: both;
  247. content: ".";
  248. display: block;
  249. visibility: hidden;
  250. height: 0
  251. }
  252. .goods_box .co_box .price {
  253. float: left;
  254. color: #f69;
  255. font-size: .25rem;
  256. margin-right: .2rem;
  257. margin-left: .14rem;
  258. line-height: 1;
  259. }
  260. .goods_box .co_box .fav_num {
  261. float: right;
  262. color: #999;
  263. font-size: .24rem;
  264. line-height: 1;
  265. margin-right: .14rem;
  266. }
  267. .clearfix:after{
  268. clear: both;
  269. content: ".";
  270. display: block;
  271. visibility: hidden;
  272. height: 0;
  273. }
  274. .J-recommand-module h2{
  275. border-bottom: 1px solid #ccc;
  276. }
  277. .poster_wrap{margin-top:8px;}
  278. </style>
  279. <section id="J_container-bottombar" class="group-nav"><section class="checkout hidden" id="J_checkout"></section>
  280. </section>
  281. <section class="sku-masks" id="J_sku-masks"></section></section>
  282. <include file="Public:foot_pinduoduo" />
  283. <script>
  284. $(function(){
  285. $('.footer').show();
  286. })
  287. </script>
  288. </block>