Swanky 2 years ago
parent 57588e7e8e
commit 5282c0b1aa
  1. 4
      manifest.json
  2. 11
      pages/blank/blank.vue
  3. 1
      pages/index/index.vue
  4. 4
      pages/login/login.vue
  5. BIN
      static/blank--.png
  6. BIN
      static/blank.png

@ -2,8 +2,8 @@
"name" : "草原管理", "name" : "草原管理",
"appid" : "__UNI__BBBC950", "appid" : "__UNI__BBBC950",
"description" : "", "description" : "",
"versionName" : "1.0.5", "versionName" : "1.0.6",
"versionCode" : 105, "versionCode" : 106,
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
/* 5+App */ /* 5+App */

@ -1,5 +1,5 @@
<template> <template>
<view> <view class="container" style="opacity: 0.01;">
</view> </view>
</template> </template>
@ -87,5 +87,12 @@
} }
</script> </script>
<style> <style scoped>
.container {
background: url(/static/login-bg.png);
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
</style> </style>

@ -239,6 +239,7 @@
}, },
onShow() { onShow() {
uni.startCompass() uni.startCompass()
console.log('index.show')
}, },
onHide() { onHide() {
uni.stopCompass(); uni.stopCompass();

@ -75,13 +75,13 @@
data: resp.data.data.token, data: resp.data.data.token,
success() { success() {
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/index' url: '/pages/blank/blank'
}) })
} }
}) })
} else { } else {
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/index' url: '/pages/blank/blank'
}) })
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Loading…
Cancel
Save