广告点击添加
This commit is contained in:
@@ -323,27 +323,6 @@
|
||||
<!-- <div class="submit-box">-->
|
||||
<!-- <div class="submit flex-center-center" @click="$router.push('/memberExchange')">前往积分兑换</div>-->
|
||||
<!-- </div>-->
|
||||
<Teleport to="body">
|
||||
<van-popup v-model:show="showDialog">
|
||||
<div class="warp_taskHall">
|
||||
<div class="content_warp">
|
||||
<div class="contents">
|
||||
<p class="title">温馨提示</p>
|
||||
<div class="line"></div>
|
||||
<div class="desc">
|
||||
实物奖品请联系在线客服领取
|
||||
<br />
|
||||
填写收货地址等
|
||||
</div>
|
||||
<div class="btn themes_btn_bg flex-center-center" @click="handleContact">联系客服</div>
|
||||
</div>
|
||||
<div class="close" @click="close">
|
||||
<SvgIcon name="new_close" class="closeIcon" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-popup>
|
||||
</Teleport>
|
||||
<WorkSignPopup
|
||||
v-model:show="showSignPopup"
|
||||
:checked-days="checkedDays"
|
||||
@@ -414,7 +393,6 @@ setTimeout(() => {
|
||||
const { openLoading, closeLoading } = useLoading();
|
||||
const router = useRouter();
|
||||
const userStore = useUserStore();
|
||||
const showDialog = ref(false);
|
||||
const prizeList = ref<any[]>([]);
|
||||
const bigPrizeList = ref<any[]>([]);
|
||||
const allMsgObj = ref<any>({});
|
||||
@@ -435,7 +413,6 @@ const state = reactive({
|
||||
growTasks: <any>[],
|
||||
onceTask: <any>[],
|
||||
integralList: <any>[],
|
||||
nowData: <any>{},
|
||||
tabActive: 0,
|
||||
signExtraPrizesList: <any>[],
|
||||
freeCount: 0,
|
||||
@@ -709,14 +686,10 @@ const exchangeItem = async (data: any) => {
|
||||
let req = {
|
||||
id: data.id,
|
||||
};
|
||||
await exchange(req, data);
|
||||
// if (data.type == 5) {
|
||||
// showDialog.value = true;
|
||||
// state.nowData = data;
|
||||
// }
|
||||
await exchange(req);
|
||||
};
|
||||
|
||||
const exchange = async (item: any, data: any) => {
|
||||
const exchange = async (item: any) => {
|
||||
try {
|
||||
let req = item;
|
||||
const res: any = await HomeApi.exchangeIntegral(req);
|
||||
@@ -728,22 +701,11 @@ const exchange = async (item: any, data: any) => {
|
||||
// } else {
|
||||
showToast(res?.msg || '兑换成功');
|
||||
// }
|
||||
if (data && data.type == 5) {
|
||||
showDialog.value = true;
|
||||
state.nowData = data;
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
};
|
||||
|
||||
const close = () => {
|
||||
showDialog.value = false;
|
||||
};
|
||||
const handleContact = () => {
|
||||
showDialog.value = false;
|
||||
router.push('/customerService');
|
||||
};
|
||||
const getSignExtraPrizesList = async () => {
|
||||
try {
|
||||
let req: any = await HomeApi.getSignExtraPrizesList();
|
||||
@@ -1891,76 +1853,6 @@ onUnmounted(() => {
|
||||
}
|
||||
}
|
||||
}
|
||||
.warp_taskHall {
|
||||
.content_warp {
|
||||
width: 311px;
|
||||
border-radius: 12px;
|
||||
// background: linear-gradient(180deg, #222 0%, #1e1e1e 100%);
|
||||
background: rgba(255, 255, 255, 1);
|
||||
.contents {
|
||||
font-size: 12px;
|
||||
padding: 32px 24px 24px 24px;
|
||||
box-sizing: border-box;
|
||||
.title {
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
font-weight: 550;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
line-height: 28px;
|
||||
}
|
||||
.line {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
margin: 12px 0 0;
|
||||
position: relative;
|
||||
}
|
||||
.desc {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.55);
|
||||
margin-bottom: 10px;
|
||||
line-height: 44px;
|
||||
text-align: center;
|
||||
}
|
||||
.titleText {
|
||||
margin: 0 0 20px 0;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 5px;
|
||||
color: #999;
|
||||
padding: 8px 12px;
|
||||
:deep(.van-field__control) {
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
overflow: hidden;
|
||||
}
|
||||
::placeholder {
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
}
|
||||
:deep(.van-cell::after) {
|
||||
border-bottom: solid 1px transparent !important;
|
||||
}
|
||||
.btn {
|
||||
width: 264px;
|
||||
height: 44px;
|
||||
border-radius: 22px;
|
||||
font-size: 16px;
|
||||
margin: 0 auto 0;
|
||||
background: #e1351f;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.close {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 15px;
|
||||
svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-icon.shake {
|
||||
animation: icon-shake 0.72s ease-in-out infinite;
|
||||
|
||||
Reference in New Issue
Block a user