<!--pages/note-detail/index.wxml-->
<view class="sg-container">
  <view class="sg-bold sg-pad sg-white-bg">{{note.name}}</view>
  <view class="sg-pad">
    <view class="sg-gray-color sg-font-xs sg-pad-tb-sm">{{note.created_at}}</view>
    <view class="sg-pad-tb">{{note.content}}</view>
    <out-order-item wx:if="{{note.order.type == 1}}" item="{{note.order}}" role="{{role}}" showDelete="{{false}}"></out-order-item>
    <inner-order-item wx:else item="{{note.order}}" role="{{role}}" showDelete="{{false}}"></inner-order-item>
  </view>
  <van-dialog id="van-dialog" />
</view>