Browse Source

调整登录功能

master
453530270@qq.com 3 years ago
parent
commit
6aeed10d63
  1. 1
      config.js
  2. 8
      pages.json
  3. 22
      pages/findpass/findpass.vue
  4. 19
      pages/login/components/main.vue

1
config.js

@ -11,6 +11,7 @@ module.exports = {
// apiUrl: "http://10.24.4.156/api/",
// product env
// apiUrl: "http://10.24.4.14:80/",
// apiUrl: "http://10.24.4.156/",
apiUrl: "./kk/",
/**

8
pages.json

@ -249,6 +249,14 @@
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/findpass/findpass",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
}
],
"globalStyle": {

22
pages/findpass/findpass.vue

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

19
pages/login/components/main.vue

@ -220,7 +220,20 @@
*/
gotopage(str){
this.$toast(str)
}
},
/**
* 跳转到注册
*/
register(){
this.$navTo("pages/reg/reg")
},
/**
*
*/
findpass(){
this.$navTo("page/findpass/findpass")
},
}
}
@ -313,9 +326,11 @@
padding-right: 32rpx;
text{
display: block;
// display: block;
display: flex;
float: left;
width: 46%;
line-height: 1.4;
}
.findpass{

Loading…
Cancel
Save