🧠 智能推荐引擎

@if (!recResult && !recLoading) { } @if (recResult && !recAiLoading && !recAiText) { } @if (recLoading) { 分析中... } @if (recAiLoading) { AI 分析中... }
@if (!recResult && !recLoading) { } @if (recLoading) {
正在聚合产品数据、竞品信息、评论分析...
} @if (recResult) {
{{ recResult.overallScore }} 综合分
{{ recResult.overallVerdict }}
@if (recAiText) { } @if (recAiError) { }
@if (recActiveTab === 'keywords') {
@if (recResult.keywords.length === 0) { } @else {
@for (kw of recResult.keywords; track kw.keyword) {
{{ kw.keyword }} @if (kw.keywordCN) { {{ kw.keywordCN }} } {{ kw.priority === 'core' ? '核心' : kw.priority === 'secondary' ? '辅助' : '长尾' }}
搜索量 {{ kw.searchVolume | number }} 增长 {{ kw.growthRate > 0 ? '+' : '' }}{{ kw.growthRate }}% 竞争 {{ kw.competitionLevel === 'low' ? '低' : kw.competitionLevel === 'medium' ? '中' : '高' }} 价值 {{ kw.valueScore }} 匹配 {{ kw.matchScore }}
{{ kw.reason }}
}
}
} @if (recActiveTab === 'pricing') {
@if (!recResult.pricing) { } @else {
最优价格
${{ recResult.pricing.optimalPrice.toFixed(2) }}
推荐区间
${{ recResult.pricing.recommendedRange.min.toFixed(2) }} - ${{ recResult.pricing.recommendedRange.max.toFixed(2) }}
价格带
{{ recResult.pricing.bandName }}
当前位置
{{ recResult.pricing.currentPosition === 'below' ? '低于推荐' : recResult.pricing.currentPosition === 'above' ? '高于推荐' : '在推荐带内' }}
带内均评分: {{ recResult.pricing.bandAvgRating }} 带内均月销: {{ recResult.pricing.bandAvgSales }} 竞品数: {{ recResult.pricing.competitorCount }}
策略建议:{{ recResult.pricing.priceStrategy }}
{{ recResult.pricing.reason }}
}
} @if (recActiveTab === 'listing') {
@for (item of recResult.listing; track item.dimension) {
{{ item.dimension === 'title' ? '标题' : item.dimension === 'bullet' ? '五点描述' : item.dimension === 'searchTerm' ? 'Search Terms' : item.dimension === 'image' ? '图片' : 'A+ Content' }} {{ item.priority === 'high' ? '高优先' : item.priority === 'medium' ? '中' : '低' }}
{{ item.currentScore }} {{ item.potentialScore }}
    @for (tip of item.tips; track tip) {
  • {{ tip }}
  • }
@if (item.keywordsToAdd.length > 0) {
建议加入: @for (k of item.keywordsToAdd.slice(0, 5); track k) { {{ k }} }
}
}
} @if (recActiveTab === 'improvement') {
@if (recResult.productImprovement.length === 0) { } @else {
@for (item of recResult.productImprovement; track item.painPoint) {
{{ item.painPoint }} 严重度 {{ item.severity }} 提及 {{ item.frequency }} 次 {{ item.expectedImpact === 'high' ? '高影响' : item.expectedImpact === 'medium' ? '中影响' : '低影响' }}
{{ item.suggestion }}
}
}
} @if (recActiveTab === 'ads') {
@if (recResult.adStrategy.length === 0) { } @else {
关键词 匹配类型 建议出价 预估ACOS 日预算 优先级
@for (ad of recResult.adStrategy; track ad.keyword) {
{{ ad.keyword }} {{ ad.matchType === 'exact' ? '精准' : ad.matchType === 'phrase' ? '短语' : '广泛' }} ${{ ad.suggestedBid.toFixed(2) }} {{ ad.expectedAcos.toFixed(1) }}% ${{ ad.dailyBudget }} {{ ad.priority === 'high' ? '高' : ad.priority === 'medium' ? '中' : '低' }}
}
}
} @if (recActiveTab === 'market') {
@if (recResult.marketOpportunity.length === 0) { } @else {
@for (m of recResult.marketOpportunity; track m.category) {
{{ m.category }} 机会 {{ m.opportunityScore }} 门槛{{ m.entryBarrier === 'low' ? '低' : m.entryBarrier === 'medium' ? '中' : '高' }}
需求 {{ m.demandIndex }} 供给 {{ m.supplyIndex }} 均价 ${{ m.avgPrice }}
{{ m.reason }}
}
}
} @if (recActiveTab === 'ai') {
@if (recAiText) {
} @if (recAiError && !recAiLoading) {
{{ recAiError }}
} @if (!recAiText && !recAiError && !recAiLoading) { } @if (recAiLoading) {
AI 分析中...
}
} }