2025-10-14 14:08:44 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="detail-container">
|
|
|
|
|
|
<u-navbar :is-fixed="false" title="产品详情" :background="{background: 'transparent' }" :border-bottom="false"
|
|
|
|
|
|
back-icon-color="#fff" title-color="#fff">
|
|
|
|
|
|
</u-navbar>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 产品头部信息 -->
|
|
|
|
|
|
<view class="product-header">
|
|
|
|
|
|
<view class="product-name">
|
2025-10-17 14:12:04 +08:00
|
|
|
|
理财产品名称
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="product-date">
|
2025-10-17 14:12:04 +08:00
|
|
|
|
开始时间:2025/09/13
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="profit-info">
|
2025-10-17 14:12:04 +08:00
|
|
|
|
近期盈亏:XXXX
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 基本信息卡片 -->
|
|
|
|
|
|
<view class="card">
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" class="card-name">所在地</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">浙江-宁波</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" class="card-name">详细地址</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">xx区xx路xxx号</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" class="card-name">联系人</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">XXX</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" class="card-name">结算方式</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">按月结算,次月支付50%</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row>
|
|
|
|
|
|
<u-col span="6" class="card-name">产品企业</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">xxxx公司</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 产品需求 -->
|
|
|
|
|
|
<view class="card">
|
|
|
|
|
|
<view class="card-title">
|
|
|
|
|
|
产品需求<span>(4)</span>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="card-body">
|
|
|
|
|
|
<u-row class="sub-title u-m-b-20">
|
|
|
|
|
|
<u-col span="12">需求名称</u-col>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">限制</u-col>
|
|
|
|
|
|
<u-col span="6" class="card-value">详情</u-col>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">限价</u-col>
|
|
|
|
|
|
<u-col span="6" class="card-value">详情</u-col>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">时间</u-col>
|
|
|
|
|
|
<u-col span="6" class="card-value">详情</u-col>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">其他要求</u-col>
|
|
|
|
|
|
<u-col span="6" class="card-value">详情</u-col>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 产品动态 -->
|
|
|
|
|
|
<view class="card">
|
|
|
|
|
|
<view class="card-title">
|
|
|
|
|
|
产品动态
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="card-body">
|
|
|
|
|
|
<u-row class="u-m-b-20">
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">发布时间</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">2025-09-13</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
<u-row>
|
|
|
|
|
|
<u-col span="6" text-align="left" class="card-name">年化增长</u-col>
|
2025-10-17 14:12:04 +08:00
|
|
|
|
<u-col span="6" class="card-value">xxx%</u-col>
|
2025-10-14 14:08:44 +08:00
|
|
|
|
</u-row>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 底部按钮 -->
|
|
|
|
|
|
<view class="bottom-actions">
|
|
|
|
|
|
<u-button class="consult-btn" @click="handleConsult">立即咨询</u-button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2025-10-17 14:12:04 +08:00
|
|
|
|
|
|
|
|
|
|
import { onMounted, ref } from 'vue';
|
|
|
|
|
|
import { getUserInfo } from '../../util/common';
|
|
|
|
|
|
import { programAPI } from '../../api/program';
|
2025-10-14 14:08:44 +08:00
|
|
|
|
import { onLoad } from '@dcloudio/uni-app'
|
2025-10-17 14:12:04 +08:00
|
|
|
|
import { groupAPI } from '../../api/group';
|
2025-10-14 14:08:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-10-17 14:12:04 +08:00
|
|
|
|
|
|
|
|
|
|
// 立即咨询 - 跳转到客服中心页面
|
2025-10-14 14:08:44 +08:00
|
|
|
|
const handleConsult = () => {
|
2025-10-17 14:12:04 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: '/pages/finance/service'
|
|
|
|
|
|
});
|
2025-10-14 14:08:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onLoad((val) => {
|
|
|
|
|
|
// 如果有传递产品ID,可以在这里加载具体产品数据
|
|
|
|
|
|
if (val.productId) {
|
|
|
|
|
|
// loadProductData(val.productId)
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
.detail-container {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
background: linear-gradient(180deg, #2F75F9 0%, #F0F3FF 34.13%);
|
|
|
|
|
|
padding-bottom: 120rpx;
|
|
|
|
|
|
|
|
|
|
|
|
// 产品头部信息
|
|
|
|
|
|
.product-header {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: #fff;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
margin: 0 80rpx;
|
2025-10-14 14:08:44 +08:00
|
|
|
|
|
|
|
|
|
|
.product-name {
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.product-date {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
margin-bottom: 15rpx;
|
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.profit-info {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-17 14:12:04 +08:00
|
|
|
|
// 卡片样式 - 调整为白色背景
|
2025-10-14 14:08:44 +08:00
|
|
|
|
.card {
|
|
|
|
|
|
margin: 20rpx 30rpx;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
background-color: #ffffff;
|
2025-10-14 14:08:44 +08:00
|
|
|
|
padding: 30rpx;
|
|
|
|
|
|
border-radius: 16rpx;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
|
2025-10-14 14:08:44 +08:00
|
|
|
|
|
|
|
|
|
|
.card-title {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
margin-bottom: 25rpx;
|
|
|
|
|
|
padding-bottom: 15rpx;
|
|
|
|
|
|
border-bottom: 2rpx solid #f0f0f0;
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card-body {
|
2025-10-17 14:12:04 +08:00
|
|
|
|
background: #f8f9fa;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
padding: 25rpx;
|
|
|
|
|
|
|
2025-10-14 14:08:44 +08:00
|
|
|
|
.sub-title {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
padding-bottom: 15rpx;
|
|
|
|
|
|
border-bottom: 1rpx solid #e8e8e8;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
margin-bottom: 20rpx;
|
2025-10-14 14:08:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card-name {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card-value {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-17 14:12:04 +08:00
|
|
|
|
// 底部按钮 - 调整为深蓝色
|
2025-10-14 14:08:44 +08:00
|
|
|
|
.bottom-actions {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
padding: 20rpx 30rpx;
|
|
|
|
|
|
border-top: 1rpx solid #f0f0f0;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
|
2025-10-14 14:08:44 +08:00
|
|
|
|
|
|
|
|
|
|
.consult-btn {
|
2025-10-17 14:12:04 +08:00
|
|
|
|
background: #1a5fd8;
|
2025-10-14 14:08:44 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
border: none;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
height: 88rpx;
|
|
|
|
|
|
border-radius: 44rpx;
|
2025-10-14 14:08:44 +08:00
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: 500;
|
2025-10-17 14:12:04 +08:00
|
|
|
|
box-shadow: 0 4rpx 12rpx rgba(26, 95, 216, 0.3);
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
background: #164db3;
|
|
|
|
|
|
transform: translateY(1rpx);
|
|
|
|
|
|
}
|
2025-10-14 14:08:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 通用样式调整
|
|
|
|
|
|
.u-m-b-20 {
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
}
|
2025-10-17 14:12:04 +08:00
|
|
|
|
</style>
|