Files

68 lines
1.9 KiB
Vue
Raw Normal View History

2020-03-15 13:59:43 +08:00
<template>
<view class="register absolute">
<view class="shading">
<view class="pictrue acea-row row-center-wrapper">
2020-04-07 19:30:41 +08:00
<image src="@/static/images/logo.png" />
</view>
</view>
<view class="whiteBg">
<view class="title">注册账号</view>
<view class="list">
<view class="item">
<view>
<!-- <svg class="icon" aria-hidden="true">
2020-03-16 01:40:52 +08:00
<use xlink:href="#icon-phone_" />
</svg> -->
2020-03-15 13:59:43 +08:00
<input type="text" placeholder="输入手机号码" />
</view>
</view>
<view class="item">
<view class="align-left">
<!-- <svg class="icon" aria-hidden="true">
2020-03-16 01:40:52 +08:00
<use xlink:href="#icon-code_1" />
</svg> -->
2020-03-15 13:59:43 +08:00
<input type="text" placeholder="填写验证码" class="codeIput" />
<button
class="code"
:disabled="disabled"
:class="disabled === true ? 'on' : ''"
@click="code"
2020-03-16 01:40:52 +08:00
>{{ text }}</button>
</view>
</view>
<view class="item">
<view>
<!-- <svg class="icon" aria-hidden="true">
2020-03-16 01:40:52 +08:00
<use xlink:href="#icon-code_" />
</svg> -->
2020-03-15 13:59:43 +08:00
<input type="text" placeholder="填写您的登录密码" />
</view>
</view>
</view>
<view class="logon">注册</view>
<view class="tip">
2020-03-15 13:59:43 +08:00
已有账号?
<text @click="goLogin()" class="font-color-red">立即登录</text>
</view>
</view>
<view class="bottom"></view>
</view>
2020-03-15 13:59:43 +08:00
</template>
<script>
import sendVerifyCode from "@/mixins/SendVerifyCode";
export default {
name: "Register",
mixins: [sendVerifyCode],
methods: {
code: function() {
this.sendCode();
2020-03-16 01:40:52 +08:00
},
goLogin() {
this.$yrouter.push({ path: "/pages/user/Login/index" });
2020-03-15 13:59:43 +08:00
}
}
};
</script>