Skip to content

Commit

Permalink
second
Browse files Browse the repository at this point in the history
  • Loading branch information
Ls-master committed Jan 9, 2017
1 parent 72004d4 commit 573511c
Show file tree
Hide file tree
Showing 37 changed files with 16,373 additions and 0 deletions.
38 changes: 38 additions & 0 deletions data/list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"ret": 0,
"errorCode": 9,
"data": [
{
"image": "images/img1.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img2.png",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img3.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img4.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img1.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img2.png",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img3.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
},
{
"image": "images/img4.jpg",
"title": "西甲-巴萨3-4客负 皇马1-1丢榜首"
}
]
}
6 changes: 6 additions & 0 deletions data/mock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
rules: [{
pattern: /\/apis\/list.php/,
respondwith: './list.json'
}]
};
11 changes: 11 additions & 0 deletions fekit.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compiler": "modular",
"name": "fekit-web",
"version": "0.0.0",
"dependencies": {},
"alias": {},
"export": [
"styles/index.scss",
"scripts/index.js"
]
}
Binary file added images/iconfont/iconfont-menu.ttf
Binary file not shown.
Binary file added images/iconfont/iconfont-menu.woff
Binary file not shown.
Binary file added images/iconfont/iconfont.ttf
Binary file not shown.
Binary file added images/iconfont/iconfont.woff
Binary file not shown.
Binary file added images/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/slide1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/slide2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/slide3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/slide4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./prd/styles/index.css">
<title>index</title>
</head>
<body>

<script type="text/javascript" src="./prd/scripts/index.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions prd/scripts/[email protected]

Large diffs are not rendered by default.

159 changes: 159 additions & 0 deletions prd/styles/[email protected]

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/scripts/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require("./libs/spa.min.js");
require("./views/guide.js");
require('./views/main.js');
require('./libs/swiper-3.4.0.min.js');

//定义初始加载视图
SPA.config({
indexView: 'guide'
});
Loading

0 comments on commit 573511c

Please sign in to comment.