Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit 40cdb87

Browse files
committed
update 瞎推荐 function
1 parent 229fe3d commit 40cdb87

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

js/containers/MoreTab/OrderContentPage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class OrderContentPage extends BackPageComponent{
134134
id = 4;
135135
else if(pageY >= height*6 + offset && pageY < height*7 + offset)
136136
id = 5;
137+
else if(pageY >= height*7 + offset && pageY < height*8 + offset)
138+
id = 6;
137139

138140
return id;
139141
}

js/dao/SettingsDataDAO.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export default class SettingsDataDAO{
7878
if(data)
7979
resolve(data.order);
8080
else
81-
reject(['Android','iOS','前端','拓展资源','休息视频','App']);
81+
reject(['Android','iOS','前端','拓展资源','休息视频','App','瞎推荐']);
8282
}else
83-
reject(['Android','iOS','前端','拓展资源','休息视频','App']);
83+
reject(['Android','iOS','前端','拓展资源','休息视频','App','瞎推荐']);
8484
});
8585
});
8686
}

js/reducers/settingState.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const initialState = {
1010
themeColor: colors.dodgerBlue,
1111
isOpenThumbnail: true,
1212
isOpenNightMode: false,
13-
displayOrder: ['Android','iOS','前端','拓展资源','休息视频','App'],
13+
displayOrder: ['Android','iOS','前端','拓展资源','休息视频','App','瞎推荐'],
1414
colorScheme: { //dayMode color scheme for the default color
1515
mainThemeColor: colors.dodgerBlue,
1616
pageBackgroundColor: '#f4f4f4',

0 commit comments

Comments
 (0)