feat: 完成全系统30个功能点开发与E2E全链路验收 (8轮调度32个子代理闭环)
- 模块一: 出海案例作品集、博客动态发布、人名发音语音条、RTL阿语多语言切换 - 模块二: AI顾问人设配置、行业术语库润色、RAG切片沙盒调试、流式会话与意向留资卡片 - 模块三: 全球访客雷达大屏、多维加权意向算分、外部CRM对接推送、团队公海池流转 - 模块四: 移动端NFC安全挂失、NFC动态路由规则配置、动态防伪验签、展会制卡Zip批量导出 - 模块五: 组织架构与名片分配、移动端个人中心设置、离职交接与历史线索迁移、安全审计日志 - 模块六: Stripe国际信用卡订阅Webhook、独立二级域名与SSL检测、坐席配额预警、多币种发票 - 模块七: 纸质名片OCR解析入库、国际商务日程RFC 5545 ICS日历、微官网离线SWR预加载、展会实时排行榜大屏 - 模块八: 全球出海SEO OpenGraph元标签注入与社交爬虫探测、30点端到端全链路业务流集成测试套件
这个提交包含在:
@@ -0,0 +1,230 @@
|
||||
<template>
|
||||
<view
|
||||
class="audio-capsule"
|
||||
:class="{ 'audio-capsule-active': playerState.waveformActive }"
|
||||
@click="handleCapsuleClick"
|
||||
>
|
||||
<!-- 极简几何扬声器图标 -->
|
||||
<view class="speaker-icon">
|
||||
<view class="speaker-base" :class="{ 'speaker-base-active': playerState.waveformActive }"></view>
|
||||
<view class="speaker-cone" :class="{ 'speaker-cone-active': playerState.waveformActive }"></view>
|
||||
</view>
|
||||
|
||||
<!-- 文本标签 (若提供) -->
|
||||
<text
|
||||
v-if="resolvedLabel !== ''"
|
||||
class="capsule-label"
|
||||
:class="{ 'capsule-label-active': playerState.waveformActive }"
|
||||
>{{ resolvedLabel }}</text>
|
||||
|
||||
<!-- 3柱极简波形脉冲条 -->
|
||||
<view class="waveform-box">
|
||||
<view
|
||||
class="wave-bar bar-1"
|
||||
:class="{ 'wave-bar-pulse pulse-1': playerState.waveformActive, 'bar-active': playerState.waveformActive }"
|
||||
></view>
|
||||
<view
|
||||
class="wave-bar bar-2"
|
||||
:class="{ 'wave-bar-pulse pulse-2': playerState.waveformActive, 'bar-active': playerState.waveformActive }"
|
||||
></view>
|
||||
<view
|
||||
class="wave-bar bar-3"
|
||||
:class="{ 'wave-bar-pulse pulse-3': playerState.waveformActive, 'bar-active': playerState.waveformActive }"
|
||||
></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
import {
|
||||
AudioPlayerState,
|
||||
createAudioPlayerState,
|
||||
toggleAudio,
|
||||
releaseAudioPlayer,
|
||||
} from '../../pages/portal/useAudioPlayer.uts';
|
||||
|
||||
const props = defineProps({
|
||||
audioUrl: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
});
|
||||
|
||||
const playerState = reactive<AudioPlayerState>(createAudioPlayerState());
|
||||
|
||||
const resolvedLabel = computed((): string => {
|
||||
if (props.label != null && props.label.trim() !== '') {
|
||||
return props.label.trim();
|
||||
}
|
||||
return '';
|
||||
});
|
||||
|
||||
function handleCapsuleClick(): void {
|
||||
const url = props.audioUrl != null ? props.audioUrl.trim() : '';
|
||||
if (url === '') {
|
||||
return;
|
||||
}
|
||||
toggleAudio(playerState, url);
|
||||
}
|
||||
|
||||
onUnmounted(() => {
|
||||
releaseAudioPlayer(playerState);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.audio-capsule {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 32px;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
border-radius: 16px;
|
||||
background-color: #EAF1FF;
|
||||
border: 1px solid #E3E7ED;
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
transition: background-color 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
}
|
||||
|
||||
.audio-capsule-active {
|
||||
background-color: #0B5CFF;
|
||||
border-color: #0B5CFF;
|
||||
}
|
||||
|
||||
/* 极简几何扬声器 */
|
||||
.speaker-icon {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.speaker-base {
|
||||
width: 3px;
|
||||
height: 6px;
|
||||
background-color: #0B5CFF;
|
||||
border-radius: 1px 0 0 1px;
|
||||
}
|
||||
|
||||
.speaker-cone {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 4px solid transparent;
|
||||
border-bottom: 4px solid transparent;
|
||||
border-right: 6px solid #0B5CFF;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
.speaker-base-active {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.speaker-cone-active {
|
||||
border-right-color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 标签文案 */
|
||||
.capsule-label {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: #0B5CFF;
|
||||
margin-right: 6px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.capsule-label-active {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 3柱波形 */
|
||||
.waveform-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.wave-bar {
|
||||
width: 2px;
|
||||
background-color: #0B5CFF;
|
||||
border-radius: 1px;
|
||||
margin: 0 1.5px;
|
||||
}
|
||||
|
||||
.bar-1 {
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.bar-2 {
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.bar-3 {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.bar-active {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 律动脉冲关键帧动画 */
|
||||
.wave-bar-pulse {
|
||||
animation-duration: 400ms;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
}
|
||||
|
||||
.pulse-1 {
|
||||
animation-name: waveAnim1;
|
||||
}
|
||||
|
||||
.pulse-2 {
|
||||
animation-name: waveAnim2;
|
||||
animation-delay: 150ms;
|
||||
}
|
||||
|
||||
.pulse-3 {
|
||||
animation-name: waveAnim3;
|
||||
animation-delay: 300ms;
|
||||
}
|
||||
|
||||
@keyframes waveAnim1 {
|
||||
0% {
|
||||
height: 4px;
|
||||
}
|
||||
100% {
|
||||
height: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes waveAnim2 {
|
||||
0% {
|
||||
height: 6px;
|
||||
}
|
||||
100% {
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes waveAnim3 {
|
||||
0% {
|
||||
height: 5px;
|
||||
}
|
||||
100% {
|
||||
height: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wave-bar-pulse {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
在新工单中引用
屏蔽一个用户