Browse Source

常规修改

master
liaoxinyu 2 years ago
parent
commit
863b9659c3
  1. 12
      src/views/exchange/symbols.vue
  2. 3
      src/views/signUp/index.vue

12
src/views/exchange/symbols.vue

@ -56,7 +56,7 @@
<td class="w-33 text-right"> <td class="w-33 text-right">
{{ coin.coin_name == 'fav' ? item.close : item.price}} {{ coin.coin_name == 'fav' ? item.close : item.price}}
</td> </td>
<td class="w-33 text-right" :class="item.increaseStr.startsWith('-') ? 'red' : 'green'"> <td class="w-33 text-right" :class="getItemClass(item)">
{{ item.increaseStr }} {{ item.increaseStr }}
</td> </td>
</tr> </tr>
@ -228,7 +228,15 @@ export default {
this.favList.marketInfoList = res||[]; this.favList.marketInfoList = res||[];
}) })
.catch((err) => {}); .catch((err) => {});
} },
// -
getItemClass(item) {
if (item && item.increaseStr && item.increaseStr.startsWith('-')) {
return 'red';
} else {
return 'green';
}
}
}, },
created() { created() {

3
src/views/signUp/index.vue

@ -91,7 +91,8 @@
{{$t('login.enterEmailCode',{email:ajar.email,num:6})}} {{$t('login.enterEmailCode',{email:ajar.email,num:6})}}
<br /> <br />
{{$t('login.accountActivated')}} {{$t('login.accountActivated')}}
<a href @click.prevent="step = 1;">{{$t('login.backOld')}}</a> <div style="display: inline-block;" class="rightText" @click.prevent="step = 1;">{{$t('login.backOld')}}</div>
<!-- <a href @click.prevent="step = 1;">{{$t('login.backOld')}}</a> -->
</div> </div>
<section class="my-codes"> <section class="my-codes">
<header class="my-codes__title">{{$t('login.verCode')}}</header> <header class="my-codes__title">{{$t('login.verCode')}}</header>

Loading…
Cancel
Save