Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
hooloo
mp
user
Commits
6f09dcff
Commit
6f09dcff
authored
Jul 01, 2022
by
weijiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复背影音乐的问题
parent
37622212
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
App.vue
+12
-12
pages/home/home.vue
+1
-1
No files found.
App.vue
View file @
6f09dcff
...
@@ -11,18 +11,18 @@ export default {
...
@@ -11,18 +11,18 @@ export default {
navigationBarHeight
:
0
,
// 导航栏高度(标题栏高度)
navigationBarHeight
:
0
,
// 导航栏高度(标题栏高度)
},
},
onLaunch
:
function
()
{
onLaunch
:
function
()
{
wx
.
setInnerAudioOption
({
//
wx.setInnerAudioOption({
mixWithOther
:
true
,
//
mixWithOther: true,
obeyMuteSwitch
:
false
,
//
obeyMuteSwitch: false,
success
:
function
(
e
)
{
//
success: function (e) {
console
.
log
(
e
)
//
console.log(e)
console
.
log
(
'play success'
)
//
console.log('play success')
},
//
},
fail
:
function
(
e
)
{
//
fail: function (e) {
console
.
log
(
e
)
//
console.log(e)
console
.
log
(
'play fail'
)
//
console.log('play fail')
}
//
}
})
//
})
Store
.
commit
(
'setAuthorization'
,
uni
.
getStorageSync
(
'Authorization'
))
Store
.
commit
(
'setAuthorization'
,
uni
.
getStorageSync
(
'Authorization'
))
Store
.
commit
(
'setUserInfo'
,
uni
.
getStorageSync
(
'userInfo'
))
Store
.
commit
(
'setUserInfo'
,
uni
.
getStorageSync
(
'userInfo'
))
// uni.showLoading({
// uni.showLoading({
...
...
pages/home/home.vue
View file @
6f09dcff
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
},
},
methods
:{
methods
:{
acceptIndex
(
e
){
acceptIndex
(
e
){
console
.
log
(
e
,
'hhhhhhhhhhhhhhh'
)
//
console.log(e,'hhhhhhhhhhhhhhh')
this
.
selectIndex
=
e
this
.
selectIndex
=
e
}
}
}
}
...
...
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