瀏覽代碼

样式优化

wkw 3 天之前
父節點
當前提交
c76c923dac
共有 4 個文件被更改,包括 42 次插入6 次删除
  1. 17 0
      src/assets/svg/sydr.svg
  2. 19 0
      src/assets/svg/zjc.svg
  3. 5 5
      src/views/login/importMethod/index.vue
  4. 1 1
      src/views/transaction/jys/index.vue

+ 17 - 0
src/assets/svg/sydr.svg

@@ -0,0 +1,17 @@
+<svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="sydr" clip-path="url(#clip0_166_923)">
+<g id="&#233;&#146;&#177;&#229;&#140;&#133;&#229;&#136;&#155;&#229;&#187;&#186;/&#229;&#175;&#188;&#229;&#133;&#165;">
+<g id="&#233;&#146;&#177;&#229;&#140;&#133;&#229;&#175;&#188;&#229;&#133;&#165;-&#229;&#175;&#188;&#229;&#133;&#165;&#230;&#150;&#185;&#229;&#188;&#143;">
+<g id="sydr_2">
+<path id="Fill-1" fill-rule="evenodd" clip-rule="evenodd" d="M41.9045 18.805C40.8084 7.38867 30.56 -0.989438 19.0139 0.0943477C7.46809 1.18267 -1.00064 11.3163 0.0954651 22.7323C1.19157 34.1487 11.44 42.522 22.9861 41.443C34.5319 40.3547 43.0006 30.2214 41.9045 18.805Z" fill="#687DF4"/>
+<path id="Fill-3" fill-rule="evenodd" clip-rule="evenodd" d="M26.8449 17.2013C26.8449 18.9819 25.3796 20.4307 23.5785 20.4307C21.7777 20.4307 20.3123 18.9819 20.3123 17.2013C20.3123 15.4207 21.7777 13.9718 23.5785 13.9718C25.3796 13.9718 26.8449 15.4207 26.8449 17.2013ZM23.5785 10.9707C20.1041 10.9707 17.2774 13.7659 17.2774 17.2013C17.2774 18.7815 17.8689 20.2726 18.948 21.4266L17.2474 23.4618L15.7594 22.2455C15.1154 21.7188 14.1571 21.8091 13.6231 22.4469C13.3659 22.7567 13.2447 23.1466 13.2825 23.5445C13.3206 23.9446 13.514 24.3046 13.8265 24.5581L15.3145 25.7746L12.4667 29.179C12.2096 29.4888 12.0889 29.8787 12.1267 30.2767C12.1645 30.6768 12.3579 31.0368 12.6718 31.2916C12.9505 31.5159 13.2841 31.6345 13.6371 31.6345C14.0906 31.6345 14.5169 31.4358 14.8064 31.0897L21.5003 23.083C22.1693 23.3146 22.8673 23.4318 23.5785 23.4318C27.0532 23.4318 29.8799 20.6369 29.8799 17.2013C29.8799 13.7659 27.0532 10.9707 23.5785 10.9707Z" fill="white"/>
+</g>
+</g>
+</g>
+</g>
+<defs>
+<clipPath id="clip0_166_923">
+<rect width="42" height="42" fill="white"/>
+</clipPath>
+</defs>
+</svg>

+ 19 - 0
src/assets/svg/zjc.svg

@@ -0,0 +1,19 @@
+<svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="zjc" clip-path="url(#clip0_166_916)">
+<g id="&#233;&#146;&#177;&#229;&#140;&#133;&#229;&#136;&#155;&#229;&#187;&#186;/&#229;&#175;&#188;&#229;&#133;&#165;">
+<g id="&#233;&#146;&#177;&#229;&#140;&#133;&#229;&#175;&#188;&#229;&#133;&#165;-&#229;&#175;&#188;&#229;&#133;&#165;&#230;&#150;&#185;&#229;&#188;&#143;">
+<g id="zjc_2">
+<g id="&#231;&#188;&#150;&#231;&#187;&#132;">
+<path id="Fill-1" fill-rule="evenodd" clip-rule="evenodd" d="M5.81615e-07 20.7642C-0.00269968 32.2318 9.39731 41.5302 20.9953 41.5329C32.5932 41.5356 41.9976 32.2412 42 20.7735V20.7642C42 9.29654 32.5981 0 21.0001 0C9.40191 0 5.81615e-07 9.29654 5.81615e-07 20.7642Z" fill="#407BF4"/>
+</g>
+<path id="Fill-3" fill-rule="evenodd" clip-rule="evenodd" d="M14.6284 20.7666H27.4047V18.0595H14.6284V20.7666ZM14.6281 25.2538H20.1038V22.5467H14.6281V25.2538ZM21.929 25.2538H27.4047V22.5467H21.929V25.2538ZM18.2348 11.6826C19.1245 11.6826 19.9585 12.1099 20.4717 12.8285L21.5577 14.348H28.6185C30.118 14.348 31.3388 15.541 31.3561 17.0236L31.4786 27.1117C31.4962 28.6066 30.2852 29.8326 28.7735 29.8503H13.2593C11.7474 29.8503 10.5215 28.6384 10.5215 27.1435V14.3897C10.5215 12.8945 11.7474 11.6826 13.2593 11.6826H18.2356H18.2348Z" fill="white"/>
+</g>
+</g>
+</g>
+</g>
+<defs>
+<clipPath id="clip0_166_916">
+<rect width="42" height="42" fill="white"/>
+</clipPath>
+</defs>
+</svg>

+ 5 - 5
src/views/login/importMethod/index.vue

@@ -1,11 +1,9 @@
 <template>
     <div class="container">
         <div class="cell-box" v-for="(item,i) in tabList" :key="item.name" @click="goTo(i)">
-            <van-image
-                width="44px"
-                height="44px"
-                round
-                src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
+            <svg-icon
+              style="width: 44px; height: 44px;"
+              :name="item.imgName"
             />
             <div class="cell-content">
                 <div>
@@ -24,10 +22,12 @@ const tabList = [
     {
         name:$t('form.ImportingThePrivateKey'),
         text:$t('form.ImportByEnteringThePlaintextPrivateKeyOrScanningTheQRCode'),
+        imgName:'sydr'
     },
     {
         name:$t('form.ImportMnemonicWords'),
         text:$t('form.ImportByEnteringTheMnemonicPhraseOrScanningTheQRCode'),
+        imgName:'zjc'
     },
     // {
     //     name:'keystore導入',

+ 1 - 1
src/views/transaction/jys/index.vue

@@ -46,7 +46,7 @@
                     <div :class="delegationIndex == 1?'active-label':''" @click="delegationIndex = 1">{{ $t('transaction.CurrentCommission') }}</div>
                     <div :class="delegationIndex == 2?'active-label':''" @click="delegationIndex = 2">{{ $t('transaction.MarketTrading') }}</div>
                 </div>
-                <div class="delegation-ul">
+                <div class="delegation-ul" @touchstart.stop @touchmove.stop @touchend.stop>
                     <template v-if="delegationIndex == 1">
                         <div class="delegation-li" v-for="item in entrustMylist">
                             <div>