main
liudan 2 years ago
parent 4e4d1368e7
commit ebff4140cc
  1. 3
      manifest.json
  2. 13
      pages.json
  3. 2
      pages/checkList/checkList.vue
  4. 6
      pages/login/login.vue
  5. 4
      pages/taskList/taskList.vue

@ -9,6 +9,9 @@
"app-plus" : { "app-plus" : {
"usingComponents" : true, "usingComponents" : true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler" : "uni-app",
"statusbar":{
"immersed": false
},
"compilerVersion" : 3, "compilerVersion" : 3,
"splashscreen" : { "splashscreen" : {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender" : true,

@ -8,9 +8,7 @@
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarBackgroundColor":"#FFFFFF", "navigationBarBackgroundColor":"#FFFFFF",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": false
"autoBackButton": false
}
} }
} }
}, },
@ -28,9 +26,7 @@
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarBackgroundColor":"#FFFFFF", "navigationBarBackgroundColor":"#FFFFFF",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": false
"autoBackButton": false
}
} }
} }
}, },
@ -61,8 +57,11 @@
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F7F8FA", "navigationBarBackgroundColor": "#F7F8FA",
"backgroundColor": "#F7F8FA", "backgroundColor": "#F7F8FA",
"navigationStyle":"custom",//
"app-plus": { "app-plus": {
"background": "#efeff4" "background": "#efeff4",
"titleNView": false
} }
}, },
"tabBar": { "tabBar": {

@ -232,7 +232,7 @@
} }
} }
.taskList{ .taskList{
min-height: calc(100vh - 100upx); min-height: calc(100vh);
background-color: #F7F8FA; background-color: #F7F8FA;
.taskItem{ .taskItem{
background: #FFFFFF; background: #FFFFFF;

@ -59,12 +59,12 @@ export default {
title:'登录成功', title:'登录成功',
icon:'none' icon:'none'
}); });
uni.setStorageSync('userToken',res.data.userToken)
// this.$store.commit('login',res.data.userToken)
uni.reLaunch({ uni.reLaunch({
url:'/pages/taskList/taskList' url:'/pages/taskList/taskList'
}) })
uni.setStorageSync('userToken',res.data.userToken)
this.$store.commit('login',res.data.userToken)
}else{ }else{
uni.showToast({ uni.showToast({
title:res.msg, title:res.msg,

@ -79,7 +79,7 @@
}, },
getData(){ getData(){
getTaskList().then(res=>{ getTaskList().then(res=>{
console.log(res,"000")
this.taskList = res.data this.taskList = res.data
}) })
}, },
@ -123,7 +123,7 @@
padding:50upx 70upx; padding:50upx 70upx;
} }
.taskList{ .taskList{
min-height: calc(100vh - 100upx); min-height: calc(100vh);
background-color: #F7F8FA; background-color: #F7F8FA;
.taskItem{ .taskItem{
background: #FFFFFF; background: #FFFFFF;

Loading…
Cancel
Save