commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<template>
|
||||
<view :class="type == 'enterprise' ? 'page entry-page enterprise-page' : 'page entry-page'">
|
||||
<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"><AppIcon name="check-circle" :size="30" /><text>{{ item }}</text></view>
|
||||
</view>
|
||||
<image class="entry-image" :src="type == 'enterprise' ? '/static/images/enterprise-building-cutout.png' : '/static/images/personal-building-cutout.png'" mode="aspectFit"></image>
|
||||
</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="42" /></view><text>填写信息</text></view><view class="arrow"><AppIcon name="arrow-right" :size="32" /></view>
|
||||
<view class="process-item"><view class="process-icon"><AppIcon name="sparkles" :size="42" /></view><text>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="42" /></view><text>匹配方案</text></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="privacy-tip"><text>信息将加密传输,仅用于本次融资评估</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
import AppHeader from '@/components/AppHeader.uvue'
|
||||
import AppIcon from '@/components/AppIcon.uvue'
|
||||
const type = ref('personal')
|
||||
const benefits = ref(['最高可借额度', '审批快 放款快', '多种产品任你选'])
|
||||
onLoad((options) => {
|
||||
if (options != null && options['type'] == 'enterprise') {
|
||||
type.value = 'enterprise'
|
||||
benefits.value = ['最高可借额度', '企业信用贷款', '多种融资方案']
|
||||
}
|
||||
})
|
||||
const start = () => { uni.navigateTo({ url: '/pages/assessment/assessment?type=' + type.value }) }
|
||||
</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; }.enterprise-page .benefit .app-icon { filter: hue-rotate(330deg) saturate(1.7); }
|
||||
.entry-image { position: absolute; width: 285rpx; height: 300rpx; right: -35rpx; 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; }.enterprise-page .process-icon .app-icon { filter: hue-rotate(330deg) saturate(1.7); }.arrow { margin-top: -28rpx; }
|
||||
.privacy-tip { margin-top: 55rpx; align-items: center; color: #97a3b4; font-size: 21rpx; }
|
||||
</style>
|
||||
Reference in New Issue
Block a user