Browse Source

后台会员修改优化

tags/6.3.0
叙述、别离 6 months ago
parent
commit
962426dc60
3 changed files with 10 additions and 7 deletions
  1. +7
    -6
      src/admin/templets/member_edit.htm
  2. +2
    -1
      src/static/web/css/admin.css
  3. +1
    -0
      src/static/web/css/style.css

+ 7
- 6
src/admin/templets/member_edit.htm View File

@@ -21,15 +21,16 @@
</tr>
<?php if ($row['matt']==10) echo '<tr><td colspan="2"><div class="alert alert-info mb-0">该会员关连网站管理员,修改不当会导致无法登录</div></td></tr>';?>
<tr>
<td width="260">头像/账号:</td>
<td>
<span class="mr-1"><?php if ($row['face']!='') {echo "<img src='{$row['face']}' class='user-img-sm'>";};echo "".$row['userid']."";?></span>
<span class="btn btn-outline-success btn-sm"><?php echo GetMemberTypeName($row['rank']);?></span>
<span class="btn btn-outline-warning btn-sm"><?php echo GetHonor($row['scores']);?></span>
<td colspan="2" align="center">
<?php if ($row['face']!='') {echo "<p><img src='{$row['face']}' class='user-img-md m-0'></p>";};echo "<p>".$row['userid']."</p>";?>
<p class="m-0">
<span class="btn btn-outline-success btn-sm"><?php echo GetMemberTypeName($row['rank']);?></span>
<span class="btn btn-outline-warning btn-sm"><?php echo GetHonor($row['scores']);?></span>
</p>
</td>
</tr>
<tr>
<td>昵称:</td>
<td width="260">昵称:</td>
<td><input type="text" name="uname" id="uname" class="admin-input-sm" value="<?php echo $row['uname']?>"></td>
</tr>
<tr>


+ 2
- 1
src/static/web/css/admin.css View File

@@ -109,6 +109,7 @@ body.menu-show .body-right{left:220px;transition:all 0.5s}
.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}
.tips-head p{margin:0;padding-left:10px;line-height:16px;color:#343a40;text-align:left;border-left:3px solid #ff8400}
.tips-body{padding:20px;min-height:160px;color:#6c757d;word-break:break-all;word-wrap:break-word}
.user-img-md{width:60px;height:60px;border-radius:50%;border:1px solid #eee}
.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid #eee}
.thumbnail-md{max-width:200px;max-height:120px}
.thumbnail-sm{max-width:80px;max-height:80px}
@@ -172,5 +173,5 @@ table,input,select,textarea,.login-box,.colordlg,.pubdlg,.quickselitem .topcat,.
}
@media (max-width:768px){
.install-box,.login-from,.tips-box{width:100%}
.tips{padding:0 15px}
.tips{padding:0 1rem}
}

+ 1
- 0
src/static/web/css/style.css View File

@@ -14,6 +14,7 @@ h3,h4{font-size:18px}
h5,h6{font-size:16px}
form.search{display:flex;width:100%}
input[type=file]{padding:0;height:auto;border:0}
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus{width:14px;height:14px;outline:none;box-shadow:none;vertical-align:middle}
.body-bg{background:#f5f5f5}
.carousel-caption{bottom:0}
.carousel-caption h2{color:#fff}


Loading…
Cancel
Save