From 7a57bcc3208f804cde9915d361f1a738a4e88e1d Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 30 Apr 2024 16:54:03 +0800
Subject: [PATCH] first

---
 src/page/new-urrency/components/placing-list-index.vue      |    3 ---
 src/page/recharge/rechargeList.vue                          |    2 +-
 src/page/new-urrency/components/subscription-list-index.vue |    3 ---
 .env.preview                                                |    3 ++-
 src/page/new-urrency/list-urrency.vue                       |    6 +++---
 src/request/httpAxios.js                                    |    1 +
 src/page/new-urrency/index.vue                              |   25 ++++++++++++++++++++++---
 7 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/.env.preview b/.env.preview
index 6c610a9..d0d3edb 100644
--- a/.env.preview
+++ b/.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
diff --git a/src/page/new-urrency/components/placing-list-index.vue b/src/page/new-urrency/components/placing-list-index.vue
index a0601de..f47dac8 100644
--- a/src/page/new-urrency/components/placing-list-index.vue
+++ b/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: {
diff --git a/src/page/new-urrency/components/subscription-list-index.vue b/src/page/new-urrency/components/subscription-list-index.vue
index 2d92cdd..516df35 100644
--- a/src/page/new-urrency/components/subscription-list-index.vue
+++ b/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: {
diff --git a/src/page/new-urrency/index.vue b/src/page/new-urrency/index.vue
index 90db8e0..59c57da 100644
--- a/src/page/new-urrency/index.vue
+++ b/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" />
diff --git a/src/page/new-urrency/list-urrency.vue b/src/page/new-urrency/list-urrency.vue
index b3a02d3..50499af 100644
--- a/src/page/new-urrency/list-urrency.vue
+++ b/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("认购"),
diff --git a/src/page/recharge/rechargeList.vue b/src/page/recharge/rechargeList.vue
index 6f12fee..58dbe3b 100644
--- a/src/page/recharge/rechargeList.vue
+++ b/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>
diff --git a/src/request/httpAxios.js b/src/request/httpAxios.js
index 3edfc01..9fec841 100644
--- a/src/request/httpAxios.js
+++ b/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/";
 
 // 创建

--
Gitblit v1.9.3