|
@@ -22,8 +22,8 @@
|
|
|
</div>
|
|
|
<div class="list" v-infinite-scroll="load" v-if="list.length>0">
|
|
|
<div class="item" v-for="item in list" :key="item.UniqueCode" @click="handleClickItem">
|
|
|
- <div class="chartEn-mark" v-show="item.IsEnChart && showEnMark" style="top: 0;left: 0;">En</div>
|
|
|
- <p class="color_primary">{{ item.ChartName }}</p>
|
|
|
+ <!-- <div class="chartEn-mark" v-show="item.IsEnChart && showEnMark" style="top: 0;left: 0;">En</div> -->
|
|
|
+ <p class="color_primary">{{ currentLang==='en'?item.ChartNameEn:item.ChartName }}</p>
|
|
|
<img :src="!item.HaveOperaAuth?$icons.lock_big:item.ChartImage" alt="">
|
|
|
</div>
|
|
|
</div>
|
|
@@ -36,6 +36,12 @@
|
|
|
<script>
|
|
|
import { mychartInterface } from '@/api/api.js';
|
|
|
export default {
|
|
|
+ computed: {
|
|
|
+ //语言版本
|
|
|
+ currentLang() {
|
|
|
+ return this.$store.state.lang
|
|
|
+ },
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
myChartClassifyList:[],
|