1
jhzh
2024-08-12 f1dc8f5a7f3a661ce19513a9ad47fe18e3e883ff
src/views/wallet/recharge.vue
@@ -235,7 +235,7 @@
                    <div class="text-center">
                      <el-upload
                        class="avatar-uploader"
                        :action="`${nowUrl}/api/api/uploadFile`"
                        :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
                        accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
                        :show-file-list="false"
                        :on-success="handelDoucumentsFront"
@@ -344,7 +344,7 @@
                        <div class="css-kzcb6r">
                          <div class="css-cp92rp">
                            <div class="css-ig082u">
                              {{ item.createTime }}
                              {{ item.createTime.split(/ +/)[0] + ' ' + initDate(item.createTime.split(/ +/)[1])}}
                            </div>
                          </div>
                          <div class="css-cp92rp">
@@ -424,11 +424,13 @@
import { handleSymbolImg } from "@/utils";
import ListCoins from "@/components/my/listCoins.vue";
import { Plus, CaretBottom, ArrowLeftBold } from "@element-plus/icons-vue";
import {initDate} from "@/utils/utils"
export default {
  components: { Plus, CaretBottom, ListCoins },
  data() {
    return {
      initDate,
      showListcoin: false,
      listTitle: this.$t("message.user.ti24"),
      listOpData: [
@@ -462,7 +464,7 @@
    };
  },
  mounted() {
    this.nowUrl = "https://enjdhdg.site";
    this.nowUrl = "https://https://uni.eypmj.com";
    let spToken = localStorage.getItem("spToken");
    if (spToken) {
      this.getAddress();
@@ -474,9 +476,9 @@
    handleSymbolImg,
    //上传付款凭证
    handelDoucumentsFront(res, file) {
      const { path, httpUrl } = res.data;
      this.oneImg = httpUrl;
      this.rechargeImg = path;
      const data = res.data;
      this.oneImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${data}`;
      this.rechargeImg = data;
    },
    onErrorUpload() {
      this.$message.warning(this.$t("message.user.shangchuan3"));
@@ -573,7 +575,7 @@
    //充币
    handleRecharge() {
      if (this.quantity && this.quantity > 0) {
        Axios2.url("api/rechargeBlockchain/recharge", {
        Axios2.url("/wap/api/rechargeBlockchain!recharge.action", {
          session_token: this.session_token,
          amount: this.quantity,
          from: this.address,