123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565 |
- <?php if( in_array($goods['type'], array('normal','subject','super_spike','niyuan','oneyuan','haitao') ) ) { ?>
-
- <?php if($pin_id >0){ ?>
- <?php if($is_me) { ?>
- <div class="kt which_one">
- <a class="kt_item kt_item1"><span>邀请好友参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.danprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php }else{ ?>
- <div class="kt which_one" id="tuan_more_btn">
- <a class="kt_item kt_item1"><span>立即参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.pinprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php } ?>
- <?php }else { ?>
-
- <div class="kt" >
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id) )}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
-
-
-
- <a id="tuan_more_btn" class="kt_item">
- <div class="kt_price"><span id="tuan_more_price">¥ {$goods.pinprice}</span></div>
- <div class="kt_btn"><b id="tuan_more_number">{$goods.pin_count}人团</b></div>
- </a>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div><b id="tuan_one_price">¥ {$goods.danprice}</b></div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <?php } ?>
- <?php } ?>
- <?php if($goods['type'] == 'zeyuan') { ?>
- <?php if($pin_id >0){ ?>
- <?php if($is_me) { ?>
- <div class="kt which_one">
- <a class="kt_item kt_item1"><span>邀请好友参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.danprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php }else{ ?>
- <div class="kt which_one" id="tuan_more_btn">
- <a class="kt_item kt_item1"><span>立即参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.pinprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php } ?>
- <?php }else { ?>
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
-
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div id="tuan_more_btn" class="free-trial-btn">
- <span>申请试用</span>
- </div>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.pinprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- <!--ms-if-->
- </div>
- <?php } ?>
- <?php } ?>
- <?php if( in_array($goods['type'], array('spike') ) ) { ?>
- <?php
- $spike_goods = M('spike_goods')->where( array('goods_id' => $id) )->find();
- ?>
- <?php if($spike_goods['begin_time'] > time()){ ?>
- <!-- 未开始 begin -->
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
-
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div class="free-trial-btn">
- <span>即将开始</span>
- </div>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <!-- 未开始 end -->
- <?php }else if( $spike_goods['end_time'] < time() ){ ?>
- <!-- 已结束 begin -->
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div class="free-trial-btn">
- <span>活动结束</span>
- </div>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <!-- 已结束end -->
- <?php }else { ?>
- <!-- 正常购买 开始 -->
- <?php if($pin_id >0){ ?>
- <?php if($is_me) { ?>
- <div class="kt which_one">
- <a class="kt_item kt_item1"><span>邀请好友参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.danprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php }else{ ?>
- <div class="kt which_one" id="tuan_more_btn">
- <a class="kt_item kt_item1"><span>立即参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.pinprice}</i>
- </b>
- </div>
- </a>
- </div>
- <?php } ?>
- <?php }else { ?>
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <a id="tuan_more_btn" class="kt_item">
- <div class="kt_price"><span id="tuan_more_price">¥ {$goods.pinprice}</span></div>
- <div class="kt_btn"><b id="tuan_more_number">{$goods.pin_count}人团</b></div>
- </a>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div><b id="tuan_one_price">¥ {$goods.danprice}</b></div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <?php } ?>
-
- <!-- 正常购买 结束 -->
- <?php } ?>
- <?php } ?>
- <?php if($goods['type'] == 'lottery') { ?>
-
- <?php
- $lottery_goods = M('lottery_goods')->where( array('goods_id' => $id) )->find();
-
- ?>
- <?php
- if($lottery_goods['is_open_lottery'] == 0 )
- {
-
- ?>
- <?php if($lottery_goods['begin_time'] > time() ){ ?>
- <!-- 未开始 begin -->
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div class="free-trial-btn">
- <span>即将开始</span>
- </div>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <!-- 未开始 end -->
-
- <?php }else if( $lottery_goods['end_time'] < time() ){ ?>
-
- <!-- 等待开奖 begin -->
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div class="free-trial-btn">
- <span>等待开奖</span>
- </div>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <!-- 等待开奖 end -->
-
- <?php }else{ ?>
- <?php if($pin_id >0){ ?>
- <!-- 带拼团参数 begin -->
- <?php if($is_me) { ?>
- <!-- 是自己的 begin -->
- <div class="kt which_one">
- <a class="kt_item kt_item1"><span>邀请好友参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.pinprice}</i>
- </b>
- </div>
- </a>
- </div>
- <!-- 是自己的 end -->
-
- <?php }else{ ?>
- <!-- 不是自己的 begin -->
- <div class="kt which_one" id="tuan_more_btn">
- <a class="kt_item kt_item1"><span>立即参团</span>
- <div class="kt_height">
- <b id="tuan_more_price">
- ¥<i>{$goods.pinprice}</i>
- </b>
- </div>
- </a>
- </div>
- <!-- 不是自己的 end -->
- <?php } ?>
- <!-- 带拼团参数 end -->
- <?php }else { ?>
- <!-- 重新开团begin -->
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <a id="tuan_more_btn" class="kt_item">
- <div class="kt_price">
- <span id="tuan_more_price">
- <i>¥</i>
- <i>{$goods.pinprice}</i>
- </span>
- </div>
- <div class="kt_btn">
- <b id="tuan_more_number">{$goods.pin_count}人团</b>
- </div>
- </a>
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- </div>
- <!-- 重新开团end -->
-
- <?php } ?>
-
- <?php } ?>
- <?php }else{ ?>
-
- <div class="kt">
- <a id="kt_index_btn" class="kt_index" onclick="location.href='{:U('Index/index')}';">
- <div class="kt_index_img">
- <img src="__PUBLIC__/pinduoduo/assets/img/index-38d3d45c2c.png">
- </div>
- <div class="kt_index_text">首页</div>
- </a>
- <a id="kt_like_btn" class="kt_like">
- <div class="kt_index_img">
- <div class="kt_index_img_bg <?php if($is_fav){ ?>liked <?php } ?>"></div>
- </div>
- <div class="kt_index_text">收藏</div>
- </a>
- <?php
- if($open_web_kefu == 1){
- ?>
- <a id="kt_message_btn" target="_blank" href="{:U('Seller/kefu_seller', array('store_id' => $seller_info['s_id'],'goods_id' => $id))}" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php }else{ ?>
- <a id="kt_message_btn" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$seller_info.s_qq}&site=qq&menu=yes" class="kt_message">
- <div class="kt_message_img can_contact">
- <img src="__PUBLIC__/pinduoduo/assets/img/message-fb3e83c325.png">
- </div>
- <div class="kt_message_text">客服</div>
- </a>
- <?php } ?>
- <div class="free-trial-btn" onclick="location.href='{:U('Goods/lotteryinfo', array('goods_id' => $id))}'">
- <span>查看中奖名单</span>
- </div>
- <!--ms-if-->
- <!--ms-if-->
- <a id="tuan_one_btn" class="kt_item kt_item_buy out">
- <div class="kt_price">
- <div>
- <b id="tuan_one_price">¥{$goods.danprice}</b>
- </div>
- </div>
- <div class="kt_btn" id="tuan_one_number">单独购买</div>
- </a>
- <!--ms-if-->
- </div>
-
- <?php } ?>
- <?php } ?>
- <input type="hidden" name="type" id="type" value="<?php echo $goods['type']; ?>" />
- <input type="hidden" name="goods_id" id="goods_id" value="<?php echo $id; ?>" />
- <input type="hidden" name="pin_id" id="pin_id" value="<?php echo $pin_id; ?>" />
- <input type="hidden" name="pin_type" id="pin_type" value="pin" />
|