feat: 添加AI解读

master
xjs 2025-04-28 16:07:26 +08:00
parent de83098757
commit 7a87f1b52e
1 changed files with 10 additions and 4 deletions

View File

@ -9,13 +9,15 @@
</virtual-list>
</div>
<div class="h-[16rpx] bg-[#f8f8f8]"></div>
<div class="flex items-center pb-safe px-[32rpx] pt-[32rpx]">
<button class="border-none flex-auto bg-[#1580FF] rounded-[8rpx] text-[#fff]! text-[32rpx] font-normal h-[80rpx] flex items-center justify-center" @click="handleSave">
<div class="grid grid-cols-2 gap-[18rpx] items-center pb-safe px-[32rpx] pt-[32rpx]">
<button class="flex items-center justify-center text-[#1580FF] text-[32rpx] font-normal rounded-[8rpx] font-normal border border-[#1580FF] h-[80rpx] bg-[#fff]" @click="handleReport">
<img src="https://api.static.ycymedu.com/images/btn-bottom.png" class="w-[52rpx] h-[52rpx] mr-[8rpx]" alt="report">
AI解读志愿
</button>
<button class="border-none flex-auto bg-[#1580FF] rounded-[8rpx] text-[#fff] text-[32rpx] font-normal h-[80rpx] flex items-center justify-center" @click="handleSave">
保存
</button>
</div>
</div>
</template>
@ -76,6 +78,10 @@
);
};
const handleReport = () => {
uni.navigateTo({ url: `/aiService-sub/index/index?fileId=${vId.value}&locationCode=${locationCode.value}` })
}
onBeforeMount(() => {
let _mapParams: { [key: string]: any } = {};
let params = decodeURIComponent(location.search).slice(1, location.search.length).split("&");