修复520活动bug

This commit is contained in:
dragon
2024-05-15 17:17:18 +08:00
parent a6e07a0a53
commit 9bc282355a
3 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 399 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 554 KiB

View File

@@ -2,7 +2,7 @@ let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
// new VConsole();
new VConsole();
}
var langReplace;
var localLang;
@@ -75,7 +75,7 @@ function getCurrency() {
success(res) {
if (res.code === 200) {
res.data.forEach((res, i) => {
if (res.stockValue <= 0) {
if (res.taskValue <= 0) {
$(`.page1 .page1Box4 .convert${i + 1}`).attr("src", './images/convertOut.png');
$(`.page1 .page1Box4 .convert${i + 1}`).attr("click", 0);
} else if (res.isExchange == false && taskValue >= res.taskValue) {
@@ -266,9 +266,9 @@ $('.page1 .page1Box4 .convert').click(function () {
function exchange(taskCode) {
showLoading()
networkRequest({
type: 'get',
type: 'post',
url: urlPrefix + '/act/hotLove/exchange',
data: { taskCode, activityCode: 'ACT_2024_HOT_LOVE', componentCode: 'RE_LIAN_SHANG_DIAN' },
data: { taskCode, activityCode: 'ACT_2024_HOT_LOVE', conditionCode: 'RE_LIAN_SHANG_DIAN' },
success(res) {
if (res.code === 200) {
} else {