Kaynağa Gözat

优化国际化

wkw 1 hafta önce
ebeveyn
işleme
fb283895dd

+ 6 - 1
src/api/path/im.api.js

@@ -38,6 +38,11 @@ export function getmessage(params) {
 
 // 获取好友申请审核列表
 export function friendRequest(params) {
-  return service.get("/user/friend/request", { params });
+  return service.get("user/friend/request", { params });
+}
+
+// 添加好友
+export function friendAudit(param) {
+  return service.post('user/friend/audit', param);
 }
 

+ 15 - 15
src/i18n/enUs/form.js

@@ -3,24 +3,24 @@ export default {
   ConfirmCreation: "Confirm Creation",
 
   WalletName: "Wallet Name",
-  WalletPassword: "Wallet Password",
-  ConfirmPassword: "Confirm Password",
+  WalletPassword: "Wallet Pwd",
+  ConfirmPassword: "Confirm Pwd",
   CreateWallet: "Create Wallet",
-  PromptMessage: "Prompt Message",
-  InconsistentPasswords: "Passwords do not match",
-  PleaseEnterThePrivateKey: "Please enter the private key",
-  PleaseEnterTheMnemonicPhrase: "Please enter the mnemonic phrase",
+  PromptMessage: "Prompt",
+  InconsistentPasswords: "Passwords don't match",
+  PleaseEnterThePrivateKey: "Enter private key",
+  PleaseEnterTheMnemonicPhrase: "Enter mnemonic",
   PrivateKey: "Private Key",
-  MemoryAidWord: "Mnemonic Phrase",
-  PleaseFillIn: "Please fill in",
+  MemoryAidWord: "Mnemonic",
+  PleaseFillIn: "Fill in",
 
-  LoginFailed: "Login Failed",
+  LoginFailed: "Login failed",
   Loading: "Loading...",
   BackupWallet: "Backup Wallet",
-  PleaseDoNotTakeScreenshots: "Please do not take screenshots",
-  IfAnyoneObtainsYourMnemonicPhraseTheyWillDirectlyAccessYourAssetsPleaseCopyDownTheMnemonicPhraseAndStoreItInASafePlace: "If anyone obtains your mnemonic phrase, they will directly access your assets. Please copy down the mnemonic phrase and store it in a safe place",
-  ImportingThePrivateKey: "Private Key Import",
-  ImportByEnteringThePlaintextPrivateKeyOrScanningTheQRCode: "Import by entering the plaintext private key or scanning the QR code",
-  ImportMnemonicWords: "Import Mnemonic Phrase",
-  ImportByEnteringTheMnemonicPhraseOrScanningTheQRCode: "Import by entering the mnemonic phrase or scanning the QR code"
+  PleaseDoNotTakeScreenshots: "Do not screenshot",
+  IfAnyoneObtainsYourMnemonicPhraseTheyWillDirectlyAccessYourAssetsPleaseCopyDownTheMnemonicPhraseAndStoreItInASafePlace: "Anyone with your mnemonic can access assets. Copy and store safely",
+  ImportingThePrivateKey: "Import Private Key",
+  ImportByEnteringThePlaintextPrivateKeyOrScanningTheQRCode: "Enter key or scan QR",
+  ImportMnemonicWords: "Import Mnemonic",
+  ImportByEnteringTheMnemonicPhraseOrScanningTheQRCode: "Enter mnemonic or scan QR"
 };

+ 10 - 9
src/i18n/enUs/login.js

@@ -2,22 +2,23 @@ export default {
   CreateWallet: "Create Wallet",
   ImportWallet: "Import Wallet",
 
-  Wallet: "Digital Asset Wallet",
+  Wallet: "Digital Wallet",
   Support: "Support",
-  LoginTxt: "Continuing to use means you agree to",
+  LoginTxt: "Agree",
 
   PrivacyPolicy: "Privacy Policy",
   UserAgreement: "User Agreement",
 
-  UserAgreementTxt: "Please read the user privacy agreement first. Click Continue to indicate that you agree to Angel Toke's Privacy Policy and User Agreement",
+  UserAgreementTxt: "Read agreement first. Continue to agree to Privacy Policy & User Agreement",
 
-  IHaveReadAndAgree: "I have read and agree",
+  IHaveReadAndAgree: "I agree",
   Cancel: "Cancel",
-  SearchMainnet: "Search Mainnet",
+  SearchMainnet: "Search Network",
 
-  BackupComplete: "Backup Complete",
-  CopyMnemonic: "Copy Mnemonic Phrase",
+  BackupComplete: "Backup Done",
+  CopyMnemonic: "Copy Mnemonic",
 
-  CopiedToClipboard: "Copied to clipboard",
-  CopyFailed: "Copy failed"
+  CopiedToClipboard: "Copied",
+  CopyFailed: "Copy failed",
+  And:"And"
 };

+ 54 - 54
src/i18n/enUs/me.js

@@ -1,56 +1,56 @@
 export default {
-    SelectiveNetwork: "Select Network",
-    AddressName: "Address Name",
-    PleaseEnterTheNameOfTheAddress: "Please enter the address name",
-    EnterAddress: "Enter Address",
-    PleaseEnterTheAddress: "Please enter the address",
-    Notarize: "Confirm",
-    NoNewAddressAvailableAtTheMoment: "No new addresses available at the moment",
-    AddNewAddress: "Add New Address",
-    AddTheWhitelistOfNodeDividendAddresses: "Add Node Dividend Address Whitelist",
-    PleaseProvideTheCompleteAddressOfYourWallet: "Please enter the complete wallet address",
-    AddToTheWhitelist: "Add to Whitelist",
-    RemoveTheWhitelist: "Remove from Whitelist",
-    JoinTheAdministratorGroup: "Join Administrator Group",
-    RemoveAdministrator: "Remove Administrator",
-    AmountOfPledge: "Pledge Amount",
-    TheNumberThatCanBeClaimed: "Claimable Quantity",
-    TheEndTimeOfTheEarningsCycle: "End Time of Earnings Cycle",
-    ActivateTheGenesisNode: "Activate Genesis Node",
-    ClaimSTT: "Claim STT",
-    CollectionRecord: "Collection Record",
-    NoRecordsYet: "No records yet!",
-    TemporarilyChangeTheNickname: "Temporarily Change Nickname",
-    ScanTheQRCodeAboveForAMomentAndAddMeAsAFriend: "Scan the QR code above to add me as a friend",
-    PleaseEnterYourNickname: "Please enter your nickname",
-    Cancel: "Cancel",
-    Sure: "Confirm",
-    ModifyTheAvatar: "Modify Avatar",
-    AddressBook: "Address Book",
-    Downloadlink: "Download Link",
-    WalletManagement: "Wallet Management",
-    PersonalInformation: "Personal Information",
-    CurrentPriceSTT: "Current Price (STT)",
-    WalletBalanceWGT: "Wallet Balance (WGT)",
-    Buy: "Buy",
-    CurrentCommission: "Current Order",
-    MarketTrading: "Market Transactions",
-    SellOrder: "Sell Order",
-    Value: "Value",
-    Quantity: "Quantity",
-    Time: "Time",
-    Price: "Price",
-    Revoke: "Revoke",
-    SalesOrderNumber: "Sell Order No.",
-    PaymentNumber: "Buy Order No.",
-    TransactionPrice: "Transaction Price",
-    TransactionDetails: "Transaction Details",
-    AreYouSureToSubmit: "Are you sure to submit?",
-    TheOtherPartyIsAddress: "Counterparty Address",
-    PaymentAddress: "Payment Address",
-    ReceivingAddress: "Receiving Address",
-    MinerIsfee: "Miner Fee",
-    IsItCertainToBeRevoked: "Are you sure to revoke?",
-    ReceivedSuccessfully: "Received Successfully",
-    NodeDividend: "Node Dividend"
+  SelectiveNetwork: "Select Network",
+  AddressName: "Address Name",
+  PleaseEnterTheNameOfTheAddress: "Enter address name",
+  EnterAddress: "Enter Address",
+  PleaseEnterTheAddress: "Enter address",
+  Notarize: "Confirm",
+  NoNewAddressAvailableAtTheMoment: "No new addresses",
+  AddNewAddress: "Add New Address",
+  AddTheWhitelistOfNodeDividendAddresses: "Add Node Dividend Whitelist",
+  PleaseProvideTheCompleteAddressOfYourWallet: "Enter full wallet addr",
+  AddToTheWhitelist: "Add to Whitelist",
+  RemoveTheWhitelist: "Remove from Whitelist",
+  JoinTheAdministratorGroup: "Join Admin Group",
+  RemoveAdministrator: "Remove Admin",
+  AmountOfPledge: "Pledge Amount",
+  TheNumberThatCanBeClaimed: "Claimable Qty",
+  TheEndTimeOfTheEarningsCycle: "Earnings End",
+  ActivateTheGenesisNode: "Activate Genesis Node",
+  ClaimSTT: "Claim STT",
+  CollectionRecord: "Collection Log",
+  NoRecordsYet: "No records yet",
+  TemporarilyChangeTheNickname: "Change Nickname",
+  ScanTheQRCodeAboveForAMomentAndAddMeAsAFriend: "Scan QR to add friend",
+  PleaseEnterYourNickname: "Enter nickname",
+  Cancel: "Cancel",
+  Sure: "Confirm",
+  ModifyTheAvatar: "Change Avatar",
+  AddressBook: "Address Book",
+  Downloadlink: "Download Link",
+  WalletManagement: "Manager",
+  PersonalInformation: "Information",
+  CurrentPriceSTT: "Current Price (STT)",
+  WalletBalanceWGT: "WGT Balance",
+  Buy: "Buy",
+  CurrentCommission: "Current Order",
+  MarketTrading: "Market Trades",
+  SellOrder: "Sell Order",
+  Value: "Value",
+  Quantity: "Qty",
+  Time: "Time",
+  Price: "Price",
+  Revoke: "Revoke",
+  SalesOrderNumber: "Sell Order No.",
+  PaymentNumber: "Buy Order No.",
+  TransactionPrice: "Tx Price",
+  TransactionDetails: "Tx Details",
+  AreYouSureToSubmit: "Sure to submit?",
+  TheOtherPartyIsAddress: "Counterparty Addr",
+  PaymentAddress: "Payment Addr",
+  ReceivingAddress: "Receiving Addr",
+  MinerIsfee: "Miner Fee",
+  IsItCertainToBeRevoked: "Sure to revoke?",
+  ReceivedSuccessfully: "Received",
+  NodeDividend: "Node Dividend"
 };

+ 18 - 18
src/i18n/enUs/transaction.js

@@ -1,18 +1,18 @@
 export default {
-    CurrentPriceSTT: "Current Price (STT)",
-    WalletBalanceWGT: "Wallet Balance (WGT)",
+    CurrentPriceSTT: "Current Price(STT)",
+    WalletBalanceWGT: "Wallet Balance(WGT)",
     Buy: "Buy",
     CurrentCommission: "Current Order",
     MarketTrading: "Market Transactions",
-    SellOrder: "Sell Order",
-    Value: "Value",
-    Quantity: "Quantity",
+    SellOrder: "Sell",
+    Value: "Val",
+    Quantity: "Qty",
     Time: "Time",
     Price: "Price",
     Revoke: "Revoke",
-    SalesOrderNumber: "Sell Order No.",
-    PaymentNumber: "Buy Order No.",
-    TransactionPrice: "Transaction Price",
+    SalesOrderNumber: "Sell No",
+    PaymentNumber: "Buy No",
+    TransactionPrice: "Tx Price",
     TransactionDetails: "Transaction Details",
     AreYouSureToSubmit: "Are you sure to submit?",
     TheOtherPartyIsAddress: "Counterparty Address",
@@ -20,15 +20,15 @@ export default {
     ReceivingAddress: "Receiving Address",
     MinerIsfee: "Miner Fee",
     IsItCertainToBeRevoked: "Are you sure to revoke?",
-    PurchaseQuantitySTT: "Purchase Quantity (STT)",
-    OrderQuantityWGT: "Order Quantity (WGT)",
-    ReservationQuantityWGT: "Reservation Quantity (WGT)",
-    PleaseEnter: "Please enter",
+    PurchaseQuantitySTT: "Buy Qty(STT)",
+    OrderQuantityWGT: "Entrust Qty(WGT)",
+    ReservationQuantityWGT: "Reserve Qty(WGT)",
+    PleaseEnter: "Enter",
     BuyWGT: "Buy WGT",
     OrderToSellWGT: "Place Order to Sell WGT",
     BookNow: "Book Now",
     Reservation: "Reservation",
-    Entrusted: "Entrusted",
+    Entrusted: "Entrust",
     Current: "Current",
     UnderCommission: "In Commission",
     Claim: "Claim",
@@ -36,12 +36,12 @@ export default {
     ConfirmTheExchange: "Confirm Exchange",
     ExchangeInProgress: "Exchanging...",
     RedemptionSuccessful: "Redemption Successful",
-    FlashExchange: "Flash Exchange",
-    EntrustedSell: "Entrusted Sell",
-    ReservationForSale: "Reservation for Sale",
+    FlashExchange: "Exchange",
+    EntrustedSell: "Entrust",
+    ReservationForSale: "Book Sale",
     Address: "Address",
-    ValueSTT: "Value (STT)",
-    QuantityWGT: "Quantity (WGT)",
+    ValueSTT: "Value(STT)",
+    QuantityWGT: "Quantity(WGT)",
     Operation: "Operation",
     PleaseEnterAValidQuantity: "Please enter a valid quantity",
     TheQuantityMustBeGreaterThan0: "Quantity must be greater than 0",

+ 9 - 9
src/i18n/enUs/wallet.js

@@ -9,22 +9,22 @@ export default {
     DeliverAddress: "Receiving Address",
     SelectTheCurrency: "Select Currency",
     TransactionDetails: "Transaction Details",
-    PaymentAddress: "Payment Address:",
-    ReceivingAddress: "Receiving Address:",
-    MinerIsFee: "Miner Fee:",
+    PaymentAddress: "Payment Address",
+    ReceivingAddress: "Receiving Address",
+    MinerIsFee: "Miner Fee",
     PleaseEnterThePassword: "Please enter the password",
     Cancel: "Cancel",
     Sure: "Confirm",
     WalletName: "Wallet Name",
     ViewThePrivateKey: "View Private Key",
-    CheckTheMnemonicPhrase: "View Mnemonic Phrase",
+    CheckTheMnemonicPhrase: "View Mnemonic",
     DeleteTheWallet: "Delete Wallet",
     PleaseEnterTheWalletName: "Please enter the wallet name",
     PleaseEnterTheCorrectPassword: "Please enter the correct password",
-    AvailableGoldCoins: "Available Yuanbao",
-    ExchangeForGoldIngots: "Exchange for Yuanbao",
+    AvailableGoldCoins: "Balance",
+    ExchangeForGoldIngots: "Exchange",
     FreezeTheGoldIngots: "Freeze Yuanbao",
-    WithdrawalTransferOut: "Withdrawal (Transfer Out)",
+    WithdrawalTransferOut: "Withdrawal",
     Details: "Details",
     Explanation: "Explanation",
     Submit: "Submit",
@@ -38,11 +38,11 @@ export default {
     PleaseEnterTheQuantityOfGoldIngots: "Please enter Yuanbao quantity",
     TheQuantityOfTheExchangeCurrencyWillBeConvertedIntoTheCorrespondingGoldCoinsBasedOnTheCurrentValueAndCreditedToTheAccountInRealTime: "The quantity of the exchanged currency will be converted into corresponding Yuanbao based on the current value and credited to the account in real-time",
     TheAmountOfGoldCoinsWithdrawnWillBeConvertedIntoTheExchangedCurrencyBasedOnTheCurrentValueAndCrediteToTheAccountInRealTime: "The amount of Yuanbao withdrawn will be converted into the exchanged currency based on the current value and credited to the account in real-time",
-    GoldCoinExchange: "Yuanbao Exchange",
+    GoldCoinExchange: "Exchange",
     Collection: "Collection",
     Transfer: "Transfer",
     Competition: "Competition",
-    BlockBrowser: "Block Browser",
+    BlockBrowser: "Browser",
     Token: "Token",
     SelectWallet: "Select Wallet",
     AddWallet: "Add Wallet",

+ 1 - 0
src/i18n/zhHk/login.js

@@ -21,4 +21,5 @@ export default {
 
   CopiedToClipboard: "已複製到剪貼板",
   CopyFailed: "複製失敗",
+  And:"和"
 };

+ 1 - 2
src/stores/modules/walletStore.js

@@ -6,7 +6,6 @@ import { sysLogin } from "@/common/login.js";
 import { showNotify } from 'vant';
 import router from '@/router/index'
 import { hotTokens } from '@/api/path/login.api'
-import { cryptoDecode } from "@/utils/crypto.js"
 
 
 export const useWalletStore = defineStore("useWalletStore", {
@@ -138,7 +137,7 @@ export const useWalletStore = defineStore("useWalletStore", {
         showNotify({ type: 'warning', message: '钱包不存在' });
         return;
       }
-      if (cryptoDecode(wallet.accountPassword) !== password) {
+      if (wallet.accountPassword !== password) {
         showNotify({ type: 'warning', message: '请输入正确的密码' });
         return;
       }

+ 35 - 10
src/views/im/contactList/invitation/index.vue

@@ -2,19 +2,27 @@
     <div class="container">
         <div class="content">
             <div class="tab-box">
-                <div class="tab-text" :class="type == 1?'active-color':''" @click="type = 1">我收到的</div>
-                <div class="tab-text" :class="type == 2?'active-color':''" @click="type = 2">我发起的</div>
+                <div class="tab-text" :class="type == 1?'active-color':''" @click="changeTab(1)">我收到的</div>
+                <div class="tab-text" :class="type == 2?'active-color':''" @click="changeTab(2)">我发起的</div>
             </div>
             <div class="list-box">
-                <div class="box-item" :class="{ 'no-border': i === 9 }" v-for="(item,i) in 20">
+                <div class="box-item" :class="{ 'no-border': i === 9 }" v-for="(item,i) in list">
                     <van-image class="item-img" round src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"/>
                     <div class="item-ri-cont">
                         <div>
-                            <div><span class="name">升华</span>申请添加您为好友</div>
-                            <div class="fs12">1213</div>
+                            <div v-if="type == 1 && list.length > 0">
+                                <span class="name">{{item.nickname}}</span>申请添加您为好友
+                            </div>
+                            <div v-if="type == 2 && list.length > 0">
+                                请求添加<span class="name">{{item.nickname}}</span>为好友
+                            </div>
+                            <!-- <div class="fs12">1213</div> -->
+                        </div>
+                        <div v-if="type == 1" class="item-btn" @click="changeBtn(item)">同意</div>
+                        <div class="fs12" v-if="type == 2"
+                            :class="item.status == 1?'fs90':item.status == 3?'fscolor':''">
+                            {{item.status == 1?'待同意':item.status == 2?'发消息':'已拒绝'}}
                         </div>
-                        <div v-if="i == 0" class="item-btn" @click="showAgree = true">同意</div>
-                        <div v-else class="fs12" :class="i == 1?'fscolor':''">{{i == 1?'已拒绝':'已添加'}}</div>
                     </div>
                 </div>
             </div>
@@ -30,7 +38,7 @@
                 <div class="pop-title-password">你确定同意该好友的请求吗?</div>
                 <div class="pop-btn-password" style="margin-top: 50px;">
                     <van-button type="default" class="btn-password cancel" @click="showAgree = false">拒绝</van-button>
-                    <van-button type="default" class="btn-password confirm" @click="showAgree = false">同意</van-button>
+                    <van-button type="default" class="btn-password confirm" @click="changeFun(2)">同意</van-button>
                 </div>
             </div>
         </van-popup>
@@ -38,19 +46,33 @@
 </template>
 
 <script setup>
-import { friendRequest } from "@/api/path/im.api";
+import { friendRequest,friendAudit } from "@/api/path/im.api";
 import { useWalletStore } from "@/stores/modules/walletStore";
 const walletStore = useWalletStore();
 
 
 const type = ref(1);
 const showAgree = ref(false);
+const list = ref([]);
+const activeItem = ref({})
 
 const getfriendRequest = async () => {
     const res = await friendRequest({uuid:walletStore.account,status:type.value});
+    list.value = res.data;
     console.log(res)
 }
-
+const changeBtn = (item) => {
+    showAgree.value = true;
+    activeItem.value = item;
+}
+const changeTab = (val) => {
+    type.value = val;
+    list.value = [];
+    getfriendRequest();
+}
+const changeFun = async (val) => {
+    const res = await friendAudit({uuid:walletStore.account,status:val,friendUsername:activeItem.value.uuid});
+}
 onMounted(()=>{
     getfriendRequest();
 })
@@ -130,6 +152,9 @@ onMounted(()=>{
                     .fscolor{
                         color: #FF0000;
                     }
+                    .fs90{
+                        color: #FF9000;
+                    }
                 }
             }
             .no-border{

+ 1 - 1
src/views/login/index.vue

@@ -16,7 +16,7 @@
       <van-checkbox v-model="checked" icon-size="16" style="margin-right: 6px;" checked-color="#4765dd"></van-checkbox>
       <span> {{ $t("login.LoginTxt") }} Angel Token</span>
       <a class="a-link" @click="toAgreement">{{ $t("login.PrivacyPolicy") }}</a>
-      <span></span>
+      <span>{{ $t("login.And") }}</span>
       <a class="a-link" @click="toAgreement">{{ $t("login.UserAgreement") }}</a>
     </div>
   </div>

+ 7 - 6
src/views/transaction/jys/index.vue

@@ -17,7 +17,7 @@
                     <div class="balance">{{ $t('transaction.WalletBalanceWGT') }} {{formatToFixed4(WGTLIST.balance)}}</div>
                 </div>
                 <div class="information-ul">
-                    <div class="information-title">{{tabActive == 0?$t('transaction.PurchaseQuantitySTT'):tabActive == 1?$t('transaction.OrderQuantityWGT'):$t('transaction.WalletBalanceWGT')}}</div>
+                    <div class="information-title">{{tabActive == 0?$t('transaction.PurchaseQuantitySTT'):tabActive == 1?$t('transaction.OrderQuantityWGT'):$t('transaction.ReservationQuantityWGT')}}</div>
                     <van-field v-model="valueInput" class="rate" :placeholder="`${$t('transaction.PleaseEnter')}${tabActive == 0 ? 'STT' : 'WGT'}${$t('transaction.Quantity')}`"/>
                     <div class="cny">≈ {{sttAmount.toFixed(4)}} {{ tabActive == 0 ? 'WGT' : 'STT' }}</div>
                     <div class="balance">{{ $t('transaction.WalletBalanceWGT') }} {{formatToFixed4(STTLIST.balance)}}</div>
@@ -50,10 +50,10 @@
                     <template v-if="delegationIndex == 1">
                         <div class="delegation-li" v-for="item in entrustMylist">
                             <div>
-                                <div class="m4"><text class="cell-label green">{{isSubscribe?$t('transaction.Reservation'):''}}{{ $t('transaction.SellOrder') }}</text>{{ formatAddress(item?.seller_trans_hash) }}</div>
-                                <div class="m4 red"><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}}{{ $t('transaction.Value') }}</text>{{formatToFixed4(item?.money)}} STT</div>
-                                <div class="m4 blue"><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}}{{ $t('transaction.Quantity') }}</text>{{ formatToFixed4(item?.amount) }} WGT</div>
-                                <div><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}}{{ $t('transaction.Time') }}</text>{{item.created_at}}</div>
+                                <div class="m4"><text class="cell-label green">{{isSubscribe?$t('transaction.Reservation'):''}} {{ $t('transaction.SellOrder') }}</text>{{ formatAddress(item?.seller_trans_hash) }}</div>
+                                <div class="m4 red"><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}} {{ $t('transaction.Value') }}</text>{{formatToFixed4(item?.money)}} STT</div>
+                                <div class="m4 blue"><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}} {{ $t('transaction.Quantity') }}</text>{{ formatToFixed4(item?.amount) }} WGT</div>
+                                <div><text class="cell-label">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Entrusted')}} {{ $t('transaction.Time') }}</text>{{item.created_at}}</div>
                             </div>
                             <div class="green text-ri">
                                 <div class="m8">{{isSubscribe?$t('transaction.Reservation'):$t('transaction.Current')}}{{ $t('transaction.Price') }} {{ isSubscribe ? formatToFixed4(item.price) : formatToFixed4(WGTLIST.rate) }}</div>
@@ -632,7 +632,7 @@ height: 100%;
                         text-align: right;
                     }
                     .cell-label{
-                        width: 48px;
+                        width: 65px;
                         display: inline-block;
                     }
                     .cell-btn{
@@ -740,6 +740,7 @@ height: 100%;
             padding: 17px 17px 0;
             .pop-detail-cell{
                 display: flex;
+                align-items: center;
                 font-family: PingFang SC, PingFang SC;
                 font-weight: 400;
                 font-size: 15px;

+ 1 - 2
src/views/wallet/transferDetail/index.vue

@@ -104,7 +104,6 @@
 <script setup>
 import { verifyFingerprint } from "@/components/Biometrics/biometrics.js"
 import { startScan } from "@/composables/barcodeScanner.js"
-import { cryptoDecode } from "@/utils/crypto.js"
 import { useRouter,useRoute } from 'vue-router'
 import { useWalletStore } from "@/stores/modules/walletStore";
 import Web3 from "web3";
@@ -218,7 +217,7 @@ const cancel = () => {
 }
 // 密码确认
 const popConfirm = () => {
-    if(passWord.value != cryptoDecode(walletStore.accountPassword)){
+    if(passWord.value != walletStore.accountPassword){
         showNotify({ type: 'warning', message: $t('wallet.PleaseEnterTheCorrectPassword') });
     }else{
         getData();

+ 1 - 2
src/views/wallet/walletDetail/index.vue

@@ -71,7 +71,6 @@
 </template>
 
 <script setup>
-import { cryptoDecode } from "@/utils/crypto.js"
 import { ref, computed } from 'vue';
 import QrcodeVue from 'qrcode.vue';
 import { useWalletStore } from '@/stores/modules/walletStore';
@@ -123,7 +122,7 @@ const confirm = () => {
         walletStore.deleteWallet(id, text.value);
     } else if (type.value == 2) {
         // 查看私钥或者密码
-        if (text.value !== cryptoDecode(currentWallet.value.accountPassword)) {
+        if (text.value != currentWallet.value.accountPassword) {
             showNotify({ type: 'warning', message: $t('wallet.PleaseEnterTheCorrectPassword') });
         } else {
             showkey.value = true;