Browse Source

新增大额支付页面

master
liaoxinyu 1 year ago
parent
commit
64578ecccd
  1. 1
      assets/img/home/cunr.svg
  2. BIN
      assets/img/home/service2.png
  3. 2
      i18n/lang/de.json
  4. 2
      i18n/lang/en.json
  5. 2
      i18n/lang/fra.json
  6. 2
      i18n/lang/it.json
  7. 2
      i18n/lang/jp.json
  8. 2
      i18n/lang/kor.json
  9. 2
      i18n/lang/pt.json
  10. 2
      i18n/lang/spa.json
  11. 2
      i18n/lang/tr.json
  12. 2
      i18n/lang/zh-TW.json
  13. 3
      pages.json
  14. 12
      pages/base/mine.vue
  15. 208
      pages/deposit/deposit.vue

1
assets/img/home/cunr.svg

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1723196278424" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2417" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 53.312c-27.648 0-47.488 17.472-57.984 28.032a173.44 173.44 0 0 0-12.608 14.848c-7.872 9.856-15.872 19.968-26.432 25.6-11.328 5.952-25.472 1.92-37.632-1.536a274.56 274.56 0 0 0-6.272-1.728c-12.736-3.328-32.128-8.32-52.608-5.632a55.168 55.168 0 0 0-29.76 12.16 32.448 32.448 0 0 0-10.88 30.4c1.92 10.944 8.704 19.904 15.36 28.48l38.08 49.024 1.664 2.24c9.28 11.904 18.56 24 30.912 33.024 9.6 7.04 21.824 9.088 33.856 9.088h228.608c11.968 0 24.256-1.984 33.92-9.088 12.224-9.024 21.568-21.12 30.784-33.024l1.728-2.24 38.08-49.024c6.656-8.576 13.44-17.536 15.36-28.48a32.448 32.448 0 0 0-10.88-30.464 55.168 55.168 0 0 0-29.76-12.096c-20.48-2.688-39.872 2.304-52.608 5.632a272 272 0 0 0-6.272 1.728c-12.16 3.456-26.24 7.488-37.632 1.536-10.624-5.632-18.56-15.744-26.432-25.6a173.568 173.568 0 0 0-12.608-14.848C559.36 70.784 539.52 53.312 512 53.312z m402.56 667.52a681.792 681.792 0 0 0-196.224-374.72c-4.288-4.16-6.4-6.208-11.2-9.728a100.544 100.544 0 0 0-38.592-15.552C662.72 320 658.56 320 650.048 320H373.952c-8.448 0-12.672 0-18.56 0.832a100.544 100.544 0 0 0-38.464 15.552c-4.48 3.264-8.384 7.04-12.352 10.88a682.24 682.24 0 0 0-195.072 373.632c-12.16 72.32 15.808 135.872 63.808 180.224 47.552 43.904 114.944 69.568 185.216 69.568h306.944c70.272 0 137.664-25.6 185.216-69.568 48-44.352 75.904-107.84 63.872-180.224zM540.288 503.616v4.864c26.112 6.144 49.472 19.776 64.704 39.808a32 32 0 1 1-50.944 38.72c-6.656-8.832-22.912-18.176-45.76-18.176a65.92 65.92 0 0 0-38.72 11.392c-8.704 6.4-10.88 12.8-10.88 16.832 0 8.448 2.112 10.24 4.416 11.776 4.992 3.328 17.6 7.872 45.184 7.872 31.488 0 61.44 4.288 84.288 19.2 25.6 16.64 36.736 42.944 36.736 72.96 0 33.6-16.512 58.688-41.6 73.728a131.328 131.328 0 0 1-47.36 16.192v3.52a32 32 0 1 1-64 0v-4.352a128.896 128.896 0 0 1-60.48-28.928 32 32 0 1 1 42.688-47.68c9.28 8.32 26.944 15.808 49.728 15.808 21.696 0 37.376-3.968 46.464-9.408 7.232-4.352 10.56-9.344 10.56-18.816 0-12.992-3.712-16.832-7.68-19.456-6.912-4.48-21.44-8.768-49.28-8.768-31.808 0-60.032-4.672-81.024-18.816-23.68-16-32.64-40-32.64-64.832 0-29.184 16.064-52.992 36.864-68.352 12.864-9.472 28.16-16.32 44.8-20.224v-4.864a32 32 0 0 1 64 0z" fill="#333333" p-id="2418"></path></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
assets/img/home/service2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

2
i18n/lang/de.json

