diff --git a/App.vue b/App.vue
index f40fb27..760453e 100644
--- a/App.vue
+++ b/App.vue
@@ -15,14 +15,14 @@
@import "uview-ui/index.scss";
/*每个页面公共css */
- // page {
- // background-color: #F4F5F7;
- // }
+ page {
+ background-color: #F4F5F7;
+ }
- // .app {
- // width: 100%;
- // height: 100%;
- // text-align: justify;
- // color: #000000;
- // }
-
+ .app {
+ width: 100%;
+ height: 100%;
+ text-align: justify;
+ color: #000000;
+ }
+
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 46cc286..72d5d66 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,8 +10,7 @@
"license": "ISC",
"dependencies": {
"uview-ui": "^1.8.8"
- },
- "devDependencies": {}
+ }
},
"node_modules/uview-ui": {
"version": "1.8.8",
diff --git a/pages.json b/pages.json
index 30e91ef..e4ad754 100644
--- a/pages.json
+++ b/pages.json
@@ -10,26 +10,24 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
// "navigationBarBackgroundColor": "#4ac4ab"
-
+
// "navigationStyle": "custom"
}
},
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
-
{
"path": "pages/homepage/homepage",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "工单"
+ }
+ }, {
+ "path": "pages/index/index",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- }
+ },
+
// {
// "path": "pages/login/login",
// "style": {
@@ -38,12 +36,21 @@
// "navigationStyle": "custom"
// }
// },
-
+ {
+ "path": "pages/myinformation/myinformation",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#4ac4ab"
+
+ // "navigationStyle": "custom"
+ }
+ }
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#26A888",
+ "navigationBarBackgroundColor": "#18CBB3",
"backgroundColor": "#F8F8F8"
},
@@ -51,7 +58,7 @@
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#435950",
- "borderStyle": "black",
+ "borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/homepage/homepage",
@@ -59,7 +66,6 @@
"selectedIconPath": "static/homepage.png",
"text": "首页"
},
-
{
"pagePath": "pages/myinformation/myinformation",
"iconPath": "static/myinformations.png",
diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index 7cadeb5..5ae8826 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -1,7 +1,16 @@
-
- 111
+
+
+
+
+
+
+
+
+
@@ -10,16 +19,130 @@
export default {
data() {
return {
+ tabslist: [{
+ name: '全部工单'
+ }, {
+ name: '我的工单'
+ }, {
+ name: '已完成工单',
+ }],
+ tabscurrent: 0,
+ optionindex: 1,
+ optionname: '待处理',
+ options: [{
+ label: '待处理',
+ value: 1,
+ }, {
+ label: '已完成',
+ value: 2,
+ }],
+ query: {
+ label: '',
+ }
}
},
onLoad() {
-
+
},
methods: {
-
+ tabschange(index) {
+ this.tabscurrent = index;
+ },
+ dropitemchange(e) {
+ this.optionname = this.options.find(m => m.value === e).label
+ console.log(e)
+ },
}
}
\ No newline at end of file
diff --git a/static/sousuo.png b/static/sousuo.png
new file mode 100644
index 0000000..fe3d92b
Binary files /dev/null and b/static/sousuo.png differ