1
jhzh
2025-06-16 1760942f9204e56032ca93ff1b720bbf966dd495
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<template>
  <v-page class="layout-page">
    <v-header :title="$t('otc.d5')"></v-header>
    <!-- 法币 -->
    <v-paging class="layout-main" :ajax="accountFlow" :data="query">
      <template #box="list">
        <view
          class="item bg-panel-4 m-x-md m-y-xs rounded-sm box-shadow"
          v-for="item in $list(list)"
          :key="item.created_at + item.id"
        >
          <view
            class="head d-flex align-center border-b p-x-md p-y-xs justify-between"
          >
            <view class="d-flex justify-between">
              <view>
                <view class="color-light fn-lg">{{ query.symbol }}</view>
                <view class="fn-10">{{ item.created_at }}</view>
              </view>
            </view>
            <view
              class="fn-md"
              :class="item.amount * 1 < 0 ? 'color-sell' : 'color-buy'"
            >
              {{ item.amount * 1 >= 0 ? "+" : "" }}{{ item.amount * 1 }}
            </view>
          </view>
          <view class="p-x-md p-y-xs color-light">{{ item.log_type_text }}</view>
        </view>
      </template>
    </v-paging>
  </v-page>
</template>
<script>
import Otc from "@/api/otc";
import date from "@/utils/class/date.js";
export default {
  data() {
    return {
      active: 1,
      accountFlow: Otc.otcWalletLogs,
      query: {},
    };
  },
  computed: {
      
  },
  onLoad(query) {
    this.query = query;
  },
  methods: {
    parseTime: date.parseTime,
  },
  created() {
  },
};
</script>
<style lang="scss" scoped>
::v-deep .van-tabs__wrap {
  background-color: $panel-4;
}
</style>