Browse Source

增加存入资金和客服页面

master
liaoxinyu 2 years ago
parent
commit
77e0ae8c61
  1. BIN
      assets/img/home/copy.png
  2. BIN
      assets/img/home/cunr.png
  3. BIN
      assets/img/home/service1.png
  4. BIN
      assets/img/home/service2.png
  5. 1702
      i18n/lang/de.json
  6. 32
      i18n/lang/en.json
  7. 1700
      i18n/lang/fra.json
  8. 1702
      i18n/lang/it.json
  9. 1702
      i18n/lang/jp.json
  10. 1698
      i18n/lang/kor.json
  11. 1698
      i18n/lang/pt.json
  12. 1702
      i18n/lang/spa.json
  13. 1698
      i18n/lang/tr.json
  14. 112
      i18n/lang/zh-TW.json
  15. 6
      pages.json
  16. 66
      pages/base/mine.vue
  17. 208
      pages/deposit/deposit.vue
  18. 40
      pages/oncs/onservice.vue

BIN
assets/img/home/copy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

BIN
assets/img/home/cunr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/img/home/service1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/img/home/service2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

1702
i18n/lang/de.json

File diff suppressed because it is too large

32
i18n/lang/en.json

@ -29,7 +29,7 @@
"Start": "Start trading",
"Sell": "Sell, buy or copy deals to explore more",
"Create": "Create infinite possibilities Scan the code to download the trading software for mobile APP trading",
"Rights":"©2022 BingX Exchange All Rights Reserved",
"Rights": "©2022 BingX Exchange All Rights Reserved",
"Beginners Guide": "Beginners Guide",
"Trading Strategy": "Trading Strategy",
"Industry Research": "Industry Research",
@ -53,7 +53,7 @@
"confirm": "Confirm",
"date": "Date",
"detail": "Detail",
"email": "Mailbox",
"email": "Email",
"enter": "Please enter",
"error": "Failed",
"getCode": "Get Verification Code",
@ -849,7 +849,27 @@
"b7": "Confirm purchase",
"b8": "Confirm sale"
},
"shou":{
"service": {
"a0": "Deposit funds",
"a1": "Deposit funds to the receiving account",
"a2": "Confirm deposit information",
"a3": "Deposit amount",
"a4": "Deposit quantity",
"a5": "Reference exchange rate",
"a6": "Please copy the information below and fill it in the bank of the receiving account.",
"a7": "Deposit amount",
"a8": "Transfer to the receiving account.",
"a9": "Receiving account number",
"a10": "Receiving bank name",
"a11": "Receipient name",
"a12": "After the transfer is completed, please keep the transfer voucher, upload the deposit voucher and notify the recipient",
"a13": "Transfer voucher",
"a14": "Voucher must include",
"a15": "Notify the recipient",
"a16": "Please contact the platform customer service to obtain a dedicated receiving account.",
"a17": "Customer Service "
},
"shou": {
"a0": "Recharge the account",
"a1": "Add cryptocurrency funds to your wallet",
"a2": "And start trading immediately",
@ -883,7 +903,7 @@
"a30": "Simple and convenient trading of encrypted assets",
"a31": "The product is easy to understand, the transaction process is convenient, and the one-stop blockchain asset service platform",
"a32": "Based on user experience, provide pleasant encryption service experience",
"a33":"Serving global multilingual regions, becoming a gateway for all users to enter the encrypted world",
"a33": "Serving global multilingual regions, becoming a gateway for all users to enter the encrypted world",
"a34": "Safety and stability with zero accidents",
"a35": "Multiple security strategy guarantees, 100% reserve fund guarantee, no security incidents have occurred since its establishment",
"a36": "Optimal transaction fee rate",
@ -892,7 +912,7 @@
"a39": "Quickly understand the digital asset transaction process",
"a40": "earn income immediately",
"a41": "Click to go",
"a42": "BIGTcoins Cryptocurrency Trading Platform - Designed for Everyone",
"a43": "Start the encryption journey"
"a42": "BIGTcoins Cryptocurrency Trading Platform - Designed for Everyone",
"a43": "Start the encryption journey"
}
}

1700
i18n/lang/fra.json

File diff suppressed because it is too large

1702
i18n/lang/it.json

File diff suppressed because it is too large

1702
i18n/lang/jp.json

File diff suppressed because it is too large

1698
i18n/lang/kor.json

