Browse Source

修改接口地址

master
liaoxinyu 1 year ago
parent
commit
9299c14676
  1. 12
      app.js
  2. 2
      manifest.json
  3. 8
      pages/base/home.vue
  4. 2
      pages/exchange/symbol-list.vue
  5. 6
      static/tradingview.html

12
app.js

@ -3,20 +3,20 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = {
// ajax地址
baseUrl: 'https://seee.iwebcoin.com',
baseUrl: 'https://seee.iwebcoins.com',
// 图片地址 (暂时无用)
imgUrl: 'https://seee.iwebcoin.com/storage',
imgUrl: 'https://seee.iwebcoins.com/storage',
// socket地址
socketUrl: 'wss://seee.iwebcoin.com/ws1',
socketUrl1: 'wss://seee.iwebcoin.com/ws2',
socketUrl: 'wss://seee.iwebcoins.com/ws1',
socketUrl1: 'wss://seee.iwebcoins.com/ws2',
// pc端地址
pcUrl:'https://www.iwebcoin.com',
pcUrl:'https://www.iwebcoins.com',
// app名称
appName: 'Iwebcoin',
// 版本
version: '1.0.0',
// 移动端地址
mobile: 'https://app.iwebcoin.com',
mobile: 'https://app.iwebcoins.com',
down:"https://app.iwebcoin.com/download/Iwebcoin.html"
};
} else { //开发环境

2
manifest.json

@ -1,6 +1,6 @@
{
"name" : "Iwebcoin",
"appid" : "__UNI__D31CE01",
"appid" : "__UNI__5301D72",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : 100,

8
pages/base/home.vue

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

2
pages/exchange/symbol-list.vue

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

6
static/tradingview.html

@ -22,9 +22,9 @@
<body>
<div class="tradingview" id="tradingview_10798345"></div>
</body>
<script src="https://www.iwebcoin.com/newlink/mobile/jquery3_5_1.min.js"></script>
<script src="https://www.iwebcoin.com/newlink/mobile/pako1_0_9.min.js"></script>
<script src="https://www.iwebcoin.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="https://www.iwebcoins.com/newlink/mobile/jquery3_5_1.min.js"></script>
<script src="https://www.iwebcoins.com/newlink/mobile/pako1_0_9.min.js"></script>
<script src="https://www.iwebcoins.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="./chart_main/charting_library.min.js"></script>
<script src="./chart_main/ws.js"></script>
<script src="./chart_main/sevencoin.js?v=3"></script>

Loading…
Cancel
Save