<template>
  <div class="li">
    <div class="top flex">
      <div class="tag">
        <!-- 资金划转 -->
        {{ $t('inform.l26') }}
      </div>
      <div class="title" v-if="item.content.action == 'TransactionToCash'">
        {{ serverName[item.content.from.server] }}{{ $t('inform.l1') }}
        <!-- 兑换美元钱包账户 -->
      </div>
      <div class="title" v-if="item.content.action == 'CashToTransaction'">
        <!-- 美元钱包账户兑换 -->
        {{ $t('inform.l2') }}{{ serverName[item.content.to.server] }}
      </div>
      <div class="title" v-if="item.content.action == 'FollowToCash'">
        <!-- 跟单账户 -->
        {{ $t('account.l130') }}{{ $t('inform.l1') }}
        <!-- 兑换美元钱包账户 -->
      </div>
      <div class="title" v-if="item.content.action == 'CashToFollow'">
        <!-- 美元钱包账户兑换 跟单账户-->
        {{ $t('inform.l2') }}{{ $t('account.l130') }}
      </div>
    </div>
    <div class="row">
      <!-- 数量 -->
      {{ $t('common.l25') }} {{$numToThousand(item.content.amount)}} USD
    </div>
  </div>
</template>
<script>
export default {
  props: ['item'],
  data () {
    return {
    }
  },
}
</script>
<style lang="less" scoped>
.tag {
  border: 1px solid rgba(19, 187, 83, 0.25);
  color: #13BB53;
}
</style>