Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
a41f5526
Commit
a41f5526
authored
Mar 25, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自定义点赞
parent
b9b8c0c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
src/api/live.js
+2
-1
src/components/livedModel/livedControls.vue
+8
-7
No files found.
src/api/live.js
View file @
a41f5526
...
...
@@ -63,6 +63,6 @@ export default {
},
// 获取直播配置
getConfigValueByConfigCode
(
options
)
{
return
request
GET
(
`
${
process
.
env
.
OLSHOP_URL
}
/liveBroadcastInfo/getConfigValueByC
onfigCode`
,
options
);
return
request
POST
(
`
${
process
.
env
.
OLSHOP_URL
}
/liveBroadcastInfo/getConfigValueByConfigCode?c
onfigCode`
,
options
);
},
};
\ No newline at end of file
src/components/livedModel/livedControls.vue
View file @
a41f5526
...
...
@@ -100,10 +100,10 @@ export default {
imgList
:
[],
likeNum
:
0
,
iconList
:
[
"//img3.imgtn.bdimg.com/it/u=3743111107,1940472030&fm=11&gp=0.jpg"
,
"//img0.imgtn.bdimg.com/it/u=216605226,3652567530&fm=11&gp=0.jpg"
,
"//img3.imgtn.bdimg.com/it/u=3743111107,1940472030&fm=11&gp=0.jpg"
,
"//img2.imgtn.bdimg.com/it/u=1354268575,1268995723&fm=26&gp=0.jpg"
//
"//img3.imgtn.bdimg.com/it/u=3743111107,1940472030&fm=11&gp=0.jpg",
//
"//img0.imgtn.bdimg.com/it/u=216605226,3652567530&fm=11&gp=0.jpg",
//
"//img3.imgtn.bdimg.com/it/u=3743111107,1940472030&fm=11&gp=0.jpg",
//
"//img2.imgtn.bdimg.com/it/u=1354268575,1268995723&fm=26&gp=0.jpg"
],
list
:
[],
num
:
0
,
...
...
@@ -299,9 +299,10 @@ export default {
},
getLivedConfig
(){
let
configCode
=
"LIVE_LIKE_ICON"
;
live
.
getConfigValueByConfigCode
(
configCode
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
){
this
.
iconList
=
JSON
.
parse
(
res
.
data
.
data
);
live
.
getConfigValueByConfigCode
({
configCode
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
let
newArr
=
res
.
data
.
data
;
this
.
iconList
=
JSON
.
parse
(
newArr
);
}
})
}
...
...
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