浏览代码

no message

BF-202210271038\Administrator 1 年之前
父节点
当前提交
fec5fedf30
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. 5 2
      pages/login/register.vue
  2. 3 0
      static/css/common.css

+ 5 - 2
pages/login/register.vue

@@ -7,7 +7,7 @@
             <button class="head-button" open-type="chooseAvatar" @chooseavatar="onChooseAvatar" >
               <image :src="accountData.head_img"  class="head-img"></image>
             </button>
-            <view class="head-text text-color-666 sys-size-24">点击上传头像</view>
+            <view class="head-text text-color-dominant sys-size-24 sys-radius-10">点击上传头像</view>
           </view>
           <view class="input-item  sys-from-background-color sys-radius-30 animate__animated" :class="{'animate__shakeX':shakeNum===1}" >
             <en-input type="nickname" class="login-input" placeholder="请输入昵称"  v-model="accountData.nickname"  ></en-input>
@@ -351,8 +351,11 @@ export default {
       }
 
       .head-text{
-        margin-top: 10rpx;
+        margin: 10rpx auto;
         text-align: center;
+        background-color: rgba(15, 177, 96, 0.1);
+        padding: 10rpx 0;
+        width: 198rpx;
       }
     }
   }

+ 3 - 0
static/css/common.css

@@ -76,6 +76,9 @@
 .sys-radius-16{
     border-radius: 16rpx;
 }
+.sys-radius-10{
+    border-radius: 10rpx;
+}
 .sys-radius-20{
     border-radius: 20rpx;
 }