diff --git a/components/CustomNavbar/navbar.vue b/components/CustomNavbar/navbar.vue new file mode 100644 index 0000000..8131279 --- /dev/null +++ b/components/CustomNavbar/navbar.vue @@ -0,0 +1,75 @@ + + + + + \ No newline at end of file diff --git a/components/CustomTabbar/custom_tabbar.vue b/components/CustomTabbar/custom_tabbar.vue new file mode 100644 index 0000000..e5992a0 --- /dev/null +++ b/components/CustomTabbar/custom_tabbar.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/components/empty/empty.vue b/components/empty/empty.vue new file mode 100644 index 0000000..2844341 --- /dev/null +++ b/components/empty/empty.vue @@ -0,0 +1,123 @@ + + + + + \ No newline at end of file diff --git a/main.js b/main.js index e8b1a4a..f946261 100644 --- a/main.js +++ b/main.js @@ -10,6 +10,7 @@ import uView from '@/uni_modules/uview-ui' // Vue.component('mescroll-body', MescrollBody) // Vue.component('mescroll-uni', MescrollUni) +import empty from '@/components/empty/empty.vue' function navTo(url, needLogin) { console.log(url) if(needLogin) { @@ -41,6 +42,7 @@ Vue.component('jl-button', JlButton) Vue.component('jl-form', JlForm) Vue.component('jl-form-item', JlFormItem) Vue.component('cs-button', CSButton) +Vue.component('empty', empty) Vue.prototype.$api = { msg } Vue.prototype.navTo = navTo diff --git a/manifest.json b/manifest.json index c39da44..d8c963f 100644 --- a/manifest.json +++ b/manifest.json @@ -71,6 +71,10 @@ } } }, - "template" : "index.html" + "template" : "index.html", + "router" : { + "base" : "./", + "mode" : "hash" + } } } diff --git a/pages.json b/pages.json index c6304b6..0318ad2 100644 --- a/pages.json +++ b/pages.json @@ -229,6 +229,33 @@ "navigationBarTitleText" : "个人招工", "enablePullDownRefresh" : false } + }, + { + "path" : "pages/recruit/subPage/index", + "style" : + { + "navigationBarTitleText" : "招工列表", + "enablePullDownRefresh" : false, + "navigationStyle": "custom" + } + }, + { + "path" : "pages/recruit/subPage/MessageList", + "style" : + { + "navigationBarTitleText" : "消息", + "enablePullDownRefresh" : false, + "navigationStyle": "custom" + } + }, + { + "path" : "pages/recruit/subPage/recruit", + "style" : + { + "navigationBarTitleText" : "发布招工", + "enablePullDownRefresh" : false, + "navigationStyle": "custom" + } } ], "subPackages": [{ diff --git a/pages/recruit/recruit.vue b/pages/recruit/recruit.vue index 818d94c..c4b4bf6 100644 --- a/pages/recruit/recruit.vue +++ b/pages/recruit/recruit.vue @@ -2,7 +2,7 @@ 请选择 您是个人招工还是企业招工 - + 个人招工 diff --git a/pages/recruit/subPage/MessageList.vue b/pages/recruit/subPage/MessageList.vue new file mode 100644 index 0000000..91e5892 --- /dev/null +++ b/pages/recruit/subPage/MessageList.vue @@ -0,0 +1,31 @@ + + + + + \ No newline at end of file diff --git a/pages/recruit/subPage/index.vue b/pages/recruit/subPage/index.vue new file mode 100644 index 0000000..d3a7402 --- /dev/null +++ b/pages/recruit/subPage/index.vue @@ -0,0 +1,68 @@ + + + + + \ No newline at end of file diff --git a/pages/recruit/subPage/recruit.vue b/pages/recruit/subPage/recruit.vue new file mode 100644 index 0000000..f0f9c40 --- /dev/null +++ b/pages/recruit/subPage/recruit.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/static/img/Empty.png b/static/img/Empty.png new file mode 100644 index 0000000..4b52528 Binary files /dev/null and b/static/img/Empty.png differ diff --git a/static/img/tabbar/activeNews.png b/static/img/tabbar/activeNews.png new file mode 100644 index 0000000..66bd695 Binary files /dev/null and b/static/img/tabbar/activeNews.png differ diff --git a/static/img/tabbar/activeRecruit.png b/static/img/tabbar/activeRecruit.png new file mode 100644 index 0000000..90f2cf5 Binary files /dev/null and b/static/img/tabbar/activeRecruit.png differ diff --git a/static/img/tabbar/avtiveList.png b/static/img/tabbar/avtiveList.png new file mode 100644 index 0000000..99e30c2 Binary files /dev/null and b/static/img/tabbar/avtiveList.png differ diff --git a/static/img/tabbar/list.png b/static/img/tabbar/list.png new file mode 100644 index 0000000..075f673 Binary files /dev/null and b/static/img/tabbar/list.png differ diff --git a/static/img/tabbar/news.png b/static/img/tabbar/news.png new file mode 100644 index 0000000..7e66cf7 Binary files /dev/null and b/static/img/tabbar/news.png differ diff --git a/static/img/tabbar/recruit.png b/static/img/tabbar/recruit.png new file mode 100644 index 0000000..8456dcf Binary files /dev/null and b/static/img/tabbar/recruit.png differ