Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
a4a1fd42
Commit
a4a1fd42
authored
May 16, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/sj-dev-v2' into wxl-develop
parents
502e0d5d
c0430455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
constants.js
constants/constants.js
+3
-3
index.js
src/pages/schoolindex/index.js
+3
-0
No files found.
constants/constants.js
View file @
a4a1fd42
...
...
@@ -235,8 +235,8 @@ export default {
chineseShortName
:
'十二'
}],
activity
:{
tid
:
7
9
,
id
:
1
8
,
sid
:
1
tid
:
9
9
,
id
:
1
9
,
sid
:
1
5
}
}
\ No newline at end of file
src/pages/schoolindex/index.js
View file @
a4a1fd42
...
...
@@ -186,6 +186,9 @@ Page({
if
(
!
data
.
banner
||
JSON
.
parse
(
data
.
banner
).
length
==
0
){
data
.
banner
=
JSON
.
stringify
([{
"src"
:
"https://cdn.img.shangjiadao.cn/source/images/daka/banner/banner1.png"
,
"id"
:
1
,
"selected"
:
true
}]);
}
if
(
this
.
data
.
sid
==
this
.
data
.
activitySid
){
data
.
banner
=
JSON
.
stringify
([{
"src"
:
"https://cdn.img.shangjiadao.cn/source/images/dakav3/2c/activityindex/banner.png"
,
"id"
:
1
,
"selected"
:
true
}]);
}
this
.
setData
({
schoolInfo
:
data
,
loading
:
true
...
...
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