Browse Source

add wx img switch button

master
filesite 7 months ago
parent
commit
099c533ddd
  1. 5
      themes/tajian/views/site/tajian.php
  2. 1
      www/css/tajian.css
  3. 6
      www/js/tajian.js

5
themes/tajian/views/site/tajian.php

@ -39,8 +39,9 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
<br>&nbsp;&nbsp;&nbsp;&nbsp;用手机号码 + 邀请码(朋友手机号码末6位)<a href="/site/register/" class="loginbtn">注册</a> <br>&nbsp;&nbsp;&nbsp;&nbsp;用手机号码 + 邀请码(朋友手机号码末6位)<a href="/site/register/" class="loginbtn">注册</a>
<br class="hidden-xs"> <br class="hidden-xs">
&nbsp;&nbsp;&nbsp;&nbsp;还可以加客服微信索要注册邀请码 &nbsp;&nbsp;&nbsp;&nbsp;还可以加客服微信索要注册邀请码
<img src="/tajian/wx_jialuoma.jpeg" alt="Ta荐客服微信二维码" width="200" class="kfwx"> <button class="mt10 bt_kf_JS" type="button" data-hide="隐藏二维码">显示二维码</button>
<br class="hidden-xs"> <img src="/tajian/wx_jialuoma.jpeg" alt="Ta荐客服微信二维码" width="200" class="kfwx kf_wx_JS hide">
<br>
2. 用手机号码 <a href="/site/login/" class="loginbtn">登录</a> 2. 用手机号码 <a href="/site/login/" class="loginbtn">登录</a>
<br class="hidden-xs"> <br class="hidden-xs">
3. 从各大视频App、网站复制分享链接 3. 从各大视频App、网站复制分享链接

1
www/css/tajian.css

@ -266,4 +266,5 @@ body.layout_index{background-color:#e5f1f3}
.tajian_index .h1title small{display:block} .tajian_index .h1title small{display:block}
.tajian_index .kfwx{float:none;width:130px;display:block;margin-left:1em} .tajian_index .kfwx{float:none;width:130px;display:block;margin-left:1em}
.tajian_index .loginbtn{display:block;width:80%;margin-left:1em;text-align:center} .tajian_index .loginbtn{display:block;width:80%;margin-left:1em;text-align:center}
.tajian_index .hide{display:none !important}
} }

6
www/js/tajian.js

@ -199,6 +199,12 @@ if ($('.bt_kf_JS').get(0)) {
$('.bt_kf_JS').text(kf_text); $('.bt_kf_JS').text(kf_text);
} }
}); });
var win_width = $(window).width();
if (win_width > 768 && $('.tajian_index').get(0)) {
$('.bt_kf_JS').click();
}
} }
})(); })();

Loading…
Cancel
Save