Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
a28ab8fbac1f14d5efda0b4921e415d61944cc4b
1 parent
f136b40d
change key
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
apps/home/models/spread.js
apps/home/views/action/spread.hbs
public/scss/home/_spread.css
apps/home/models/spread.js
View file @
a28ab8f
...
...
@@ -36,8 +36,8 @@ module.exports = class extends global.yoho.BaseModel {
let
resList
=
result
[
1
];
// 已设置潮流口令,显示潮流口令
if
(
resData
.
trendWord
)
{
resData
.
inviteCode
=
resData
.
trendWord
;
if
(
resData
.
trendWorld
)
{
resData
.
inviteCode
=
resData
.
trendWorld
;
}
if
(
resList
.
code
===
200
)
{
...
...
apps/home/views/action/spread.hbs
View file @
a28ab8f
...
...
@@ -16,7 +16,7 @@
<div
class=
"item-card"
>
<span
class=
"tag"
>
方法二:使用潮流口令
</span>
<div
class=
"card-main"
>
<p
class=
"spread-id
{{#
unless
trendWor
d
}}
new-tip
{{/
unless
}}
"
data-word=
"
{{
trendWor
d
}}
"
data-img=
"
{{
image2
popImgSrc
w
=
360
h
=
130
}}
"
>
{{
inviteCode
}}
</p>
<p
class=
"spread-id
{{#
unless
trendWor
ld
}}
new-tip
{{/
unless
}}
"
data-word=
"
{{
trendWorl
d
}}
"
data-img=
"
{{
image2
popImgSrc
w
=
360
h
=
130
}}
"
>
{{
inviteCode
}}
</p>
<div
class=
"edit-word"
>
<span
class=
"iconfont"
>

</span>
</div>
...
...
public/scss/home/_spread.css
View file @
a28ab8f
...
...
@@ -281,6 +281,12 @@
input
:-ms-input-placeholder
{
color
:
#fff
;
}
.err-tip
{
color
:
#ec000e
;
font-size
:
14px
;
line-height
:
1.5
;
}
}
.ext-info
{
...
...
Please
register
or
login
to post a comment