|
@@ -29,5 +29,24 @@
|
|
|
?>
|
|
|
</div>
|
|
|
</div>
|
|
|
+<script type="text/javascript">
|
|
|
+ $(function(){
|
|
|
+ function navigator(){
|
|
|
+ var ua = navigator.userAgent.toLowerCase(),
|
|
|
+ downInstall=$('#links a');
|
|
|
+ if (/iphone|ipad|ipod/.test(ua)) {
|
|
|
+ downInstall.attr('href','http://a.app.qq.com/o/simple.jsp?pkgname=com.lrlz.beautyshop');
|
|
|
+ } else if (/android/.test(ua)) {
|
|
|
+ downInstall.attr('href','http://p.lrlz.com/data/upload/package/xmmz_release.apk');
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ downInstall.attr('href','#');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ navigator();
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+</script>
|
|
|
</body>
|
|
|
</html>
|