Commit c23cee52 authored by wildfirecode13's avatar wildfirecode13

u

parent 0ba573ae
......@@ -720,5 +720,5 @@ export const ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1629775432/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1629872946/resource/"
}
\ No newline at end of file
......@@ -147,14 +147,17 @@ export class IndexScene extends Scene {
}
getIndex = async () => {
const result = await getWebData(WebNetName.index);
const needCredits = getObject(this, 'index_costtips');
if( !isMember()){
getObject(this,'index_sharetips').visible=false;
getObject(this,'index_sharehand').visible=false;
scrollList.visible=false;
createPrizeTxt(this);
// scrollList.visible=false;
// createPrizeTxt(this);
needCredits.text = `${result.data.needCredits}` + "积分/次";
return;
}
const result = await getWebData(WebNetName.index);
indexData = result;
hand.visible = false;
if (result && result.data) {
......@@ -166,7 +169,7 @@ export class IndexScene extends Scene {
} else {
credits.text = `${result.data.credits}`;
}
const needCredits = getObject(this, 'index_costtips');
needCredits.text = `${result.data.needCredits}` + "积分/次";
if (result.data.type == 1) {
reDegree.text = `${result.data.surplusCount}`;
......
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