Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李靖
7 years ago
Commit
82a4a0a8887bcacc23d7f9f709a1e37c09531c41
1 parent
27660f19
originUrl
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
apps/mip/controllers/guang.js
apps/mip/css/guang/detail.css
doraemon/views/mip.hbs
apps/mip/controllers/guang.js
View file @
82a4a0a
...
...
@@ -211,7 +211,8 @@ const detailIndex = (req, res, next) => {
mipId
:
id
,
mipPublishTime
:
mipDate
(
detail
.
getArticle
.
publish_time
*
1000
),
mipPic
:
detail
.
getArticle
.
cover_image
?
detail
.
getArticle
.
cover_image
.
split
(
'?'
)[
0
]
:
''
,
mipDes
:
detail
.
getArticle
.
article_summary
mipDes
:
detail
.
getArticle
.
article_summary
,
mipUrl
:
`
https
:
//m.yohobuy.com${req.originalUrl}`
},
data
));
})().
catch
(
next
);
};
...
...
apps/mip/css/guang/detail.css
View file @
82a4a0a
...
...
@@ -47,7 +47,8 @@
line-height
:
30px
;
font-size
:
20px
;
color
:
#000
;
font-weight
:
bold
;
font-weight
:
bold
;
clear
:
both
;
}
.article-info
.view-c
{
color
:
#b0b0b0
;
...
...
doraemon/views/mip.hbs
View file @
82a4a0a
...
...
@@ -14,7 +14,7 @@
<script
type=
"application/ld+json"
>
{
"@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
"@id": "
https://m.yohobuy.com/mip/guang/info/
{{
mipId
}}
.html
",
"@id": "
{{
mipUrl
}}
",
"appid": "1583402501013173",
"title": "
{{
title
}}
| Yoho!Buy有货 | 潮流购物逛不停",
"images": [
...
...
Please
register
or
login
to post a comment