新增cp规则

This commit is contained in:
dragon
2024-09-24 10:25:19 +08:00
parent 791b0c10cf
commit 697d93c044
24 changed files with 358 additions and 7 deletions

View File

@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title class="text1"></title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./style/cpRule.css">
</head>
<body>
<h2 class="text2"></h2>
<h3 class="text3"></h3>
<img src="./images/rule1.png" alt="" class="img1">
<img src="./images/rule2.png" alt="" class="img2">
<h2 class="text4"></h2>
<h3 class="text5"></h3>
<img src="./images/rule3.png" alt="" class="img3">
<h3 class="text6"></h3>
<img src="./images/rule4.png" alt="" class="img4">
<h3 class="text7"></h3>
<img src="./images/rule5.png" alt="" class="img5">
<h3 class="text8"></h3>
<img src="./images/rule6.png" alt="" class="img6">
<h3 class="text9"></h3>
<img src="./images/rule7.png" alt="" class="img7">
<h3 class="text10"></h3>
<img src="./images/rule8.png" alt="" class="img8">
<h2 class="text11"></h2>
<h3 class="text12"></h3>
<h2 class="text13"></h2>
<img src="./images/rule9.png" alt="" class="img9">
<h2 class="text14"></h2>
<img src="./images/rule10.png" alt="" class="img10">
<h2 class="text15"></h2>
<img src="./images/rule11.png" alt="" class="img11">
<h2 class="text16"></h2>
<img src="./images/rule12.png" alt="" class="img12">
<h2 class="text17"></h2>
<div class="imgBox">
<img src="./images/simg1.png" alt="">
<img src="./images/simg2.png" alt="">
</div>
<h2 class="text18"></h2>
<div class="imgBox">
<img src="./images/simg3.png" alt="">
<img src="./images/simg4.png" alt="">
</div>
<h2 class="text19"></h2>
<div class="imgBox">
<img src="./images/simg3.png" alt="">
<img src="./images/simg4.png" alt="">
</div>
<h2 class="text20"></h2>
<div class="imgBox">
<img src="./images/simg5.png" alt="">
<img src="./images/simg6.png" alt="">
</div>
<h2 class="text21"></h2>
<h3 class="text22"></h3>
<div class="null"></div>
</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/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="../../common/local/langHandler.js"></script>
<script>
var langReplace;
var localLang;
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.cpRule.text1));
$('.text2').text(langReplace(localLang.cpRule.text2));
$('.text3').text(langReplace(localLang.cpRule.text3));
$('.text4').text(langReplace(localLang.cpRule.text4));
$('.text5').text(langReplace(localLang.cpRule.text5));
$('.text6').text(langReplace(localLang.cpRule.text6));
$('.text7').text(langReplace(localLang.cpRule.text7));
$('.text8').text(langReplace(localLang.cpRule.text8));
$('.text9').text(langReplace(localLang.cpRule.text9));
$('.text10').text(langReplace(localLang.cpRule.text10));
$('.text11').text(langReplace(localLang.cpRule.text11));
$('.text12').text(langReplace(localLang.cpRule.text12));
$('.text13').text(langReplace(localLang.cpRule.text13));
$('.text14').text(langReplace(localLang.cpRule.text14));
$('.text15').text(langReplace(localLang.cpRule.text15));
$('.text16').text(langReplace(localLang.cpRule.text16));
$('.text17').text(langReplace(localLang.cpRule.text17));
$('.text18').text(langReplace(localLang.cpRule.text18));
$('.text19').text(langReplace(localLang.cpRule.text19));
$('.text20').text(langReplace(localLang.cpRule.text20));
$('.text21').text(langReplace(localLang.cpRule.text21));
$('.text22').text(langReplace(localLang.cpRule.text22));
}
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -1776,5 +1776,35 @@ langAr = {
luckyGiftRuleErr: 'خطأ في الشبكة',
luckyGiftRuleText1: 'أرسل هدايا حظ مختلفة لفرصة الفوز بجوائز عالية القيمة.',
luckyGiftRuleText2: 'حقيبة الحظ',
}
},
cpRule: {
text1: `قواعد CP`,
text2: `س: كيف تصبح CP؟`,
text3: `ج: يمكنك أن تصبح CP عن طريق إرسال هدية CP محددة.`,
text4: `س: كيف ترقى مستوى CP؟`,
text5: `ج: يمكنك كسب قيمة CP من خلال إرسال هدايا CP بعد أن تصبح CP.`,
text6: `المستوى 1: 100000-700000 CP الاسم: ثنائي مثالي`,
text7: `المستوى 2: 700000-1800000 CP الاسم: ثنائي أحلام`,
text8: `المستوى 3: 1800000-5000000 CP الاسم: ثنائي مثالي`,
text9: `المستوى 4: 5000000-10000000 CP الاسم: ثنائي ديناميكي`,
text10: `المستوى 5: أكثر من 10000000 CP الاسم: زوج إلهي`,
text11: `س: ماذا يمكنني الحصول عليه من خلال أن أصبح CP؟`,
text12: `ج: يمكن أن تحصل مستويات CP المختلفة على جوائز مختلفة.`,
text13: `Lv0: لقب CP (ثنائي ديناميكي)؛ عرض صور رمزية في الصفحة الرئيسية`,
text14: `Lv1: لقب CP (ثنائي مثالي)؛ عرض صور رمزية في الصفحة الرئيسية`,
text15: `Lv2: لقب CP (ثنائي أحلام)؛ عرض صور رمزية في الصفحة الرئيسية`,
text16: `Lv3: لقب CP (ثنائي مثالي)؛ عرض صور رمزية في الصفحة الرئيسية؛ عرض أنيميشن في الصفحة الرئيسية`,
text17: `Lv3: لقب CP (ثنائي مثالي)؛ عرض صور رمزية في الصفحة الرئيسية؛ عرض أنيميشن في الصفحة الرئيسية`,
text18: `Lv3: لقب CP (ثنائي مثالي)؛ عرض صور رمزية في الصفحة الرئيسية؛ عرض أنيميشن في الصفحة الرئيسية`,
text19: `Lv4: لقب CP (ثنائي ديناميكي)؛ عرض صور رمزية في الصفحة الرئيسية؛ عرض أنيميشن في الصفحة الرئيسية`,
text20: `Lv5: لقب CP (زوج إلهي)؛ عرض صور رمزية في الصفحة الرئيسية؛ عرض أنيميشن في الصفحة الرئيسية`,
text21: `س: كيف يمكنني الحفاظ على حميمية CP؟`,
text22: `ج: يجب الحفاظ على حميمية CP. إذا لم يتم تقديم هدايا CP خلال فترة معينة، فقد تنخفض مستوى الحميمية:
إذا لم ترسل هدايا CP لمدة 7 أيام متتالية: في الساعة 0:00 من اليوم الثامن، ستنخفض حميمية CP بمقدار 12500، ثم ستنخفض بمقدار 12500 في الساعة 0:00 كل يوم.
إذا لم ترسل هدايا CP لمدة 15 يومًا متتالية: في الساعة 0:00 من اليوم السادس عشر، ستنخفض حميمية CP بمقدار 40000، ثم ستنخفض بمقدار 40000 في الساعة 0:00 كل يوم.
إذا لم ترسل هدايا CP لمدة 30 يومًا متتالية: في الساعة 0:00 من اليوم الحادي والثلاثين، ستنخفض حميمية CP بمقدار 80000، ثم ستنخفض بمقدار 80000 في الساعة 0:00 كل يوم.
إذا لم ترسل هدايا CP لمدة 45 يومًا متتالية: في الساعة 0:00 من اليوم السادس والأربعين، ستنخفض حميمية CP بمقدار 160000، ثم ستنخفض بمقدار 160000 في الساعة 0:00 كل يوم.
إذا لم ترسل هدايا CP لمدة 60 يومًا متتالية: في الساعة 0:00 من اليوم الحادي والستين، ستنخفض حميمية CP بمقدار 500000، ثم ستنخفض بمقدار 500000 في الساعة 0:00 كل يوم. إذا انخفضت قيمة CP إلى النطاق المقابل للمستوى، سيتم تخفيض مستوى CP.
إذا كانت قيمة المستوى 0، سيتم فك ارتباط CP بعد التخفيض. بمجرد أن تستأنف إرسال هدايا CP، سيتوقف خصم الحميمية.`
},
}

