jhzh
2025-08-27 ef2e2e3f9c6d37cc47b14ce0444fb75e6aa19dd1
src/page/user/compontents/cash-list.vue
@@ -15,9 +15,36 @@
            <div class="order-title">
              <span class="main"> {{ $t("hjtxyhk") }} </span>
              <span class="payNumber"
                >{{ $USD }}{{ item.withAmt | _toLocaleString }}</span
                >{{ $USD }}{{ item.withAmt  }}</span
              >
              <span class="red pull-right">
              <span v-if="item.withStatus!=1" class="red pull-right">
                {{
                  item.withStatus == 1
                    ? $t("hjtxcg")
                    : item.withStatus == 2
                    ? $t("hjtxsb")
                    : item.withStatus == 3
                    ? $t("hjddqx")
                    : $t("hjshz")
                }}
                <i
                  v-if="item.withStatus == 1"
                  class="iconfont icon-tongguo4 animated bounceIn"
                ></i>
                <i
                  v-if="item.withStatus == 0"
                  class="iconfont icon-dengdai animated bounceInDown"
                ></i>
                <i
                  v-if="item.withStatus == 2"
                  class="iconfont icon-failure animated bounceInDown"
                ></i>
                <i
                  v-if="item.withStatus == 3"
                  class="iconfont icon-iconfontweitongguo animated bounceInDown"
                ></i>
              </span>
              <span v-if="item.withStatus==1" class="green pull-right" >
                {{
                  item.withStatus == 1
                    ? $t("hjtxcg")
@@ -51,7 +78,7 @@
                <span class="col-xs-6">
                  {{ $t("hj44") }}:
                  <b class="space">
                    {{ $USD }} {{ item.withFee | _toLocaleString }}
                    {{ $USD }} {{ item.withFee  }}
                  </b>
                </span>
                <!-- <span class="col-xs-6">实际到账金额:<b class="space" style="font-size:0.26rem">{{item.withAmt - item.withFee}}</b>元</span>                         -->
@@ -85,19 +112,17 @@
              <p class="clearfix">
                <span class="secondary col-xs-6"
                  >{{ $t("sj") }}:
                  <b v-if="item.applyTime">{{
                    item.applyTime
                  }}</b>
                  <b v-if="item.applyTime">{{ formatTimestamp(item.applyTime) }}</b>
                  <b v-else></b>
                </span>
              </p>
            </div>
            <div v-if="item.withStatus == 0" class="order-foot clearfix">
            <!-- <div v-if="item.withStatus == 0" class="order-foot clearfix">
              <div @click="cancle(item.id)" class="foot-btn">
                <i class="font-icon"></i>
                {{ $t("hjqxtx") }}
              </div>
            </div>
            </div> -->
          </div>
          <!-- <div class="capital">
              <div class="pro">
@@ -145,6 +170,20 @@
    this.getListDetail();
  },
  methods: {
    formatTimestamp(timestamp) {
      const date = new Date(timestamp);  // 将时间戳转换为 Date 对象
      const day = date.getDate();        // 日期
      const month = date.getMonth() + 1; // 月份(从 0 开始,所以下标要加 1)
      const year = date.getFullYear();   // 年份
      const hours = date.getHours();     // 小时
      const minutes = date.getMinutes(); // 分钟
      const seconds = date.getSeconds(); // 秒钟
      // 格式化为 "日月年/时分秒" 格式
      return `${year}${this.$t('年')}${month}${this.$t('月')}${day}${this.$t('日')}/${hours}:${minutes}:${seconds}`;
      // return `${month}`;
    },
    async getListDetail() {
      let opt = {
        withStatus: "", // 提现状态 0已提交,1转账成功,2转账失败
@@ -192,6 +231,7 @@
<style lang="less" scoped>
.wrapper {
  background-color: #fff !important;
  height: 95vh;
}
.payNumber {