From 634fe57349b633de2881514f1a68959033c85e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Thu, 20 Mar 2025 10:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/userlist/index.vue | 2 +- pages/customer/add.vue | 19 ++++++--- pages/customer/detile.vue | 47 +++++++++++++++------ pages/customer/followup.vue | 2 +- pages/customer/map.nvue | 2 +- pages/index/customer.vue | 2 +- pages/index/index.vue | 9 +++-- pages/index/mine.vue | 15 ++++--- pages/login/index.vue | 74 +++++++++++++++++++++++++++++++--- pages/login/register.vue | 6 +-- pages/mine/about.vue | 6 +-- pages/mine/changinfo.vue | 7 ---- pages/mine/resetPwd.vue | 6 +-- static/image/lingke.png | Bin 0 -> 7070 bytes 14 files changed, 145 insertions(+), 52 deletions(-) create mode 100644 static/image/lingke.png diff --git a/components/userlist/index.vue b/components/userlist/index.vue index 082d86c..b482625 100644 --- a/components/userlist/index.vue +++ b/components/userlist/index.vue @@ -14,7 +14,7 @@ {{item.contacts}}{{item.phone}} {{item.grade_txt}} - 男 | 迪拜越野车 + {{item.sex_txt}} | 迪拜{{item.car_type_name}} {{item.describe}} - + {{$t('mine.kfphone')}} @@ -99,6 +99,9 @@ url: url }); }, + close() { + this.show = false + }, // 拨打电话 callPhone(phoneNumber) { this.show = false; @@ -230,12 +233,12 @@ top: 32%; } .son-img-bg { - width: 24px; - height: 24px; + width: 20px; + height: 20px; position: absolute; - top: 50%; + top: 45%; margin-top: -20rpx; - left: 12; + left: 12px; } span { margin-left: 68rpx; diff --git a/pages/login/index.vue b/pages/login/index.vue index c05787f..785c2f5 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -1,9 +1,11 @@ @@ -64,12 +68,57 @@ email: "1696136552@qq.com", password: "123456", pactChecked: false, + showlang: false, + columns: [ + [{ + label: '中文', + id: 'zh' + }, { + label: 'English', + id: 'en' + }, { + label: 'Russian', + id: 'ru' + }] + ], } }, onLoad() { }, methods: { + close(){ + this.showlang = false + }, + cancellang() { + this.showlang = false + }, + //语言切换事件 + confirmlang(e) { + this.$i18n.locale = e.value[0].id + this.showlang = false + this.list1 = [{ + name: this.$t('all'), + }, { + name: this.$t('followup'), + }, { + name: this.$t('deal') + }, { + name: this.$t('lost') + }]; + uni.setTabBarItem({ + index: 0, + text: this.$t('tabbar.home') + }) + uni.setTabBarItem({ + index: 1, + text: this.$t('tabbar.customer') + }) + uni.setTabBarItem({ + index: 2, + text: this.$t('tabbar.mine') + }) + }, pactChange() { this.pactChecked = !this.pactChecked }, @@ -141,6 +190,21 @@