<template>
<view class="content">
<image class="logo" src="/static/logo.png"></image>
<view class="text-area">
<text class="title">{
{
title }}</text>
</view>
<view class="contact"><button type="default" @click="getContact">通讯录</button></view>
<!-- <view class="contact-list" v-for="(item, index) of contactList" :key="index">
<view class="item">
<view class="phone">
<text>姓名:{
{
item.displayName }}</text>
<view class="phone-number">
<view>
<text>电话:</text>
<view v-for="(sitem, sindex) of item.phoneNumbers" :key="sindex">
<text>{
{
sitem.value }}</text
使用uniapp获取手机通讯录和短信
最新推荐文章于 2024-07-24 10:49:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)