Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
124ee481
authored
Aug 25, 2020
by
TengFengLian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复游戏攻略问题
parent
99a0f99f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
pages/activity-entry/activity-entry.js
pages/home/home.js
pages/activity-entry/activity-entry.js
View file @
124ee481
...
...
@@ -73,7 +73,7 @@ Page({
let
funcFormInto
=
this
.
data
.
formInto
let
activityTime
=
this
.
data
.
activityTimes
[
this
.
data
.
activityIndex
]
if
(
0
==
activityTime
.
enroll
*
1
)
{
if
(
1
==
activityTime
.
enroll
*
1
)
{
this
.
setData
({
errorQuantity
:
'该场次已报名过,请选择其他场次'
,
})
...
...
pages/home/home.js
View file @
124ee481
...
...
@@ -279,14 +279,16 @@ Page({
loading
:
false
})
if
(
res
.
data
.
list
.
length
>
0
)
{
let
count
=
that
.
data
.
strategyOriginList
.
length
if
(
that
.
data
.
pageNo
==
1
)
{
count
=
0
}
let
tempArray
=
[]
for
(
let
i
=
0
;
i
<
res
.
data
.
list
.
length
;
i
++
)
{
let
item
=
res
.
data
.
list
[
i
]
let
strategy
=
{
id
:
item
.
id
,
image
:
item
.
cover
,
image
:
(
count
==
0
&&
i
==
0
)
?
item
.
topImg
:
item
.
cover
,
title
:
item
.
title
,
date
:
item
.
updateDate
,
index
:
count
+
i
-
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