Files
airz-uniapp/packages/finance/entry/entry.uvue
T

70 lines
4.6 KiB
Plaintext
Raw Normal View History

2026-09-10 10:57:40 +08:00
<template>
<view :class="type == 'enterprise' ? 'page entry-page enterprise-page' : 'page entry-page'" :style="pageStyle()">
2026-09-10 10:57:40 +08:00
<AppHeader :title="type == 'enterprise' ? '企业信用融资' : '个人信用融资'" />
<view class="entry-content">
<view class="intro-panel">
<view class="intro-copy">
<text class="intro-title">{{ type == 'enterprise' ? '企业信用融资' : '个人信用融资' }}</text>
<text class="intro-sub">{{ type == 'enterprise' ? '适合企业 / 个体工商户' : '适合有稳定收入的个人用户' }}</text>
<view class="benefit" v-for="item in benefits" :key="item"><view class="benefit-dot"></view><text class="benefit-text">{{ item }}</text></view>
2026-09-10 10:57:40 +08:00
</view>
<image class="entry-image" :src="type == 'enterprise' ? '/static/mobile/images/enterprise-building-cutout.png' : '/static/mobile/images/personal-building-cutout.png'" mode="aspectFit"></image>
2026-09-10 10:57:40 +08:00
</view>
<button :class="type == 'enterprise' ? 'orange-button start-button' : 'primary-button start-button'" @click="start">开始评估</button>
<view class="process-block">
<text class="section-title">评估流程预览</text>
<view class="process-row">
<view class="process-item"><view class="process-icon"><AppIcon name="file-text" :size="50" /></view><text class="process-label">填写信息</text></view><view class="arrow"><AppIcon name="arrow-right" :size="32" /></view>
<view class="process-item"><view class="process-icon"><AppIcon name="sparkles" :size="50" /></view><text class="process-label">AI分析</text></view><view class="arrow"><AppIcon name="arrow-right" :size="32" /></view>
<view class="process-item"><view class="process-icon"><AppIcon name="building" :size="50" /></view><text class="process-label">匹配方案</text></view>
2026-09-10 10:57:40 +08:00
</view>
</view>
<view class="privacy-tip"><text class="privacy-text">自主选择授权范围,随时补充评估资料</text></view>
2026-09-10 10:57:40 +08:00
</view>
</view>
</template>
<script setup lang="uts">
import { usePageLayout } from '@/services/layout.uts'
const { pageStyle } = usePageLayout()
2026-09-10 10:57:40 +08:00
import AppHeader from '@/components/AppHeader.uvue'
import AppIcon from '@/components/AppIcon.uvue'
const type = ref('personal')
const benefits = ref(['了解可选融资额度', '在线评估,便捷省时', '多家机构方案对比'])
2026-09-10 10:57:40 +08:00
onLoad((options) => {
if (options != null && options['type'] == 'enterprise') {
type.value = 'enterprise'
benefits.value = ['匹配企业资金需求', '多维度经营资质评估', '多种融资方案对比']
2026-09-10 10:57:40 +08:00
}
})
const start = () => { uni.navigateTo({ url: '/packages/finance/assessment/assessment?type=' + type.value }) }
2026-09-10 10:57:40 +08:00
</script>
<style>
.entry-content { padding: 28rpx; }
.intro-panel { min-height: 430rpx; background: linear-gradient(145deg, #eef6ff, #ffffff); border-radius: 20rpx; border: 1rpx solid #dce9fb; padding: 38rpx 28rpx; flex-direction: row; position: relative; overflow: hidden; }
.enterprise-page .intro-panel { background: linear-gradient(145deg, #fff5ec, #ffffff); border-color: #ffe2cd; }
.intro-copy { width: 63%; z-index: 2; }
.intro-title { font-size: 42rpx; line-height: 56rpx; font-weight: 900; color: #0868f7; }
.enterprise-page .intro-title { color: #f36b12; }
.intro-sub { font-size: 23rpx; color: #5f6d82; margin-top: 8rpx; margin-bottom: 30rpx; }
.benefit { flex-direction: row; align-items: center; margin-top: 18rpx; color: #23324a; font-size: 25rpx; font-weight: 600; }
.benefit .app-icon { margin-right: 12rpx; }
.benefit-text { color: #34445c; font-size: 25rpx; line-height: 38rpx; }
.benefit-dot { width: 10rpx; height: 10rpx; border-radius: 5rpx; background-color: #0868f7; margin-right: 14rpx; flex-shrink: 0; }
.enterprise-page .benefit-dot { background-color: #f47a1a; }
.entry-image { position: absolute; width: 285rpx; height: 300rpx; right: 16rpx; bottom: -22rpx; }
.start-button { margin-top: 30rpx; }
.process-block { margin-top: 48rpx; }
.process-row { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 34rpx; padding: 0 20rpx; }
.process-item { align-items: center; color: #455369; font-size: 22rpx; }
.process-icon { width: 88rpx; height: 88rpx; border-radius: 26rpx; background-color: #e9f2ff; align-items: center; justify-content: center; margin-bottom: 14rpx; }
.enterprise-page .process-icon { background-color: #fff0e5; }
.process-label { font-size: 24rpx; color: #455369; }
.privacy-text { font-size: 22rpx; color: #748398; text-align: center; line-height: 34rpx; }
.arrow { margin-top: -28rpx; }
2026-09-10 10:57:40 +08:00
.privacy-tip { margin-top: 55rpx; align-items: center; color: #97a3b4; font-size: 21rpx; }
</style>