Commit 9a824235 by liangjianmin

css

parent 2adf481c
......@@ -6,7 +6,7 @@ page {
.logo {
width: 181rpx;
height: 158rpx;
background: url('http://img.ichunt.com/images/ichunt/minProgram/scmMinProgram/662003b7227315cd1089476b71f3589c.png') no-repeat center;
background: url('https://img.ichunt.com/images/ichunt/minProgram/scmMinProgram/662003b7227315cd1089476b71f3589c.png') no-repeat center;
background-size: cover;
margin-bottom: 26rpx;
}
......@@ -32,11 +32,8 @@ page {
color: #197adb;
margin-right: 20rpx;
}
.inp {
.uni-input {
font-size: 28rpx;
&:-ms-input-placeholder {
color: #6e767a;
}
}
&:focus-within {
background: #ffffff;
......@@ -50,6 +47,7 @@ page {
font-size: 28rpx;
color: #ffffff;
margin-top: 40rpx;
letter-spacing: 10rpx;
}
}
.copyright {
......
......@@ -43,7 +43,7 @@
},{
"path": "pages/mine/login",
"style": {
"navigationBarTitleText": "绑定账号"
"navigationBarTitleText": "登录"
}
}],
"globalStyle": {
......
......@@ -5,11 +5,11 @@
<view class="form-box column rowCenter verCenter">
<view class="input-box row verCenter">
<text class="iconfont icon-riqi"></text>
<input type="text" placeholder="请输入登录账号" v-model="account" />
<input type="text" class="uni-input" placeholder="请输入登录账号" v-model="account" placeholder-style="color: #6E767A;"/>
</view>
<view class="input-box row verCenter">
<text class="iconfont icon-a-riqi1"></text>
<input type="password" placeholder="请输入登录密码" v-model="passwd" />
<input type="password" class="uni-input" placeholder="请输入登录密码" v-model="passwd" placeholder-style="color: #6E767A;"/>
</view>
<button class="btn row rowCenter verCenter" @click="submit()">登录</button>
</view>
......@@ -39,7 +39,7 @@ export default {
if (!this.account) {
uni.showToast({
title: '请输入登录账号',
icon: 'none'
icon: 'error'
});
return false;
}
......@@ -47,7 +47,7 @@ export default {
if (!this.passwd) {
uni.showToast({
title: '请输入登录密码',
icon: 'none'
icon: 'error'
});
return false;
}
......@@ -61,7 +61,7 @@ export default {
} else {
uni.showToast({
title: res.err_msg,
icon: 'none'
icon: 'error'
});
}
});
......
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 sign in to comment