Commit 830c9b66 by 陈超

T

parent f65f0e84
......@@ -34,6 +34,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"></script>
<script src="__THEMEW3G__/js/extension.js" charset="utf-8"></script>
<script>
//全局变量
......
......@@ -53,7 +53,7 @@
<div class="login_input_frame layout_v">
<van-field class="login_input" left-icon="__THEME__/img/account_icon.png" v-model="phone" type="tel" placeholder="请输入手机号"></van-field>
<van-field class="login_input" left-icon="__THEME__/img/pwd_icon.png" v-model="password" type="password" placeholder="请输入6~18位密码"></van-field>
<van-field class="login_input" left-icon="__THEME__/img/pwd_icon.png" v-model="password" type="password" maxlength="18" placeholder="请输入6~18位密码"></van-field>
<div class="van-hairline--bottom" style="transform: scaleY(.5);"></div>
</div>
<div class="layout_h_b login_action_bar">
......@@ -74,14 +74,6 @@
$("#preloader").hide()
});
String.prototype.isMobile = function() {
return (/^1[3|4|5|6|7|8|9]\d{9}$/.test(this));
}
String.prototype.isPwd = function() {
return this.length >= 6 && this.length <= 18
}
new Vue({
el: '#app',
data: function() {
......
......@@ -107,7 +107,7 @@
</div>
</template>
</van-field>
<van-field v-model="password" label="密码" type="password" maxlength="16" placeholder="请输入6~18位密码"></van-field>
<van-field v-model="password" label="密码" type="password" maxlength="18" placeholder="请输入6~18位密码"></van-field>
<div @click="onConfirm" :class="isOk ? 'confirm_button' : 'confirm_button_disable'" style="margin-top: 6.625rem;">
<span>注册并登录</span>
</div>
......@@ -120,18 +120,6 @@
$("#preloader").hide();
})
String.prototype.isMobile = function() {
return (/^1[3|4|5|6|7|8|9]\d{9}$/.test(this));
}
String.prototype.isCode = function() {
return this.length == 4 || this.length == 6
}
String.prototype.isPwd = function() {
return this.length >= 6 && this.length <= 18
}
new Vue({
el: '#app',
data: function() {
......
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