Commit a52e2364 authored by 李维's avatar 李维

俄罗斯版禁用用户协议选项

parent cea26999
...@@ -10652,7 +10652,7 @@ ...@@ -10652,7 +10652,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "bculR2beNBO5nM79CTtybd" "_id": "10JmCcZy5G77kwMDGrzLQH"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -10685,7 +10685,7 @@ ...@@ -10685,7 +10685,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "3eeB4wvY9IvK2xA/4EnIZU" "_id": "34DAV8QdxPM6XTcZh8j72R"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
...@@ -11001,7 +11001,7 @@ ...@@ -11001,7 +11001,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "39y3fKQr1HwrHmhnFqzmJ0" "_id": "bfaraZmI5Jk7PVLp+UOlXx"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -11034,7 +11034,7 @@ ...@@ -11034,7 +11034,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "d0s8MrViBNDroD++EmyP1d" "_id": "5aANsFNRRK25PP05ucALdv"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
......
...@@ -43,7 +43,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -43,7 +43,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
const check = cc.find('Canvas/bg/ui/btnLaw/check'); const check = cc.find('Canvas/bg/ui/btnLaw/check');
if (!check.active) { const btnLaw = cc.find('Canvas/bg/ui/btnLaw');
// 如果按钮显示 并且 没有勾选(俄罗斯版本不需要显示和勾选)
if (btnLaw.active && !check.active) {
console.log('请勾选下方协议'); console.log('请勾选下方协议');
this.middleLayer.showTips(languageString[this.localLanguage].check_agreement); this.middleLayer.showTips(languageString[this.localLanguage].check_agreement);
return; return;
...@@ -79,6 +81,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -79,6 +81,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.localLanguage = localLanguage; this.localLanguage = localLanguage;
// 禁用用户条款
cc.find("Canvas/bg/ui/btnLaw").active = false;
this.translateLanguageString(); this.translateLanguageString();
this.repositionLaws(); this.repositionLaws();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment