Commit c5dc6605 by 冷斌

fix bug

parent 28d40d16
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<li>|</li> <li>|</li>
<li class="on"><a href="javascript:;">注册</a></li> <li class="on"><a href="javascript:;">注册</a></li>
</div> </div>
<if condition="$register_type eq 'all'"> <if condition="$register_type eq 'all'">
<p><a href="javascript:;" onclick="phoneReg(this)">手机注册</a>&nbsp;或者&nbsp;<a href="javascript:;" onclick="emailReg(this)">邮箱注册</a></p> <p><a href="javascript:;" onclick="phoneReg(this)">手机注册</a>&nbsp;或者&nbsp;<a href="javascript:;" onclick="emailReg(this)">邮箱注册</a></p>
</if> </if>
...@@ -96,11 +96,11 @@ ...@@ -96,11 +96,11 @@
</div> </div>
</if> </if>
</div> --> </div> -->
<div id="app"> <div id="app">
<div class="layout_v" style="margin-top: 0.625rem;"> <div class="layout_v" style="margin-top: 0.625rem;">
<van-field v-model="phone" label="手机号" type="number" placeholder="请输入手机号"></van-field> <van-field v-model="phone" label="手机号" type="number" placeholder="请输入手机号"></van-field>
<!-- <van-field v-model="code" label="验证码" type="digit" maxlength="6" placeholder="请输入验证码">--> <van-field v-model="code" label="验证码" type="digit" maxlength="6" placeholder="请输入验证码">
<template #button> <template #button>
<div @click="onSendCode" class="layout_center" :class="valid ? 'button_green' : 'button_disable'"> <div @click="onSendCode" class="layout_center" :class="valid ? 'button_green' : 'button_disable'">
<span class="self_center">{{codeText}}</span> <span class="self_center">{{codeText}}</span>
...@@ -115,11 +115,11 @@ ...@@ -115,11 +115,11 @@
</div> </div>
<script> <script>
$(function(){ $(function(){
$("#preloader").hide(); $("#preloader").hide();
}) })
new Vue({ new Vue({
el: '#app', el: '#app',
data: function() { data: function() {
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
}else{ }else{
call && call() call && call()
} }
} }
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment