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
66d2ccd1
Commit
66d2ccd1
authored
May 05, 2019
by
baiguangyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项目结构以及.gitignore
parent
b17b34e2
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
9 additions
and
43 deletions
+9
-43
.gitignore
+1
-0
.history/config/webpack.config_20190418152450.js
+1
-1
config/webpack.config.js
+1
-1
src/App.js
+0
-1
src/App.test.js
+0
-9
src/assets/css/index.scss
+0
-0
src/assets/css/readme.md
+0
-0
src/assets/css/variable.scss
+0
-0
src/assets/font/iconfont.css
+0
-0
src/assets/font/iconfont.eot
+0
-0
src/assets/font/iconfont.svg
+0
-0
src/assets/font/iconfont.ttf
+0
-0
src/assets/font/iconfont.woff
+0
-0
src/assets/font/iconfont.woff2
+0
-0
src/common/Loading/index.js
+0
-0
src/common/Loading/loading.scss
+0
-0
src/common/Tag/index.js
+0
-0
src/common/Tag/tag.scss
+0
-0
src/components/search/index.js
+1
-1
src/components/shopCard/index.js
+1
-1
src/index.css
+0
-21
src/index.js
+2
-7
src/store/index.js
+2
-1
src/utils/index.js
+0
-0
No files found.
.gitignore
View file @
66d2ccd1
...
...
@@ -10,6 +10,7 @@
# production
/build
/.history
.idea/
# misc
.DS_Store
...
...
.history/config/webpack.config_20190418152450.js
View file @
66d2ccd1
...
...
@@ -423,7 +423,7 @@ module.exports = function(webpackEnv) {
{
importLoaders
:
2
,
sourceMap
:
isEnvProduction
&&
shouldUseSourceMap
,
resources
:
'../src/
style
s/variable.scss'
,
resources
:
'../src/
assets/cs
s/variable.scss'
,
modules
:
false
},
'sass-loader'
...
...
config/webpack.config.js
View file @
66d2ccd1
...
...
@@ -114,7 +114,7 @@ module.exports = function(webpackEnv) {
loaders
.
push
({
loader
:
require
.
resolve
(
'sass-resources-loader'
),
options
:
{
resources
:
[
require
.
resolve
(
'../src/
style
s/variable.scss'
)]
resources
:
[
require
.
resolve
(
'../src/
assets/cs
s/variable.scss'
)]
}
})
}
...
...
src/App.js
View file @
66d2ccd1
...
...
@@ -3,7 +3,6 @@ import { connect } from 'react-redux'
import
{
LocaleProvider
}
from
'antd-mobile'
import
{
HashRouter
}
from
'react-router-dom'
import
Routes
from
'./router'
// import '@/common/styles/common.scss'
class
App
extends
Component
{
render
()
{
...
...
src/App.test.js
deleted
100644 → 0
View file @
b17b34e2
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
App
from
'./App'
;
it
(
'renders without crashing'
,
()
=>
{
const
div
=
document
.
createElement
(
'div'
);
ReactDOM
.
render
(
<
App
/>
,
div
);
ReactDOM
.
unmountComponentAtNode
(
div
);
});
src/
style
s/index.scss
→
src/
assets/cs
s/index.scss
View file @
66d2ccd1
File moved
src/
style
s/readme.md
→
src/
assets/cs
s/readme.md
View file @
66d2ccd1
File moved
src/
style
s/variable.scss
→
src/
assets/cs
s/variable.scss
View file @
66d2ccd1
File moved
src/font/iconfont.css
→
src/
assets/
font/iconfont.css
View file @
66d2ccd1
File moved
src/font/iconfont.eot
→
src/
assets/
font/iconfont.eot
View file @
66d2ccd1
File moved
src/font/iconfont.svg
→
src/
assets/
font/iconfont.svg
View file @
66d2ccd1
File moved
src/font/iconfont.ttf
→
src/
assets/
font/iconfont.ttf
View file @
66d2ccd1
File moved
src/font/iconfont.woff
→
src/
assets/
font/iconfont.woff
View file @
66d2ccd1
File moved
src/font/iconfont.woff2
→
src/
assets/
font/iconfont.woff2
View file @
66d2ccd1
File moved
src/
base
/Loading/index.js
→
src/
common
/Loading/index.js
View file @
66d2ccd1
File moved
src/
base
/Loading/loading.scss
→
src/
common
/Loading/loading.scss
View file @
66d2ccd1
File moved
src/
base
/Tag/index.js
→
src/
common
/Tag/index.js
View file @
66d2ccd1
File moved
src/
base
/Tag/tag.scss
→
src/
common
/Tag/tag.scss
View file @
66d2ccd1
File moved
src/components/search/index.js
View file @
66d2ccd1
import
React
,
{
Component
}
from
'react'
;
import
SearchHead
from
'./searchHead'
import
Tag
from
'@
base
/Tag/index.js'
import
Tag
from
'@
common
/Tag/index.js'
import
'./index.scss'
;
...
...
src/components/shopCard/index.js
View file @
66d2ccd1
...
...
@@ -3,7 +3,7 @@ import { connect } from 'react-redux'
import
{
Checkbox
,
NavBar
}
from
'antd-mobile'
//组件
import
ShopCard
from
'./cardList.js'
import
Loading
from
'@
base
/Loading'
import
Loading
from
'@
common
/Loading'
//css
import
'./card.scss'
...
...
src/index.css
deleted
100644 → 0
View file @
b17b34e2
html
,
body
{
height
:
100%
;
margin
:
0
;
padding
:
0
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
"Roboto"
,
"Oxygen"
,
"Ubuntu"
,
"Cantarell"
,
"Fira Sans"
,
"Droid Sans"
,
"Helvetica Neue"
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
#root
{
height
:
100%
;
}
code
{
font-family
:
source-code-pro
,
Menlo
,
Monaco
,
Consolas
,
"Courier New"
,
monospace
;
}
\ No newline at end of file
src/index.js
View file @
66d2ccd1
...
...
@@ -8,22 +8,17 @@ import { logger } from 'redux-logger'
import
store
from
'./store'
import
App
from
'./App'
;
import
'./index.css'
// 默认样式
import
'./
style
s/index.scss'
;
import
'./
assets/cs
s/index.scss'
;
// iconfont
import
'./font/iconfont.css'
;
import
'./
assets/
font/iconfont.css'
;
var
tooltore
=
createStore
(
store
,
compose
(
applyMiddleware
(
thunk
,
logger
)
))
// ReactDOM.render(
// <Router />,
// document.getElementById('root'));
ReactDOM
.
render
(
<
Provider
store
=
{
tooltore
}
>
<
App
/>
...
...
src/store/index.js
View file @
66d2ccd1
...
...
@@ -6,4 +6,4 @@ const reducer = combineReducers({
searchReducer
});
export
default
reducer
;
export
default
reducer
;
\ No newline at end of file
src/
base/
utils/index.js
→
src/utils/index.js
View file @
66d2ccd1
File moved
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