diff --git a/project.config.json b/project.config.json
index dbc7621..6949d02 100644
--- a/project.config.json
+++ b/project.config.json
@@ -1,11 +1,12 @@
{
"description": "A WePY project",
"setting": {
- "urlCheck": true,
+ "urlCheck": false,
"es6": false,
"postcss": false,
"minified": false,
- "newFeature": true
+ "newFeature": true,
+ "autoAudits": false
},
"compileType": "miniprogram",
"appid": "wxbf333d56b4de3905",
diff --git a/src/components/recent-game.wpy b/src/components/recent-game.wpy
new file mode 100644
index 0000000..627ef75
--- /dev/null
+++ b/src/components/recent-game.wpy
@@ -0,0 +1,53 @@
+
+
+
+
+ 最近在玩
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index.wpy b/src/pages/index.wpy
index 326eb79..09abed2 100644
--- a/src/pages/index.wpy
+++ b/src/pages/index.wpy
@@ -9,6 +9,7 @@
{{ nickname }}
+
@@ -23,6 +24,7 @@
import base from '../mixins/base';
import tips from '../mixins/tips';
import recordCell from '../components/game-cell';
+ import recentGame from '../components/recent-game';
import zanLoadmore from '../components/zan-loadmore';
export default class Index extends wepy.page {
@@ -34,6 +36,7 @@
components = {
toast: Toast,
recordCell: recordCell,
+ recentGame: recentGame,
zanLoadmore: zanLoadmore
};
@@ -41,6 +44,7 @@
nickname: '加载中',
avatar: '',
records: [],
+ recent_game_list: [],
all_count: 0,
current: 0,
loading: false,
@@ -102,8 +106,74 @@
image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
url: 'http://192.168.100.84:7456/',
id: '001'
- }];
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },{
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ },
+ {
+ title: '超级玛丽(日版)',
+ content: '《超级马里奥兄弟》又名《超级玛丽兄弟》,是任天堂于1985年出品的著名横版过关游戏,作为1983年游...',
+ image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg',
+ url: 'http://192.168.100.84:7456/',
+ id: '001'
+ }
+ ];
+ this.recent_game_list = [
+ {image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg'},
+ {image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg'},
+ {image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg'},
+ {image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg'},
+ {image: 'http://pub.hoh8.cn/files/game/fc/7002058/icon.jpg'}
+ ];
this.records = records;
+ this.$apply();
+ this.noData = false;
+ this.noMore = true;
}
}