Browse Source

style(member): 修改会员主页样式

tbphp 1 year ago
2 changed files with 7 additions and 3 deletions
  1. 4 2
  2. 3 1

+ 4 - 2

@@ -39,9 +39,11 @@
           <div class="img">
             <img src="__UPLOAD__/{$vo.head|default='default-user.jpg'}-head180" alt="头像">
-          <h2><span>{$}</span>{eq name="vo['recomm']" value="y"}<img src="__IMG__/hot.png" class="hot" />{/eq}</h2>
+          <div class="h">
+            <h2><span>{$}</span>{eq name="vo['recomm']" value="y"}<img src="__IMG__/hot.png" class="hot" />{/eq}</h2>
+          </div>
           <p>{$|default="-"} / {$vo.profession|default="-"}</p>
-          <p>{$vo.sign|default="&nbsp;"}</p>
+          <p class="sign">{$vo.sign|default="&nbsp;"}</p>
         <div class="ct">

+ 3 - 1

@@ -17,9 +17,11 @@
 #ban .info .tx .p{width: 12px;height: 12px;background: #ffe500;border-radius: 50%;position: absolute;right: 0;top: 0;}
 #ban .info .tx .img{width: 140px;height: 140px;position: relative;margin: 0 auto;margin-bottom: 8px;}
 #ban .info .tx img{width: 140px;height: 140px;display: block;border-radius: 50%;}
+#ban .info .tx .h{display: block;height: 24px;overflow: hidden;}
 #ban .info .tx h2{height: 24px;font-size: 18px;font-weight: normal;color: #FFD900;line-height: 24px;display: inline-block;}
 #ban .info .tx h2 span{display: inline;float: left;height: 24px;line-height: 24px;}
 #ban .info .tx h2{width: 20px;height: 20px;margin: 0;display: inline;float: left;margin-top: 2px;margin-left: 4px;}
+#ban .info .tx p.sign{height: 24px;overflow: hidden;text-overflow: ellipsis;}
 #ban .info .ct{text-align: left;color: #898989;padding: 20px 0;border-bottom: 1px solid #898989;line-height: 24px;}
 #ban .info .ct p{height: 24px;}
 #ban .info .ct span{display: inline;float: left;height: 24px;width: 50%;}
@@ -50,7 +52,7 @@
 #ban .info .about{margin-top: 24px;color: #fff;}
 #ban .info .about .tit{height: 18px;background: url('') 4px 0 no-repeat;padding-top: 16px;padding-left: 46px;font-size: 16px;padding-bottom: 12px;border-bottom: 1px solid #898989;margin-bottom: 6px;}
 #ban .info .about .tit b{display: inline;float: left;margin-right: 22px;font-weight: normal;height: 18px;line-height: 18px;color: #fff;}
-#ban .info .about .tit span{font-size: 14px;display: inline;float: left;height: 18px;line-height: 22px;cursor: pointer;}
+#ban .info .about .tit span{font-size: 14px;display: inline;float: left;height: 18px;line-height: 18px;cursor: pointer;}
 #ban .info .about .tit span.hide{display: none;}
 #ban .info .about .tit span em{display: inline;float: right;width: 13px;height: 7px;background: url('') 0 0;margin-top: 8px;margin-left: 5px;}
 #ban .info .about .tit span.hide em{background-position: 0 -7px;}