switchLanguage.wxml 1.3 KB

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