|
@@ -4,11 +4,11 @@
|
|
|
<view class="container">
|
|
|
<view class="login">
|
|
|
<view class="login-title">验证码登录</view>
|
|
|
- <view class="login-input">
|
|
|
- <u--input placeholder="请输入手机号" type="number" v-model="mobile" border="none" shape="circle" clearable></u--input>
|
|
|
+ <view class="login-input pat">
|
|
|
+ <u--input placeholder="请输入手机号" type="number" v-model="mobile" border="none" clearable></u--input>
|
|
|
</view>
|
|
|
<view class="login-input">
|
|
|
- <u-input placeholder="请输入短信验证码" type="number" v-model="code">
|
|
|
+ <u-input placeholder="请输入短信验证码" type="number" v-model="code" clearable>
|
|
|
<template slot="suffix">
|
|
|
<u-code ref="uCode" @change="codeChange" seconds="60" changeText="Xs"></u-code>
|
|
|
<u-button @tap="getCode" :text="tips" type="default" size="mini"></u-button>
|
|
@@ -152,7 +152,6 @@
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
<style lang="scss" scoped>
|
|
|
.container {
|
|
|
height: 100vh;
|
|
@@ -187,6 +186,10 @@
|
|
|
border: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .pat{
|
|
|
+ padding: 10rpx 66rpx;
|
|
|
+ }
|
|
|
|
|
|
/deep/ .u-button {
|
|
|
width: 100%;
|