diff --git a/pages.json b/pages.json index 22302a5..82e6588 100644 --- a/pages.json +++ b/pages.json @@ -114,6 +114,30 @@ "navigationStyle": "custom" , "navigationBarTextStyle": "white" } + }, + { + "path": "collection", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } + }, + { + "path": "travelList", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } + }, + { + "path": "activeList", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } } ] }], diff --git a/pages/index/cart.vue b/pages/index/cart.vue index a2e6394..a07acbe 100644 --- a/pages/index/cart.vue +++ b/pages/index/cart.vue @@ -13,6 +13,8 @@ :inactiveStyle="{color: '#999', transform: 'scale(1)'}" itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;" > + + @@ -114,6 +116,16 @@ } }, methods: { + travelList() { + uni.navigateTo({ + url: '/pages_my/travelList' + }) + }, + activeList() { + uni.navigateTo({ + url: '/pages_my/activeList' + }) + }, tabs(val) { console.log(val); }, diff --git a/pages/index/center.vue b/pages/index/center.vue index b7e3c3b..0a0cb30 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -90,7 +90,8 @@ }, { src:require('@/static/image/center/line-2.png'), - name:'我的收藏' + name:'我的收藏', + url:'/pages_my/collection' }, { src:require('@/static/image/center/line-3.png'), diff --git a/pages_my/activeList.vue b/pages_my/activeList.vue new file mode 100644 index 0000000..f8dfff1 --- /dev/null +++ b/pages_my/activeList.vue @@ -0,0 +1,242 @@ + + + + \ No newline at end of file diff --git a/pages_my/collection.vue b/pages_my/collection.vue new file mode 100644 index 0000000..5ede9bb --- /dev/null +++ b/pages_my/collection.vue @@ -0,0 +1,109 @@ + + + + \ No newline at end of file diff --git a/pages_my/travelList.vue b/pages_my/travelList.vue new file mode 100644 index 0000000..c9557b0 --- /dev/null +++ b/pages_my/travelList.vue @@ -0,0 +1,236 @@ + + + + \ No newline at end of file diff --git a/static/image/icon.png b/static/image/icon.png new file mode 100644 index 0000000..64bc431 Binary files /dev/null and b/static/image/icon.png differ diff --git a/uni.scss b/uni.scss index d60fa1e..20cf941 100644 --- a/uni.scss +++ b/uni.scss @@ -15,6 +15,7 @@ $uni-color: #A3D250; $uni-color-background: #060504; $uni-color-card-background: #1B1713; +$uni--bg-color-btn: #381615; /* 行为相关颜色 */ $uni-color-primary: #FF4546;