cuiqian2004
2025-09-29 245895f78be2ed25a615608a092490a4042a906b
pages/login/language.vue
@@ -1,5 +1,5 @@
<template>
   <view class="uni-page-login-language">
   <view class="uni-page-login-language" :class="largeMode?'large-mode':''">
      <view class="uni-line" v-for="item in langList" :key='item.value' @click="clickLanguage(item.value)"><text
            class="name">{{item.name }}</text> <uni-icons v-if="curLang==item.value " type="checkmarkempty"
            :size="20"></uni-icons> </view>
@@ -8,9 +8,12 @@
<script>
   import utils from "@/js/utils.js"
   import {showInfo,
      showError} from "@/js/Page.js"
   export default {
      data() {
         return {
            largeMode: getApp().globalData.largeMode || false,
            langList: [{
                  value: "zh-Hans",
                  name: "中文简体"
@@ -44,7 +47,7 @@
         },
      },
      onLoad() {
         this.curLang = uni.getLocale()
         this.oldLang = this.curLang
      },