|
@@ -47,22 +47,22 @@
|
|
|
<view
|
|
<view
|
|
|
:class="['btn btn-dark waves-effect waves-light', monthlyGiveParticipateEnabled ? 'btn-danger' : 'disabled']"
|
|
:class="['btn btn-dark waves-effect waves-light', monthlyGiveParticipateEnabled ? 'btn-danger' : 'disabled']"
|
|
|
@click="openSurplusActivityDialog1()">
|
|
@click="openSurplusActivityDialog1()">
|
|
|
- <text v-t="'DollarActivity.participate'"></text>
|
|
|
|
|
|
|
+ <text v-t="'news_add_field1.activities10_trading_aoyun.item3'"></text>
|
|
|
</view>
|
|
</view>
|
|
|
-<!-- <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"-->
|
|
|
|
|
-<!-- target="_blank" title="wallet.item15"-->
|
|
|
|
|
-<!-- :url="`pdf/pdf13/CWG Prime Bonus-cn.pdf`" />-->
|
|
|
|
|
-<!-- <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"-->
|
|
|
|
|
-<!-- target="_blank" title="Transfer.item7"-->
|
|
|
|
|
-<!-- :url="`pdf/pdf13/CWG Markets Prime Bonus Application Process-cn.pdf`" />-->
|
|
|
|
|
|
|
+ <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
|
|
+ target="_blank" title="wallet.item15"
|
|
|
|
|
+ :url="`pdf/pdf13/CWG Prime Bonus-cn.pdf`" />
|
|
|
|
|
+ <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
|
|
+ target="_blank" title="Transfer.item7"
|
|
|
|
|
+ :url="`pdf/pdf13/CWG Markets Prime Bonus Application Process-cn.pdf`" />
|
|
|
<view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
<view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
@click="goMonthlyTaskList()">
|
|
@click="goMonthlyTaskList()">
|
|
|
<text v-t="'wallet.item14'"></text>
|
|
<text v-t="'wallet.item14'"></text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
|
|
- @click="goMonthlyGiveActivityDetail()">
|
|
|
|
|
- <text v-t="'Custom.Activity.Single'"></text>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+<!-- <view class="btn btn-outline-dark1 waves-effect waves-light"-->
|
|
|
|
|
+<!-- @click="goMonthlyGiveActivityDetail()">-->
|
|
|
|
|
+<!-- <text v-t="'Custom.Activity.Single'"></text>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -94,7 +94,8 @@
|
|
|
<view class="time" v-if="surplusGiveActivityDate">{{surplusGiveActivityDate}}</view>
|
|
<view class="time" v-if="surplusGiveActivityDate">{{surplusGiveActivityDate}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<p class="crm-one-font lh-sm " v-if="surplusGiveActivity.subTitle">
|
|
<p class="crm-one-font lh-sm " v-if="surplusGiveActivity.subTitle">
|
|
|
- {{ surplusGiveActivity.subTitle }}</p>
|
|
|
|
|
|
|
+ {{ surplusGiveActivity.subTitle }}
|
|
|
|
|
+ </p>
|
|
|
<view class="crm-one-font lh-sm dollar-activity-html" v-else-if="surplusGiveActivity.content" v-html="surplusGiveActivity.content">
|
|
<view class="crm-one-font lh-sm dollar-activity-html" v-else-if="surplusGiveActivity.content" v-html="surplusGiveActivity.content">
|
|
|
</view>
|
|
</view>
|
|
|
<view class="d-flex flex-wrap gap-2">
|
|
<view class="d-flex flex-wrap gap-2">
|
|
@@ -103,7 +104,7 @@
|
|
|
@click="openSurplusActivityDialog()">
|
|
@click="openSurplusActivityDialog()">
|
|
|
<text v-t="'news_add_field1.activities10_trading_aoyun.item3'"></text>
|
|
<text v-t="'news_add_field1.activities10_trading_aoyun.item3'"></text>
|
|
|
</view>
|
|
</view>
|
|
|
-<!-- <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
|
|
|
|
+ <cwg-link type="pdf" class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
target="_blank" title="wallet.item15"
|
|
target="_blank" title="wallet.item15"
|
|
|
:url="`pdf/pdf12/CWG Prime Bonus-${locale}.pdf`" />
|
|
:url="`pdf/pdf12/CWG Prime Bonus-${locale}.pdf`" />
|
|
|
<cwg-link type="pdf"
|
|
<cwg-link type="pdf"
|
|
@@ -114,15 +115,15 @@
|
|
|
<cwg-link type="pdf" v-else
|
|
<cwg-link type="pdf" v-else
|
|
|
class="btn btn-outline-dark1 waves-effect waves-light" target="_blank"
|
|
class="btn btn-outline-dark1 waves-effect waves-light" target="_blank"
|
|
|
title="Transfer.item7"
|
|
title="Transfer.item7"
|
|
|
- :url="`pdf/pdf12/CWG Markets Prime Bonus Application Process-en.pdf`" />-->
|
|
|
|
|
|
|
+ :url="`pdf/pdf12/CWG Markets Prime Bonus Application Process-en.pdf`" />
|
|
|
<view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
<view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
@click="goSurplusTaskList()">
|
|
@click="goSurplusTaskList()">
|
|
|
<text v-t="'wallet.item14'"></text>
|
|
<text v-t="'wallet.item14'"></text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="btn btn-outline-dark1 waves-effect waves-light"
|
|
|
|
|
- @click="goSurplusGiveActivityDetail">
|
|
|
|
|
- <text v-t="'Custom.Activity.Single'"></text>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+<!-- <view class="btn btn-outline-dark1 waves-effect waves-light"-->
|
|
|
|
|
+<!-- @click="goSurplusGiveActivityDetail">-->
|
|
|
|
|
+<!-- <text v-t="'Custom.Activity.Single'"></text>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -130,8 +131,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<!-- 美金活动(/custom/activity/shows/info dollar) -->
|
|
<!-- 美金活动(/custom/activity/shows/info dollar) -->
|
|
|
<view class="col-12 m-b30" v-if="dollarActivity">
|
|
<view class="col-12 m-b30" v-if="dollarActivity">
|
|
|
<view class="card card-action action-elevate action-border-primary">
|
|
<view class="card card-action action-elevate action-border-primary">
|
|
@@ -1087,10 +1086,8 @@ const isEmpty = computed(()=>{
|
|
|
!surplusGiveActivity.value &&
|
|
!surplusGiveActivity.value &&
|
|
|
!dollarActivity.value &&
|
|
!dollarActivity.value &&
|
|
|
!tableDataNoWorriesFlag.value &&
|
|
!tableDataNoWorriesFlag.value &&
|
|
|
- !tableDataGive.value &&
|
|
|
|
|
- !tableDataGive.value.length &&
|
|
|
|
|
- !tableData.value &&
|
|
|
|
|
- !tableData.value.length
|
|
|
|
|
|
|
+ !tableDataGive.value?.length &&
|
|
|
|
|
+ !tableData.value?.length
|
|
|
})
|
|
})
|
|
|
// ==================== 工具方法 ====================
|
|
// ==================== 工具方法 ====================
|
|
|
// 根据key获取活动数据
|
|
// 根据key获取活动数据
|
|
@@ -1274,7 +1271,7 @@ const searchFunc = async () => {
|
|
|
} else {
|
|
} else {
|
|
|
flag.value = true
|
|
flag.value = true
|
|
|
}
|
|
}
|
|
|
- pictLoading.value = true
|
|
|
|
|
|
|
+ // pictLoading.value = true
|
|
|
let res = await activityApi.ActivityExtensionIist({
|
|
let res = await activityApi.ActivityExtensionIist({
|
|
|
hot: hot.value,
|
|
hot: hot.value,
|
|
|
tag: 1,
|
|
tag: 1,
|
|
@@ -1293,12 +1290,12 @@ const searchFunc = async () => {
|
|
|
uni.showToast({ title: res.msg, icon: "none" })
|
|
uni.showToast({ title: res.msg, icon: "none" })
|
|
|
flag.value = false
|
|
flag.value = false
|
|
|
}
|
|
}
|
|
|
- pictLoading.value = false
|
|
|
|
|
|
|
+ // pictLoading.value = false
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//获取list-赠金活动列表
|
|
//获取list-赠金活动列表
|
|
|
const searchFunc1 = async () => {
|
|
const searchFunc1 = async () => {
|
|
|
- pictLoading.value = true
|
|
|
|
|
|
|
+ // pictLoading.value = true
|
|
|
let res = await activityApi.ActivityExtensionGiveList({
|
|
let res = await activityApi.ActivityExtensionGiveList({
|
|
|
page: {
|
|
page: {
|
|
|
current: pagerInfo.current,
|
|
current: pagerInfo.current,
|
|
@@ -1312,7 +1309,7 @@ const searchFunc1 = async () => {
|
|
|
} else {
|
|
} else {
|
|
|
uni.showToast({ title: res.msg, icon: "none" })
|
|
uni.showToast({ title: res.msg, icon: "none" })
|
|
|
}
|
|
}
|
|
|
- pictLoading.value = false
|
|
|
|
|
|
|
+ // pictLoading.value = false
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//详情
|
|
//详情
|
|
@@ -2623,7 +2620,8 @@ watch(dialogSurplusActivity1, (newVal) => {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
// ==================== 生命周期 ====================
|
|
// ==================== 生命周期 ====================
|
|
|
-onMounted(() => {
|
|
|
|
|
|
|
+onMounted(async () => {
|
|
|
|
|
+ pictLoading.value = true
|
|
|
getDateList()
|
|
getDateList()
|
|
|
// 2025-07-31 00:00:00 之后关闭 standard
|
|
// 2025-07-31 00:00:00 之后关闭 standard
|
|
|
const endTime = new Date("2025/07/31 00:00:00").getTime()
|
|
const endTime = new Date("2025/07/31 00:00:00").getTime()
|
|
@@ -2635,21 +2633,22 @@ onMounted(() => {
|
|
|
standard.value = false
|
|
standard.value = false
|
|
|
}
|
|
}
|
|
|
is20Open()
|
|
is20Open()
|
|
|
- searchFunc()
|
|
|
|
|
- searchFunc1()
|
|
|
|
|
- getActivityPercentageGiveInfo()
|
|
|
|
|
- Activity23HundredInfo()
|
|
|
|
|
|
|
+ await searchFunc()
|
|
|
|
|
+ await searchFunc1()
|
|
|
|
|
+ await getActivityPercentageGiveInfo()
|
|
|
|
|
+ await Activity23HundredInfo()
|
|
|
// Activity23JiangxinInfo()
|
|
// Activity23JiangxinInfo()
|
|
|
- Activity23JiangxinInfoVip()
|
|
|
|
|
- Activity24nianzhongInfo()
|
|
|
|
|
- Activity24nianzhongTwoInfo()
|
|
|
|
|
- GetActivityCptCode()
|
|
|
|
|
- Activity24JYBInfoVip()
|
|
|
|
|
- ActivityNoWorriesInfo()
|
|
|
|
|
|
|
+ await Activity23JiangxinInfoVip()
|
|
|
|
|
+ await Activity24nianzhongInfo()
|
|
|
|
|
+ await Activity24nianzhongTwoInfo()
|
|
|
|
|
+ await GetActivityCptCode()
|
|
|
|
|
+ await Activity24JYBInfoVip()
|
|
|
|
|
+ await ActivityNoWorriesInfo()
|
|
|
isRaffleOpen()
|
|
isRaffleOpen()
|
|
|
isNewYear24Open()
|
|
isNewYear24Open()
|
|
|
- ActivityRequiteInfo()
|
|
|
|
|
- getActivityShowsInfo()
|
|
|
|
|
|
|
+ await ActivityRequiteInfo()
|
|
|
|
|
+ await getActivityShowsInfo()
|
|
|
|
|
+ pictLoading.value = false
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
onUnmounted(() => {
|
|
onUnmounted(() => {
|