Compare commits

...
6 Commits
4 changed files with 21 additions and 29 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
//应用公共文件
// 版本号
define('VERSION_V','?ver=v10.0.5');
define('VERSION_V','?ver=v10.0.6');
// 强制加载中文语言包
\think\facade\Lang::load(__DIR__ . '/lang/zh-cn.php');
// 加密秘钥
const UC_AUTH_KEY = 'L=<z|6aMF8s.Z_CE~K)e}c[VuG9hlJ#gp02t"1&`';
+2 -2
View File
@@ -854,7 +854,7 @@ $(function(){
}
})
$(window).resize(function(){
requestData(ludan);
if(ludan) requestData(ludan);
})
audio.addEventListener("ended", nextAudio);
getTime();
@@ -1950,7 +1950,7 @@ function SoloPath(ctb,unit,x,y,type,corners,luck_six,dragon_seven,panda_eight){
} else if(game_id==1 && dragon_seven > 0){
var color='#b8860b';
var fonts="7";
ctb.strokeStyle = "#c9980a";
ctb.strokeStyle = "#ff2202";
ctb.lineWidth = 2;
} else if(game_id==1 && panda_eight > 0){
var color='#34495e';
+14 -25
View File
@@ -484,8 +484,11 @@ $(function(){
$('#dragon_seven').val('0');
$('#panda_eight').val('0');
$('#dt_pair').val('0');
$('#openingElement').show();
showPng(3,0,0);
if(game_id == 1){
showPng(3,0,0);
}else{
showPngDt(3,0);
}
}
// Numpad 6(102)=幸运6(庄赢+标记,切换:2张牌→3张牌→取消)
if(e.keyCode == 102){
@@ -564,7 +567,7 @@ $(function(){
}
})
$(window).resize(function(){
requestData(ludan);
if(ludan) requestData(ludan);
})
audio.addEventListener("ended", nextAudio);
getTime();
@@ -635,27 +638,13 @@ function showPng(opening, pair,isVoice){
}
function showPngDt (opening,isVoice){
if(opening == 1) {
$('#openingPng').attr('src','/static/result_img/3in1/drogon.png');
if(isVoice){
mp3List = ['dragon_win.mp3'];
}
}
if(opening == 2) {
$('#openingPng').attr('src','/static/result_img/3in1/tiger.png');
if(isVoice){
mp3List = ['tiger_win.mp3'];
}
}
if(opening == 3) {
$('#openingPng').attr('src','/static/handle/result_img/3in1/tie.png');
if(isVoice){
mp3List = ['tie.mp3'];
}
}
if(isVoice){
audioMp3(mp3List).Play();
}
var winText = '', winColor = '';
if(opening == 1){ winText = (lang.dragon||'龙')+'赢'; winColor = '#b20a00'; mp3List = ['dragon_win.mp3']; }
if(opening == 2){ winText = (lang.tiger||'虎')+'赢'; winColor = '#0543bc'; mp3List = ['tiger_win.mp3']; }
if(opening == 3){ winText = lang.tie||'和'; winColor = '#0A5101'; mp3List = ['tie.mp3']; }
if(isVoice){ audioMp3(mp3List).Play(); }
$("#resultAreaTimer").hide();
$("#resultAreaImg").html('<div style="text-align:center;font-size:3vw;font-weight:bold;color:'+winColor+'">'+winText+'</div>');
}
function gameResult(data){
@@ -1372,7 +1361,7 @@ function SoloPath(ctb,unit,x,y,type,corners,luck_six,dragon_seven,panda_eight){
ctb.lineWidth = 2;
}else if(game_id==1 && dragon_seven > 0){
var color='#b8860b', fonts="7";
ctb.strokeStyle = "#c9980a";
ctb.strokeStyle = "#ff2202";
ctb.lineWidth = 2;
}else if(game_id==1 && panda_eight > 0){
var color='#34495e', fonts="8";
+1 -1
View File
@@ -2128,7 +2128,7 @@ function SoloPath(ctb,unit,x,y,type,corners,luck_six,dragon_seven,panda_eight){
} else if(game_id==1 && dragon_seven > 0){
var color='#b8860b';
var fonts="7";
ctb.strokeStyle = "#c9980a";
ctb.strokeStyle = "#ff2202";
ctb.lineWidth = 2;
} else if(game_id==1 && panda_eight > 0){
var color='#34495e';