Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
6f77278a
Commit
6f77278a
authored
Apr 23, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idea
parent
d97bd399
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
482 deletions
+29
-482
.idea/workspace.xml
+0
-470
src/components/classify/courselist.js
+24
-8
src/components/classify/courselist.scss
+1
-1
src/components/classify/index.js
+1
-1
src/router.js
+3
-2
No files found.
.idea/workspace.xml
deleted
100644 → 0
View file @
d97bd399
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"60bc3527-5f9e-436f-8ed9-968e6eddd66e"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/styles/index.scss"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/styles/index.scss"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/node_modules/"
/>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
<ignored
path=
"$PROJECT_DIR$/tmp/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"LAST_RESOLUTION"
value=
"IGNORE"
/>
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/courselist.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"314"
>
<caret
line=
"162"
column=
"39"
lean-forward=
"true"
selection-start-line=
"162"
selection-start-column=
"39"
selection-end-line=
"162"
selection-end-column=
"39"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
<element
signature=
"e#185#592#0"
/>
<element
signature=
"e#496#851#0"
/>
<element
signature=
"e#865#1220#0"
/>
<element
signature=
"e#1234#1589#0"
/>
<element
signature=
"e#2097#3488#0"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/courselist.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"830"
>
<caret
line=
"97"
column=
"35"
lean-forward=
"true"
selection-start-line=
"97"
selection-start-column=
"35"
selection-end-line=
"97"
selection-end-column=
"35"
/>
<folding>
<marker
date=
"1555928924379"
expanded=
"true"
signature=
"1358:1477"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/src/styles/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"7371"
>
<caret
line=
"351"
column=
"13"
lean-forward=
"true"
selection-start-line=
"351"
selection-start-column=
"13"
selection-end-line=
"351"
selection-end-column=
"13"
/>
<folding>
<marker
date=
"1555929386207"
expanded=
"true"
signature=
"4575:5170"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
vip
</find>
<find>
class
</find>
<find>
classify
</find>
<find>
VList
</find>
<find>
handleClick
</find>
<find>
contact
</find>
<find>
href
</find>
<find>
display
</find>
<find>
e64a
</find>
<find>
icon
</find>
<find>
iconerji
</find>
<find>
class-course
</find>
<find>
animated
</find>
<find>
/*
</find>
<find>
/*
</find>
</findStrings>
</component>
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/node_modules/less-loader/dist/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/classify/index.scss"
/>
<option
value=
"$PROJECT_DIR$/src/common/ListView/listview.scss"
/>
<option
value=
"$PROJECT_DIR$/src/router.js"
/>
<option
value=
"$PROJECT_DIR$/src/common/ListView/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/common/Courseload/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/common/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/classify/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/common/Topscroll/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/Index/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/Index/index.scss"
/>
<option
value=
"$PROJECT_DIR$/src/components/classify/courselist.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/classify/courselist.scss"
/>
<option
value=
"$PROJECT_DIR$/src/styles/index.scss"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
fullScreen=
"true"
>
<option
name=
"width"
value=
"1440"
/>
<option
name=
"height"
value=
"900"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
<path>
<item
name=
"mr-julyedu"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"mr-julyedu"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"mr-julyedu"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"mr-julyedu"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"mr-julyedu"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"mr-julyedu"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"styles"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$"
/>
<property
name=
"node.js.detected.package.eslint"
value=
"true"
/>
<property
name=
"node.js.path.for.package.eslint"
value=
"project"
/>
<property
name=
"node.js.selected.package.eslint"
value=
"$PROJECT_DIR$/node_modules/eslint"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"nodejs_package_manager_path"
value=
"yarn"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$/src/common"
/>
<recent
name=
"$PROJECT_DIR$/src/components/classify"
/>
</key>
</component>
<component
name=
"RunDashboard"
>
<option
name=
"ruleStates"
>
<list>
<RuleState>
<option
name=
"name"
value=
"ConfigurationTypeDashboardGroupingRule"
/>
</RuleState>
<RuleState>
<option
name=
"name"
value=
"StatusDashboardGroupingRule"
/>
</RuleState>
</list>
</option>
</component>
<component
name=
"SvnConfiguration"
>
<configuration
/>
</component>
<component
name=
"TaskManager"
>
<task
active=
"true"
id=
"Default"
summary=
"Default task"
>
<changelist
id=
"60bc3527-5f9e-436f-8ed9-968e6eddd66e"
name=
"Default Changelist"
comment=
""
/>
<created>
1555481508116
</created>
<option
name=
"number"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1555481508116
</updated>
<workItem
from=
"1555481509516"
duration=
"544000"
/>
<workItem
from=
"1555900140776"
duration=
"14737000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"15324000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"0"
width=
"1440"
height=
"900"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.16420014"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"npm"
order=
"2"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"3"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"8"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"9"
weight=
"0.32891566"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"10"
side_tool=
"true"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
</layout>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<option
name=
"version"
value=
"1"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/common/Tabbar/index.js"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main.js"
/>
<entry
file=
"file://$PROJECT_DIR$/node_modules/less-loader/dist/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"447"
>
<caret
line=
"29"
column=
"35"
selection-start-line=
"29"
selection-start-column=
"35"
selection-end-line=
"29"
selection-end-column=
"35"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
/>
<second_editor
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/config/paths.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1212"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-204"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/scripts/start.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/scripts/test.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/scripts/build.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-2293"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Nav/NavLink/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"84"
>
<caret
line=
"4"
column=
"49"
lean-forward=
"true"
selection-start-line=
"4"
selection-end-line=
"5"
/>
<folding>
<element
signature=
"e#0#40#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Courseload/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/study/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"6"
lean-forward=
"true"
selection-start-line=
"6"
selection-end-line=
"6"
/>
<folding>
<element
signature=
"e#0#40#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Courseload/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"10"
lean-forward=
"true"
selection-start-line=
"10"
selection-end-line=
"10"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/study/my-courses/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"223"
>
<caret
line=
"37"
column=
"5"
lean-forward=
"true"
selection-start-line=
"35"
selection-start-column=
"4"
selection-end-line=
"37"
selection-end-column=
"5"
/>
<folding>
<element
signature=
"e#0#25#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/study/study.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"504"
>
<caret
line=
"24"
lean-forward=
"true"
selection-end-line=
"49"
selection-end-column=
"1"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"147"
>
<caret
line=
"7"
lean-forward=
"true"
selection-start-line=
"7"
selection-end-line=
"7"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/VList/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"483"
>
<caret
line=
"23"
column=
"1"
lean-forward=
"true"
selection-start-line=
"23"
selection-start-column=
"1"
selection-end-line=
"23"
selection-end-column=
"1"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Scroll/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"441"
>
<caret
line=
"21"
column=
"47"
selection-start-line=
"21"
selection-start-column=
"47"
selection-end-line=
"21"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Topscroll/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"42"
>
<caret
line=
"2"
column=
"35"
lean-forward=
"true"
selection-start-line=
"2"
selection-start-column=
"35"
selection-end-line=
"2"
selection-end-column=
"35"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/VList/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"21"
>
<caret
line=
"1"
column=
"21"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"21"
selection-end-line=
"1"
selection-end-column=
"21"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Carousel/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"231"
>
<caret
line=
"11"
column=
"2"
lean-forward=
"true"
selection-start-line=
"11"
selection-start-column=
"2"
selection-end-line=
"11"
selection-end-column=
"2"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Course/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"189"
>
<caret
line=
"9"
column=
"38"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"38"
selection-end-line=
"9"
selection-end-column=
"38"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/common/Course/course.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"147"
>
<caret
line=
"7"
column=
"16"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"16"
selection-end-line=
"7"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Index/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"123"
column=
"52"
selection-start-line=
"123"
selection-end-line=
"124"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
<element
signature=
"e#193#1642#0"
/>
<element
signature=
"e#1661#2535#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/font/iconfont.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"25"
column=
"9"
selection-start-line=
"25"
selection-start-column=
"1"
selection-end-line=
"25"
selection-end-column=
"9"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Index/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"154"
>
<caret
line=
"119"
column=
"15"
lean-forward=
"true"
selection-start-line=
"119"
selection-start-column=
"15"
selection-end-line=
"119"
selection-end-column=
"15"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/styles/variable.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"483"
>
<caret
line=
"44"
column=
"7"
selection-start-line=
"44"
selection-end-line=
"44"
selection-end-column=
"7"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"104"
>
<caret
line=
"42"
column=
"9"
lean-forward=
"true"
selection-start-line=
"5"
selection-start-column=
"6"
selection-end-line=
"42"
selection-end-column=
"9"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
<element
signature=
"e#131#1522#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"14"
selection-start-line=
"14"
selection-end-line=
"61"
selection-end-column=
"1"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/courselist.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"314"
>
<caret
line=
"162"
column=
"39"
lean-forward=
"true"
selection-start-line=
"162"
selection-start-column=
"39"
selection-end-line=
"162"
selection-end-column=
"39"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
<element
signature=
"e#185#592#0"
/>
<element
signature=
"e#496#851#0"
/>
<element
signature=
"e#865#1220#0"
/>
<element
signature=
"e#1234#1589#0"
/>
<element
signature=
"e#2097#3488#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"10"
lean-forward=
"true"
selection-start-line=
"9"
selection-end-line=
"10"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/classify/courselist.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"830"
>
<caret
line=
"97"
column=
"35"
lean-forward=
"true"
selection-start-line=
"97"
selection-start-column=
"35"
selection-end-line=
"97"
selection-end-column=
"35"
/>
<folding>
<marker
date=
"1555928924379"
expanded=
"true"
signature=
"1358:1477"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/styles/index.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"7371"
>
<caret
line=
"351"
column=
"13"
lean-forward=
"true"
selection-start-line=
"351"
selection-start-column=
"13"
selection-end-line=
"351"
selection-end-column=
"13"
/>
<folding>
<marker
date=
"1555929386207"
expanded=
"true"
signature=
"4575:5170"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
src/components/classify/courselist.js
View file @
6f77278a
...
...
@@ -13,14 +13,21 @@ class Classify extends Component {
handleClick
()
{
console
.
log
(
1
);
}
ontabclick
(
tab
,
index
)
{
console
.
log
(
tab
,
index
)
}
pulldown
(){
alert
(
2
)
pulldown
()
{
this
.
setState
(
status
=>
({
ispull
:
!
status
.
ispull
,
display
:
status
.
ispull
?
'none'
:
'block'
}));
}
state
=
{
ispull
:
false
,
display
:
'none'
,
mockData
:
[
{
title
:
'三月面试求职三月面试求职三月面试求职'
,
...
...
@@ -115,13 +122,22 @@ class Classify extends Component {
{
title
:
'数据结构'
},
{
title
:
'数学'
},
];
const
bottom
=
(
<
i
className
=
{
'iconfont iconiconfront-69 pull-down'
}
><
/i
>
)
const
top
=
(
<
i
className
=
{
'iconfont iconiconfront-71 pull-down'
}
><
/i
>
)
return
(
<
div
className
=
'class-
box
'
>
<
div
className
=
'class-
child
'
>
<
div
>
<
WhiteSpace
/>
<
i
className
=
{
'iconfont iconiconfront-69 pull-down'
}
onClick
=
{
this
.
pulldown
.
bind
(
this
)}
><
/i
>
<
Tabs
<
div
onClick
=
{
this
.
pulldown
.
bind
(
this
)}
>
{
this
.
state
.
ispull
?
top
:
bottom
}
<
/div
>
<
Tabs
tabs
=
{
tabs
}
animated
=
{
false
}
onTabClick
=
{(
tab
,
index
)
=>
this
.
ontabclick
(
tab
,
index
)}
...
...
@@ -154,13 +170,13 @@ class Classify extends Component {
<
/Tabs
>
<
WhiteSpace
/>
<
/div
>
<
div
className
=
'mbc-box'
>
<
div
className
=
'mbc-box'
style
=
{{
display
:
this
.
state
.
display
}}
>
<
div
className
=
"tabcontent"
>
<
div
className
=
"class-course"
>
<
p
className
=
'course-items-title'
>
基础入门
<
/p
>
<
div
className
=
'items-box'
>
{
this
.
state
.
dataList
.
map
((
item
,
index
)
=>
{
this
.
state
.
dataList
.
map
((
item
,
index
)
=>
{
return
(
<
a
href
=
"/#"
key
=
{
index
}
className
=
'item-label'
>
{
item
.
title
}
<
/a
>
)
...
...
@@ -172,7 +188,7 @@ class Classify extends Component {
<
p
className
=
'course-items-title'
>
进阶提高
<
/p
>
<
div
className
=
'items-box'
>
{
this
.
state
.
dataList
.
map
((
item
,
index
)
=>
{
this
.
state
.
dataList
.
map
((
item
,
index
)
=>
{
return
(
<
a
href
=
"/#"
key
=
{
index
}
className
=
'item-label'
>
{
item
.
title
}
<
/a
>
)
...
...
src/components/classify/courselist.scss
View file @
6f77278a
.class-
box
{
.class-
child
{
padding
:
0
12px
;
position
:
relative
;
.v-list-item
{
...
...
src/components/classify/index.js
View file @
6f77278a
...
...
@@ -54,7 +54,7 @@ class Classify extends Component {
{
this
.
state
.
dataList
.
map
((
item
,
index
)
=>
{
return
(
<
a
href
=
"/
#
"
key
=
{
index
}
className
=
'item-banner'
><
img
<
a
href
=
"/
classify/courselist
"
key
=
{
index
}
className
=
'item-banner'
><
img
src
=
{
item
.
src
}
alt
=
""
/><
/a
>
)
...
...
src/router.js
View file @
6f77278a
...
...
@@ -16,10 +16,11 @@ const router = () => (
<
Switch
>
<
Route
exact
path
=
"/"
component
=
{
Index
}
><
/Route
>
<
Route
path
=
"/index"
component
=
{
Index
}
><
/Route
>
<
Route
path
=
'/classify'
component
=
{
Classify
}
><
/Route
>
<
Route
path
=
'/classify'
component
=
{
Classify
}
>
<
Route
path
=
'/classify/courselist'
component
=
{
CourseList
}
><
/Route
>
<
/Route
>
<
Route
path
=
'/study'
component
=
{
Study
}
><
/Route
>
<
Route
path
=
'/my'
component
=
{
My
}
><
/Route
>
<
Route
path
=
'/courselist'
component
=
{
CourseList
}
><
/Route
>
<
Route
path
=
'/search'
component
=
{
Search
}
><
/Route
>
<
/Switch
>
<
Menu
/>
...
...
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