|
|
@@ -35,51 +35,32 @@
|
|
|
<!-- 交易 -->
|
|
|
<view class="circle-btn" @click="handleAction('trade')">
|
|
|
<view class="circle-icon">
|
|
|
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
|
- <path
|
|
|
- d="M4.66797 2.66602V4.66602M4.66797 8.66602V13.3327M11.3346 2.66602V4.66602M11.3346 11.3327V13.3327M2.66797 5.33268C2.66797 5.15587 2.73821 4.9863 2.86323 4.86128C2.98826 4.73625 3.15782 4.66602 3.33464 4.66602H6.0013C6.17811 4.66602 6.34768 4.73625 6.47271 4.86128C6.59773 4.9863 6.66797 5.15587 6.66797 5.33268V7.99935C6.66797 8.17616 6.59773 8.34573 6.47271 8.47075C6.34768 8.59578 6.17811 8.66602 6.0013 8.66602H3.33464C3.15782 8.66602 2.98826 8.59578 2.86323 8.47075C2.73821 8.34573 2.66797 8.17616 2.66797 7.99935V5.33268ZM9.33464 5.33268C9.33464 5.15587 9.40487 4.9863 9.5299 4.86128C9.65492 4.73625 9.82449 4.66602 10.0013 4.66602H12.668C12.8448 4.66602 13.0143 4.73625 13.1394 4.86128C13.2644 4.9863 13.3346 5.15587 13.3346 5.33268V10.666C13.3346 10.8428 13.2644 11.0124 13.1394 11.1374C13.0143 11.2624 12.8448 11.3327 12.668 11.3327H10.0013C9.82449 11.3327 9.65492 11.2624 9.5299 11.1374C9.40487 11.0124 9.33464 10.8428 9.33464 10.666V5.33268Z"
|
|
|
- stroke="currentColor" stroke-width="1.33" stroke-linecap="round"
|
|
|
- stroke-linejoin="round" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-trade" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
- <text class="circle-label">交易</text>
|
|
|
+ <text class="circle-label" v-t="'Shop.Index.Transaction'" />
|
|
|
</view>
|
|
|
<!-- 入金(带限制包装,此处简化) -->
|
|
|
<view class="circle-btn" @click="toDeposit" v-if="!isDemo">
|
|
|
<view class="circle-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
|
|
|
- <path d="M8 12l4 4" />
|
|
|
- <path d="M12 8v8" />
|
|
|
- <path d="M16 12l-4 4" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-deposit" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
- <text class="circle-label">入金</text>
|
|
|
+ <text class="circle-label" v-t="'Home.page_customer.item2'" />
|
|
|
</view>
|
|
|
|
|
|
<!-- 出金 -->
|
|
|
<view class="circle-btn" @click="toWithdraw" v-if="!isDemo">
|
|
|
<view class="circle-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
|
|
|
- <path d="M15 9l-6 6" />
|
|
|
- <path d="M15 15v-6h-6" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-withdraw" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
- <text class="circle-label">出金</text>
|
|
|
+ <text class="circle-label" v-t="'Home.page_customer.item3'" />
|
|
|
</view>
|
|
|
|
|
|
<!-- 转账 -->
|
|
|
<view class="circle-btn" @click="toTransfer" v-if="!isDemo">
|
|
|
<view class="circle-icon">
|
|
|
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
|
- <path d="M21 17H3M21 17L17.5 20.5M21 17L17.5 13.5M6.5 10.5L3 7M3 7L6.5 3.5M3 7H21"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-transfer" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
- <text class="circle-label">转账</text>
|
|
|
+ <text class="circle-label" v-t="'Custom.Index.Transfer'" />
|
|
|
</view>
|
|
|
|
|
|
<!-- 更多(三点) -->
|
|
|
@@ -87,15 +68,9 @@
|
|
|
@menuClick="handleCustomClick">
|
|
|
<view class="circle-btn">
|
|
|
<view class="circle-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
|
- fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
|
|
- stroke-linejoin="round">
|
|
|
- <path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- <path d="M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- <path d="M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-ellipsis-vertical" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
- <text class="circle-label">更多</text>
|
|
|
+ <text class="circle-label" v-t="'Latest.More'" />
|
|
|
</view>
|
|
|
</cwg-dropdown>
|
|
|
|
|
|
@@ -105,56 +80,32 @@
|
|
|
<view class="desktop-buttons">
|
|
|
<view class="action-btn primary" @click="handleAction('trade')">
|
|
|
<span class="btn-icon">
|
|
|
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
|
- <path
|
|
|
- d="M4.66797 2.66602V4.66602M4.66797 8.66602V13.3327M11.3346 2.66602V4.66602M11.3346 11.3327V13.3327M2.66797 5.33268C2.66797 5.15587 2.73821 4.9863 2.86323 4.86128C2.98826 4.73625 3.15782 4.66602 3.33464 4.66602H6.0013C6.17811 4.66602 6.34768 4.73625 6.47271 4.86128C6.59773 4.9863 6.66797 5.15587 6.66797 5.33268V7.99935C6.66797 8.17616 6.59773 8.34573 6.47271 8.47075C6.34768 8.59578 6.17811 8.66602 6.0013 8.66602H3.33464C3.15782 8.66602 2.98826 8.59578 2.86323 8.47075C2.73821 8.34573 2.66797 8.17616 2.66797 7.99935V5.33268ZM9.33464 5.33268C9.33464 5.15587 9.40487 4.9863 9.5299 4.86128C9.65492 4.73625 9.82449 4.66602 10.0013 4.66602H12.668C12.8448 4.66602 13.0143 4.73625 13.1394 4.86128C13.2644 4.9863 13.3346 5.15587 13.3346 5.33268V10.666C13.3346 10.8428 13.2644 11.0124 13.1394 11.1374C13.0143 11.2624 12.8448 11.3327 12.668 11.3327H10.0013C9.82449 11.3327 9.65492 11.2624 9.5299 11.1374C9.40487 11.0124 9.33464 10.8428 9.33464 10.666V5.33268Z"
|
|
|
- stroke="currentColor" stroke-width="1.33" stroke-linecap="round"
|
|
|
- stroke-linejoin="round" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-trade" :size="16" color="#fff" />
|
|
|
</span>
|
|
|
- 交易
|
|
|
+ <text v-t="'Shop.Index.Transaction'" />
|
|
|
</view>
|
|
|
<view class="action-btn" @click="toDeposit" v-if="!isDemo">
|
|
|
<span class="btn-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
|
|
|
- <path d="M8 12l4 4" />
|
|
|
- <path d="M12 8v8" />
|
|
|
- <path d="M16 12l-4 4" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-deposit" :size="16" color="#2e3a47" />
|
|
|
</span>
|
|
|
- 入金
|
|
|
+ <text v-t="'Home.page_customer.item2'" />
|
|
|
</view>
|
|
|
<view class="action-btn" @click="toWithdraw" v-if="!isDemo">
|
|
|
<span class="btn-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
|
|
|
- <path d="M15 9l-6 6" />
|
|
|
- <path d="M15 15v-6h-6" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-withdraw" :size="16" color="#2e3a47" />
|
|
|
</span>
|
|
|
- 出金
|
|
|
+ <text v-t="'Home.page_customer.item3'" />
|
|
|
</view>
|
|
|
<view class="action-btn" @click="toTransfer" v-if="!isDemo">
|
|
|
<span class="btn-icon">
|
|
|
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
|
- <path d="M21 17H3M21 17L17.5 20.5M21 17L17.5 13.5M6.5 10.5L3 7M3 7L6.5 3.5M3 7H21"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-transfer" :size="16" color="#2e3a47" />
|
|
|
</span>
|
|
|
- 转账
|
|
|
+ <text v-t="'Custom.Index.Transfer'" />
|
|
|
</view>
|
|
|
<cwg-dropdown @open="onOpen" @close="onClose" :menu-list="customMenuList"
|
|
|
@menuClick="handleCustomClick">
|
|
|
<view class="action-btn icon-only">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- <path d="M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- <path d="M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-ellipsis-vertical" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
</cwg-dropdown>
|
|
|
|
|
|
@@ -184,24 +135,14 @@
|
|
|
<span class="label">{{ account.platform }} 登陆</span>
|
|
|
<span class="value">{{ account.login }}</span>
|
|
|
<view class="copy-btn" @click="copy(account.login)">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path
|
|
|
- d="M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z" />
|
|
|
- <path
|
|
|
- d="M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="copy" :size="16" color="#2e3a47" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 更改交易密码按钮 -->
|
|
|
<view class="change-password-btn" @click="handleAction('changePassword1')" v-if="!isDemo">
|
|
|
<span class="btn-icon">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
|
|
|
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
- <path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" />
|
|
|
- <path d="M13.5 6.5l4 4" />
|
|
|
- </svg>
|
|
|
+ <cwg-icon name="crm-xg" :size="16" color="#2e3a47" />
|
|
|
</span>
|
|
|
更改交易密码
|
|
|
</view>
|