ludo规则页面修改
This commit is contained in:
@@ -2406,5 +2406,23 @@ langAr = {
|
|||||||
text4: `هذا الحدث ومكافآته غير مرتبطين بشركة Google/Apple.`,
|
text4: `هذا الحدث ومكافآته غير مرتبطين بشركة Google/Apple.`,
|
||||||
text5: `تحطيم البيض السعيد`,
|
text5: `تحطيم البيض السعيد`,
|
||||||
text6: `بئر الأمنيات الخيالي (مفتوح لفترة محدودة)`,
|
text6: `بئر الأمنيات الخيالي (مفتوح لفترة محدودة)`,
|
||||||
|
},
|
||||||
|
ludo_rule:{
|
||||||
|
ludo_rule_txt: `
|
||||||
|
<li>
|
||||||
|
<h3>الإقلاع من القاعدة</h3>
|
||||||
|
<p>رمي النرد للبدء باللعبة، والحصول على رمي إضافي؛ إذا حصلت على 6 ثلاث مرات متتالية، ينتهي الجولة.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>الفوز باللعبة</h3>
|
||||||
|
<p>يتطلب الوضع الكلاسيكي وصول 4 قطع إلى النهاية للفوز.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>العناصر المساعدة في اللعبة</h3>
|
||||||
|
<p>1. اللاعبون الذين يحصلون على "النرد الذهبي" يجب أن يرموا 6.</p>
|
||||||
|
<p>2. اللاعبون الذين يحصلون على "المغناطيس" يمكنهم التقدم 8 خطوات حتى يعوقهم الآخرون.</p>
|
||||||
|
<p>3. اللاعبون الذين يحصلون على "القنبلة" يمكنهم تفجير 8 خطوات، مما يؤدي إلى إزالة الخصم إلى القاعدة.</p>
|
||||||
|
</li>
|
||||||
|
`,
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -2415,5 +2415,23 @@ langEn = {
|
|||||||
text4: `This event and its rewards are not associated with Google/Apple Inc.`,
|
text4: `This event and its rewards are not associated with Google/Apple Inc.`,
|
||||||
text5: `Happy Egg Smash`,
|
text5: `Happy Egg Smash`,
|
||||||
text6: `Fantasy Wishing Well (Limited Time Open)`,
|
text6: `Fantasy Wishing Well (Limited Time Open)`,
|
||||||
|
},
|
||||||
|
ludo_rule:{
|
||||||
|
ludo_rule_txt: `
|
||||||
|
<li>
|
||||||
|
<h3>Take off from the base</h3>
|
||||||
|
<p>Throw 6 to start, and get 1 extra throw; if you throw 6 three times in a row, the round ends.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>Win the game</h3>
|
||||||
|
<p>Classic mode requires 4 pieces to reach the end to win.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>Game props</h3>
|
||||||
|
<p>1. Players who earn 'gold dice' must throw 6.</p>
|
||||||
|
<p>2. Players who earn the 'magnet' can advance 8 steps until blocked by others.</p>
|
||||||
|
<p>3. Players who earn the 'bomb' can bomb 8 steps, eliminating the opponent back to the base.</p>
|
||||||
|
</li>
|
||||||
|
`,
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -2415,5 +2415,23 @@ langEn = {
|
|||||||
text4: `This event and its rewards are not associated with Google/Apple Inc.`,
|
text4: `This event and its rewards are not associated with Google/Apple Inc.`,
|
||||||
text5: `Happy Egg Smash`,
|
text5: `Happy Egg Smash`,
|
||||||
text6: `Fantasy Wishing Well (Limited Time Open)`,
|
text6: `Fantasy Wishing Well (Limited Time Open)`,
|
||||||
|
},
|
||||||
|
ludo_rule:{
|
||||||
|
ludo_rule_txt: `
|
||||||
|
<li>
|
||||||
|
<h3>Take off from the base</h3>
|
||||||
|
<p>Throw 6 to start, and get 1 extra throw; if you throw 6 three times in a row, the round ends.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>Win the game</h3>
|
||||||
|
<p>Classic mode requires 4 pieces to reach the end to win.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>Game props</h3>
|
||||||
|
<p>1. Players who earn 'gold dice' must throw 6.</p>
|
||||||
|
<p>2. Players who earn the 'magnet' can advance 8 steps until blocked by others.</p>
|
||||||
|
<p>3. Players who earn the 'bomb' can bomb 8 steps, eliminating the opponent back to the base.</p>
|
||||||
|
</li>
|
||||||
|
`,
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -2408,5 +2408,23 @@ langZh = {
|
|||||||
text4: `本活動以及活動獎勵與Google/蘋果公司無關。`,
|
text4: `本活動以及活動獎勵與Google/蘋果公司無關。`,
|
||||||
text5: `歡樂砸蛋`,
|
text5: `歡樂砸蛋`,
|
||||||
text6: `梦幻许愿池(限时开放)`,
|
text6: `梦幻许愿池(限时开放)`,
|
||||||
|
},
|
||||||
|
ludo_rule:{
|
||||||
|
ludo_rule_txt:`
|
||||||
|
<li>
|
||||||
|
<h3>從基地出發</h3>
|
||||||
|
<p>投擲6開始出發,併獎勵1次額外的投擲,如果連續3次投擲6,則本輪結束</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>贏得比賽</h3>
|
||||||
|
<p>經典模式需要4枚棋子達到終點才能獲勝</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h3>遊戲道具</h3>
|
||||||
|
<p>1.赢得“金色骰子”的玩家必須投擲6。</p>
|
||||||
|
<p>2.赢得“磁鐵”的玩家可以嚮前進8步,直到被其他玩家阻擋。</p>
|
||||||
|
<p>3.赢得“炸彈”的玩家可以炸掉8步,將對手消減併送回基地。</p>
|
||||||
|
</li>`,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@@ -0,0 +1,52 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title class=""></title>
|
||||||
|
<!-- 游戏规则 -->
|
||||||
|
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||||
|
<link rel="stylesheet" href="./style/ludoRule.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
<script src="../../common/js/flexible.js"></script>
|
||||||
|
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||||
|
<script src="../../common/js/common2.js"></script>
|
||||||
|
<script src="../../common/js/layer.js"></script>
|
||||||
|
<script src="../../common/js/vconsole.min.js"></script>
|
||||||
|
<script src="../../common/js/route-constant.js"></script>
|
||||||
|
<script src="./local/ar.js"></script>
|
||||||
|
<script src="./local/tr.js"></script>
|
||||||
|
<script src="./local/en.js"></script>
|
||||||
|
<script src="./local/zh.js"></script>
|
||||||
|
<script src="../../common/local/langHandler.js"></script>
|
||||||
|
<script>
|
||||||
|
var langReplace;
|
||||||
|
var localLang;
|
||||||
|
$(function () {
|
||||||
|
let env = EnvCheck();
|
||||||
|
if (env == 'test') {
|
||||||
|
new VConsole();
|
||||||
|
}
|
||||||
|
getInfoFromClient()
|
||||||
|
setTimeout(() => {
|
||||||
|
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
|
||||||
|
translateFun();
|
||||||
|
langReplace = window.lang.replace;
|
||||||
|
localLang = window.lang;
|
||||||
|
}, 100);
|
||||||
|
})
|
||||||
|
function translateFun() {
|
||||||
|
var langReplace = window.lang.replace;
|
||||||
|
var localLang = window.lang;
|
||||||
|
$('ul').html(langReplace(localLang.ludo_rule.ludo_rule_txt));
|
||||||
|
}
|
||||||
|
</script>
|
24
view/eparty/modules/rule/style/ludoRule.css
Normal file
24
view/eparty/modules/rule/style/ludoRule.css
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
width: 10rem;
|
||||||
|
margin: 0 auto 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0.4rem 0.4rem;
|
||||||
|
}
|
||||||
|
ul h3 {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 0.4rem;
|
||||||
|
color: #313131;
|
||||||
|
margin-bottom: 0.2666666667rem;
|
||||||
|
margin-top: 0.4rem;
|
||||||
|
}
|
||||||
|
ul p {
|
||||||
|
color: #6E8485;
|
||||||
|
font-size: 0.32rem;
|
||||||
|
margin-bottom: 0.1333333333rem;
|
||||||
|
line-height: 0.4rem;
|
||||||
|
}
|
31
view/eparty/modules/rule/style/ludoRule.scss
Normal file
31
view/eparty/modules/rule/style/ludoRule.scss
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
@function px2rem($px) {
|
||||||
|
@return $px / 75+rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
// background: #E7FEFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
width: px2rem(750);
|
||||||
|
margin: 0 auto 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: px2rem(30) px2rem(30);
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: px2rem(30);
|
||||||
|
color: #313131;
|
||||||
|
margin-bottom: px2rem(20);
|
||||||
|
margin-top: px2rem(30);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: #6E8485;
|
||||||
|
font-size: px2rem(24);
|
||||||
|
margin-bottom: px2rem(10);
|
||||||
|
line-height: 0.4rem;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user