View File

@@ -1776,5 +1776,44 @@ langEn = {
luckyGiftRuleErr: 'Network Error',
luckyGiftRuleText1: 'Send different lucky gifts for a chance to win high-value prizes.',
luckyGiftRuleText2: 'Lucky Bag',
}
},
cpRule: {
text1: `CP Rules`,
text2: `Q:How to become CP?`,
text3: `A:You can become CP by sending a designated CP gift.`,
text4: `Q:How to upgrade CP level?`,
text5: `A:You can earn CP value by sending CP gifts after becoming a CP.`,
text6: `Level 1: 100000-700000 CP Name: Ideal Duo`,
text7: `Level 2: 700000-1800000 CP Name: Dream Duo`,
text8: `Level 3: 1800000-5000000 CP Name: Perfect Duo`,
text9: `Level 4: 5000000-10000000 CP Name: Dynamic Duo`,
text10: `Level 5: More than 10000000 CP Name: Divine Couple`,
text11: `Q:What can I get by becoming a CP`,
text12: `A:Different levels of CP can get different rewards.`,
text13: `Lv0: CP title (Dynamic Duo); Homepage avatars display`,
text14: `Lv1: CP title (Ideal Duo); Homepage avatars display`,
text15: `Lv2: CP title (Dream Duo); Homepage avatars display`,
text16: `Lv3: CP title (Perfect Duo); Homepage avatars display; Homepage animation display`,
text17: `Lv3: CP title (Perfect Duo); Homepage avatars display; Homepage animation display`,
text18: `Lv3: CP title (Perfect Duo); Homepage avatars display; Homepage animation display`,
text19: `Lv4: CP title (Dynamic Duo); Homepage avatars display; Homepage animation display`,
text20: `Lv5: CP title (Divine Couple); Homepage avatars display; Homepage animation display`,
text21: `Q: How to maintain CP intimacy?`,
text22: `A: The intimacy of CP needs to be maintained. If no CP gifts are given within a certain period of
time, the
intimacy level may decrease: 
If you do not send CP gifts for 7 consecutive days: at 0:00 on the 8th day, the CP intimacy will be reduced by
12500, and then it will be reduced by 12500 at 0:00 every day. 
If you do not send CP gifts for 15 consecutive days: at 0:00 on the 16th day, the CP intimacy will be reduced by
40,000, and then at 0:00 every day, the CP intimacy will be reduced by 40,000. 
If you do not give CP gifts for 30 consecutive days: at 0:00 on the 31st day, the CP intimacy will be reduced by
80,000, and then at 0:00 every day, the CP intimacy will be reduced by 80,000.
If you do not give CP gifts for 45 consecutive days: at 0:00 on the 46th day, the CP intimacy will be reduced by
160,000, and then at 0:00 every day, the CP intimacy will be reduced by 160,000.
If you do not give CP gifts for 60 consecutive days: at 0:00 on the 61st day, the CP intimacy will be reduced by
500,000, and then at 0:00 every day, the CP intimacy will be reduced by 500,000. If the CP value drops to the
range corresponding to the level, the CP level will be downgraded. 
If the level value is 0, the CP will be unbound after downgrading. Once you resume sending CP gift, the
deduction of intimacy will stop.`,
},
}

