PC-20250623MANY\Administrator
2025-09-29 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a
src/page/user/compontents/cash-list.vue
@@ -14,10 +14,37 @@
          <div class="order-info-box">
            <div class="order-title">
              <span class="main"> {{ $t("hjtxyhk") }} </span>
              <span class="payNumber"
                >{{ $USD }}{{ item.withAmt | _toLocaleString }}</span
              >
              <span class="red pull-right">
              <span class="payNumber">{{
                item.withAmt | _toLocaleString
              }}</span>
              <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 }}
                    {{ item.withFee | _toLocaleString }}
                  </b>
                </span>
                <!-- <span class="col-xs-6">实际到账金额:<b class="space" style="font-size:0.26rem">{{item.withAmt - item.withFee}}</b>元</span>                         -->
@@ -85,7 +112,9 @@
              <p class="clearfix">
                <span class="secondary col-xs-6"
                  >{{ $t("sj") }}:
                  <b v-if="item.applyTime">{{ $moment(item.applyTime).format("DD-MM-YYYY hh:mm:ss A") }}</b>
                  <b v-if="item.applyTime">{{
                    $moment(item.applyTime).format("DD-MM-YYYY hh:mm:ss A")
                  }}</b>
                  <b v-else></b>
                </span>
              </p>
@@ -133,7 +162,7 @@
      loading: false,
      list: [],
      pageNum: 1,
      pageSize: 15,
      pageSize: 15
    };
  },
  watch: {},
@@ -147,11 +176,11 @@
      let opt = {
        withStatus: "", // 提现状态 0已提交,1转账成功,2转账失败
        pageNum: this.pageNum,
        pageSize: 15,
        pageSize: 15
      };
      let data = await api.withdrawList(opt);
      if (data.status === 0) {
        data.data.list.forEach((element) => {
        data.data.list.forEach(element => {
          this.list.push(element);
        });
      } else {
@@ -172,7 +201,7 @@
      // 取消提现
      // MessageBox.confirm('您确定要平仓吗?').then(async action => {
      let opt = {
        withId: val,
        withId: val
      };
      let data = await api.canceloutMoney(opt);
      if (data.status === 0) {
@@ -183,14 +212,14 @@
        Toast(data.msg);
      }
      // });
    },
  },
    }
  }
};
</script>
<style lang="less" scoped>
.wrapper {
  background-color: #fff !important;
  height: 95vh;
  // background-color: #fff !important;
  // height: 95vh;
}
.payNumber {