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" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"statusbar":{
"immersed": false
},
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,

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

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

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

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

Loading…
Cancel
Save