wkw 2 天之前
父節點
當前提交
31dd86e7c3
共有 2 個文件被更改,包括 11 次插入11 次删除
  1. 6 7
      src/views/wallet/proceeds/index.vue
  2. 5 4
      src/views/wallet/walletDetail/index.vue

+ 6 - 7
src/views/wallet/proceeds/index.vue

@@ -10,10 +10,10 @@
                 <div class="address">{{walletStore.account}}</div>
             </div>
         </div>
-        <div 
+        <van-button 
             class="footer-btn im-copy-btn" 
-            :data-clipboard-text="walletStore.account">{{ $t('wallet.Copy') }}
-        </div>
+            :data-clipboard-text="walletStore.account" type="primary" size="large" >{{ $t('wallet.Copy') }}
+        </van-button>
     </div>
 </template>
 
@@ -77,9 +77,9 @@ const qrtext = walletStore.account;
         
     }
     .footer-btn{
-        height: 40px;
-        // line-height: 40px !important;
-        background: linear-gradient( 90deg, @theme-color1 0%, #40A4FB 100%);
+        height: 40px !important;
+        line-height: 40px !important;
+        background: linear-gradient( 90deg, @theme-color1 0%, #40A4FB 100%) !important;
         border-radius:51px;
         font-family: PingFang SC, PingFang SC;
         font-weight: 500;
@@ -87,7 +87,6 @@ const qrtext = walletStore.account;
         padding: 9px 0;
         box-sizing: border-box;
         color: #fff;
-        text-align: center;
     }
 }
 </style>

+ 5 - 4
src/views/wallet/walletDetail/index.vue

@@ -63,8 +63,11 @@
                     <qrcode-vue :value="qrtext" :size="156" :margin="1" background="transparent"/>
                 </div>
                 <div class="pop-btn-key">
-                    <div class="btn-key im-copy-btn" :data-clipboard-text="qrtext">{{ $t('wallet.Copy') }}
-                    </div>
+                    <van-button 
+                        class="btn-key im-copy-btn" type="primary" 
+                        size="large" color="#4765DD" 
+                        :data-clipboard-text="qrtext">{{ $t('wallet.Copy') }}
+                    </van-button>
                 </div>
             </div>
         </van-popup>
@@ -306,7 +309,6 @@ const formatAddress = address => {
     .pop-btn-key {
         margin: 17px;
         .btn-key {
-            background-color: @theme-color1;
             height: 40px;
             line-height: 40px;
             border-radius: 50px;
@@ -316,7 +318,6 @@ const formatAddress = address => {
             font-weight: 500;
             font-size: 15px;
             color: #ffffff;
-            text-align: center;
         }
     }
 }