View File

@@ -1772,9 +1772,39 @@ langZh = {
introduction_title: '貴族規則',
introduction_title_img: './images/patrician.png',
// 幸运礼物
luckyGiftRuleTitle:'幸運禮物玩法說明',
luckyGiftRuleErr:'網絡錯誤',
luckyGiftRuleText1:'送出不同的幸運禮物,有機會獲得以下高價禮物',
luckyGiftRuleText2:'幸運福袋',
}
luckyGiftRuleTitle: '幸運禮物玩法說明',
luckyGiftRuleErr: '網絡錯誤',
luckyGiftRuleText1: '送出不同的幸運禮物,有機會獲得以下高價禮物',
luckyGiftRuleText2: '幸運福袋',
},
cpRule: {
text1: `CP 規則`,
text2: `問:如何成為 CP`,
text3: `答:您可以通過發送指定的 CP 禮物來成為 CP。`,
text4: `問:如何提升 CP 等級?`,
text5: `答:成為 CP 後,通過發送 CP 禮物來獲得 CP 值。`,
text6: `等級 1100000-700000 CP 名稱:理想雙人`,
text7: `等級 2700000-1800000 CP 名稱:夢想雙人`,
text8: `等級 31800000-5000000 CP 名稱:完美雙人`,
text9: `等級 45000000-10000000 CP 名稱:動態雙人`,
text10: `等級 5超過 10000000 CP 名稱:神聖情侶`,
text11: `問:成為 CP 可以獲得什麼?`,
text12: `答:不同等級的 CP 可以獲得不同的獎勵。`,
text13: `Lv0CP 稱號(動態雙人);首頁頭像顯示`,
text14: `Lv1CP 稱號(理想雙人);首頁頭像顯示`,
text15: `Lv2CP 稱號(夢想雙人);首頁頭像顯示`,
text16: `Lv3CP 稱號(完美雙人);首頁頭像顯示;首頁動畫顯示`,
text17: `Lv3CP 稱號(完美雙人);首頁頭像顯示;首頁動畫顯示`,
text18: `Lv3CP 稱號(完美雙人);首頁頭像顯示;首頁動畫顯示`,
text19: `Lv4CP 稱號(動態雙人);首頁頭像顯示;首頁動畫顯示`,
text20: `Lv5CP 稱號(神聖情侶);首頁頭像顯示;首頁動畫顯示`,
text21: `問:如何維持 CP 親密度?`,
text22: `CP 的親密度需要維持。如果在某段時間內沒有送 CP 禮物,親密度可能會降低:
如果您在 7 天內未發送 CP 禮物:在第 8 天的 0:00CP 親密度將降低 12500然後每天的 0:00 再降低 12500。
如果您在 15 天內未發送 CP 禮物:在第 16 天的 0:00CP 親密度將降低 40000然後每天的 0:00 再降低 40000。
如果您在 30 天內未發送 CP 禮物:在第 31 天的 0:00CP 親密度將降低 80000然後每天的 0:00 再降低 80000。
如果您在 45 天內未發送 CP 禮物:在第 46 天的 0:00CP 親密度將降低 160000然後每天的 0:00 再降低 160000。
如果您在 60 天內未發送 CP 禮物:在第 61 天的 0:00CP 親密度將降低 500000然後每天的 0:00 再降低 500000。如果 CP 值降到對應的等級範圍CP 等級將會降級。
如果等級值為 0CP 將在降級後解除綁定。一旦您恢復發送 CP 禮物,親密度的扣除將停止。`
},
}

