Commit d7dc9697 authored by honghy's avatar honghy

首页公告多语言

parent 1e96d09e
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
:key="index" :key="index"
> >
<view class="mssgv-v-2"> <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=""> <view class="">
<image src="../../static/img/time.png" mode=""></image> <image src="../../static/img/time.png" mode=""></image>
<text>{{ getDate(item.createTime) }}</text> <text>{{ getDate(item.createTime) }}</text>
...@@ -132,10 +132,10 @@ ...@@ -132,10 +132,10 @@
<uni-popup ref="adpopup" type="center" :mask-click="false"> <uni-popup ref="adpopup" type="center" :mask-click="false">
<view class="ad-conten"> <view class="ad-conten">
<image @click="closeAd" class="ad-bg" src="../../static/img/index_close.png"></image> <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"> <view class="ad-info">
<rich-text <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> ></rich-text>
</view> </view>
<view class="ad-btns"> <view class="ad-btns">
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
v-for="item in transType" v-for="item in transType"
@click="toCreatOrder(item.value)" @click="toCreatOrder(item.value)"
:class="'type' + 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>
</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