2024.7.11

This commit is contained in:
du 2024-07-11 10:52:11 +08:00
parent 49ea865a0b
commit 1913075cb8
3 changed files with 11 additions and 5 deletions

View File

@ -8,10 +8,10 @@ Page({
* 页面的初始数据
*/
data: {
username: 'admin',
password: 'Daofu202406',
// username: '',
// password: '',
// username: 'admin',
// password: 'Daofu202406',
username: '',
password: '',
showLogin: true,
newname:'',
newphone:'',

View File

@ -19,6 +19,12 @@ Page({
files: [],
userInfo:{}
},
// 拨打电话
call:function(data){
wx.makePhoneCall({
phoneNumber: data.currentTarget.dataset.phonenumber,
})
},
/**
* 查看人员详情
*/

View File

@ -22,7 +22,7 @@
</view>
<view class="item_cent">
<view>联系电话</view>
<view>{{userInfo.phoneNumber}}</view>
<view data-phoneNumber="{{userInfo.phoneNumber}}" catchtap="call">{{userInfo.phoneNumber}}</view>
</view>
<view class="item_cent">
<view>所属区域</view>