zzzz
2024-04-30 7a57bcc3208f804cde9915d361f1a738a4e88e1d
first
7 files modified
43 ■■■■■ changed files
.env.preview 3 ●●●● patch | view | raw | blame | history
src/page/new-urrency/components/placing-list-index.vue 3 ●●●●● patch | view | raw | blame | history
src/page/new-urrency/components/subscription-list-index.vue 3 ●●●●● patch | view | raw | blame | history
src/page/new-urrency/index.vue 25 ●●●● patch | view | raw | blame | history
src/page/new-urrency/list-urrency.vue 6 ●●●● patch | view | raw | blame | history
src/page/recharge/rechargeList.vue 2 ●●● patch | view | raw | blame | history
src/request/httpAxios.js 1 ●●●● patch | view | raw | blame | history
.env.preview
@@ -6,4 +6,5 @@
VUE_APP_H5ZZ="RZW7c77Hps0IsKQuWLgtTtd2xrhvCU47"
VUE_APP_APPZZ="RwCz3WMecqIhuscZOtpOQSumEdx0XgYQ"
VUE_APP_SECRET="WOrldcoinfeyfy343y831r63rt23hFGegfg32fewrgerg"
VUE_APP_API_BASE_URL=app.usdtone.com
# VUE_APP_API_BASE_URL=app.usdtone.com
VUE_APP_API_BASE_URL=csjys.gayssad.com
src/page/new-urrency/components/placing-list-index.vue
@@ -34,21 +34,18 @@
        </van-col>
      </van-row>
    </van-cell>
    <listUrrency style="margin-top: 50px" :active="2"></listUrrency>
  </div>
</template>
<script>
import { icoNewCurrencygetList } from "@/API/home.api";
import { List, Cell, Dialog, Notify } from "vant";
import listUrrency from "../list-urrency.vue";
export default {
  components: {
    [Dialog.Component.name]: Dialog.Component,
    [List.name]: List,
    [Cell.name]: Cell,
    listUrrency: listUrrency,
  },
  props: ["active"],
  watch: {
src/page/new-urrency/components/subscription-list-index.vue
@@ -34,20 +34,17 @@
        </van-col>
      </van-row>
    </van-cell>
    <listUrrency style="margin-top: 50px" :active="1"></listUrrency>
  </div>
</template>
<script>
import { icoNewCurrencygetList, icoOrderAppAdd } from "@/API/home.api";
import { List, Cell, Dialog, Notify } from "vant";
import listUrrency from "../list-urrency.vue";
export default {
  components: {
    [Dialog.Component.name]: Dialog.Component,
    [List.name]: List,
    [Cell.name]: Cell,
    listUrrency: listUrrency,
  },
  props: ["active"],
  watch: {
src/page/new-urrency/index.vue
@@ -6,11 +6,11 @@
      title="ICO"
      left-arrow
      @click-left="onClickLeft"
      @click-right="$router.push('/list-urrency')"
    >
      <!-- @click-right="$router.push('/list-urrency')" -->
      <!-- <template #right>
      <template #right>
        <van-icon name="todo-list-o" size="20" />
      </template> -->
      </template>
    </van-nav-bar>
    <div class="ico-warp">
      <div class="ex-tabs flex">
@@ -24,6 +24,25 @@
          {{ item.name }}
        </div>
      </div>
      <!-- <template v-if="active !== 0">
        <van-cell v-for="item in showList" :key="item.id">
          <van-row
            align="center"
            type="flex"
            justify="space-between"
            @click="setgoumai(item)"
            class="item-box"
          >
            <van-col span="8">{{ item.newCoinName }}</van-col>
            <van-col span="12">{{ $t("单价:") }}{{ item.issuePrice }}</van-col>
            <van-col span="4">
              <div class="bt">
                {{ item.type === 1 ? $t("认购") : $t("配售") }}
              </div>
            </van-col>
          </van-row>
        </van-cell>
      </template> -->
      <template v-if="active === 1">
        <subscriptionListIndex :active="active" />
src/page/new-urrency/list-urrency.vue
@@ -1,6 +1,6 @@
<template>
  <div>
    <!-- <van-nav-bar
    <van-nav-bar
      :placeholder="true"
      :fixed="true"
      :title="$t('ICO记录')"
@@ -19,7 +19,7 @@
      >
        {{ item.name }}
      </div>
    </div> -->
    </div>
    <template v-if="active === 1">
      <!-- 认购 -->
      <subscriptionList :active="active" />
@@ -37,7 +37,6 @@
export default {
  components: { subscriptionList, placingList },
  mounted() {},
  props: ["active"],
  methods: {
    changeTab(item) {
      this.active = item.id;
@@ -45,6 +44,7 @@
  },
  data() {
    return {
      active: 1,
      listArr: [
        {
          name: this.$t("认购"),
src/page/recharge/rechargeList.vue
@@ -43,7 +43,7 @@
        </div>
        <div
          class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border"
          @click="selectSymbol('trx', 'usdc')"
          @click="selectSymbol('eth', 'usdc')"
        >
          <img src="../../assets/image/symbol/usdc.png" class="w-92 h-92" />
          <div class="text-grey font-26 mt-32">{{ $t("USDC充值") }}</div>
src/request/httpAxios.js
@@ -10,6 +10,7 @@
  "application/x-www-form-urlencoded";
let baseUrl = "https://api.gayssad.com/wap/";
// let baseUrl = "https://csjys.gayssad.com/wap/";
// let baseUrl = "http://192.168.0.105:18080/wap/";
// 创建