File diff suppressed because it is too large

1698
i18n/lang/pt.json

File diff suppressed because it is too large

1702
i18n/lang/spa.json

File diff suppressed because it is too large

1698
i18n/lang/tr.json

File diff suppressed because it is too large

112
i18n/lang/zh-TW.json

@ -847,50 +847,70 @@
"b7": "確認購買",
"b8": "確認出售"
},
"shou":{
"service": {
"a0": "存入資金",
"a1": "存入款項至收款帳戶",
"a2": "存入資金資料確認",
"a3": "存入金額",
"a4": "存入數量",
"a5": "參考匯率",
"a6": "請複製下方資料填入收款帳戶的銀行。",
"a7": "存入金額",
"a8": "轉至收款帳戶。",
"a9": "收款帳號",
"a10": "收款銀行名稱",
"a11": "收款人名稱",
"a12": "轉帳完成後請保留轉帳憑證,上傳存入憑證並通知收款",
"a13": "轉帳憑證",
"a14": "憑證需包含",
"a15": "通知收款",
"a16": "請聯絡平台客服取得專屬收款帳戶。",
"a17": "客服"
},
"shou": {
"a0": "向賬戶充值",
"a1": "將加密貨幣資金添加到您的錢包",
"a2": "並立即開始交易",
"a3": "立即充值",
"a4": "全球數字資產交易平臺",
"a5": "讓加密資產交易更簡單",
"a6": "立即注冊",
"a7": "數字資產行情速遞",
"a8": "市場趨勢",
"a9": "幣種",
"a10":"最新價(USD)",
"a11":"24h漲幅",
"a12":"24h成交量",
"a13":"Top 10",
"a14":"5 million+",
"a15":"< 0.10%",
"a16":"200+",
"a17":"Global Ranking",
"a18":"users trust us",
"a19":"Ultra-Low Fees",
"a20":"Countries",
"a21":"多終端支持",
"a22":"隨時隨地交易數字資產",
"a23":"支持豐富的資產種類,幣種信息一應俱全",
"a24":"APP Store",
"a25":"Android APK",
"a26":"掃碼下載APP",
"a27":"iOS & Android",
"a28":"為何選擇BIGTcoins.com?",
"a29":"竭力為多個國家提供數字資產交易服務",
"a30":"簡單便捷交易加密資產",
"a31":"產品簡單易懂、交易流程便捷,一站式區塊鏈資產服務平臺",
"a32":"以用戶體驗為本,提供愉悅的加密服務體驗",
"a33":"服務全球多語言地區,成爲所有用戶進入加密世界的網關",
"a34":"安全穩定零事故",
"a35":"多重安全策略保障、100%備用金保證,成立至今未發生安全事故",
"a36":"最優的交易費率",
"a37":"優惠的交易費率,富有競爭力的VIP權益,享受最有品質的服務",
"a38":"新手指引",
"a39":"快速瞭解數字資產交易流程",
"a40":"立即賺取收益",
"a41":"點擊前往",
"a42":"BIGTcoins 加密貨幣交易平台 - 為每個人而設計",
"a43":"開啟加密之旅"
}
}
"a1": "將加密貨幣資金添加到您的錢包",
"a2": "並立即開始交易",
"a3": "立即充值",
"a4": "全球數字資產交易平臺",
"a5": "讓加密資產交易更簡單",
"a6": "立即注冊",
"a7": "數字資產行情速遞",
"a8": "市場趨勢",
"a9": "幣種",
"a10": "最新價(USD)",
"a11": "24h漲幅",
"a12": "24h成交量",
"a13": "Top 10",
"a14": "5 million+",
"a15": "< 0.10%",
"a16": "200+",
"a17": "Global Ranking",
"a18": "users trust us",
"a19": "Ultra-Low Fees",
"a20": "Countries",
"a21": "多終端支持",
"a22": "隨時隨地交易數字資產",
"a23": "支持豐富的資產種類,幣種信息一應俱全",
"a24": "APP Store",
"a25": "Android APK",
"a26": "掃碼下載APP",
"a27": "iOS & Android",
"a28": "為何選擇BIGTcoins.com?",
"a29": "竭力為多個國家提供數字資產交易服務",
"a30": "簡單便捷交易加密資產",
"a31": "產品簡單易懂、交易流程便捷,一站式區塊鏈資產服務平臺",
"a32": "以用戶體驗為本,提供愉悅的加密服務體驗",
"a33": "服務全球多語言地區,成爲所有用戶進入加密世界的網關",
"a34": "安全穩定零事故",
"a35": "多重安全策略保障、100%備用金保證,成立至今未發生安全事故",
"a36": "最優的交易費率",
"a37": "優惠的交易費率,富有競爭力的VIP權益,享受最有品質的服務",
"a38": "新手指引",
"a39": "快速瞭解數字資產交易流程",
"a40": "立即賺取收益",
"a41": "點擊前往",
"a42": "BIGTcoins 加密貨幣交易平台 - 為每個人而設計",
"a43": "開啟加密之旅"
}
}

6
pages.json

@ -173,6 +173,12 @@
{
"path": "pages/service/service"
},
{
"path" : "pages/deposit/deposit"
},
{
"path" : "pages/oncs/onservice"
},
{
"path": "pages/service/index",
"style": {

66
pages/base/mine.vue

@ -21,49 +21,39 @@
</view>
<view class="m-t-ms p-b-ms w-max " style="margin-top: 10px">
<view class="d-flex justify-between align-center rounded-lg">
<v-link tag="view" to="/pages/assets/recharge" v-if="user_auth_level==1" @click="getAuthInfo"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<view class="d-flex justify-between rounded-lg">
<v-link tag="view" to="/pages/assets/recharge" v-if="user_auth_level==1" @click="getAuthInfo" class="bg-form-panel-3 align-center p-y-xxs w-33 justify-center shadow-panel-4">
<!-- :class="tabActive==0?'color-theme-1 bg-panel-3 rounded-xs shadow-panel-nei':''" -->
<view class="m-r-xs d-flex align-center">
<view class="text-center">
<img src="static/img/13.png" alt="" class="h-25"/>
</view>
<text class="color-light fn-middle fn-ms">{{
$t("base.b5")
}}
</text>
<view class="color-light fn-middle fn-ms text-center">{{$t("base.b5")}}</view>
</v-link>
<v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo" class="bg-form-panel-3 align-center p-y-xxs w-33 justify-center shadow-panel-4">
<!-- :class="tabActive==0?'color-theme-1 bg-panel-3 rounded-xs shadow-panel-nei':''" -->
<view class="m-r-xs d-flex align-center">
<view class="text-center">
<img src="static/img/13.png" alt="" class="h-25"/>
</view>
<text class="color-light fn-middle fn-ms">{{
$t("base.b5")
}}
</text>
<view class="color-light fn-middle fn-ms text-center">{{$t("base.b5")}}</view>
</v-link>
<v-link tag="view" to="/pages/assets/draw"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<view class="m-r-xs d-flex align-center">
<v-link tag="view" to="/pages/assets/draw" class="bg-form-panel-3 align-center p-y-xxs w-33 justify-center shadow-panel-4">
<view class="text-center">
<img src="static/img/5.png" alt="" class="h-25"/>
</view>
<text class="color-light fn-ms">{{
$t("base.b6")
}}
</text>
<view class="color-light fn-ms text-center">{{$t("base.b6")}}</view>
</v-link>
<v-link tag="view" to="/pages/transfer/index"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<view class="m-r-xs d-flex align-center">
<v-link tag="view" to="/pages/transfer/index" class="bg-form-panel-3 align-center p-y-xxs w-33 justify-center shadow-panel-4">
<view class="text-center">
<img src="static/img/hua.png" alt="" class="h-25"/>
</view>
<text class="color-light fn-ms">{{
$t("base.d8")
}}
</text>
<view class="color-light fn-ms text-center">{{$t("base.d8")}}</view>
</v-link>
<v-link tag="view" :to="{path: '/pages/deposit/deposit'}" class="bg-form-panel-3 align-center p-y-xxs w-33 justify-center shadow-panel-4">
<view class="text-center">
<img src="@/assets/img/home/cunr.png" alt="" class="h-25"/>
</view>
<view class="color-light fn-ms text-center">{{$t('service.a0')}}</view>
</v-link>
</view>
</view>
</view>
@ -109,7 +99,8 @@
style="position: relative">
<text class="fn-20 d-block color-light m-t-xs">
<!-- {{ filterMoney(account.funds_account_usd) }} -->
{{ (account.funds_account_usd).toFixed(2) }}
<!-- {{ (account.funds_account_usd).toFixed(2) }} -->
{{ omitTo(account.funds_account_usd) }}
</text>
<text class="fn-sm d-block color-gray-6 m-t-xs">{{ $t("base.d6") }}(USDT)</text>
@ -164,7 +155,9 @@
<p class="color-gray-6" style="padding: 5px 0">
{{ $t("base.b9") }}
</p>
<p class="fn-lg color-light overflow-scroll">{{ (item.usable_balance).toFixed(2) }}
<p class="fn-lg color-light overflow-scroll">
<!-- {{ (item.usable_balance).toFixed(2) }} -->
{{ omitTo(item.usable_balance,2) }}
</p>
</view>
<view class="w-4/12 fn-center">
@ -317,7 +310,7 @@ export default {
},
filters: {
priceDecimals(val) {
console.info(val);
// console.info(val);
return (parseFloat(val)).toFixed(2)
}
},
@ -328,9 +321,9 @@ export default {
// this.detail = res.data
this.status = res.data.status
this.user_auth_level = res.data.primary_status
console.log(this.status, '9999')
console.log(res.data, '8888')
console.log(this.user_auth_level, '7777')
// console.log(this.status, '9999')
// console.log(res.data, '8888')
// console.log(this.user_auth_level, '7777')
})
},
onRefresh() {
@ -516,4 +509,7 @@ export default {
background-color: transparent;
padding: 0 10px;
}
.text-center{
text-align: center;
}
</style>

208
pages/deposit/deposit.vue

@ -0,0 +1,208 @@
<template>
<v-page>
<v-header :title="$t('service.a0')"></v-header>
<view class="layout-main" style="background-color: #121212;color: #fff;padding: 0px 15px !important;">
<view class="title1">{{$t('service.a1')}}</view>
<view class="title2">{{$t('service.a2')}}</view>
<view class="title3">{{$t('service.a3')}}</view>
<!-- 存入金额 -->
<v-input placeholder="0.000" v-model="form.amount" class="fn-20" style="background-color: #242424;">
<template #right>
<view class="right_txt">EGP</view>
</template>
</v-input>
<!-- 存入数量 -->
<view class="title3">{{$t('service.a4')}}</view>
<v-input placeholder="0" v-model="form.amount1" class="fn-20" style="border: 1px dashed #414141;background-color: #242424;">
<template #right>
<view class="right_txt" style="color: #d2de8e;">USDT</view>
</template>
</v-input>
<!-- 参考汇率 -->
<view class="flex-text">
<view>{{$t('service.a5')}}</view>
<view>1 EGP 0.0211 USDT</view>
</view>
<view class="banking_box">
<view>{{$t('service.a6')}}</view>
<view class="banking_title2">{{$t('service.a7')}}<span class="banking_span">EGP</span>{{$t('service.a8')}}</view>
<view>
<view class="banking_box1">
<view class="banking_border"></view>
<view class="banking_txt">E-Banking</view>
</view>
<view class="banking_box2">
<view style="color: #717171;">{{$t('service.a9')}}<span style="color: #fff;">**** ****</span></view>
</view>
<view class="banking_box2">
<view style="color: #717171;">{{$t('service.a10')}}<span style="color: #fff;">********</span></view>
</view>
<view class="banking_box2">
<view style="color: #717171;">{{$t('service.a11')}}<span style="color: #fff;">********</span></view>
</view>
</view>
<view class="banking_title3">{{$t('service.a12')}}</view>
</view>
<view style="margin: 20rpx 0rpx;font-size: 30rpx;">{{$t('service.a13')}}</view>
<view @click="getFile('images')" class="upload-box d-flex justify-center align-center rounded-sm bg-panel-3 box-shadow"
style="width: 200rpx;height: 200rpx;">
<van-icon v-if="!form.images" class="color-light fn-30" name="plus"/>
<image v-else :src="form.images" mode="widthFix" style="width: 200rpx;">
</view>
<view style="margin-top: 15px;margin-bottom: 200rpx;">* {{$t('service.a14')}}</view>
</view>
<view class="bot w-max bg-panel-3 p-lg box-size" style="background-color: #121212;">
<van-button class="green w-max m-y-md rounded-xs" block @click="toDraw">{{$t('service.a15')}}</van-button>
</view>
<van-popup :show="show" @close="show=false" closeable close-on-popstate>
<view style="padding: 30rpx 60rpx 0px 60rpx;width: 550rpx;">
<view style="text-align: center;"><image src="@/assets/img/home/service2.png" mode="widthFix" style="width: 100rpx;"></image></view>
<view style="text-align: center;color: #fff;margin: 30rpx 0px;">{{$t('service.a16')}}</view>
<view style="display: flex;justify-content: center;margin-bottom: 20rpx;text-align: center;">
{{$t('service.a17')}}{{$t('common.email')}}: sevice@bigtcoins.com
<!-- <van-button class="green1 m-y-md rounded-xs" style="margin-right: 10rpx;" @click="toservice">{{$t('service.a17')}} 1</van-button> -->
<!-- <van-button class="green1 m-y-md rounded-xs" style="margin-left: 10rpx;" @click="toservice">{{$t('service.a17')}} 2</van-button> -->
</view>
</view>
</van-popup>
</v-page>
</template>
<script>
import Member from "@/api/member";
export default {
data() {
return {
form: {
images: '',
amount:'',
amount1:''
},
show: false
}
},
methods: {
getFile(name) {
this.$getFile({count:9}).then((res) => {
this.upLoadImg(res, name);
})
},
//
upLoadImg(chooseImageRes, name) {
Member.uploadImage(chooseImageRes).then((res) => {
this.form[name] = res.data.url;
this.$toast.success(this.$t('auth.c1'));
});
},
toDraw(){
this.show = true;
},
toservice(){
uni.navigateTo({
url:'/pages/oncs/onservice'
})
}
}
}
</script>
<style lang="scss" scoped>
.title1{
margin-top: 50rpx;
font-weight: bold;
font-size: 45rpx;
}
.title2{
margin-top: 10rpx;
font-weight: bold;
}
.title3{
margin-top: 40rpx;
margin-bottom: 20rpx;
font-weight: bold;
color: #6e6c6d;
}
.right_txt{
height: 80rpx;
font-size: 30rpx;
line-height: 80rpx;
padding-right: 20rpx;
background-color: #242424;
border-radius: 0px 5px 5px 0px;
}
::v-deep uni-input{
border-radius: 5px 0px 0px 5px;
}
.flex-text{
display: flex;
color: #6e6c6d;
font-size: 24rpx;
justify-content: space-between;
margin-top: 10rpx;
}
.banking_box{
margin-top: 45rpx;
border-radius: 10rpx;
padding: 30rpx 20rpx;
background-color: #202020;
.banking_title2{
margin-top: 20rpx;
.banking_span{
color: #d2de8e;
font-weight: bold;
padding-left: 20rpx;
}
}
.banking_box1{
display: flex;
margin-top: 40rpx;
.banking_border{
height: 10px;
margin-top: 10rpx;
border: 1px solid #5479c2;
}
.banking_txt{
font-size: 32rpx;
margin-left: 10rpx;
}
}
.banking_box2{
display: flex;
margin-top: 20rpx;
justify-content: space-between;
}
.banking_title3{
font-size: 26rpx;
margin-top: 50rpx;
}
}
.bot {
position: fixed;
bottom: 0;
}
.green{
::v-deep uni-button {
background: #abbb62;
border:none;
border-radius:5px;
}
::v-deep .van-button__text{
color: #000!important;
}
}
.green1{
::v-deep uni-button {
background: #e7fa93;
border:none;
border-radius:5px;
padding: 0px 60rpx;
}
::v-deep .van-button__text{
color: #000!important;
}
}
</style>

40
pages/oncs/onservice.vue

@ -0,0 +1,40 @@
<template>
<v-page>
<v-header :title="$t('service.a17')"></v-header>
<view class="onsczone">
<web-view src="https://www.google.com/webhp?igu=1" style="margin-top: 3rem;"></web-view>
</view>
</v-page>
</template>
<script>
export default {
data() {
return {
csurl:"https://cs.btcaholic.com/chat/?toid=",
}
},
mounted() {
this.mkcslinks()
},
methods: {
// build
mkcslinks(){
let user = uni.getStorageSync('user')
if(user){
// console.log(user)
let ustr = JSON.parse(user)
// console.log(ustr)
this.csurl += ustr.referrer+"&room_id="+ustr.account;
// console.log("user",this.csurl)
}
}
}
}
</script>
<style lang="less" scoped>
.onsczone{
margin-top: 12rem;
}
</style>
Loading…
Cancel
Save