switchLanguage.wxml 1.3 KB

1
  1. <view class="page data-v-8ef49e56"><view class="btn-list data-v-8ef49e56"><view class="language data-v-8ef49e56" data-lang="zh-CN" data-event-opts="{{[['tap',[['langChange',['$event']]]]]}}" bindtap="__e"><text class="data-v-8ef49e56">简体中文</text><block wx:if="{{languageSelect=='zh-CN'}}"><image class="selected data-v-8ef49e56" src="../../static/mine/326.png" mode></image></block></view><view class="language data-v-8ef49e56" data-lang="en-US" data-event-opts="{{[['tap',[['langChange',['$event']]]]]}}" bindtap="__e"><text class="data-v-8ef49e56">English</text><block wx:if="{{languageSelect=='en-US'}}"><image class="selected data-v-8ef49e56" src="../../static/mine/326.png" mode></image></block></view><view class="language data-v-8ef49e56" data-lang="es-ES" data-event-opts="{{[['tap',[['langChange',['$event']]]]]}}" bindtap="__e"><text class="data-v-8ef49e56">Español</text><block wx:if="{{languageSelect=='es-ES'}}"><image class="selected data-v-8ef49e56" src="../../static/mine/326.png" mode></image></block></view><view class="language data-v-8ef49e56" data-lang="it-IT" data-event-opts="{{[['tap',[['langChange',['$event']]]]]}}" bindtap="__e"><text class="data-v-8ef49e56">Italiano</text><block wx:if="{{languageSelect=='it-IT'}}"><image class="selected data-v-8ef49e56" src="../../static/mine/326.png" mode></image></block></view></view></view>