Browse Source

修改接口地址

master
liaoxinyu 1 week ago
parent
commit
7ab591a03e
  1. 8
      app.js
  2. 8
      pages/base/home.vue
  3. 2
      pages/exchange/symbol-list.vue

8
app.js

@ -3,12 +3,12 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境 if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = { config = {
// ajax地址 // ajax地址
baseUrl: 'https://seee.iwebcoins.com', baseUrl: 'https://aax.iwebcoinsss.com',
// 图片地址 (暂时无用) // 图片地址 (暂时无用)
imgUrl: 'https://seee.iwebcoins.com/storage', imgUrl: 'https://aax.iwebcoinsss.com/storage',
// socket地址 // socket地址
socketUrl: 'wss://seee.iwebcoins.com/ws1', socketUrl: 'wss://aax.iwebcoinsss.com/ws1',
socketUrl1: 'wss://seee.iwebcoins.com/ws2', socketUrl1: 'wss://aax.iwebcoinsss.com/ws2',
// pc端地址 // pc端地址
pcUrl:'https://www.iwebcoins.com', pcUrl:'https://www.iwebcoins.com',
// app名称 // app名称

8
pages/base/home.vue

@ -246,7 +246,7 @@
<view class="price-info d-flex"> <view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;" <img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" /> v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.iwebcoins.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;" <img src="https://aax.iwebcoinsss.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else /> v-else />
<view class="d-flex">{{ item.coin_name }}</view> <view class="d-flex">{{ item.coin_name }}</view>
</view> </view>
@ -255,7 +255,7 @@
<view class="price-info d-flex"> <view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;" <img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" /> v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.iwebcoins.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;" <img src="https://aax.iwebcoinsss.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else /> v-else />
<view class="d-flex">{{ item.coin_name }}</view> <view class="d-flex">{{ item.coin_name }}</view>
</view> </view>
@ -274,7 +274,7 @@
<view class="price-info d-flex"> <view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;" <img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" /> v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.iwebcoins.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;" <img src="https://aax.iwebcoinsss.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else /> v-else />
<view class="d-flex">{{ item.coin_name }}</view> <view class="d-flex">{{ item.coin_name }}</view>
</view> </view>
@ -283,7 +283,7 @@
<view class="price-info d-flex"> <view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;" <img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" /> v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.iwebcoins.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;" <img src="https://aax.iwebcoinsss.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else /> v-else />
<view class="d-flex">{{ item.coin_name }}</view> <view class="d-flex">{{ item.coin_name }}</view>
</view> </view>

2
pages/exchange/symbol-list.vue

@ -47,7 +47,7 @@
</template> </template>
<template v-else> <template v-else>
<view v-if="heyue==0"> <view v-if="heyue==0">
<img src="https://seee.iwebcoins.com/storage/images/trx.png" width="20" style="margin-right: 2px;" v-if="item.coin_name == 'TRX'" /> <img src="https://aax.iwebcoinsss.com/storage/images/trx.png" width="20" style="margin-right: 2px;" v-if="item.coin_name == 'TRX'" />
<img :src="item.coin_icon" width="20" style="margin-right: 2px;" v-else/> <img :src="item.coin_icon" width="20" style="margin-right: 2px;" v-else/>
</view> </view>
<view v-for="items in Liste" :key="items.symbol" v-else> <view v-for="items in Liste" :key="items.symbol" v-else>

Loading…
Cancel
Save