Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_audio_image
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ww_audio_image
Commits
08dec26f
Commit
08dec26f
authored
May 14, 2025
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 音频播放问题修改
parent
5b022765
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24121 additions
and
8 deletions
+24121
-8
README.md
README.md
+2
-0
angular.json
angular.json
+5
-2
package-lock.json
package-lock.json
+14109
-0
package.json
package.json
+7
-5
play.component.ts
src/app/play/play.component.ts
+1
-1
yarn.lock
yarn.lock
+9997
-0
No files found.
README.md
View file @
08dec26f
...
@@ -12,6 +12,8 @@ angularjs技术框架下的H5互动模板框架脚手架,基于NG-ZORRO实现
...
@@ -12,6 +12,8 @@ angularjs技术框架下的H5互动模板框架脚手架,基于NG-ZORRO实现
都下载最新版就行,然后默认安装就可以
都下载最新版就行,然后默认安装就可以
*
注意 这个模板要使用nodejs v12.14,然后npm install 之后还要再手动安装一个 querystring
## 生成项目
## 生成项目
...
...
angular.json
View file @
08dec26f
...
@@ -135,5 +135,8 @@
...
@@ -135,5 +135,8 @@
}
}
}
}
},
},
"defaultProject"
:
"ng-template-generator"
"defaultProject"
:
"ng-template-generator"
,
}
"cli"
:
{
"analytics"
:
"f15c66ea-8ef1-40c4-9ba6-b310c457c730"
}
}
\ No newline at end of file
package-lock.json
0 → 100644
View file @
08dec26f
This diff is collapsed.
Click to expand it.
package.json
View file @
08dec26f
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
"
@angular/platform-browser
"
:
"
~9.0.2
"
,
"
@angular/platform-browser
"
:
"
~9.0.2
"
,
"
@angular/platform-browser-dynamic
"
:
"
~9.0.2
"
,
"
@angular/platform-browser-dynamic
"
:
"
~9.0.2
"
,
"
@angular/router
"
:
"
~9.0.2
"
,
"
@angular/router
"
:
"
~9.0.2
"
,
"
@fortawesome/angular-fontawesome
"
:
"
^0.6.
0
"
,
"
@fortawesome/angular-fontawesome
"
:
"
^0.6.
1
"
,
"
@fortawesome/fontawesome-svg-core
"
:
"
^1.2.
27
"
,
"
@fortawesome/fontawesome-svg-core
"
:
"
^1.2.
36
"
,
"
@fortawesome/free-regular-svg-icons
"
:
"
^5.12.1
"
,
"
@fortawesome/free-regular-svg-icons
"
:
"
^5.12.1
"
,
"
@fortawesome/free-solid-svg-icons
"
:
"
^5.1
2
.1
"
,
"
@fortawesome/free-solid-svg-icons
"
:
"
^5.1
3
.1
"
,
"
@tweenjs/tween.js
"
:
"
~18.5.0
"
,
"
@tweenjs/tween.js
"
:
"
~18.5.0
"
,
"
ali-oss
"
:
"
^6.5.1
"
,
"
ali-oss
"
:
"
^6.5.1
"
,
"
animate.css
"
:
"
3.7.0
"
,
"
animate.css
"
:
"
3.7.0
"
,
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
"
zone.js
"
:
"
~0.10.2
"
"
zone.js
"
:
"
~0.10.2
"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
~0.900.3
"
,
"
@angular-devkit/build-angular
"
:
"
^0.900.7
"
,
"
@angular/cli
"
:
"
~9.0.3
"
,
"
@angular/cli
"
:
"
~9.0.3
"
,
"
@angular/compiler-cli
"
:
"
~9.0.2
"
,
"
@angular/compiler-cli
"
:
"
~9.0.2
"
,
"
@angular/language-service
"
:
"
~9.0.2
"
,
"
@angular/language-service
"
:
"
~9.0.2
"
,
...
@@ -54,8 +54,10 @@
...
@@ -54,8 +54,10 @@
"
karma-jasmine
"
:
"
~2.0.1
"
,
"
karma-jasmine
"
:
"
~2.0.1
"
,
"
karma-jasmine-html-reporter
"
:
"
^1.4.2
"
,
"
karma-jasmine-html-reporter
"
:
"
^1.4.2
"
,
"
protractor
"
:
"
~5.4.3
"
,
"
protractor
"
:
"
~5.4.3
"
,
"
querystring
"
:
"
^0.2.1
"
,
"
ts-node
"
:
"
~8.3.0
"
,
"
ts-node
"
:
"
~8.3.0
"
,
"
tslint
"
:
"
~5.18.0
"
,
"
tslint
"
:
"
~5.18.0
"
,
"
typescript
"
:
"
~3.7.5
"
"
typescript
"
:
"
~3.7.5
"
,
"
webpack-dev-server
"
:
"
^3.10.3
"
}
}
}
}
src/app/play/play.component.ts
View file @
08dec26f
...
@@ -128,7 +128,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
...
@@ -128,7 +128,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
playAudio
(
ev
)
{
playAudio
(
ev
)
{
ev
.
preventDefault
();
ev
.
preventDefault
();
if
(
this
.
data
.
contentObj
&&
this
.
data
.
contentObj
.
audio_id
)
{
if
(
this
.
data
.
contentObj
&&
this
.
data
.
contentObj
.
audio_id
)
{
if
(
this
.
isPlaying
)
{
if
(
!
this
.
audio
.
paused
)
{
this
.
audio
.
pause
();
this
.
audio
.
pause
();
this
.
isPlaying
=
false
;
this
.
isPlaying
=
false
;
}
else
{
}
else
{
...
...
yarn.lock
0 → 100644
View file @
08dec26f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment