充值代理 - 增加金币余额展示
This commit is contained in:
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>EParty</title><link href=./static/css/app.416a5fc5206e43a02a8f51ea5a621894.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3a5aade394eb203c2270.js></script><script type=text/javascript src=./static/js/vendor.e47c3a7af2568c53d931.js></script><script type=text/javascript src=./static/js/app.596c5161a8685853f35d.js></script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>EParty</title><link href=./static/css/app.a7027f24fba4c93a54ba8f45ce999cce.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.12b65c1f50e0186dd023.js></script><script type=text/javascript src=./static/js/vendor.e47c3a7af2568c53d931.js></script><script type=text/javascript src=./static/js/app.b90cc115f32252420cc9.js></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"7c6b39669fffb95056bf",1:"1ef3e89183747114288c",2:"a4825d6c0c7642635a4a",3:"03323cbf9a44eb718491",4:"44c137ced9418b3caaef",5:"5c89d5ac1b7c36e8da02"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.12b65c1f50e0186dd023.js.map
|
@@ -23,6 +23,7 @@ const ar = {
|
||||
Sub_List:'قائمة وكلاء إعادة الشحن الفرعيين',
|
||||
Transfer_days:'التحويل خلال الثلاثين يومًا الماضية',
|
||||
Settlement:'مستعمرة:',
|
||||
Coins_balance:'توازن العملات',
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -23,6 +23,7 @@ const en = {
|
||||
Sub_List:'Sub Recharge Agent List',
|
||||
Transfer_days:'Transfer Past 30 days',
|
||||
Settlement:'Settlement:',
|
||||
Coins_balance:'Coins balance',
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -22,7 +22,9 @@ const pt = {
|
||||
Total_Settlement: 'Valor Total em ÜS',
|
||||
Sub_List: 'Lista de Sub Agentes',
|
||||
Transfer_days: 'Transferências (últimos 30 dias)',
|
||||
Settlement: 'Liquidação:'
|
||||
Settlement: 'Liquidação:',
|
||||
Coins_balance:'Equilíbrio de Moedas',
|
||||
|
||||
}
|
||||
}
|
||||
export default pt
|
@@ -23,6 +23,7 @@ const tr = {
|
||||
Sub_List:'Alt Yükleme Temsilcisi Listesi',
|
||||
Transfer_days:'Geçmiş 30 gün içindeki transfer',
|
||||
Settlement:'Yerleşim:',
|
||||
Coins_balance:'Madeni Para Dengesi',
|
||||
|
||||
}
|
||||
|
||||
|
@@ -23,6 +23,7 @@ const zh = {
|
||||
Sub_List:'子代理列表',
|
||||
Transfer_days:'近30天轉贈',
|
||||
Settlement:'結算:',
|
||||
Coins_balance:'金币余额',
|
||||
}
|
||||
}
|
||||
export default zh
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div :class="[{ 'arabic': isArabic }]">
|
||||
<div :class="[{ arabic: isArabic }]">
|
||||
<navigation
|
||||
v-if="!this.$store.state.isApp"
|
||||
:title="this.$t(`myTransfer.My_Transfer`)"
|
||||
@@ -9,7 +9,7 @@
|
||||
<van-search
|
||||
:placeholder="this.$t(`myTransfer.Search_ID`)"
|
||||
shape="round"
|
||||
:input-align="isArabic?'right' : 'left'"
|
||||
:input-align="isArabic ? 'right' : 'left'"
|
||||
v-model="erbanNo"
|
||||
@search="onSearch"
|
||||
@input="validateInput"
|
||||
@@ -40,6 +40,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my_coins">
|
||||
<p class="txt">{{ this.$t(`myTransfer.Coins_balance`) }}</p>
|
||||
<p class="num">
|
||||
{{ purseData.diamonds }}
|
||||
<img src="../assets/img/coins.png" alt="" />
|
||||
</p>
|
||||
</div>
|
||||
<template v-if="userInfo.partitionId != 2">
|
||||
<div class="coins_txt">{{ this.$t(`myTransfer.Transfer_Coins`) }}</div>
|
||||
<div class="gold_num">
|
||||
@@ -118,7 +125,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { gitGiveRecordList, getUserInfo, searchUser } from "@/api/index";
|
||||
import {
|
||||
gitGiveRecordList,
|
||||
getUserInfo,
|
||||
searchUser,
|
||||
getpurse
|
||||
} from "@/api/index";
|
||||
import navigation from "@/components/navigation.vue";
|
||||
import "@/assets/css/vant.css";
|
||||
import { Dialog } from "vant";
|
||||
@@ -134,12 +146,13 @@ export default {
|
||||
pageSize: 10,
|
||||
recentList: [],
|
||||
erbanNo: "",
|
||||
lock: false
|
||||
lock: false,
|
||||
purseData: {}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
isArabic() {
|
||||
return this.$i18n.locale === 'ar'; // 判断是否为阿拉伯语环境
|
||||
return this.$i18n.locale === "ar"; // 判断是否为阿拉伯语环境
|
||||
}
|
||||
},
|
||||
beforeCreate() {
|
||||
@@ -156,14 +169,22 @@ export default {
|
||||
}
|
||||
});
|
||||
this.getGiveRecordList();
|
||||
this.getpurse();
|
||||
},
|
||||
methods: {
|
||||
getpurse() {
|
||||
getpurse().then(res => {
|
||||
if (res.data.code == 200) {
|
||||
this.purseData = res.data.data;
|
||||
}
|
||||
});
|
||||
},
|
||||
getGiveRecordList() {
|
||||
if (this.lock) return;
|
||||
const { pageNum, pageSize } = this;
|
||||
gitGiveRecordList({ pageNum, pageSize }).then(res => {
|
||||
if (res.data.code == 200) {
|
||||
this.recentList = [...this.recentList,...res.data.data];
|
||||
this.recentList = [...this.recentList, ...res.data.data];
|
||||
if (res.data.data.length < 10) {
|
||||
this.lock = true;
|
||||
} else {
|
||||
@@ -180,7 +201,7 @@ export default {
|
||||
theme: "round-button",
|
||||
messageAlign: "left",
|
||||
confirmButtonColor: "#FCC074",
|
||||
confirmButtonText:this.$t(`myTransfer.Confirm`),
|
||||
confirmButtonText: this.$t(`myTransfer.Confirm`)
|
||||
}).then(() => {
|
||||
// on close
|
||||
});
|
||||
@@ -253,7 +274,7 @@ export default {
|
||||
}
|
||||
|
||||
.right {
|
||||
margin:0 10px;
|
||||
margin: 0 10px;
|
||||
|
||||
.nickname {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
@@ -283,11 +304,39 @@ export default {
|
||||
.tip {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin:0 6px;
|
||||
margin: 0 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.my_coins {
|
||||
padding: 0 12px;
|
||||
margin-top: 10px;
|
||||
.txt {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #313131;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
.num {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: 24px;
|
||||
color: #ff8c03;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
margin-top: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.coins_txt {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
@@ -447,7 +496,7 @@ export default {
|
||||
}
|
||||
|
||||
.info {
|
||||
margin:0 10px;
|
||||
margin: 0 10px;
|
||||
|
||||
.targetNick {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
@@ -506,22 +555,23 @@ export default {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 6px 8px;
|
||||
margin:0 10px;
|
||||
margin: 0 10px;
|
||||
min-width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.arabic{
|
||||
.user_info .gold_num .right img , .user_info .sub_num .right img{
|
||||
.arabic {
|
||||
.user_info .gold_num .right img,
|
||||
.user_info .sub_num .right img {
|
||||
transform: rotate(180deg) !important;
|
||||
}
|
||||
|
||||
.van-field__left-icon{
|
||||
margin-left: 4px !important;
|
||||
}
|
||||
.recent_list .wrap .wrap_box .operation{
|
||||
|
||||
.van-field__left-icon {
|
||||
margin-left: 4px !important;
|
||||
}
|
||||
.recent_list .wrap .wrap_box .operation {
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
Reference in New Issue
Block a user