diff --git a/pages.json b/pages.json index 8a6d434..111e778 100644 --- a/pages.json +++ b/pages.json @@ -52,5 +52,8 @@ "text": "我的" } ] + }, + "networkTimeout": { + "request": 10000 } } diff --git a/pages/addressList/addressList.vue b/pages/addressList/addressList.vue index 8183fd0..db947bf 100644 --- a/pages/addressList/addressList.vue +++ b/pages/addressList/addressList.vue @@ -1,5 +1,37 @@ @@ -8,9 +40,18 @@ export default { data() { return { + list: [] } }, + onLoad() { + let list = [{}]; + for (let i = 0; i < 5; i++) { + list[i] = {}; + list[i].name = String.fromCharCode(65 + i); + } + this.list = list; + }, methods: { } @@ -18,5 +59,10 @@ diff --git a/pages/index/index.vue b/pages/index/index.vue index ec0ec26..86c7194 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,9 +1,94 @@ @@ -11,7 +96,87 @@ export default { data() { return { - title: 'Hello' + gridCol: 4, + cuIconList: [{ + cuIcon: 'cardboardfill', + color: 'red', + badge: 120, + name: 'VR' + }, { + cuIcon: 'recordfill', + color: 'orange', + badge: 1, + name: '录像' + }, { + cuIcon: 'picfill', + color: 'yellow', + badge: 0, + name: '图像' + }, { + cuIcon: 'noticefill', + color: 'olive', + badge: 22, + name: '通知' + }, { + cuIcon: 'upstagefill', + color: 'cyan', + badge: 0, + name: '排行榜' + }, { + cuIcon: 'clothesfill', + color: 'blue', + badge: 0, + name: '皮肤' + }, { + cuIcon: 'discoverfill', + color: 'purple', + badge: 0, + name: '发现' + }, { + cuIcon: 'questionfill', + color: 'mauve', + badge: 0, + name: '帮助' + }, { + cuIcon: 'commandfill', + color: 'purple', + badge: 0, + name: '问答' + }, { + cuIcon: 'brandfill', + color: 'mauve', + badge: 0, + name: '版权' + }], + swiperList: [{ + id: 0, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg' + }, { + id: 1, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big37006.jpg', + }, { + id: 2, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big39000.jpg' + }, { + id: 3, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg' + }, { + id: 4, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big25011.jpg' + }, { + id: 5, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big21016.jpg' + }, { + id: 6, + type: 'image', + url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big99008.jpg' + }], } }, onLoad() { @@ -24,29 +189,11 @@ diff --git a/pages/my/my.vue b/pages/my/my.vue index 8183fd0..f4428d4 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -1,5 +1,8 @@ diff --git a/static/image/addressList-selected.png b/static/image/addressList-selected.png index 6c4cc0e..4d99130 100644 Binary files a/static/image/addressList-selected.png and b/static/image/addressList-selected.png differ diff --git a/static/image/addressList.png b/static/image/addressList.png index 2dd16ed..1426324 100644 Binary files a/static/image/addressList.png and b/static/image/addressList.png differ