123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- <?php /* Smarty version 2.6.17, created on 2018-04-25 14:58:24
- compiled from bottom.html */ ?>
- <div class="v_block"></div>
- <?php if (! $this->_tpl_vars['cutScreenInfo'] && $this->_tpl_vars['display'] == 1): ?>
- <!--nav begin-->
- <div class="v_nav">
- <dl <?php if ($this->_tpl_vars['action'] != 'gift'): ?>class="on"<?php endif; ?>>
- <a href="<?php echo $this->_tpl_vars['listUrl']; ?>
- ">
- <dt>
- <p class="d"><img src="<?php echo $this->_tpl_vars['platform']['home_img_url']; ?>
- "></p>
- <p class="c"><img src="<?php echo $this->_tpl_vars['platform']['home_img_url_hover']; ?>
- "></p>
- </dt>
- <dd><?php echo $this->_tpl_vars['platform']['home_img_text']; ?>
- </dd>
- </a>
- </dl>
- <dl <?php if ($this->_tpl_vars['action'] == 'gift'): ?>class="on"<?php endif; ?>>
- <a href="<?php echo $this->_tpl_vars['giftsUrl']; ?>
- ">
- <dt>
- <p class="d"><img src="<?php echo $this->_tpl_vars['platform']['gift_img_url']; ?>
- "></p>
- <p class="c"><img src="<?php echo $this->_tpl_vars['platform']['gift_img_url_hover']; ?>
- "></p>
- </dt>
- <dd><?php echo $this->_tpl_vars['platform']['gift_img_text']; ?>
- </dd>
- </a>
- </dl>
- <dl>
- <a href="<?php echo $this->_tpl_vars['platform']['follow_url']; ?>
- " target="_blank">
- <dt>
- <p class="d"><img src="<?php echo $this->_tpl_vars['platform']['follow_img_url']; ?>
- "></p>
- <p class="c"><img src="<?php echo $this->_tpl_vars['platform']['follow_img_url_hover']; ?>
- "></p>
- </dt>
- <dd><?php echo $this->_tpl_vars['platform']['follow_img_text']; ?>
- </dd>
- </a>
- </dl>
- <!--<dl>
- <a href="#">
- <dt>
- <p class="d"><img src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
- /public/static/img/nav_icon_4.png"></p>
- <p class="c"><img src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
- /public/static/img/nav_icon_4_on.png"></p>
- </dt>
- <dd>分享</dd>
- </a>
- </dl>-->
- </div>
- <!--nav end-->
- <?php endif; ?>
- <?php if (! $this->_tpl_vars['notShowWeixinShare'] && ! $this->_tpl_vars['weixinShare']['notAllow']): ?>
- <script type="text/javascript">
- function share_button(e, title, url, img, content) {
- console.log(title);
- var u = navigator.userAgent.toLowerCase();
- var isApple = /iphone|ipad|ipod|ios/i.test(u);
- var isAndroid = /android/i.test(u);
- //isApple = true
- if (isApple || isAndroid) {
- e.parent().show();
- e.click(function()
- {
- WX_share(url, content, title, img);
- })
-
- } else {
- e.parent().hide();
- }
- }
- /*
- function share_ios(title, url, img, content) {
- window.location = 'myscheme://share_title/' + title + '/share_url/' + url + '/share_img/' + img + '/share_content/' + content;
- }
- function share_android(title, url, img, content) {
- window.AndroidBridge.openShare(title, url, img, content);
- }
- */
- var URL = window.location.href, site;
- site = 1;
- <?php if ($this->_tpl_vars['weixinShare']['weixinShare_title']): ?>
- new brickjs.MShare({
- website : 'sg',
- site: site,
- catalog: "",
- sUrl: "<?php echo $this->_tpl_vars['web_cfg']['url']; ?>
- ", //分享地址
- title: "<?php echo $this->_tpl_vars['weixinShare']['title']; ?>
- ",
- imgUrl: "<?php echo $this->_tpl_vars['weixinShare']['imgUrl']; ?>
- ",
- imgWidth: "640",
- imgHeight: "640",
- source_id : 1,
- source_table : 'onepage',
- desc: "<?php echo $this->_tpl_vars['weixinShare']['content']; ?>
- ",
- appKey: {
- tsina: "2412621184"
- },
- ralateUid: '1658402750',
- wxGuide: {
- imgUrl: '<?php echo $this->_tpl_vars['weixinShare']['imgUrl']; ?>
- ',
- width: 100,
- height: 100,
- style: {
- right: 0,
- top: 0
- }
- }
- });
- if ($('.share_button').length) {
- share_button($('.share_button'), '<?php echo $this->_tpl_vars['weixinShare']['title']; ?>
- ', '<?php echo $this->_tpl_vars['web_cfg']['url']; ?>
- ', '<?php echo $this->_tpl_vars['weixinShare']['imgUrl']; ?>
- ', '<?php echo $this->_tpl_vars['weixinShare']['content']; ?>
- ');
- }
- <?php else: ?>
- var url = '<?php if ($this->_tpl_vars['weixinShare']['jump_url']): ?><?php echo $this->_tpl_vars['weixinShare']['jump_url']; ?>
- <?php else: ?><?php echo $this->_tpl_vars['web_cfg']['url']; ?>
- <?php endif; ?>';
- var title = '<?php if ($this->_tpl_vars['weixinShare']['title']): ?><?php echo $this->_tpl_vars['weixinShare']['title']; ?>
- <?php else: ?><?php echo $this->_tpl_vars['platform']['weixinShare_title']; ?>
- <?php endif; ?>';
- var img = '<?php if ($this->_tpl_vars['weixinShare']['imgUrl']): ?><?php echo $this->_tpl_vars['weixinShare']['imgUrl']; ?>
- <?php else: ?><?php echo $this->_tpl_vars['platform']['weixinShare_img_url']; ?>
- <?php endif; ?>';
- var content = '<?php if ($this->_tpl_vars['weixinShare']['content']): ?><?php echo $this->_tpl_vars['weixinShare']['content']; ?>
- <?php else: ?><?php echo $this->_tpl_vars['platform']['weixinShare_content']; ?>
- <?php endif; ?>';
- if ($('.share_button').length) {
- share_button($('.share_button'), title, url, img, content);
- }
- new brickjs.MShare({
- website : 'sg',
- site: site,
- catalog: "",
- sUrl: url, //分享地址
- title: title,
- imgUrl: img,
- imgWidth: "640",
- imgHeight: "640",
- source_id : 1,
- source_table : 'onepage',
- desc: content,
- appKey: {
- tsina: "2412621184"
- },
- ralateUid: '1658402750',
- wxGuide: {
- imgUrl: img,
- width: 100,
- height: 100,
- style: {
- right: 0,
- top: 0
- }
- }
- });
- <?php endif; ?>
- </script>
- <?php else: ?>
- <script>
- //关闭分享按钮
- wx.hideOptionMenu();
- </script>
- <?php endif; ?>
- </body>
- </html>
|