|
@@ -1,10 +1,62 @@
|
|
|
<!-- 我的积分 -->
|
|
|
<template>
|
|
|
- <div>我的积分</div>
|
|
|
+ <div>
|
|
|
+ <div class="statisticsBox">
|
|
|
+ <div class="mt-2">
|
|
|
+ <span style="font-size: 20px; color: #333; line-height: 28px; font-weight: bold;" class="ml-10">您当前赚取积分</span>
|
|
|
+ <span style="font-size: 14px; color: #777; line-height: 24px; cursor: pointer;" class="ml-2">积分规则</span>
|
|
|
+ </div>
|
|
|
+ <div class="d-flex justify-space-between align-end my-1">
|
|
|
+ <span style="font-size: 42px; color: #ff9300; line-height: 50px;" class="ml-10">{{ integral }}</span>
|
|
|
+ <span style="font-size: 16px; color: #787d82; line-height: 24px;" class="mr-8">
|
|
|
+ 积分土豪的都喜欢来这里,
|
|
|
+ <span style="color: #ff7802; cursor: pointer;">积分商城</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 数据 -->
|
|
|
+ <!-- <div class="d-flex mt-3"></div> -->
|
|
|
+ <div class="mt-3">
|
|
|
+ <v-tabs v-model="tab" style="border-radius: 5px;" align-tabs="start" color="primary" bg-color="#f7f8fa" @update:model-value="handleChangeTab">
|
|
|
+ <v-tab :value="1"> {{ $t('publicRecruitment.whole') }}</v-tab>
|
|
|
+ <v-tab :value="2"> {{ $t('publicRecruitment.In') }}</v-tab>
|
|
|
+ <v-tab :value="3"> {{ $t('publicRecruitment.freezing') }}</v-tab>
|
|
|
+ <v-tab :value="4"> {{ $t('publicRecruitment.Pay') }}</v-tab>
|
|
|
+ </v-tabs>
|
|
|
+ <TablePage :items="dataList"></TablePage>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import TablePage from './components/integralTable.vue'
|
|
|
+import { ref } from 'vue'
|
|
|
defineOptions({name: 'personal-myPublicRecruitment-myRegistration'})
|
|
|
+const integral = '135'
|
|
|
+const tab = ref(0)
|
|
|
+const dataList = ref([])
|
|
|
+// 数据
|
|
|
+const getData = () => {
|
|
|
+ dataList.value = [
|
|
|
+ { 积分类型: '积分签到', 时间: '2024-06-20 20:00', 积分: '5', },
|
|
|
+ { 积分类型: '积分到期', 时间: '2024-06-21 00:00', 积分: '-100', },
|
|
|
+ { 积分类型: '浏览积分', 时间: '2024-06-21 00:00', 积分: '15', },
|
|
|
+ { 积分类型: '浏览职业分析报告', 时间: '2024-06-21 00:00', 积分: '-20', },
|
|
|
+ ]
|
|
|
+}
|
|
|
+getData()
|
|
|
+// 切换
|
|
|
+const handleChangeTab = () => {
|
|
|
+ // tab
|
|
|
+ // getData()
|
|
|
+}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
+.statisticsBox {
|
|
|
+ padding: 10px 0;
|
|
|
+ border-radius: 10px;
|
|
|
+ background-color: var(--default-bgc);
|
|
|
+ // background-color: #f3f3f3;
|
|
|
+ // font-family: 宋体, SimSun;
|
|
|
+}
|
|
|
</style>
|