diff --git a/app/common.php b/app/common.php index 094e39a..eda3926 100644 --- a/app/common.php +++ b/app/common.php @@ -3,7 +3,7 @@ //应用公共文件 // 版本号 -define('VERSION_V','?ver=v10.0.3'); +define('VERSION_V','?ver=v10.0.4'); // 加密秘钥 const UC_AUTH_KEY = 'L='); - } + var winText = '', winColor = '', pairHtml = ''; + var bpLabel = (lang.banker_pair || lang.banker+'对'); + var ppLabel = (lang.player_pair || lang.player+'对'); + if(opening == 1){ winText = lang.banker+'赢'; winColor = '#b20a00'; mp3List = ['banker_win.mp3']; } + if(opening == 2){ winText = lang.player+'赢'; winColor = '#0543bc'; mp3List = ['player_win.mp3']; } + if(opening == 3){ winText = lang.tie; winColor = '#0A5101'; mp3List = ['tie.mp3']; } + if(pair == 1 || pair == 3) { pairHtml += '' + bpLabel + ' '; if(isVoice) mp3List.push('banker_pair.mp3'); } + if(pair == 2 || pair == 3) { pairHtml += '' + ppLabel + ''; if(isVoice) mp3List.push('player_pair.mp3'); } + if(isVoice){ audioMp3(mp3List).Play(); } + var html = '
'+winText+'
'; + if(pairHtml) html += '
'+pairHtml+'
'; + html += '
'; + $("#resultAreaTimer").hide(); + $("#resultAreaImg").html(html); } function showPngDt (opening,isVoice){