|
@@ -5,16 +5,16 @@
|
|
|
<integralShow :showMall="false" :taskCenter="true" :title="descriptiveTitle"></integralShow>
|
|
|
</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.redemptionOfPoints') }}</v-tab> -->
|
|
|
- <v-tab :value="1">{{ $t('points.pointsDetails') }}</v-tab>
|
|
|
- </v-tabs>
|
|
|
+ <!-- <v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#fff" @update:model-value="getPositionList">
|
|
|
+ <v-tab :value="1">{{ $t('points.redemptionOfPoints') }}</v-tab>
|
|
|
+ <v-tab :value="2">{{ $t('points.pointsDetails') }}</v-tab>
|
|
|
+ </v-tabs> -->
|
|
|
</div>
|
|
|
<div class="mt-3 white-bgc pa-3 pt-1">
|
|
|
- <div v-if="tab === 2">
|
|
|
+ <div v-if="tab === 1">
|
|
|
<pointsDetails></pointsDetails>
|
|
|
</div>
|
|
|
- <div v-if="tab === 1" class="pt-5">
|
|
|
+ <div v-if="tab === 2" class="pt-5">
|
|
|
<pointsMall></pointsMall>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -25,14 +25,15 @@
|
|
|
import pointsDetails from './pointsDetails.vue'
|
|
|
import pointsMall from './pointsMall.vue'
|
|
|
import integralShow from '@/views/personal/components/integralShow.vue'
|
|
|
-import { useRoute } from 'vue-router'; const route = useRoute()
|
|
|
-import { useRouter } from 'vue-router'; const router = useRouter()
|
|
|
-import { ref } from 'vue'
|
|
|
+// import { useRoute } from 'vue-router'; const route = useRoute()
|
|
|
+// import { useRouter } from 'vue-router'; const router = useRouter()
|
|
|
+// import { ref } from 'vue'
|
|
|
defineOptions({name: 'personal-pointsManagement-index'})
|
|
|
-const tab = ref(+route.query?.tab || 1)
|
|
|
-const getPositionList = () => {
|
|
|
- if (route.query) router.replace({ path: route.path }) // 不留记录的清除跳转带过来的参数
|
|
|
-}
|
|
|
+const tab = 1
|
|
|
+// const tab = ref(+route.query?.tab || 1)
|
|
|
+// const getPositionList = () => {
|
|
|
+// if (route.query) router.replace({ path: route.path }) // 不留记录的清除跳转带过来的参数
|
|
|
+// }
|
|
|
const descriptiveTitle = '您当前可用积分'
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|