Browse Source

fix(member): 修改个人签名样式

tbphp 1 year ago
parent
commit
3bd9f2ff53
2 changed files with 2 additions and 2 deletions
  1. 1 1
      application/member/view/index/index.html
  2. 1 1
      public/static/css/center.css

+ 1 - 1
application/member/view/index/index.html

@@ -43,7 +43,7 @@
             <h2><span>{$vo.name}</span>{eq name="vo['recomm']" value="y"}<img src="__IMG__/hot.png" class="hot" />{/eq}</h2>
           </div>
           <p>{$vo.city|default="-"} / {$vo.profession|default="-"}</p>
-          <p class="sign">{$vo.sign|default="&nbsp;"}</p>
+          <p class="sign" {notempty name="vo['sign']"}title="{$vo.sign}"{/notempty}>{$vo.sign|default="&nbsp;"}</p>
         </div>
         <div class="ct">
           <p><span><b>{$vo['look']}</b>人气</span><span><b>{$vo['score']}</b>积分</span></p>

+ 1 - 1
public/static/css/center.css

@@ -21,7 +21,7 @@
 #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 img.hot{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 .tx p.sign{height: 24px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
 #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%;}