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
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
7 additions
and
42 deletions
+7
-42
.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
+0
-0
src/utils/index.js
+0
-0
No files found.
.gitignore
View file @
66d2ccd1
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
# production
# production
/build
/build
/.history
.idea/
.idea/
# misc
# misc
.DS_Store
.DS_Store
...
...
.history/config/webpack.config_20190418152450.js
View file @
66d2ccd1
...
@@ -423,7 +423,7 @@ module.exports = function(webpackEnv) {
...
@@ -423,7 +423,7 @@ module.exports = function(webpackEnv) {
{
{
importLoaders
:
2
,
importLoaders
:
2
,
sourceMap
:
isEnvProduction
&&
shouldUseSourceMap
,
sourceMap
:
isEnvProduction
&&
shouldUseSourceMap
,
resources
:
'../src/
style
s/variable.scss'
,
resources
:
'../src/
assets/cs
s/variable.scss'
,
modules
:
false
modules
:
false
},
},
'sass-loader'
'sass-loader'
...
...
config/webpack.config.js
View file @
66d2ccd1
...
@@ -114,7 +114,7 @@ module.exports = function(webpackEnv) {
...
@@ -114,7 +114,7 @@ module.exports = function(webpackEnv) {
loaders
.
push
({
loaders
.
push
({
loader
:
require
.
resolve
(
'sass-resources-loader'
),
loader
:
require
.
resolve
(
'sass-resources-loader'
),
options
:
{
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'
...
@@ -3,7 +3,6 @@ import { connect } from 'react-redux'
import
{
LocaleProvider
}
from
'antd-mobile'
import
{
LocaleProvider
}
from
'antd-mobile'
import
{
HashRouter
}
from
'react-router-dom'
import
{
HashRouter
}
from
'react-router-dom'
import
Routes
from
'./router'
import
Routes
from
'./router'
// import '@/common/styles/common.scss'
class
App
extends
Component
{
class
App
extends
Component
{
render
()
{
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
React
,
{
Component
}
from
'react'
;
import
SearchHead
from
'./searchHead'
import
SearchHead
from
'./searchHead'
import
Tag
from
'@
base
/Tag/index.js'
import
Tag
from
'@
common
/Tag/index.js'
import
'./index.scss'
;
import
'./index.scss'
;
...
...
src/components/shopCard/index.js
View file @
66d2ccd1
...
@@ -3,7 +3,7 @@ import { connect } from 'react-redux'
...
@@ -3,7 +3,7 @@ import { connect } from 'react-redux'
import
{
Checkbox
,
NavBar
}
from
'antd-mobile'
import
{
Checkbox
,
NavBar
}
from
'antd-mobile'
//组件
//组件
import
ShopCard
from
'./cardList.js'
import
ShopCard
from
'./cardList.js'
import
Loading
from
'@
base
/Loading'
import
Loading
from
'@
common
/Loading'
//css
//css
import
'./card.scss'
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'
...
@@ -8,22 +8,17 @@ import { logger } from 'redux-logger'
import
store
from
'./store'
import
store
from
'./store'
import
App
from
'./App'
;
import
App
from
'./App'
;
import
'./index.css'
// 默认样式
// 默认样式
import
'./
style
s/index.scss'
;
import
'./
assets/cs
s/index.scss'
;
// iconfont
// iconfont
import
'./font/iconfont.css'
;
import
'./
assets/
font/iconfont.css'
;
var
tooltore
=
createStore
(
store
,
compose
(
var
tooltore
=
createStore
(
store
,
compose
(
applyMiddleware
(
thunk
,
logger
)
applyMiddleware
(
thunk
,
logger
)
))
))
// ReactDOM.render(
// <Router />,
// document.getElementById('root'));
ReactDOM
.
render
(
ReactDOM
.
render
(
<
Provider
store
=
{
tooltore
}
>
<
Provider
store
=
{
tooltore
}
>
<
App
/>
<
App
/>
...
...
src/store/index.js
View file @
66d2ccd1
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