View File

@@ -0,0 +1,66 @@
body {
width: 10rem;
height: 17.78667rem;
background: #F5F7F9;
box-sizing: border-box;
padding: 0.26667rem 0.42667rem 1.09333rem;
margin: 0 auto;
}
h2 {
width: 100%;
color: #313131;
font-size: 0.37333rem;
font-weight: 500;
line-height: 0.53333rem;
}
h3 {
width: 100%;
color: #7B7B7D;
font-size: 0.34667rem;
font-weight: 400;
margin-bottom: 0.18667rem;
line-height: 0.53333rem;
}
img {
display: block;
width: 9.14667rem;
margin-bottom: 0.18667rem;
}
.img1 {
height: 4.26667rem;
}
.img2 {
height: 5.44rem;
}
.img3 {
height: 3.46667rem;
}
.img9,
.img10,
.img11,
.img12 {
margin-top: 0.18667rem;
}
.imgBox {
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: 0.18667rem;
margin-top: 0.18667rem;
}
.imgBox img {
width: 4.48rem;
}
.null {
height: 1.09333rem;
}

View File

@@ -0,0 +1,70 @@
@function px2rem($px) {
@return $px / 75+rem;
}
body {
width: px2rem(750);
height: px2rem(1334);
background: #F5F7F9;
box-sizing: border-box;
padding: px2rem(20) px2rem(32) px2rem(82);
margin: 0 auto;
}
h2 {
width: 100%;
color: #313131;
font-size: px2rem(28);
font-weight: 500;
line-height: px2rem(40);
}
h3 {
width: 100%;
color: #7B7B7D;
font-size: px2rem(26);
font-weight: 400;
margin-bottom: px2rem(14);
line-height: px2rem(40);
}
img {
display: block;
width: px2rem(686);
margin-bottom: px2rem(14);
}
.img1 {
height: px2rem(320);
}
.img2 {
height: px2rem(408);
}
.img3 {
height: px2rem(260);
}
.img9,
.img10,
.img11,
.img12 {
margin-top: px2rem(14);
}
.imgBox {
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: px2rem(14);
margin-top: px2rem(14);
img {
width: px2rem(336);
}
}
.null {
height: px2rem(82);
}