Commit 8fc1a20e authored by honghy's avatar honghy Committed by wux

公告多国语

parent 14cfbb61
......@@ -4,7 +4,7 @@
<view class="start-bar"></view>
<view class="notice_info">
<view class="notice_title">
<text>{{$lang.locale=='zh'?noticeData.title:noticeData.titleEn}}</text>
<text>{{$lang.locale=='zh'?noticeData.title:$lang.locale=='en'?noticeData.titleEn:noticeData.titleFr}}</text>
</view>
<view class="notice_tag">
<text>{{$lang.lang.notice.type}}</text>
......@@ -13,7 +13,7 @@
<text>{{getDate(noticeData.createTime)}}</text>
</view>
<view class="notice_content">
<rich-text :nodes="$lang.locale=='zh'?noticeData.content:noticeData.contentEn"></rich-text>
<rich-text :nodes="$lang.locale=='zh'?noticeData.content:$lang.locale=='en'?noticeData.contentEn:noticeData.contentFr"></rich-text>
</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