@ -876,7 +876,7 @@
"a43": "Beginnen Sie die Verschlüsselungsreise"
},
"service":{
"a0": "Geld einzahlen",
"a0": "Großer Zahlungskanal",
"a1": "Geld auf das Empfangskonto einzahlen",
"a2": "Bestätigung der Einzahlungsinformationen",
"a3": "Einzahlungsbetrag",

2
i18n/lang/en.json

@ -920,7 +920,7 @@
"a43": "Start the encryption journey"
},
"service":{
"a0": "Deposit funds",
"a0": "Large payment channel",
"a1": "Deposit funds to the receiving account",
"a2": "Confirm deposit information",
"a3": "Deposit amount",

2
i18n/lang/fra.json

@ -876,7 +876,7 @@
"a43": "Commencez le voyage de cryptage"
},
"service":{
"a0": "Dépôt de fonds",
"a0": "Grand canal de paiement",
"a1": "Dépôt des fonds sur le compte récepteur",
"a2": "Confirmation des informations sur le fonds de dépôt",
"a3": "Montant du dépôt",

2
i18n/lang/it.json

@ -876,7 +876,7 @@
"a43": "Inizia il viaggio di crittografia"
},
"service":{
"a0": "Depositi fondi",
"a0": "Ampio canale di pagamento",
"a1": "Deposita fondi sul conto ricevente",
"a2": "Conferma delle informazioni sul fondo del deposito",
"a3": "Importo del deposito",

2
i18n/lang/jp.json

@ -876,7 +876,7 @@
"a43": "暗号化への取り組みを始めましょう"
},
"service":{
"a0": "資金を入金",
"a0": "大規模な決済チャネル",
"a1": "受取口座に資金を入金します",
"a2": "入金資金情報確認",
"a3": "入金額",

2
i18n/lang/kor.json

@ -876,7 +876,7 @@
"a43": "암호화 여정 시작"
},
"service":{
"a0": "예금 자금",
"a0": "대규모 결제 채널",
"a1": "수취 계좌에 자금 입금",
"a2": "입금자금정보 확인",
"a3": "입금액",

2
i18n/lang/pt.json

@ -874,7 +874,7 @@
"a43": "Comece a jornada de criptografia"
},
"service":{
"a0": "Depósito de fundos",
"a0": "Grande canal de pagamento",
"a1": "Depositar fundos na conta receptora",
"a2": "Confirmação de informações do fundo de depósito",
"a3": "Valor do depósito",

2
i18n/lang/spa.json

@ -876,7 +876,7 @@
"a43": "Comience el viaje de encriptación"
},
"service":{
"a0": "Depósitos de fondos",
"a0": "Gran canal de pago",
"a1": "Depositar fondos en la cuenta receptora",
"a2": "Confirmación de información del fondo de depósito",
"a3": "Monto del depósito",

2
i18n/lang/tr.json

@ -874,7 +874,7 @@
"a43": "Şifreleme yolculuğuna başlayın"
},
"service":{
"a0": "Para yatır",
"a0": "Geniş ödeme kanalı",
"a1": "Alıcı hesaba para yatırın",
"a2": "Para yatırma fonu bilgileri onayı",
"a3": "Yatırılan tutar",

2
i18n/lang/zh-TW.json

@ -917,7 +917,7 @@
"a43": "開啟加密之旅"
},
"service":{
"a0": "存入資金",
"a0": "大額支付通道",
"a1": "存入款項至收款帳戶",
"a2": "存入資金資料確認",
"a3": "存入金額",

3
pages.json

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

12
pages/base/mine.vue

@ -177,6 +177,18 @@
</view>
</view>
<view>
<v-link tag="view" :to="{path: '/pages/deposit/deposit'}"
style="margin: 20rpx 35rpx;display: flex;padding: 20rpx 20rpx;
justify-content: space-between;align-items: center;border-radius: 20rpx;background-color: #abbb62;">
<view style="display: flex;align-items: center;">
<img src="@/assets/img/home/cunr.svg" alt="" class="h-25"/>
<view class="fn-ms text-center" style="color: #000;margin-left: 20rpx;">{{$t('service.a0')}}</view>
</view>
<view class="" style="color: #000;"> > </view>
</v-link>
</view>
<view class="h-30 p-x-xs d-flex justify-between align-center">
<van-field :value="searchText" @input="searchText = $event.detail" left-icon="search"
:placeholder="$t('base.d9')" input-class="fn-12 "

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')}}: service@mrbcoin.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>
Loading…
Cancel
Save