底部占位符 + 按钮变好看

This commit is contained in:
limqhz
2022-12-16 18:42:26 +08:00
parent 75f88a420f
commit df370f0844
11 changed files with 22 additions and 9 deletions

View File

@@ -20,6 +20,7 @@
</view>
<t-divider content="✿✿✿---■Quinn■---✿✿✿" />
</view>
<view class="block-position"></view>
</view>
<t-empty wx:if="{{dataEmpty}}" t-class="empty-cls" icon="info-circle-filled" description="暂无纪念日" />
<t-fab icon="add" bind:click="handleClick"></t-fab>

View File

@@ -28,3 +28,6 @@ image{
.countdown {
margin-top: 5rpx;
}
.block-position{
height: 50rpx;
}

View File

@@ -1,6 +1,6 @@
<view class="inputClass">
<t-input label="用户名" placeholder="请输入用户名" maxlength="{{10}}" bindchange="inputChange" data-type='userName' clearable />
<t-input label="输入密码" placeholder="请输入密码" type="password" bindchange="inputChange" data-type='password' clearable />
<t-input label="用户名" placeholder="请输入用户名" bindchange="inputChange" data-type='userName' clearable />
<t-input label="密 码" placeholder="请输入密码" type="password" bindchange="inputChange" data-type='password' clearable />
<t-input placeholder="请输入验证码" bindchange="inputChange" data-type='code' label="验证码">
<view slot="suffix">
<image

View File

@@ -50,7 +50,7 @@ Page({
checkName() {
this.closeDialog();
wx.navigateTo({url:"/pages/register/password/index?name=" + this.data.checkedName})
wx.redirectTo({url:"/pages/register/password/index?name=" + this.data.checkedName})
},
changeCheckEasy() {

View File

@@ -8,6 +8,6 @@
<view class="leaveTop">
<t-result theme="success" title="成功" description="恭喜{{userName}}注册成功!" />
</view>
<view class="leaveTop">
<view class="leaveTop leave-button">
<t-button block theme="danger" bind:tap="toLongin">去登录>>></t-button>
</view>

View File

@@ -1,3 +1,6 @@
.leaveTop{
margin-top: 88rpx;
}
.leave-button{
padding: 20rpx;
}

View File

@@ -9,7 +9,7 @@ Page({
},
toRegister(){
wx.navigateTo({url:"/pages/register/ok/index?name=" + this.data.userName})
wx.redirectTo({url:"/pages/register/ok/index?name=" + this.data.userName})
}
});

View File

@@ -7,9 +7,9 @@
</view>
<view class="leaveTop">
<t-input label="用户名" value="{{userName}}" disabled />
<t-input label="输入密码" placeholder="请输入密码" type="password" bindchange="inputChange" data-type='password' clearable />
<t-input label="重复输入密码" placeholder="请重复输入密码" type="password" bindchange="inputChange" data-type='rePassword' clearable />
<t-input label="设置密码" placeholder="请输入密码" type="password" bindchange="inputChange" data-type='password' clearable />
<t-input label="重复设置" placeholder="请重复输入密码" type="password" bindchange="inputChange" data-type='rePassword' clearable />
</view>
<view class="leaveTop">
<view class="leaveTop leave-button">
<t-button block theme="danger" bind:tap="toRegister">注册</t-button>
</view>

View File

@@ -1,3 +1,6 @@
.leaveTop{
margin-top: 88rpx;
}
.leave-button{
padding: 20rpx;
}

View File

@@ -40,6 +40,7 @@
<t-icon wx:if="{{item.notification}}" name="notification"/>
</view>
</view>
<view class="block-position"></view>
</view>
</scroll>
</swiper-item>

View File

@@ -47,4 +47,6 @@ checkbox {
.checkedBox .t-checkbox__content {
text-decoration:line-through;
}
.block-position{
height: 50rpx;
}