|  | @@ -1,12 +1,51 @@
 | 
											
												
													
														|  |  <!-- 积分商城 -->
 |  |  <!-- 积分商城 -->
 | 
											
												
													
														|  |  <template>
 |  |  <template>
 | 
											
												
													
														|  | -  <div>
 |  | 
 | 
											
												
													
														|  | -    积分商城
 |  | 
 | 
											
												
													
														|  | 
 |  | +  <div class="default-width white-bgc px-3 pt-5 pb-10">
 | 
											
												
													
														|  | 
 |  | +    <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" @click="toPointsDetails">积分明细</span>
 | 
											
												
													
														|  | 
 |  | +      </div>
 | 
											
												
													
														|  | 
 |  | +      <div class="d-flex justify-space-between align-end my-1">
 | 
											
												
													
														|  | 
 |  | +        <span style="font-size: 42px; color: #10897bba; line-height: 50px;" class="ml-10 cursor-pointer" @click="toPointsDetails">{{ integral }}</span>
 | 
											
												
													
														|  | 
 |  | +      </div>
 | 
											
												
													
														|  | 
 |  | +    </div>
 | 
											
												
													
														|  | 
 |  | +    <v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#fff" @update:model-value="getPositionList">
 | 
											
												
													
														|  | 
 |  | +      <v-tab :value="1">{{ $t('points.Exchange') }}</v-tab>
 | 
											
												
													
														|  | 
 |  | +      <v-tab :value="2">{{ $t('points.ExchangeRecords') }}</v-tab>
 | 
											
												
													
														|  | 
 |  | +    </v-tabs>
 | 
											
												
													
														|  | 
 |  | +    <div class="mt-3">
 | 
											
												
													
														|  | 
 |  | +      <!-- 我的推荐 -->
 | 
											
												
													
														|  | 
 |  | +      <div v-if="tab === 1">
 | 
											
												
													
														|  | 
 |  | +        <!-- <myRecommendation></myRecommendation> -->
 | 
											
												
													
														|  | 
 |  | +      </div>
 | 
											
												
													
														|  | 
 |  | +      <!-- 积分明细 -->
 | 
											
												
													
														|  | 
 |  | +      <div v-if="tab === 2" class="pa-3 white-bgc" style="min-height: 600px; border-radius: 5px;">
 | 
											
												
													
														|  | 
 |  | +        <!-- <myRegistration></myRegistration> -->
 | 
											
												
													
														|  | 
 |  | +      </div>
 | 
											
												
													
														|  | 
 |  | +    </div>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script setup>
 |  |  <script setup>
 | 
											
												
													
														|  | 
 |  | +import { ref } from 'vue'
 | 
											
												
													
														|  | 
 |  | +import { useRoute } from 'vue-router'; const route = useRoute()
 | 
											
												
													
														|  | 
 |  | +import { useRouter } from 'vue-router'; const router = useRouter()
 | 
											
												
													
														|  |  defineOptions({name: 'personal-pointsMall'})
 |  |  defineOptions({name: 'personal-pointsMall'})
 | 
											
												
													
														|  | 
 |  | +const integral = '135'
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +const toPointsDetails = () => {
 | 
											
												
													
														|  | 
 |  | +  router.push({ path: '/myPublicRecruitment', query: { tab: 2 } })
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +const tab = ref(+route.query?.tab || 1)
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
												
													
														|  |  <style lang="scss" scoped>
 |  |  <style lang="scss" scoped>
 | 
											
												
													
														|  | 
 |  | +.statisticsBox {
 | 
											
												
													
														|  | 
 |  | +  padding: 10px 0;
 | 
											
												
													
														|  | 
 |  | +  border-radius: 10px;
 | 
											
												
													
														|  | 
 |  | +  background-color: var(--default-bgc);
 | 
											
												
													
														|  | 
 |  | +  // background-color: #f3f3f3;
 | 
											
												
													
														|  | 
 |  | +  // font-family: 宋体, SimSun;
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |