From e540e5b44f56ce8e8edc377dfa4c5b343b1a9eef Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期四, 14 八月 2025 16:12:15 +0800
Subject: [PATCH] paramvalue
---
pages/login/language.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/pages/login/language.vue b/pages/login/language.vue
index 5194206..ff3da5f 100644
--- a/pages/login/language.vue
+++ b/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>
@@ -11,6 +11,7 @@
export default {
data() {
return {
+ largeMode: getApp().globalData.largeMode || false,
langList: [{
value: "zh-Hans",
name: "涓枃绠�綋"
@@ -44,7 +45,7 @@
},
},
onLoad() {
-
+
this.curLang = uni.getLocale()
this.oldLang = this.curLang
},
@@ -58,7 +59,7 @@
}
</script>
-<style lang="less">
+<style lang="scss">
.uni-page-login-language {
display: flex;
width: 720rpx;
--
Gitblit v1.9.1