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
14dc6e00
Commit
14dc6e00
authored
Mar 21, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海报测试
parent
0d43fb63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/pages/livedPoster/index.vue
+5
-1
No files found.
src/pages/livedPoster/index.vue
View file @
14dc6e00
...
...
@@ -48,7 +48,10 @@ export default {
let
resData
=
res
.
data
.
data
;
this
.
info
.
livedTitle
=
resData
.
title
;
this
.
info
.
livedStatus
=
resData
.
liveBroadcastState
;
this
.
info
.
coverUrl
=
DFSImg
(
resData
.
coverUrl
);
let
cImg
=
DFSImg
(
resData
.
coverUrl
);
if
(
cImg
.
indexOf
(
'https'
)
==-
1
){
this
.
info
.
coverUrl
=
cImg
.
replace
(
"http"
,
"https"
);
}
let
newTime
=
new
Date
(
resData
.
startTime
.
replace
(
/-/g
,
"/"
));
this
.
info
.
livedTime
=
`
${
newTime
.
getMonth
()
+
1
}
月
${
newTime
.
getDate
()
-
...
...
@@ -68,6 +71,7 @@ export default {
});
},
initPoster
(
info
)
{
console
.
log
(
info
,
'---------------------71'
)
const
InfoSync
=
wx
.
getSystemInfoSync
();
this
.
InfoSync
=
InfoSync
;
let
bili
=
InfoSync
.
windowWidth
/
375
*
1
;
...
...
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