From 987d55d9c0b3eddb6127a927a2c7aa8e3a9f095c Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 23 Sep 2024 09:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/scss/app.scss | 2 +- pages/auth/primary.vue | 50 +++++++++---------- .../uni-datetime-picker/calendar.vue | 1 + 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/assets/scss/app.scss b/assets/scss/app.scss index a0cb320..8f3da1f 100644 --- a/assets/scss/app.scss +++ b/assets/scss/app.scss @@ -593,7 +593,7 @@ navigator { background-color: $panel-4 !important; } .uni-picker-view-mask { - background: var(--picker-mask); + // background: var(--picker-mask); background-position: top, bottom; background-size: 100% 102px; background-repeat: no-repeat; diff --git a/pages/auth/primary.vue b/pages/auth/primary.vue index ae5fd2b..2bd283c 100644 --- a/pages/auth/primary.vue +++ b/pages/auth/primary.vue @@ -102,32 +102,32 @@ export default { detail: {}, countryList: [], form: { - realname: "", - birthday: "", - type: "2", - id_card: "", - address: "", - city: "", - postal_code: "", - country_id: "", - country_code: "", - phone: "", + realname: "", + birthday: "", + type: "2", + id_card: "", + address: "", + city: "", + postal_code: "", + country_id: "", + country_code: "", + phone: "", }, - single: "2023-06-3", - typeList: [ - { - label: this.$t('auth.d2'), - value: 1, - }, - { - label: this.$t('auth.d3'), - value: 2, - }, - { - label: this.$t('auth.d4'), - value: 3, - }, - ] + single: "2023-06-3", + typeList: [ + { + label: this.$t('auth.d2'), + value: 1, + }, + { + label: this.$t('auth.d3'), + value: 2, + }, + { + label: this.$t('auth.d4'), + value: 3, + }, + ] }; }, computed: { diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue index 259a52a..3148228 100644 --- a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue +++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue @@ -384,6 +384,7 @@ }, }, created() { + uni.setLocale('en'); // 获取日历方法实例 this.cale = new Calendar({ selected: this.selected,