7300500e by 杨炀

no message

1 parent 1bc41c24
......@@ -56,7 +56,7 @@
<view class="text-red">忘记密码</view>
</view>
<view class="center-item">
<button class="btn-red">登录</button>
<button @click="login" class="btn-red">登录</button>
</view>
<view class="center-item">
<text class="text-red">没有账号,去注册</text>
......@@ -89,6 +89,12 @@
function changeAgree(item){
item = !item
}
function login(){
let path = '/pages/index/index';
uni.navigateTo({
url: path
});
}
</script>
<style scoped lang="scss">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!