Browse Source

翻译

master
luyisha 3 years ago
parent
commit
99cf20a1fc
  1. 3
      i18n/lang/zh-TW.json
  2. 6
      pages/base/home.vue
  3. 5
      pages/base/index.vue
  4. 3
      pages/help/index.vue

3
i18n/lang/zh-TW.json

@ -543,8 +543,7 @@
"help": {
"a0": "詳情",
"a1": "學院",
"a2": "分類",
"a3": "學院"
"a2": "分類"
},
"login": {
"a0": "郵箱號",

6
pages/base/home.vue

@ -396,7 +396,7 @@
<view class="head_info m-y-xl">
<view class=" d-flex justify-between align-center p-x-xs p-t-lg bor5 p-b-xs">
<view class="d-flex">
<text class="m-x-xs fn-center" @click="active=0" :class="active==0?'fn-bold fn-15 p-b-xs bor5-active color-dark':''">合約指數</text>
<text class="m-x-xs fn-center" @click="active=0" :class="active==0?'fn-bold fn-15 p-b-xs bor5-active color-dark':''">{{ $t("first.b5") }}</text>
<!-- <text class="m-x-xs fn-center" @click="active=1" :class="active==1?'fn-bold fn-15 p-b-xs bor5-active color-dark':''">現貨指數</text> -->
</view>
</view>
@ -422,10 +422,10 @@
<view class="fn-left w-6/12">
<view class="d-flex align-center">
<text class="fn-bold fn-16 color-dark">{{ item.pair_name }}</text>
<text class="color-dark fn-14 m-l-xs">永续</text>
<text class="color-dark fn-14 m-l-xs">{{ $t("first.b8") }}</text>
</view>
<view class="d-flex align-center fn-12 m-t-xs">
24H {{ omitTo(item.vol,0) }}
24H{{ $t("first.b3") }} {{ omitTo(item.vol,0) }}
</view>
</view>
<!-- <view class="fn-left align-end w-3/12">

5
pages/base/index.vue

@ -90,7 +90,7 @@ export default {
{
// label: this.$t("base.a4"),
// tel: "option-list",
label: this.$t("help.a3"),
label: this.$t("help.a1"),
tel: "help",
// label: this.$t("purchase.a5"),
// tel: "purchase",
@ -158,7 +158,8 @@ export default {
.footer {
color: #ccc;
background-color: #fff;
box-shadow: $tab-nav-shadow;
// box-shadow: $tab-nav-shadow;
box-shadow: 0px -7px 20px 0px rgba(37, 37, 48, 0.15);
position: relative;
z-index: 5;
}

3
pages/help/index.vue

@ -68,7 +68,8 @@ export default {
},
methods: {
college() {
let lang = uni.getStorageSync('language')=='zh-CN'?'zh-CN':(uni.getStorageSync('language')=='zh-TW'?'zh-CN':'en');
// let lang = uni.getStorageSync('language')=='zh-CN'?'zh-CN':'en';
let lang = uni.getStorageSync('language');
let data={
lang:lang
};

Loading…
Cancel
Save