Blame view

public/hbs/service/chat/msg.hbs 1.26 KB
陈轩 authored
1
<div class="msg-wrap {{style from}}" data-uuid={{uuid}}>
2
    <img src="{{image avatar 80 80}}" alt="" class="head-icon">
陈轩 authored
3 4 5 6 7
    <div class="chat-info clearfix">
            {{#with data}}
                {{> (lookup .. 'type')}}
            {{/with}}
            <i class="msg-status iconfont"></i>
陈轩 authored
8 9 10 11 12 13
    </div>
</div>


{{!--inline partails--}}
{{#*inline 'order'}}
陈轩 authored
14
  <div class="msg-content msg-order">
陈轩 authored
15
    {{!--<img src="{{imgSrc}}">--}}
zzzzzzz authored
16
    <div class="order-info">
陈轩 authored
17 18 19
        <span class="label">订单号: </span><span>{{orderCode}}</span><br>
        <span class="label">金额: </span><span class="red">{{cost}}</span><br>
        <span class="label">下单时间: </span><span>{{createTime}}</span><br>
陈轩 authored
20
        <span class="label">订单状态: </span><span>{{orderStatus}}</span><br>
陈轩 authored
21 22 23 24 25
    </div>
</div>
{{/inline}}

{{#*inline 'text'}}
陈轩 authored
26 27
    <div class="msg-content msg-txt">
        {{!--{{#sending}}
zzzzzzz authored
28
        <i class="send-status send-loading">!</i>
陈轩 authored
29
        {{/sending}}--}}
陈轩 authored
30
        <div>{{{content}}}</div> 
陈轩 authored
31 32 33 34
    </div>
{{/inline}}

{{#*inline 'picture'}}
陈轩 authored
35
    <div class="msg-content msg-pic">
陈轩 authored
36
            <img src="{{content}}?imageView2/0/q/50" alt=""  class="image chat-image">
陈轩 authored
37 38 39 40 41 42 43 44
    </div>
{{/inline}}

{{#*inline 'voice'}}
    <div class="chat-voice">
        TODO
    </div>
{{/inline}}