|
@@ -4,8 +4,8 @@
|
|
needLogin: true,
|
|
needLogin: true,
|
|
style: {
|
|
style: {
|
|
navigationBarTitleText: '%missionCenter.title%',
|
|
navigationBarTitleText: '%missionCenter.title%',
|
|
- navigationBarBackgroundColor: '#fff',
|
|
|
|
- },
|
|
|
|
|
|
+ navigationBarBackgroundColor: '#fff'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</route>
|
|
</route>
|
|
|
|
|
|
@@ -67,22 +67,27 @@ onLoad(() => {
|
|
<template>
|
|
<template>
|
|
<view class="px-24rpx py-20rpx">
|
|
<view class="px-24rpx py-20rpx">
|
|
<view class="mb-34rpx rounded-16rpx bg-white p-24rpx">
|
|
<view class="mb-34rpx rounded-16rpx bg-white p-24rpx">
|
|
- <view class="mb-40rpx flex items-center before:h-45rpx before:w-8rpx before:rounded-4rpx before:bg-#FF3778 before:content-empty">
|
|
|
|
|
|
+ <view
|
|
|
|
+ class="mb-40rpx flex items-center before:h-45rpx before:w-8rpx before:rounded-4rpx before:bg-#FF3778 before:content-empty"
|
|
|
|
+ >
|
|
<text class="ml-10rpx text-32rpx">
|
|
<text class="ml-10rpx text-32rpx">
|
|
{{ $t('missionCenter.signIn.title') }}
|
|
{{ $t('missionCenter.signIn.title') }}
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
<!-- 七天签到日历 -->
|
|
<!-- 七天签到日历 -->
|
|
<view class="flex items-center justify-between">
|
|
<view class="flex items-center justify-between">
|
|
<view v-for="(day, index) in signList" :key="index" class="flex flex-col items-center">
|
|
<view v-for="(day, index) in signList" :key="index" class="flex flex-col items-center">
|
|
<view
|
|
<view
|
|
- class="h-70rpx w-70rpx flex items-center justify-center rounded-full" :class="[
|
|
|
|
- day.status === 1 ? 'bg-#FF3778/30' : 'bg-gray-100',
|
|
|
|
- ]"
|
|
|
|
|
|
+ class="h-70rpx w-70rpx flex flex-col items-center justify-center rounded-full"
|
|
|
|
+ :class="[day.status === 1 ? 'bg-#FF3778/30' : 'bg-gray-100']"
|
|
>
|
|
>
|
|
- <text class="text-24rpx" :class="[day.status === 1 ? 'text-[var(--wot-color-theme)]' : 'text-#000/15']">
|
|
|
|
|
|
+ <view
|
|
|
|
+ class="pt-6rpx text-24rpx"
|
|
|
|
+ :class="[day.status === 1 ? 'text-[var(--wot-color-theme)]' : 'text-#000/15']"
|
|
|
|
+ >
|
|
৳{{ day.value }}
|
|
৳{{ day.value }}
|
|
- </text>
|
|
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="mt-8rpx text-20rpx text-gray-500">
|
|
<view class="mt-8rpx text-20rpx text-gray-500">
|
|
{{ day.days }}D
|
|
{{ day.days }}D
|
|
@@ -92,18 +97,15 @@ onLoad(() => {
|
|
|
|
|
|
<!-- 签到按钮 -->
|
|
<!-- 签到按钮 -->
|
|
<view class="mt-30rpx flex justify-center">
|
|
<view class="mt-30rpx flex justify-center">
|
|
- <wd-button
|
|
|
|
- size="small"
|
|
|
|
- :type="hasSignedToday ? 'info' : 'primary'"
|
|
|
|
- :disabled="hasSignedToday"
|
|
|
|
- @click="signIn"
|
|
|
|
- >
|
|
|
|
|
|
+ <wd-button size="small" :type="hasSignedToday ? 'info' : 'primary'" :disabled="hasSignedToday" @click="signIn">
|
|
{{ $t('missionCenter.signIn.button') }}
|
|
{{ $t('missionCenter.signIn.button') }}
|
|
</wd-button>
|
|
</wd-button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="rounded-16rpx bg-white p-24rpx">
|
|
<view class="rounded-16rpx bg-white p-24rpx">
|
|
- <view class="mb-20rpx flex items-center before:h-45rpx before:w-8rpx before:rounded-4rpx before:bg-#FF3778 before:content-empty">
|
|
|
|
|
|
+ <view
|
|
|
|
+ class="mb-20rpx flex items-center before:h-45rpx before:w-8rpx before:rounded-4rpx before:bg-#FF3778 before:content-empty"
|
|
|
|
+ >
|
|
<text class="ml-10rpx text-32rpx">
|
|
<text class="ml-10rpx text-32rpx">
|
|
{{ $t('missionCenter.dailyMission.title') }}
|
|
{{ $t('missionCenter.dailyMission.title') }}
|
|
</text>
|
|
</text>
|