Commit 9a824235 by liangjianmin

css

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