index.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <extend name="Public:mogubase" />
  2. <block name="content">
  3. <script src="__PUBLIC__/js/jquery/jquery-2.0.3.min.js"></script>
  4. <link rel="stylesheet" href="__PUBLIC__/mogu/aZsui7zFTG4yb9jnBh219.css?v=2">
  5. <link rel="stylesheet" type="text/css" href="__PUBLIC__/mogu/index.css" media="all" />
  6. <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>
  7. <script src="__PUBLIC__/js/jquery.tmpl.min.js"></script>
  8. <script src="__PUBLIC__/mogu/js/load_index.js?v=6"></script>
  9. <script>
  10. var load_pintuan_url ="{:U('Apiindex/load_best_pintuan')}";
  11. var load_goods_url = "{:U('Apiindex/get_index_bestgoods')}";
  12. var load_suiji_url = "{:U('Apiindex/get_index_suijigoods')}";
  13. </script>
  14. <script id="best_pintuan" type="text/x-jquery-tmpl">
  15. <a class="goods_box" href="${url}">
  16. <div class="pic_box">
  17. <div class="J_dynamic_imagebox lazyloadBg">
  18. <img class="J_dynamic_img fill_img scrollLoading" src="${fan_image}" alt="">
  19. </div>
  20. {{if type == 'lottery'}}
  21. <img class="flag" src="/Common/mogu/image/170731_5e428cacel8ffj5197i38136ii525_168x60.png">
  22. {{/if}}
  23. </div>
  24. <div class="content">
  25. <h3>${name}</h3>
  26. <div class="l_box">
  27. <p class="price_box">
  28. <span>¥${pin_price}</span>
  29. </p>
  30. <p>
  31. ${pin_count}人团 <b> · </b>已团${seller_count}件
  32. </p>
  33. </div>
  34. <div class="open_tuan_btn">
  35. 去开团
  36. </div>
  37. </div>
  38. </a>
  39. </script>
  40. <script id="best_goods" type="text/x-jquery-tmpl">
  41. <div class="item-wrap waterfall-frame-1 waterfall-box waterfall-optimise-show" >
  42. <a class="iwf" href="${url}">
  43. <div class="img-wrap J_dynamic_imagebox" img-src="/Common/mogu/image/170905_1hfl9f14ebfb4fbgfcb45c033d0f9_640x900.jpg" style="padding-bottom: 110%;">
  44. <div class="bottom-img-tags clearfix">
  45. <img class="img-tag fl" src="/Common/mogu/image/1_1h8e97a4ed6giciglgjae69g9a269_60x28.png" style="width: 0.7rem;">
  46. </div>
  47. <img class="J_dynamic_img fill_img scrollLoading" src="{$index_ly_image}" data-echo="${image}" alt="">
  48. </div>
  49. <p class="title">
  50. ${name}
  51. </p>
  52. <div class="goods_info">
  53. <span class="price_info">${danprice}</span>
  54. <span class="fav_num"><em class="no_collect_icon"></em>${seller_count}</span>
  55. </div>
  56. </a>
  57. </div>
  58. </script>
  59. <div id="main">
  60. <div class="page_activity page_type_h5 ">
  61. <div class="module_row module_row_124088 MOD_ID_118074" data-mid="124088" data-versionid="1841448" id="m124088" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_124088">
  62. <div class="mod_row MCUBE_MOD_ID_118074">
  63. <div class="lazyData" data-source-type="" data-source-key="5868" data-tpl="hotwords" data-manual="true">
  64. <header class="search-wrapper lazyData" data-source-type="" data-source-key="6348" data-tpl="form" data-manual="true">
  65. <a class="mb_go2pre" style="display:none;"></a>
  66. <form id="js-form" action="{:U('category/index')}" class="" method="post">
  67. <a href="/" class="home_btn" style="background:url('<?php echo '/Uploads/image/'.C('SITE_ICON'); ?>') no-repeat center;background-size: contain;" ></a>
  68. <input name="keyword" id="js-search-input" class="js-search-input search-input" type="search" autocomplete="off" placeholder="套装" data-value="套装">
  69. <a class="cart" href="{:U('Cart/show_cart_goods')}"></a>
  70. </form>
  71. </header>
  72. <div id="js-hotwords" class="prompt-panel">
  73. <div class="init-box rec-show-log">
  74. <span class="tit-icon"></span>
  75. <h3 class="title">热门搜索</h3>
  76. <ul class="list">
  77. <?php
  78. $i = 1;
  79. foreach($keywords_arr as $kws)
  80. {
  81. ?>
  82. <li class="show-log-item" ><a href="<?php echo U('category/index', array('keyword' => $kws) ); ?> " class="a-list <?php if($i % 2 ==1){ ?>red <?php } ?>"><?php echo $kws; ?></a></li>
  83. <?php $i++; } ?>
  84. </ul>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <?php if($is_sub == 0){ ?>
  91. <style>
  92. .m-component-download {
  93. padding: 5px 10px;
  94. background: #fff;
  95. position: relative;
  96. overflow: hidden;
  97. }
  98. .pull-left {
  99. float: left;
  100. }
  101. .pull-right {
  102. float: right;
  103. }
  104. .m-component-download .m-tips {
  105. float: left!important;
  106. margin: 4px 0 0 10px;
  107. font-size: 15px;
  108. }
  109. .m-component-download .m-img {
  110. display: inline;
  111. width: 50px;
  112. height: 50px;
  113. }
  114. .m-component-download .app_btn, .m-component-download .tf_app_btn {
  115. color: #fff;
  116. background-color: #ff6699;
  117. border-color: #ff6699;
  118. display: inline-block;
  119. margin-bottom: 0;
  120. font-weight: 400;
  121. text-align: center;
  122. vertical-align: middle;
  123. -ms-touch-action: manipulation;
  124. touch-action: manipulation;
  125. cursor: pointer;
  126. background-image: none;
  127. border: 1px solid transparent;
  128. white-space: nowrap;
  129. font-size: 14px;
  130. line-height: 1.42857143;
  131. border-radius: 4px;
  132. }
  133. .m-component-download .app_btn {
  134. padding: 6px 12px;
  135. }
  136. </style>
  137. <section class="m-component-download clearfix" id="downloadApp">
  138. <span class="pull-left">
  139. <a href="{$sub_url}">
  140. <img class="m-img " src="Uploads/image/{$site_logo}">
  141. </a>
  142. </span>
  143. <span class="pull-left m-tips">{$site_title}<br>{$site_name}</span>
  144. <span class="pull-right m-btn">
  145. <a href="{$sub_url}" class="app_btn" role="button" name="apk_url">立刻关注</a>
  146. </span>
  147. </section>
  148. <?php } ?>
  149. <div class="module_row module_row_676440 MOD_ID_20" data-mid="676440" data-versionid="1841582" id="m676440" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_676440">
  150. <div class="mod_row MCUBE_MOD_ID_20 module_row_155390">
  151. <div class="lazyData" >
  152. <div class="slider swipe" id="focus" style="visibility: visible;">
  153. <div class="swipe_wrap" >
  154. <ul>
  155. <volist name="slider" id="v">
  156. <li class="cube-acm-node data-ptp-item item-0" >
  157. <a class="swipe-item block J_mogu-link J_dynamic_imagebox" href="{$v.url}" >
  158. <img class="J_dynamic_img fill_img" _src="__ROOT__/Uploads/image/{$v.image}" alt="">
  159. </a>
  160. </li>
  161. </volist>
  162. </ul>
  163. </div>
  164. <div class="hd">
  165. <ul class="swipe_indicator">
  166. <?php
  167. $count = count($slider);
  168. for($i=1;$i<=$count;$i++)
  169. {
  170. ?>
  171. <li <?php if($i == 1){ ?>class="on"<?php } ?>></li>
  172. <?php } ?>
  173. </ul>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. <script src="__PUBLIC__/pinduoduo/js/TouchSlide.1.1.js"></script>
  180. <?php if(!empty($slider)){ ?>
  181. <script>
  182. $(function(){
  183. TouchSlide({
  184. slideCell:"#focus",
  185. titCell:".hd ul", //开启自动分页 autoPage:true ,此时设置 titCell 为导航元素包裹层
  186. mainCell:".swipe_wrap ul",
  187. delayTime:200,
  188. interTime:5000,
  189. autoPlay:true,
  190. effect:"leftLoop",
  191. autoPage:true, //自动分页
  192. switchLoad:"_src"
  193. });
  194. })
  195. </script>
  196. <?php } ?>
  197. <?php if(!empty($quan_list)){ ?>
  198. <!--voucher begin-->
  199. <style>
  200. .promotion {
  201. padding: .2rem .07rem 0 .07rem;
  202. background-color:#fff;
  203. }
  204. .head {
  205. font-size: .24rem;
  206. color: #999;
  207. margin-bottom: .16rem;
  208. }
  209. .slider {
  210. position: relative;
  211. overflow: hidden;
  212. }
  213. .slider-wraper {
  214. position: relative;
  215. width: 100%;
  216. height: 100%;
  217. z-index: 1;
  218. display: -webkit-box;
  219. display: -webkit-flex;
  220. display: -moz-box;
  221. display: -ms-flexbox;
  222. display: flex;
  223. -webkit-transform-style: preserve-3d;
  224. transform-style: preserve-3d;
  225. -webkit-transition-property: -webkit-transform;
  226. transition-property: -webkit-transform;
  227. transition-property: transform;
  228. transition-property: transform,-webkit-transform;
  229. -webkit-transform: translateZ(0);
  230. transform: translateZ(0);
  231. }
  232. .jg_16{
  233. padding:.08rem 0;
  234. color:#999;
  235. text-align: center;
  236. clear:both;
  237. }
  238. .p_price {
  239. color:#ff5777;
  240. }
  241. .p_feed {
  242. background:none;
  243. padding-right:0px;
  244. }
  245. .guess_goods{
  246. float:left;
  247. }
  248. .iwf{
  249. margin: 0 0 4% 0;
  250. width:100%;
  251. }
  252. .list {
  253. display: -webkit-box;
  254. display: -webkit-flex;
  255. display: -moz-box;
  256. display: -ms-flexbox;
  257. display: flex;
  258. -webkit-box-orient: horizontal;
  259. -webkit-box-direction: normal;
  260. -webkit-flex-flow: row nowrap;
  261. -moz-box-orient: horizontal;
  262. -moz-box-direction: normal;
  263. -ms-flex-flow: row nowrap;
  264. flex-flow: row nowrap;
  265. position: absolute;
  266. }
  267. .list-item {
  268. margin-right: .08rem;
  269. }
  270. .list-item:last-child {
  271. margin-right:0px;
  272. }
  273. .card-content {
  274. height: 1.06rem;
  275. position: relative;
  276. overflow: hidden;
  277. background-size: cover;
  278. background-repeat: no-repeat;
  279. background-image: url(https://mall.shiziyu888.com/Common/image/117603130_6i5767h706g683dj35febbc2c37a4_176x116.png);
  280. }
  281. .card {
  282. position: relative;
  283. overflow: hidden;
  284. display: -webkit-box;
  285. display: -webkit-flex;
  286. display: -moz-box;
  287. display: -ms-flexbox;
  288. display: flex;
  289. -webkit-box-orient: vertical;
  290. -webkit-box-direction: normal;
  291. -webkit-flex-flow: column nowrap;
  292. -moz-box-orient: vertical;
  293. -moz-box-direction: normal;
  294. -ms-flex-flow: column nowrap;
  295. flex-flow: column nowrap;
  296. -webkit-box-align: center;
  297. -webkit-align-items: center;
  298. -moz-box-align: center;
  299. -ms-flex-align: center;
  300. align-items: center;
  301. -webkit-box-pack: center;
  302. -webkit-justify-content: center;
  303. -moz-box-pack: center;
  304. -ms-flex-pack: center;
  305. justify-content: center;
  306. color: #fff;
  307. border-radius: .04rem;
  308. height: .88rem;
  309. width: 1.8rem;
  310. padding: .08rem;
  311. }
  312. .card-price {
  313. -webkit-box-orient: horizontal;
  314. -webkit-box-direction: normal;
  315. -webkit-flex-flow: row nowrap;
  316. -moz-box-orient: horizontal;
  317. -moz-box-direction: normal;
  318. -ms-flex-flow: row nowrap;
  319. flex-flow: row nowrap;
  320. -webkit-box-align: start;
  321. -webkit-align-items: flex-start;
  322. -moz-box-align: start;
  323. -ms-flex-align: start;
  324. align-items: flex-start;
  325. }
  326. .card-price--unit, .card-price {
  327. display: -webkit-box;
  328. display: -webkit-flex;
  329. display: -moz-box;
  330. display: -ms-flexbox;
  331. display: flex;
  332. }
  333. .card-price--unit, .card-price {
  334. display: -webkit-box;
  335. display: -webkit-flex;
  336. display: -moz-box;
  337. display: -ms-flexbox;
  338. display: flex;
  339. }
  340. .card-price--unit {
  341. font-size: .18rem;
  342. }
  343. .card-price--num {
  344. font-size: .48rem;
  345. line-height: .48rem;
  346. }
  347. .card-desc, .card-price--num {
  348. display: -webkit-box;
  349. display: -webkit-flex;
  350. display: -moz-box;
  351. display: -ms-flexbox;
  352. display: flex;
  353. }
  354. .card-desc {
  355. font-size: .2rem;
  356. }
  357. .card-tag {
  358. display: none;
  359. -webkit-box-pack: center;
  360. -webkit-justify-content: center;
  361. -moz-box-pack: center;
  362. -ms-flex-pack: center;
  363. justify-content: center;
  364. -webkit-box-align: center;
  365. -webkit-align-items: center;
  366. -moz-box-align: center;
  367. -ms-flex-align: center;
  368. align-items: center;
  369. width: .64rem;
  370. height: .64rem;
  371. position: absolute;
  372. bottom: -.16rem;
  373. right: -.1rem;
  374. -webkit-transform: rotate(-20deg);
  375. transform: rotate(-20deg);
  376. border: 1px solid #666;
  377. border-radius: 50%;
  378. }
  379. .card-tag--text {
  380. font-size: .2rem;
  381. color: #666;
  382. margin-bottom: .1rem;
  383. text-align: center;
  384. }
  385. .card-tag--get {
  386. display: -webkit-box;
  387. display: -webkit-flex;
  388. display: -moz-box;
  389. display: -ms-flexbox;
  390. display: flex;
  391. }
  392. .card-content.get{
  393. background-image: url( https://mall.shiziyu888.com/Common/image/117603130_4a8d76d1e2l7b854b0hk76lg97g3a_176x116.png);
  394. }
  395. </style>
  396. <div class="meili-all-vue-detail-base-promotion promotion">
  397. <div class="meili-all-vue-base-slider slider" style="height:53px;">
  398. <div class="slider-wraper" style="transition-duration: 0ms; transform: translate3d(0px, 0px, 0px);">
  399. <div class="list">
  400. <?php foreach($quan_list as $quan) { ?>
  401. <div class="card-content list-item coupon-take" data-id="<?php echo $quan['id']; ?>" >
  402. <div class="card">
  403. <div class="card-price span">
  404. <div class="card-price--unit span">
  405. ¥
  406. </div>
  407. <div class="card-price--num span">
  408. <?php echo round($quan['credit'],2); ?>
  409. </div>
  410. </div>
  411. <div class="card-desc span">
  412. <?php if($quan['limit_money'] > 0) { ?>
  413. 满<?php echo $quan['limit_money']; ?>元立减
  414. <?php }else{ ?>
  415. 无门槛使用
  416. <?php } ?>
  417. </div>
  418. <div class="card-tag span " >
  419. <div class="card-tag--text span">已领</div>
  420. </div>
  421. </div>
  422. </div>
  423. <?php } ?>
  424. </div>
  425. </div>
  426. </div>
  427. </div>
  428. <script>
  429. $(function(){
  430. $('.coupon-take').click(function(){
  431. var quan_id = $(this).attr('data-id');
  432. var obj = $(this);
  433. $.ajax({
  434. url:"{:U('Seller/getQuan')}",
  435. type:'post',
  436. data:{quan_id:quan_id},
  437. dataType:'json',
  438. success:function(result){
  439. show_mask(result.msg);
  440. $(obj).addClass('get');
  441. $(obj).children('.card').children('.card-tag').addClass('card-tag--get');
  442. //get
  443. }
  444. })
  445. })
  446. })
  447. </script>
  448. <!--voucher end-->
  449. <?php } ?>
  450. <?php if(!empty($slider_nav)){ ?>
  451. <div id="quick-entrance-new-2" data-reactid="24">
  452. <ul class="qe-wrapper-2" data-reactid="25">
  453. <?php foreach($slider_nav as $val){ ?>
  454. <li class="" onclick="location='<?php echo $val['url']; ?>'">
  455. <div class="quick-entrance-cube">
  456. <div class="item-img-box">
  457. <img src="__ROOT__/Uploads/image/<?php echo $val['image']; ?>">
  458. </div>
  459. <div class="cube-text"><span><?php echo $val['slider_name']; ?></span></div>
  460. </div>
  461. </li>
  462. <?php } ?>
  463. </ul>
  464. </div>
  465. <?php } ?>
  466. <?php
  467. if(!empty($index_ad_two_list)){
  468. ?>
  469. <div class="module_row module_row_450739 MOD_ID_130039">
  470. <?php foreach($index_ad_two_list as $val){ ?>
  471. <div style="margin-bottom:5px;float:left;width:50%;" onclick="location='<?php echo $val['url']; ?>'">
  472. <img src="__ROOT__/Uploads/image/<?php echo $val['image']; ?>" width="100%">
  473. </div>
  474. <?php } ?>
  475. <div style="clear:both;"></div>
  476. </div>
  477. <?php } ?>
  478. <div class="module_row module_row_560429 MOD_ID_559701" data-mid="560429" data-versionid="1804485" id="m560429" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_560429">
  479. <div class="mod_row MCUBE_MOD_ID_559701">
  480. <div class="lazyData" data-source-type="" data-source-key="59540" data-floornum="5" data-manual="true">
  481. <div class="wrapCbox" style="padding-top:0rem; padding-bottom:0rem; ">
  482. <h2>
  483. <span>超值拼团</span>
  484. <a href="{:U('Pingoods/index')}">
  485. 全部拼团
  486. </a>
  487. </h2>
  488. <div class="wrapinner" id="best_pintuan_wrap">
  489. </div>
  490. </div>
  491. <a href="{:U('Pingoods/index')}">
  492. </a>
  493. <a href="{:U('Pingoods/index')}" class="more">全部超值拼团</a>
  494. </div>
  495. <input type="hidden" class="num" value="5">
  496. </div>
  497. </div>
  498. <?php
  499. if(!empty($index_ad_list)){
  500. ?>
  501. <div class="module_row module_row_450739 MOD_ID_130039">
  502. <?php foreach($index_ad_list as $val){ ?>
  503. <div style="margin-bottom:5px;" onclick="location='<?php echo $val['url']; ?>'">
  504. <img src="__ROOT__/Uploads/image/<?php echo $val['image']; ?>" width="100%">
  505. </div>
  506. <?php } ?>
  507. </div>
  508. <?php } ?>
  509. <?php
  510. if(!empty($spike_info) && !empty($best_goods_list)){
  511. ?>
  512. <div class="module_row module_row_450739 MOD_ID_130039" data-mid="450739" data-versionid="1274641" id="m450739" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_450739">
  513. <div class="mod_row MCUBE_MOD_ID_130039">
  514. <style>
  515. </style>
  516. <div class="top-timeline" style="background-color:white;">
  517. <div class="top-content">
  518. <hr>
  519. <div class="content-wrap">
  520. 限时特惠距活动结束仅剩
  521. </div>
  522. </div>
  523. <div class="time-content clock_div" endtime="<?php echo date('m/d/Y H:i:s', $spike_info['end_time']);?>">
  524. </div>
  525. </div>
  526. <script>
  527. $(function(){
  528. lxfEndtime();
  529. })
  530. function lxfEndtime(){
  531. $(".clock_div").each(function(){
  532. var lxfday=$(this).attr("endtime");
  533. var endtime = new Date(lxfday).getTime();
  534. var nowtime = new Date().getTime();
  535. var youtime = endtime-nowtime;
  536. var seconds = youtime/1000;
  537. var mc = youtime/100;
  538. mc = Math.floor(mc % 10);
  539. var minutes = Math.floor(seconds/60);
  540. var hours = Math.floor(minutes/60);
  541. var days = Math.floor(hours/24);
  542. var CDay= days ;
  543. var CHour= hours % 24;
  544. var CMinute= minutes % 60;
  545. var CSecond= Math.floor(seconds%60);
  546. if(endtime<=nowtime){
  547. $(this).html('<span class="label-wrap">已过期</span>')
  548. }else{
  549. var s_time = "";
  550. if(days > 0){
  551. if(days >=10)
  552. {
  553. var day_1 = parseInt(days/10);
  554. var day_2 = days % 10;
  555. s_time+= '<span class="day1 detail-wrap">'+day_1+'</span>';
  556. s_time+= '<span class="day2 detail-wrap">'+day_2+'</span>';
  557. s_time+= '<span class="label-wrap">天</span>';
  558. }else{
  559. s_time+= '<span class="day1 detail-wrap">'+days+'</span>';
  560. s_time+= '<span class="label-wrap">天</span>';
  561. }
  562. }
  563. if(CHour >0){
  564. var hour_1 = parseInt(CHour/10);
  565. var hour_2 = CHour % 10;
  566. s_time+= '<span class="hh1 detail-wrap">'+hour_1+'</span>';
  567. s_time+= '<span class="hh2 detail-wrap">'+hour_2+'</span>';
  568. s_time+= '<span class="label-wrap">时</span>';
  569. }
  570. if(CMinute > 0){
  571. var min_1 = parseInt(CMinute/10);
  572. var min_2 = CMinute % 10;
  573. s_time+= '<span class="mm1 detail-wrap">'+min_1+'</span>';
  574. s_time+= '<span class="mm2 detail-wrap">'+min_2+'</span>';
  575. s_time+= '<span class="label-wrap">分</span>';
  576. }
  577. var miao_1 = parseInt(CSecond/10);
  578. var miao_2 = CSecond % 10;
  579. s_time+= '<span class="ss1 detail-wrap">'+miao_1+'</span>';
  580. s_time+= '<span class="ss2 detail-wrap">'+miao_2+'</span>';
  581. s_time+= '<span class="label-wrap">秒</span>';
  582. var li_1 = mc % 10;
  583. s_time+= '<span class="ms1 detail-wrap">'+li_1+'</span>';
  584. $(this).html(s_time);
  585. }
  586. });
  587. setTimeout("lxfEndtime()",100);
  588. }
  589. </script>
  590. </div>
  591. </div>
  592. <div class="module_row module_row_450734 MOD_ID_446806" data-mid="450734" data-versionid="1611247" id="m450734" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_450734">
  593. <div class="mod_row MCUBE_MOD_ID_446806">
  594. <div class="lazyData" data-source-type="" data-source-key="42287" data-manual="true">
  595. <div class="goods_list slide_box">
  596. <?php
  597. if(!empty($spike_info)){
  598. ?>
  599. <?php foreach($best_goods_list as $sp_val){ ?>
  600. <a href="<?php echo $sp_val['url']; ?>" class="goods_item">
  601. <figure class="goods_img J_dynamic_imagebox" >
  602. <img class="J_dynamic_img fill_img" src="<?php echo $sp_val['fan_image']; ?>" alt="">
  603. </figure>
  604. <figcaption class="goods_info">
  605. <p>
  606. ¥<?php echo $sp_val['danprice']; ?><del><?php echo $sp_val['price']; ?></del>
  607. </p>
  608. <button>立即抢购</button>
  609. </figcaption>
  610. </a>
  611. <?php } ?>
  612. <?php } ?>
  613. </div>
  614. </div>
  615. </div>
  616. </div>
  617. <?php } ?>
  618. <?php if(!empty($subject_list)){ ?>
  619. <div class="module_row module_row_119267 MOD_ID_117044" data-mid="119267" data-versionid="1827976" id="m119267" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_119267">
  620. <div class="mod_row MCUBE_MOD_ID_117044">
  621. <div class="highquality_wraper">
  622. <div class="lazyData shops">
  623. <?php foreach($subject_list as $subject){ ?>
  624. <a class="fine-img img-box J_dynamic_imagebox" href="{:U('Subject/index',array('id' => $subject['id']) )}">
  625. <img class="J_dynamic_img fill_img" src="__ROOT__/Uploads/image/<?php echo $subject['banner']; ?>" alt="">
  626. </a>
  627. <div class="goods_list silde_box">
  628. <?php foreach($subject['goods_list'] as $goods){ ?>
  629. <a class="goods_item" href="<?php echo $goods['url']; ?>">
  630. <figure class="J_dynamic_imagebox">
  631. <img class="J_dynamic_img fill_img" src="<?php echo $goods['fan_image']; ?>" alt="">
  632. </figure>
  633. <figcaption>
  634. <p class="goods_item_title">
  635. <?php echo $goods['name']; ?>
  636. </p>
  637. <p class="goods_item_price">
  638. ¥<?php echo $goods['danprice']; ?>
  639. </p>
  640. </figcaption>
  641. </a>
  642. <?php } ?>
  643. </div>
  644. <?php } ?>
  645. </div>
  646. <p class="more __clickOpenApp">
  647. 查看更多
  648. <i class="arrow"></i>
  649. </p>
  650. </div>
  651. </div>
  652. </div>
  653. <?php } ?>
  654. <div class="module_row module_row_123585 MOD_ID_116894" data-mid="123585" data-versionid="1208234" id="m123585" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_123585">
  655. <div class="mod_row MCUBE_MOD_ID_116894">
  656. <div class="fake-nav" style="height: 0px;">
  657. </div>
  658. <div class="nav-wrap clearfix" style="top: 0rem; left: 0px; width: 100%;">
  659. <label class="nav-item fl active" style="width:33.333333333333%" data-rid="1">
  660. <span>流行
  661. </span>
  662. </label>
  663. <label class="nav-item fl" style="width:33.333333333333%" data-rid="2">
  664. <span>新款
  665. </span>
  666. </label>
  667. <label class="nav-item fl" style="width:33.333333333333%" data-rid="3">
  668. <span>精选
  669. </span>
  670. </label>
  671. </div>
  672. </div>
  673. </div>
  674. <div class="module_row module_row_116980 MOD_ID_116891">
  675. <div class="mod_row MCUBE_MOD_ID_116891">
  676. <div class="wall-wrap waterfall-container" id="goods_content">
  677. <p class="hint" style="display: none;">
  678. 数据加载中...
  679. </p>
  680. </div>
  681. </div>
  682. </div>
  683. <div class="module_row module_row_123585 MOD_ID_116894" style="display:none;" data-mid="123585" data-versionid="1208234" id="m123585" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_123585">
  684. <div class="mod_row MCUBE_MOD_ID_116894">
  685. <div class="fake-nav" style="height: 0px;">
  686. </div>
  687. <div class="nav-wrap clearfix" id="guss_box" style="display:none; top: 0rem; left: 0px; width: 100%;">
  688. <label class="nav-item fl " style="width:33.333333333333%" data-rid="1">
  689. <span>猜你喜欢
  690. </span>
  691. </label>
  692. </div>
  693. </div>
  694. </div>
  695. <div class="module_row module_row_116980 MOD_ID_116891">
  696. <div class="mod_row MCUBE_MOD_ID_116891">
  697. <div class="wall-wrap waterfall-container" id="suiji_goods_content2">
  698. <p class="hint" style="display: none;">
  699. 数据加载中...
  700. </p>
  701. </div>
  702. </div>
  703. </div>
  704. <div class="module_row module_row_423645 MOD_ID_60139" data-mid="423645" data-versionid="1680364" id="m423645" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_423645">
  705. <div class="mod_row MCUBE_MOD_ID_60139">
  706. <a class="to-top-btn J_toTop" href="javascript:;" style="display: none;"></a>
  707. </div>
  708. </div>
  709. <include file="Public:foot_pinduoduo" />
  710. <style>
  711. .go-top{display:none;}
  712. .footer .nav-controller i{margin-bottom: 6px;}
  713. .footer a.active {
  714. color: #df2127;
  715. }
  716. </style>
  717. <div class="module_row module_row_118905 MOD_ID_45043" data-mid="118905" data-versionid="1206647" id="m118905" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_118905">
  718. <div class="mod_row MCUBE_MOD_ID_45043">
  719. </div>
  720. </div>
  721. <div class="module_row module_row_144077 MOD_ID_144060" data-mid="144077" data-versionid="1827980" id="m144077" data-editable="0" data-acm="3.mf.1_0_0.0.0.0.mf_11248_144077">
  722. <div class="mod_row MCUBE_MOD_ID_144060">
  723. <div class="maskWrap">
  724. </div>
  725. <input type="hidden" class="popConfig" data-pop="1">
  726. </div>
  727. </div>
  728. </div>
  729. </div>
  730. <div class="popup-mask" style="display: none;position: fixed; width: 100%;height: auto;top: 50%;z-index: 999999999; background: rgba(0, 0, 0, 0);">
  731. <div class="popup-main" style=" max-width: 50%; height: auto;margin: auto;background-color: rgba(0,0,0,.8);color: #f0f0f0;font-size: 16px;padding: 10px;text-align: center;border-radius: 5px;box-shadow: 0 0 24px -1px #383838; background: rgba(41, 49, 61, 0.701961);">
  732. <div class="popup-content"><div style="color:#fff;font-size:0.4rem;margin:0"></div>
  733. </div>
  734. </div>
  735. </div>
  736. <include file="Widget:pin_notify" />
  737. <include file="Public:foot_lazy" />
  738. {~W('Share/common_share')}
  739. <script>
  740. function show_mask(title)
  741. {
  742. $('.popup-content div').html(title);
  743. $('.popup-mask').fadeIn(1500,function(){
  744. $('.popup-mask').fadeOut(1500);
  745. })
  746. }
  747. $('.show-log-item a').click(function(){
  748. })
  749. $('#js-search-input').focus(function(){
  750. $('.home_btn').hide();
  751. $('.mb_go2pre').show();
  752. $('#js-hotwords').show();
  753. })
  754. $('.mb_go2pre').click(function(){
  755. $('.mb_go2pre').hide();
  756. $('.home_btn').show();
  757. $('#js-hotwords').hide();
  758. })
  759. </script>
  760. </block>