增加a分析若干功能页面。

This commit is contained in:
zhonghua.li
2026-02-07 14:33:30 +08:00
parent 11cc4a7664
commit 3498a9b9e3
72 changed files with 4562 additions and 18 deletions

View File

@@ -0,0 +1,40 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
highIntent: "23.5",
totalAnalyzed: "856",
dataList: [
{ level: "高意向", description: "明确表示购买意愿", count: "201" },
{ level: "中高意向", description: "有较强购买兴趣", count: "156" },
{ level: "中意向", description: "有一定购买兴趣", count: "234" },
{ level: "低意向", description: "购买意愿较低", count: "187" },
{ level: "无意向", description: "暂无购买意愿", count: "78" }
]
};
},
methods: {
goBack() {
common_vendor.index.navigateBack();
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.goBack && $options.goBack(...args)),
b: common_vendor.t($data.highIntent),
c: common_vendor.t($data.totalAnalyzed),
d: common_vendor.f($data.dataList, (item, index, i0) => {
return {
a: common_vendor.t(item.level),
b: common_vendor.t(item.description),
c: common_vendor.t(item.count),
d: index
};
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cafe1f39"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages-subpackage/ai_features/intent_level/intent_level.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="feature-page data-v-cafe1f39"><view class="page-header data-v-cafe1f39"><view class="nav-bar data-v-cafe1f39"><view class="nav-left data-v-cafe1f39" bindtap="{{a}}"><text class="back-icon data-v-cafe1f39">←</text></view><text class="nav-title data-v-cafe1f39">客户意向分级</text></view></view><scroll-view class="content-scroll data-v-cafe1f39" scroll-y="true"><view class="stats-card data-v-cafe1f39"><view class="stat-item data-v-cafe1f39"><text class="stat-value data-v-cafe1f39">{{b}}%</text><text class="stat-label data-v-cafe1f39">高意向客户</text></view><view class="stat-item data-v-cafe1f39"><text class="stat-value data-v-cafe1f39">{{c}}</text><text class="stat-label data-v-cafe1f39">已分析客户</text></view></view><view class="chart-section data-v-cafe1f39"><text class="section-title data-v-cafe1f39">意向分布图</text><view class="chart-placeholder data-v-cafe1f39"><text class="placeholder-text data-v-cafe1f39">📊 图表区域</text><text class="placeholder-desc data-v-cafe1f39">此处将显示客户意向分级分布图表</text></view></view><view class="data-list data-v-cafe1f39"><text class="section-title data-v-cafe1f39">意向等级详情</text><view wx:for="{{d}}" wx:for-item="item" wx:key="d" class="list-item data-v-cafe1f39"><view class="item-left data-v-cafe1f39"><text class="item-date data-v-cafe1f39">{{item.a}}</text><text class="item-desc data-v-cafe1f39">{{item.b}}</text></view><view class="item-right data-v-cafe1f39"><text class="item-count data-v-cafe1f39">{{item.c}} 人</text></view></view></view></scroll-view></view>

View File

@@ -0,0 +1,127 @@
.feature-page.data-v-cafe1f39 {
min-height: 100vh;
background: #f8f9fa;
}
.page-header.data-v-cafe1f39 {
background: #ffffff;
border-bottom: 1rpx solid #e9ecef;
}
.nav-bar.data-v-cafe1f39 {
display: flex;
align-items: center;
height: 88rpx;
padding: 0 30rpx;
}
.nav-left.data-v-cafe1f39 {
width: 60rpx;
height: 60rpx;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20rpx;
}
.back-icon.data-v-cafe1f39 {
font-size: 36rpx;
color: #333333;
}
.nav-title.data-v-cafe1f39 {
flex: 1;
text-align: center;
font-size: 32rpx;
font-weight: bold;
color: #333333;
}
.content-scroll.data-v-cafe1f39 {
height: calc(100vh - 88rpx);
}
.stats-card.data-v-cafe1f39 {
display: flex;
margin: 20rpx 30rpx;
background: #ffffff;
border-radius: 16rpx;
padding: 40rpx 30rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.stat-item.data-v-cafe1f39 {
flex: 1;
text-align: center;
}
.stat-item.data-v-cafe1f39:not(:last-child) {
border-right: 1rpx solid #e9ecef;
}
.stat-value.data-v-cafe1f39 {
display: block;
font-size: 48rpx;
font-weight: bold;
color: #007aff;
margin-bottom: 10rpx;
}
.stat-label.data-v-cafe1f39 {
display: block;
font-size: 24rpx;
color: #666666;
}
.chart-section.data-v-cafe1f39, .data-list.data-v-cafe1f39 {
margin: 20rpx 30rpx;
background: #ffffff;
border-radius: 16rpx;
overflow: hidden;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.section-title.data-v-cafe1f39 {
display: block;
font-size: 32rpx;
font-weight: bold;
color: #333333;
padding: 30rpx;
border-bottom: 1rpx solid #e9ecef;
}
.chart-placeholder.data-v-cafe1f39 {
padding: 80rpx 30rpx;
text-align: center;
}
.placeholder-text.data-v-cafe1f39 {
display: block;
font-size: 48rpx;
margin-bottom: 20rpx;
}
.placeholder-desc.data-v-cafe1f39 {
display: block;
font-size: 28rpx;
color: #666666;
}
.list-item.data-v-cafe1f39 {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx;
border-bottom: 1rpx solid #f0f0f0;
}
.list-item.data-v-cafe1f39:last-child {
border-bottom: none;
}
.item-left.data-v-cafe1f39 {
flex: 1;
}
.item-date.data-v-cafe1f39 {
display: block;
font-size: 28rpx;
font-weight: bold;
color: #333333;
margin-bottom: 8rpx;
}
.item-desc.data-v-cafe1f39 {
display: block;
font-size: 24rpx;
color: #666666;
}
.item-right.data-v-cafe1f39 {
text-align: right;
}
.item-count.data-v-cafe1f39 {
display: block;
font-size: 28rpx;
font-weight: bold;
color: #007aff;
}