Browse Source

文案替换

master
luyisha 3 years ago
parent
commit
8d82520717
  1. 2
      api/serve/index.js
  2. 14
      i18n/lang/en.json
  3. 5
      pages/exchange/exchange-transaction.vue
  4. 2
      utils/class/date.js

2
api/serve/index.js

@ -86,7 +86,7 @@ x.fn = x.prototype = {
if(Cache.get(newMsg).data){ if(Cache.get(newMsg).data){
if(newMsg!='_user_walletImage'&& newMsg!='_user_getAuthInfo' && newMsg!='_user_withdrawalBalance' if(newMsg!='_user_walletImage'&& newMsg!='_user_getAuthInfo' && newMsg!='_user_withdrawalBalance'
&& newMsg!='_article_detail' && newMsg!='_contract_getSymbolDetail' && newMsg!='_categoryList' && newMsg!='_articleList' && newMsg!='_article_detail' && newMsg!='_contract_getSymbolDetail' && newMsg!='_categoryList' && newMsg!='_articleList'
&& newMsg!='_college' && newMsg!='_exchange_getCoinInfo' && newMsg!='_user_primaryAuth' && newMsg!='_college' && newMsg!='_exchange_getCoinInfo' && newMsg!='_user_primaryAuth' && newMsg!='_exchange_getCurrentEntrust'
&& newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum'){ && newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum'){
resolve(Cache.get(newMsg).data); resolve(Cache.get(newMsg).data);
} }

14
i18n/lang/en.json

@ -757,7 +757,7 @@
"b0":"Are you sure you want to log out?", "b0":"Are you sure you want to log out?",
"b1":"Sign in or register", "b1":"Sign in or register",
"b2":"Hi, welcome to CXIPro", "b2":"Hi, welcome to CXIPro",
"b3":"amount", "b3":" Volume",
"b4":"spot index ", "b4":"spot index ",
"b5":"Contract index", "b5":"Contract index",
"b6":"Support multiple ways", "b6":"Support multiple ways",
@ -819,12 +819,12 @@
"a23": "Buy, trade and hold 100+ cryptocurrencies", "a23": "Buy, trade and hold 100+ cryptocurrencies",
"a24": "Top up your account", "a24": "Top up your account",
"a25": "Sign up by email", "a25": "Sign up by email",
"a38": "Start transactions anytime, anywhere.", "a38": "Start trading anytime, anywhere.",
"a39": "Start trading safely and conveniently at any time through our APP and webpage", "a39": "Start trading safely and conveniently at any time through our APP and webpage",
"a41": "Trustworthy cryptocurrency trading platform", "a41": "Trustworthy cryptocurrency trading platform",
"a42": "We are committed to ensuring the safety of users with strict protocols and industry-leading technical measures.", "a42": "We are committed to ensuring the safety of our users through strict protocols and industry-leading technological measures",
"a43": "User security asset funds", "a43": "User security asset funds",
"a44": "We store 10% of all transaction fees in safe asset funds to provide partial protection for user funds", "a44": "We store 10% of all transaction fees in safe asset funds to provide partial protection for user funds.",
"a45": "Personalized Access Control", "a45": "Personalized Access Control",
"a46": "Personalized access control restricts the devices and addresses that access personal accounts, so that users have no worries.", "a46": "Personalized access control restricts the devices and addresses that access personal accounts, so that users have no worries.",
"a47": "Advanced Data Encryption", "a47": "Advanced Data Encryption",
@ -835,8 +835,8 @@
"a77": "How to buy digital currency ", "a77": "How to buy digital currency ",
"a78": "How to sell digital currency ", "a78": "How to sell digital currency ",
"a79": "How to Trade Digital Currencies", "a79": "How to Trade Digital Currencies",
"a80": "Market place", "a80": "Marketplace",
"a81": "24 hours market trend", "a81": "24-hour market trends",
"a82": "Add cryptocurrency funds to your wallet and start trading instantly" "a82": "Add cryptocurrency funds to your wallet and start trading now"
} }
} }

5
pages/exchange/exchange-transaction.vue

@ -200,12 +200,15 @@
<!-- 深度列表 --> <!-- 深度列表 -->
<view class="w-6/12 p-l-md d-flex flex-col dep-list"> <view class="w-6/12 p-l-md d-flex flex-col dep-list">
<sell-and-buy :buyList="buyList" :max="symbol=='GITP/USDT'?11:8" :sellList="sellList" :symbol="symbol" v-on:price="getPrice($event)" :contract="0"> <sell-and-buy :buyList="buyList" :max="symbol=='GITP/USDT'?11:8" :sellList="sellList" :symbol="symbol" v-on:price="getPrice($event)" :contract="0">
<view
<!-- 币币页面的买卖列表中间的实时价格 -->
<view
class="fn-lg row fn-bold" class="fn-lg row fn-bold"
:class="newPrice.increase < 0 ? 'color-sell' : 'color-buy'" :class="newPrice.increase < 0 ? 'color-sell' : 'color-buy'"
> >
{{ newPrice.price }} {{ newPrice.price }}
</view> </view>
<!-- <view class="fn-xs" v-if="newPrice.price"> <!-- <view class="fn-xs" v-if="newPrice.price">
{{ omitTo(newPrice.price * price_cny, 2) }} {{ omitTo(newPrice.price * price_cny, 2) }}
</view> --> </view> -->

2
utils/class/date.js

@ -26,7 +26,7 @@ function time2Date(time, isOffset = false) {
// 检测时间戳的长度,确保为ms // 检测时间戳的长度,确保为ms
if (time.toString().length <= 10) { if (time.toString().length <= 10) {
time = Number(time) * 1000; time = Number(time) * 1000;
} }
let timeN; let timeN;
// 是否对时差进行转化 // 是否对时差进行转化
if (isOffset) { if (isOffset) {

Loading…
Cancel
Save