<!--{if !empty($data)}-->
<!--{if $data.showtime == '1'}-->
<li class="t_center mt15 mb5">
  <span class="inline_block bg_9 color_f lh20 ptb2 plr15 br3 fz12"><!--{$data.sendtime|date_format:"%m-%d %H:%M:%S"}--></span>
</li>
<!--{/if}-->

<!--{if $data.isvoice == "0"}--> 
  <li class="pr mb10 pr60 t_right cursor" style="min-height:50px;">
    <div class="pa rt">
      <span class="img_40 br50per oh bg_f"><img class="ob_c" src="<!--{$login.info.headimgurl}-->"></span>
      <h3 class="pa t0 fz14 color_9" style="display:none;left:auto;right:60px;">--</h3>
    </div>
    <div class="mine chat_text t_right ml30 color_3 mt5 pr p10 br4 fz14 inline_block" style="background: #caf1c7;min-height:22px;">
      <!--{$data.content|nl2br2}-->
      <!--{if $data.isfree == 0 && $data.sidstatus == 0}-->
        <span class="chs_span" f="but_freesid_tips" data-sid="<!--{$data.bgsid}-->" data-fee="<!--{doubleval($config.free_msgchat_fee)}-->" data-moneyname="<!--{$config.moneyname}-->" style="display:none;"></span>
      <!--{else}-->
        <!--//9.10.22-->
        <!--{if $data.readstatus == '1'}-->
        <span class="fz12 pa color_9 b0" style="left:-35px;right: auto;">已读</span>
        <!--{else}-->
        <span class="fz12 pa color_9 b0" style="left:-35px;right: auto;">未读</span>
        <!--{/if}-->
      <!--{/if}-->
    </div>
  </li>
<!--{else}-->
  <li class="pr mb10 pr60 t_right cursor"style="min-height:50px;">
    <div class="pa rt">
      <span class="img_40 br50per oh bg_f"><img class="ob_c" src="<!--{$login.info.headimgurl}-->" /></span>
      <h3 class="pa t0 fz14 color_9" style="display:none;left:auto;right:60px;">--</h3>
    </div>
    <div class="mine chat_text t_right w100 ml30 color_3 mt5 pr p10 br4 fz14 inline_block" style="background: #caf1c7;min-height:22px;" f="but_change_voice">
      <span class="pa b0 color_9 fz12" style="right:-35px;"><!--{$data.voicelong}-->"</span>
      <img class="w20" src="<!--{$userskin}-->images/yuyin2.svg" /> 
    </div>
  </li>
<!--{/if}-->

<!--{if $data.isfree == 0 && $data.sidstatus == 0}-->
<script type="text/javascript">
$(function(){
    if ($("#help_freelock_box").css("display") == "none") {
        $("#help_freelock_box").show();
    }
});
</script>
<li class="bg_tips t_center plr8 ptb10 br3 fz14" style="display:none;margin:0px 60px;" f="but_freesid_tips" data-sid="<!--{$data.bgsid}-->" data-fee="<!--{doubleval($config.free_msgchat_fee)}-->" data-moneyname="<!--{$config.moneyname}-->">
  <p class="color_f lh20">你与TA的聊天通道未打开，<em class="color_6 cursor" style="text-decoration:underline;">点击此处解锁</em></p>
</li>
<!--{/if}-->

<!--{/if}-->