2024.7.11
This commit is contained in:
parent
49ea865a0b
commit
1913075cb8
|
|
@ -8,10 +8,10 @@ Page({
|
|||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
username: 'admin',
|
||||
password: 'Daofu202406',
|
||||
// username: '',
|
||||
// password: '',
|
||||
// username: 'admin',
|
||||
// password: 'Daofu202406',
|
||||
username: '',
|
||||
password: '',
|
||||
showLogin: true,
|
||||
newname:'',
|
||||
newphone:'',
|
||||
|
|
|
|||
|
|
@ -19,6 +19,12 @@ Page({
|
|||
files: [],
|
||||
userInfo:{}
|
||||
},
|
||||
// 拨打电话
|
||||
call:function(data){
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: data.currentTarget.dataset.phonenumber,
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 查看人员详情
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user