优化业主

This commit is contained in:
Your Name 2023-09-26 11:00:25 +08:00
parent f5c14db594
commit a3e9879c5f

View File

@ -28,7 +28,7 @@
<view> <view>
<text class="text-bold">{{item.carNum}}</text> <text class="text-bold">{{item.carNum}}</text>
</view> </view>
<view class="flex justify-start"> <view class="flex justify-start" @click="_toTel(item.link)">
<!-- <button class="cu-btn round sm line-black margin-left-sm" <!-- <button class="cu-btn round sm line-black margin-left-sm"
@tap="_toApplyDetail(item)">详情</button> --> @tap="_toApplyDetail(item)">详情</button> -->
{{item.ownerName}}/{{item.link}} {{item.ownerName}}/{{item.link}}
@ -97,6 +97,23 @@
}).then(_data=>{ }).then(_data=>{
_that.cars = _data.data; _that.cars = _data.data;
}) })
},
_toTel:function(_tel){
uni.makePhoneCall({
//
phoneNumber: _tel,
//
success: (res) => {
console.log('调用成功!')
},
//
fail: (res) => {
console.log('调用失败!')
}
});
} }
} }