| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // url生成二维码
- var qrcode_list = new QRCode(document.getElementById("qrcode"), {
- width: 100,
- height: 100
- });
- $(".code_url").click(function () {
- var p_text = $(this).find("#code_url").text();
- var p_title = $(this).find("#code_title").text();
- var p_page = $(this).find("#download-page").text();
- qrcode_list.makeCode(p_page);
- $('.az_hover a').attr('href', p_text);
- $('.download_popup p').html(p_title);
- });
- $(".public_nav li").removeClass('current_page').eq(1).addClass('current_page')
- // 判断是否有游戏
- var b = $(".strip").text();
- if (b == 0) {
- $(".page").hide();
- $(".no_content").show();
- } else {
- $(".page").show();
- $(".no_content").hide();
- }
- function searchGame(obj,id){
- var url = "/game/";
-
- $('#'+obj).val(id);
-
- var gametype = parseInt($('#J_gametype').val());
- var gamesubject = parseInt($('#J_gamesubject').val());
- if(isNaN(gametype)) gametype = 0;
- if(isNaN(gamesubject)) gamesubject = 0;
- location.href=url+gametype+'/'+gamesubject;
- }
|