From 1913075cb858dffae69d4bed8a88dfbafe1a172a Mon Sep 17 00:00:00 2001
From: du <1176658673@qq.com>
Date: Thu, 11 Jul 2024 10:52:11 +0800
Subject: [PATCH] 2024.7.11
---
pages/login/index.js | 8 ++++----
pages/statistic/j-b-x-x/detail/index.js | 6 ++++++
pages/statistic/j-b-x-x/detail/index.wxml | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/pages/login/index.js b/pages/login/index.js
index de60ca1..8f5b0c6 100644
--- a/pages/login/index.js
+++ b/pages/login/index.js
@@ -8,10 +8,10 @@ Page({
* 页面的初始数据
*/
data: {
- username: 'admin',
- password: 'Daofu202406',
- // username: '',
- // password: '',
+ // username: 'admin',
+ // password: 'Daofu202406',
+ username: '',
+ password: '',
showLogin: true,
newname:'',
newphone:'',
diff --git a/pages/statistic/j-b-x-x/detail/index.js b/pages/statistic/j-b-x-x/detail/index.js
index 5dd27fd..b990852 100644
--- a/pages/statistic/j-b-x-x/detail/index.js
+++ b/pages/statistic/j-b-x-x/detail/index.js
@@ -19,6 +19,12 @@ Page({
files: [],
userInfo:{}
},
+ // 拨打电话
+ call:function(data){
+ wx.makePhoneCall({
+ phoneNumber: data.currentTarget.dataset.phonenumber,
+ })
+ },
/**
* 查看人员详情
*/
diff --git a/pages/statistic/j-b-x-x/detail/index.wxml b/pages/statistic/j-b-x-x/detail/index.wxml
index f781500..81f6bd3 100644
--- a/pages/statistic/j-b-x-x/detail/index.wxml
+++ b/pages/statistic/j-b-x-x/detail/index.wxml
@@ -22,7 +22,7 @@
联系电话
- {{userInfo.phoneNumber}}
+ {{userInfo.phoneNumber}}
所属区域