|
|
|
@ -62,6 +62,10 @@ |
|
|
|
|
<div class="relative min-h-[calc(100vh-64px)] bg-[url('@/assets/images/role/bg.png')] bg-[length:100%] bg-no-repeat"> |
|
|
|
|
<div class="absolute top-5 left-[18px] w-[204px] h-[68px] bg-[url('@/assets/images/role/2.png')] bg-[length:100%_100%] bg-no-repeat"></div> |
|
|
|
|
|
|
|
|
|
<div class="date absolute top-[70px] left-[54%] w-[198px] h-[46px] pt-[10px] pl-[56px] text-base text-white bg-[url('@/assets/images/role/date.png')] bg-no-repeat cursor-pointer transition hover:bg-[url('@/assets/images/role/date1.png')]" |
|
|
|
|
@click="dateVisible = true"> |
|
|
|
|
2023-10-12 |
|
|
|
|
</div> |
|
|
|
|
<div class="role top-[310px] left-[340px] bg-[url('@/assets/images/role/product.png')] hover:bg-[url('@/assets/images/role/product1.png')]" |
|
|
|
|
@click="selecRole(41)"></div> |
|
|
|
|
<div class="role top-[220px] left-[490px] bg-[url('@/assets/images/role/committee.png')] hover:bg-[url('@/assets/images/role/committee1.png')]" |
|
|
|
@ -71,7 +75,7 @@ |
|
|
|
|
<div class="role bottom-[50px] left-[100px] bg-[url('@/assets/images/role/insurance.png')] hover:bg-[url('@/assets/images/role/insurance1.png')]" |
|
|
|
|
@click="selecRole(275)"></div> |
|
|
|
|
<div class="role bottom-[50px] left-[550px] bg-[url('@/assets/images/role/fund.png')] hover:bg-[url('@/assets/images/role/fund1.png')]" |
|
|
|
|
@click="selecRole(276)"></div> |
|
|
|
|
@click="selecRole(1161)"></div> |
|
|
|
|
</div> |
|
|
|
|
<!-- <div class="fixed top-[80px] right-[80px]"> |
|
|
|
|
<div class="flex items-center h-[60px] px-4 rounded-tl-[20px] rounded-tr-[20px]" |
|
|
|
@ -109,7 +113,26 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
<Panel /> |
|
|
|
|
|
|
|
|
|
<el-dialog v-model="dateVisible" |
|
|
|
|
title="选择交易日期" |
|
|
|
|
width="400px" |
|
|
|
|
center> |
|
|
|
|
<div class="text-center"> |
|
|
|
|
<el-date-picker v-model="date" |
|
|
|
|
type="date" /> |
|
|
|
|
</div> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="flex justify-center"> |
|
|
|
|
<div class="dia-btn mr-3 cancel" |
|
|
|
|
@click="dateVisible = false">取消</div> |
|
|
|
|
<div class="dia-btn" |
|
|
|
|
@click="dateVisible = false">确定</div> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
@ -123,6 +146,8 @@ const router = useRouter(); |
|
|
|
|
const route = useRoute(); |
|
|
|
|
const collected = ref<boolean>(false); |
|
|
|
|
const curLevel = ref<number | string>(''); |
|
|
|
|
const dateVisible = ref<boolean>(false); |
|
|
|
|
const date = ref<any>(new Date()); |
|
|
|
|
const levels = ref<Record<string, any>[]>([]); |
|
|
|
|
const ranges = ref<Record<string, any>[]>([ |
|
|
|
|
{ |
|
|
|
@ -195,7 +220,7 @@ const getLevel = async () => { |
|
|
|
|
}; |
|
|
|
|
// 点击角色回调 |
|
|
|
|
const selecRole = (id: number) => { |
|
|
|
|
router.push(id === 275 ? `/product/insurance` : id === 276 ? `/product/fund` : `/product/bank?type=0&i=1&role=${id}`); |
|
|
|
|
router.push(id === 275 ? `/product/insurance` : id === 1161 ? `/product/fund` : `/product/bank?type=0&i=1&role=${id}`); |
|
|
|
|
}; |
|
|
|
|
// 返回关卡 |
|
|
|
|
const toLevel = () => { |
|
|
|
@ -249,6 +274,9 @@ onMounted(() => { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.date { |
|
|
|
|
text-shadow: 0px 1px 1px #003c81; |
|
|
|
|
} |
|
|
|
|
.role { |
|
|
|
|
@apply absolute w-[172px] h-[48px] bg-[length:100%_100%] bg-no-repeat cursor-pointer transition; |
|
|
|
|
} |
|
|
|
|