Commit 48acbc41 authored by honghy's avatar honghy Committed by wux

首页公告多语言

parent b509fd1a
......@@ -69,7 +69,7 @@
:key="index"
>
<view class="mssgv-v-2">
<view class="">{{ $lang.locale == 'zh' ? item.titleZh : item.titleEn }}</view>
<view class="">{{ $lang.locale == 'zh' ? item.title : $lang.locale == 'en'?item.titleEn:item.titleFr }}</view>
<view class="">
<image src="../../static/img/time.png" mode=""></image>
<text>{{ getDate(item.createTime) }}</text>
......@@ -132,10 +132,10 @@
<uni-popup ref="adpopup" type="center" :mask-click="false">
<view class="ad-conten">
<image @click="closeAd" class="ad-bg" src="../../static/img/index_close.png"></image>
<view class="ad-title">{{ $lang.locale == 'zh' ? adData.titleZh : adData.titleEn }}</view>
<view class="ad-title">{{ $lang.locale == 'zh' ? adData.titleZh : $lang.locale == 'en'?adData.titleEn:adData.titleFr }}</view>
<view class="ad-info">
<rich-text
:nodes="$lang.locale == 'zh' ? adData.htmlAppZh : adData.htmlAppEn"
:nodes="$lang.locale == 'zh' ? adData.htmlAppZh : $lang.locale == 'en'?adData.htmlAppEn:adData.htmlAppFr"
></rich-text>
</view>
<view class="ad-btns">
......@@ -158,7 +158,7 @@
v-for="item in transType"
@click="toCreatOrder(item.value)"
:class="'type' + item.value"
>{{ $lang.locale == 'zh' ? item.label : item.labelEn }}</view
>{{ $lang.locale == 'zh' ? item.label : $lang.locale == 'en'?item.labelEn:item.labelFr }}</view
>
</view>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment