Browse Source

更新请求链接

master
torsenli 3 years ago
parent
commit
a4b610119e
  1. 18
      app.js
  2. 2
      i18n/lang/tr.json
  3. 2
      i18n/lang/zh-CN.json
  4. 2
      i18n/lang/zh-TW.json
  5. 8
      manifest.json
  6. 6
      pages.json
  7. 28
      pages/exchange/contract-history.vue
  8. 6
      pages/exchange/exchange-transaction.vue
  9. 4
      pages/exchange/open-position.vue
  10. 6
      pages/help/index.vue
  11. 2
      pages/income/index.vue

18
app.js

@ -3,21 +3,21 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = {
// ajax地址
baseUrl: 'https://ser.ybgcoins.com',
baseUrl: 'https://ser.xtzcoin.com',
// 图片地址 (暂时无用)
imgUrl: 'https://ser.ybgcoins.com/storage',
imgUrl: 'https://ser.xtzcoin.com/storage',
// socket地址
socketUrl: 'wss://ser.ybgcoins.com/ws1',
socketUrl1: 'wss://ser.ybgcoins.com/ws2',
socketUrl: 'wss://ser.xtzcoin.com/ws1',
socketUrl1: 'wss://ser.xtzcoin.com/ws2',
// pc端地址
pcUrl:'https://www.ybgcoins.com',
pcUrl:'https://www.xtzcoin.com',
// app名称
appName: 'YBGCoins',
appName: 'XTZCoin',
// 版本
version: '1.0.0',
// 移动端地址
mobile: 'https://h5.ybgcoins.com/',
down:"https://h5.ybgcoins.com/download/BTwallets.html"
mobile: 'https://app.xtzcoin.com/',
down:"https://app.xtzcoin.com/download/BTwallets.html"
};
} else { //开发环境
config = {
@ -52,4 +52,4 @@ if (process.env.NODE_ENV == 'production'||true) { //生产环境
// mobile: 'https://h5.7coin.in'
// };
}
export default config;
export default config;

2
i18n/lang/tr.json

@ -787,7 +787,7 @@
"b7": "alışveri onaylayın",
"b8": "satış doğrulaması"
},
"ybgcoins3":{
"xtzcoins3":{
"a0":"Bir miktar dijital para birimine sahip olun",
"a1": "Şarj",
"a2": "Jeton satın al",

2
i18n/lang/zh-CN.json

@ -751,7 +751,7 @@
"a9": "倍数",
"b0": "确定要退出登录吗?",
"b1": "登录或注册",
"b2": "Hi,欢迎使用YbgCoins",
"b2": "Hi,欢迎使用XTZCoin",
"b3": "量",
"b4": "现货指数",
"b5": "合约指数",

2
i18n/lang/zh-TW.json

@ -8,7 +8,7 @@
"using": "支付使用",
"crypto": "加密",
"Why": "你為什麼選擇購買",
"digital": "YBGCOINS的數字貨幣",
"digital": "XTZCoin的數字貨幣",
"believe": "我們相信加密貨幣將一直存在--是一个值得建立的未來同時是一個敞開著并邀請每個人都加入的大門",
"help": "我們幫助你理解貨幣、條款、密集的圖表和市場變化",
"Clarity": "清晰度",

8
manifest.json

@ -1,5 +1,5 @@
{
"name" : "YBGCoins",
"name" : "XTZCoin",
"appid" : "__UNI__FB27865",
"description" : "",
"versionName" : "1.0.0",
@ -7,7 +7,7 @@
"transformPx" : false,
"app-plus" : {
"compatible" : {
"ignoreVersion" : true //trueHBuilderX1.9.0
"ignoreVersion" : true //trueHBuilderX1.9.0
},
"nvueCompiler" : "uni-app",
"compilerVersion" : 3,
@ -112,7 +112,7 @@
"router" : {
"base" : "./"
},
"domain" : "https://h5.ybgcoins.com",
"title" : "YBGCoins"
"domain" : "https://app.xtzcoin.com",
"title" : "XTZCoin"
}
}

6
pages.json

@ -209,12 +209,12 @@
}
,{
"path" : "pages/assets/records",
"style" :
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
@ -222,7 +222,7 @@
"titleNView": false
},
"navigationBarTextStyle": "black",
"navigationBarTitleText": "YbgCoins",
"navigationBarTitleText": "XTZCoin",
"navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#FFFFFF"
},

28
pages/exchange/contract-history.vue

@ -2,13 +2,13 @@
<v-paging :ajax="getHistoryEntrust" class="h-max" ref="vPag">
<template #box="list">
<van-empty v-if="!$list(list).length" description="" />
<!-- @click="showDetail(item)" -->
<div
class="item m-md rounded-sm box-shadow color-dark"
v-for="item in $list(list)"
:key="item.id"
>
<div
class="head d-flex align-center border-b p-x-md p-y-xs justify-between"
@ -56,7 +56,7 @@
<!-- <div class="row d-flex m-y-mini justify-between" v-if="item.profit">
<div class="label fn-sm">{{$t('contract.b4')}}</div>
<div class="color-light">
<v-button type="green-plain" class="m-l-xs rounded-xs" size="mini" plain
:to="{path:'/pages/income/index',query:{
symbol:item.symbol,
@ -69,7 +69,7 @@
position_side: 2,
}}"
>{{$t('contract.c8')}}</v-button>
<v-button type="green-plain" class="m-l-xs rounded-xs" size="mini" plain @click="canvasImage(item)">{{$t('contract.c8')}}</v-button>
</div>
</div> -->
@ -109,7 +109,7 @@
</van-popup>
<van-popup
class="share"
custom-style="width:100%;height:100%;background-color:transparent;padding-top:5%"
custom-style="width:100%;height:100%;background-color:transparent;padding-top:5%"
:show="canvasShow"
@close="canvasShow = false">
<view class="canvas" >
@ -184,7 +184,7 @@ export default {
arr.push(res)
}
})
var share_imgs=arr[Math.round(Math.random()*arr.length)];
if(!share_imgs||!this.detail){
this.$toast(this.$t('recharge.a6'))
@ -198,7 +198,7 @@ export default {
windowWidth=res.windowWidth
}
});
let myCanvas = uni.createCanvasContext('mycanvas', this);
let myCanvas = uni.createCanvasContext('mycanvas', this);
//
//
myCanvas.drawImage(share_imgs.bg_img,0,0,windowWidth,windowHeight);
@ -210,7 +210,7 @@ export default {
myCanvas.font = '12px Arial';//
myCanvas.fillText('全球合约领跑者',88,windowHeight*0.653);
myCanvas.font = '16px Arial';
myCanvas.fillText('YbgCoins',88,windowHeight*0.63);
myCanvas.fillText('XTZCoin',88,windowHeight*0.63);
myCanvas.font = '14px Arial';
myCanvas.setFillStyle('#717171')
myCanvas.fillText(i.symbol+'/USDT',25,windowHeight*0.53);
@ -220,7 +220,7 @@ export default {
myCanvas.fillText(this.cals(i.side,i.order_type),25,windowHeight*0.555);
myCanvas.fillText(ress.data.price1>1?this.omitTo(ress.data.price1,2):this.omitTo(ress.data.price1,4),uni.getStorageSync('language')=='zh-CN'?windowWidth*0.345:windowWidth*0.33,windowHeight*0.555);
myCanvas.fillText(ress.data.price2>1?this.omitTo(ress.data.price2,2):this.omitTo(ress.data.price2,4),uni.getStorageSync('language')=='zh-CN'?windowWidth*0.605:windowWidth*0.6,windowHeight*0.555);
myCanvas.textAlign = 'center';
myCanvas.setFillStyle('#000000')
myCanvas.font = '25px Arial';
@ -244,7 +244,7 @@ export default {
uni.setStorageSync('person-card',this.imgurl);
},
fail: () => {
}
});
});
@ -271,10 +271,10 @@ export default {
},
saveImage(){
// uni.showActionSheet({
// itemList: [this.$t('common.save')],
// itemList: [this.$t('common.save')],
// success: (res) => {
// if(res.tapIndex == 0){
// }
// },
// fail: function (res) {
@ -295,7 +295,7 @@ export default {
fail: () => {
uni.showToast({
title: this.$t('common.b4'),
duration: 2000
duration: 2000
});
}
});
@ -360,7 +360,7 @@ export default {
myCanvas.width=0
myCanvas.height=0
},
},
mounted() {
// this.generalizeInfo()

6
pages/exchange/exchange-transaction.vue

@ -47,7 +47,7 @@
@click="form.direction = 'sell';
getDefaultPrice();">{{ $t("exchange.c4") }}</view>
</view>
<!-- <v-picker :list="typeList" v-model="form.type" class="p-y-md fn-14">
{{ activeType.label }}
<i class="iconfont" style="margin-left: 5px;">&#xe6e9;</i>
@ -255,7 +255,7 @@
</text>
<text class="m-x-ms fn-15 bor5" @click="list_active=1"
:class="list_active==1?'fn-bold bor5-active color-dark':''">
{{$t("ybgcoins3.a6")}}
{{$t("xtzcoins3.a6")}}
</text>
</view>
<v-link tag="div" to="/pages/exchange/exchangeHis" class="d-flex align-center">
@ -1071,7 +1071,7 @@ export default {
justify-content: space-between;
border-radius: 4px;
margin-bottom: 10px;
.b_s_item{
width: 49%;
position: relative;

4
pages/exchange/open-position.vue

@ -326,7 +326,7 @@
<view class="">{{$t("tzcoins3.a7")}}</view>
<view class=""></view>
</view>
<view class="">{{$t("ybgcoins3.a8")}}</view>
<view class="">{{$t("xtzcoins3.a8")}}</view>
</view>
<view class="p-b-lg">
<view class=" d-flex justify-between align-center p-x-md p-t-md bor5">
@ -1085,7 +1085,7 @@ export default {
myCanvas.font = '12px Arial';//
myCanvas.fillText('全球合约领跑者', 88, windowHeight * 0.653);
myCanvas.font = '16px Arial';
myCanvas.fillText('YbgCoins', 88, windowHeight * 0.63);
myCanvas.fillText('XTZCoin', 88, windowHeight * 0.63);
myCanvas.font = '14px Arial';
myCanvas.setFillStyle('#717171')
myCanvas.fillText(i.pair_name, 25, windowHeight * 0.53);

6
pages/help/index.vue

@ -10,7 +10,7 @@
</view>
</view>
<view class="">
<view class="" style="font-size: 20px;font-weight: bold;padding: 20px 0px 20px 15px;">{{$t("ybgcoins3.a9")}}</view>
<view class="" style="font-size: 20px;font-weight: bold;padding: 20px 0px 20px 15px;">{{$t("xtzcoins3.a9")}}</view>
<view v-for="(parentItem,index2) in list" :key="index2" v-if="tab==index2">
<v-link
tag="div"
@ -48,7 +48,7 @@
</div> -->
</view>
</view>
</main>
</div>
</template>
@ -105,4 +105,4 @@ export default {
/deep/ .van-nav-bar__title{
color: #000;
}
</style>
</style>

2
pages/income/index.vue

@ -98,7 +98,7 @@
<img class="img rounded-3 w-60 w-60" src="static/img/logo.png"/>
<view class="m-l-md">
<view class="fn-bold color-black fn-16">
YBGCoins
XTZCoin
</view>
<view class="fn-6 color-black">
全球合约领跑者

Loading…
Cancel
Save