Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ed3be0ec
authored
Mar 19, 2026
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(equity): 添加录音服务功能
- 引入录音服务模块用于记录音频 - 在页面加载时启动音频录制功能 - 在返回首页时停止音频录制并清理资源
1 parent
aee791e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
apps/uniappX/uniapp-x-tape/pages/equity/detail/index.uvue
apps/uniappX/uniapp-x-tape/pages/equity/detail/index.uvue
View file @
ed3be0e
...
...
@@ -164,7 +164,7 @@
import { state , dispatch} from "@/store/index.uts"
import { getSoureData } from '@/api/system-api.uts'
import { findPayInfo as findPayInfoApi } from '@/api/common-api.uts'
import { recordService, BusinessDataType } from '@/services/recorder/index.uts'
type BackPressEvent = {
from: string
}
...
...
@@ -396,6 +396,7 @@ const currentCarInfo = computed(() => {
paymentTypeList.value = paymentType
}
onLoad((options) => {
recordService.startAudio()
dispatch('setCustomerInfo', {})
moduleList.value = [
{
...
...
@@ -488,7 +489,7 @@ const currentCarInfo = computed(() => {
dispatch('clearReceptionTrack')
}
function backHome():void{
clearHistory
()
recordService.stopAudio
()
uni.navigateBack()
}
function back(): void {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment