@@ -84,7 +86,7 @@ const { t } = useI18n();
const router = useRouter();
const store = useStore();
-const props = defineProps(['challengeId']);
+const props = defineProps(['challengeId', 'termsConditions']);
const emit = defineEmits(['callback', 'openTerm']);
const pager = reactive({
total: 0,
@@ -151,11 +153,6 @@ const confirmParticipate = () => {
});
};
-const goTermDetail = () => {
- acceptDialog.visible = false;
- emit('openTerm');
-};
-
const goLogin = () => {
router.push('/auth/login');
};
@@ -248,15 +245,22 @@ const goLogin = () => {
align-items: center;
justify-content: center;
}
-.accept-con {
+.accept-title {
color: #fff;
- margin-bottom: 10px;
span {
color: var(--el-color-primary);
cursor: pointer;
text-decoration: underline;
}
}
+.accept-con {
+ max-height: 400px;
+ background: #212733;
+ border-radius: 4px 4px 4px 4px;
+ border: 1px dashed #555f6e;
+ padding: 16px;
+ margin-bottom: 20px;
+}
.el-checkbox :deep(.el-checkbox__label) {
color: #7f889a;
font-size: 12px;
diff --git a/frontend/src/views/challenge/Submission.vue b/frontend/src/views/challenge/Submission.vue
index 70e9ebbfc9..1f4c405533 100644
--- a/frontend/src/views/challenge/Submission.vue
+++ b/frontend/src/views/challenge/Submission.vue
@@ -1,189 +1,180 @@
- {{ $t('submission.guidelines') }}
-
-
-
-
- {{ $t('submission.deregisterChallenge') }}:
- {{ $t('submission.deregister') }}
-
-
{{ $t('submission.notApproved') }}
-
-
-
- {{ $t('submission.submission') }}
- {{ $t('submission.selectPhase') }}
-
-
-
- {{ $t('submission.todayRemain') }}:
- {{ curPhase.max_submissions_per_day }}
-
-
- {{ $t('submission.monthRemain') }}:
- {{ curPhase.max_submissions_per_month }}
-
-
- {{ $t('submission.totalRemain') }}:
- {{ curPhase.max_submissions }}
-
-
-
- —
-
-
-
-
-
- {{ $t('submission.startDate') }}:
- {{ formatTime(item.start_date) }}
-
-
-
{{ $t('submission.endDate') }}:
-
{{ formatTime(item.end_date) }}
+
+
+
+
+
+ {{ $t('submission.deregisterChallenge') }}:
+ {{ $t('submission.deregister') }}
+
{{ $t('submission.notApproved') }}
-
-
-
{{ $t('submission.instruction') }}
-
-
1. {{ $t('submission.install') }}
-
- $ {{ commandTxt1 }}
-
-
-
-
-
-
2. {{ $t('submission.addToken') }}
-
-
$ {{ commandTxt2 }}
-
-
-
+
+
+
+ {{ $t('submission.selectPhase') }}
+
+
+ {{ $t('submission.todayRemain') }}:
+ {{ curPhase.max_submissions_per_day }}
+
+
+ {{ $t('submission.monthRemain') }}:
+ {{ curPhase.max_submissions_per_month }}
+
+
+ {{ $t('submission.totalRemain') }}:
+ {{ curPhase.max_submissions }}
+
- 3. {{ $t('submission.submission') }}
-
-
$ {{ commandTxt3 }}
-
-
-
+
+ —
-
4. {{ $t('submission.flagTxt') }}
-
-
5. {{ $t('submission.forMore') }}
-
- {{ $t('submission.referDocument') }}
-
+
+
+
+
+ {{ $t('submission.startDate') }}:
+ {{ formatTime(item.start_date) }}
+
+
+ {{ $t('submission.endDate') }}:
+ {{ formatTime(item.end_date) }}
+
+
-
-
+ {{ $t('submission.instruction') }}
+
+
1. {{ $t('submission.install') }}
+
+ $ {{ commandTxt1 }}
+
+
+
+
-
{{ $t('submission.list') }}
-
-
-
-
-
-
-
- {{ row.status?.charAt(0).toUpperCase() + row.status.slice(1) }}
-
-
-
-
-
-
- Link
- -
-
-
-
-
- Link
- -
-
-
-
-
- Link
- -
-
-
-
-
-
-
- {{ row.is_public ? $t('submission.public') : $t('submission.private') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
2. {{ $t('submission.addToken') }}
+
+ $ {{ commandTxt2 }}
+
+
+
+
+
3. {{ $t('submission.submission') }}
+
+ $ {{ commandTxt3 }}
+
+
+
+
+
4. {{ $t('submission.flagTxt') }}
+
+ 5. {{ $t('submission.forMore') }}
+
+ {{ $t('submission.referDocument') }}
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ row.status?.charAt(0).toUpperCase() + row.status.slice(1) }}
+
+
+
+
+
+ Link
+ -
+
+
+
+
+ Link
+ -
+
+
+
+
+ Link
+ -
+
+
+
+
+
+
+ {{ row.is_public ? $t('submission.public') : $t('submission.private') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ $t('loadMore') }}...
-
-
+
+
+ {{ $t('loadMore') }}...
+
+
+
+