修复520活动bug
This commit is contained in:
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 |
@@ -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 {
|
||||
|
Reference in New Issue
Block a user