diff --git a/JC-Salon-WeChat/pages/login/index.wxml b/JC-Salon-WeChat/pages/login/index.wxml index 314023b0..66c01dee 100644 --- a/JC-Salon-WeChat/pages/login/index.wxml +++ b/JC-Salon-WeChat/pages/login/index.wxml @@ -27,8 +27,9 @@ 验证码 - diff --git a/JC-Salon-WeChat/pages/login/index.wxss b/JC-Salon-WeChat/pages/login/index.wxss index 250506cb..579324fc 100644 --- a/JC-Salon-WeChat/pages/login/index.wxss +++ b/JC-Salon-WeChat/pages/login/index.wxss @@ -84,7 +84,13 @@ color: #6f8f83; font-size: 24rpx; font-weight: 700; - text-align: right; + text-align: center; + white-space: nowrap; +} + +.code-btn.counting { + color: #aaa39a; + font-weight: 500; } .agreement-row, diff --git a/JC-Salon-WeChat/pages/register/index.wxml b/JC-Salon-WeChat/pages/register/index.wxml index a9e67f71..55657d83 100644 --- a/JC-Salon-WeChat/pages/register/index.wxml +++ b/JC-Salon-WeChat/pages/register/index.wxml @@ -7,8 +7,9 @@ 验证码 - diff --git a/JC-Salon-WeChat/pages/register/index.wxss b/JC-Salon-WeChat/pages/register/index.wxss index 170a42a9..4ae8187f 100644 --- a/JC-Salon-WeChat/pages/register/index.wxss +++ b/JC-Salon-WeChat/pages/register/index.wxss @@ -1,11 +1,17 @@ .code-btn { - width: 148rpx; - min-width: 148rpx; - max-width: 148rpx; + width: 180rpx; + min-width: 180rpx; + max-width: 180rpx; height: 56rpx; padding: 0; color: #6f8f83; font-size: 24rpx; font-weight: 700; - text-align: right; + text-align: center; + white-space: nowrap; +} + +.code-btn.counting { + color: #aaa39a; + font-weight: 500; }