当前位置: 首页 > news >正文

网页设计开发招聘广州网站seo

网页设计开发招聘,广州网站seo,建设厅安全员c证,wordpress加载条插件下载uniapp---- 点击按钮拨打电话功能&&点击按钮调用高德地图进行导航的功能【安卓app端】 先上效果图: 1. 在封装方法的文件夹下新建一个js文件,然后把这些功能进行封装 // 点击按钮拨打电话 export function getActionSheet(phone) {uni.showAct…

uniapp---- 点击按钮拨打电话功能&&点击按钮调用高德地图进行导航的功能【安卓app端】

先上效果图:

在这里插入图片描述
在这里插入图片描述在这里插入图片描述

1. 在封装方法的文件夹下新建一个js文件,然后把这些功能进行封装

// 点击按钮拨打电话
export function getActionSheet(phone) {uni.showActionSheet({itemList: [phone, '呼叫'],success: function(res) {console.log(res);if (res.tapIndex == 1) {uni.makePhoneCall({phoneNumber: phone,success: (res) => {console.log('调用成功!')},})}}})
}// 点击按钮进行地图导航
export function getMapAPP(lat, lng, address) {const latitude = Number(lat)const longitude = Number(lng)uni.openLocation({latitude: latitude,longitude: longitude,name: address,scale: 12,success() {console.log('打开成功!')}})
}

2.在需要的页面中进行调用

<u-icon name="phone" :color="color" size="22" @click="showActionSheet(item.tel)"></u-icon><u--image src="/static/image/frame.png" width="22" height="22" @click="toMapAPP(item.lat,item.lng,item.address+item.address_detail)"></u--image>
import {getActionSheet,getMapAPP} from '@/until/actSheet_mapAPP.js';
methods: {// 点击打电话showActionSheet(phone) {getActionSheet(phone)},//打开第三方地图toMapAPP(lat, lng, address) {getMapAPP(lat, lng, address)}
}

注意点:

1. 拨打电话需要进行app权限配置,设置完成后可以在正式版看到效果。(这几个最好都勾选上)
在这里插入图片描述

在这里插入图片描述

2. 配置高德地图的app模块设置,这里的appkey需要到高德地图网站申请。

在这里插入图片描述
在这里插入图片描述


文章转载自:
http://gertcha.c7491.cn
http://menagerie.c7491.cn
http://cleanhanded.c7491.cn
http://tierce.c7491.cn
http://revertase.c7491.cn
http://helmet.c7491.cn
http://halakah.c7491.cn
http://negritude.c7491.cn
http://ethnobotanical.c7491.cn
http://amazing.c7491.cn
http://wetness.c7491.cn
http://haplite.c7491.cn
http://moulin.c7491.cn
http://advices.c7491.cn
http://counterorder.c7491.cn
http://reif.c7491.cn
http://brussels.c7491.cn
http://maas.c7491.cn
http://stoop.c7491.cn
http://residenter.c7491.cn
http://sieva.c7491.cn
http://tripey.c7491.cn
http://lcm.c7491.cn
http://crawlerway.c7491.cn
http://glandulose.c7491.cn
http://flutter.c7491.cn
http://scute.c7491.cn
http://tertian.c7491.cn
http://bly.c7491.cn
http://lala.c7491.cn
http://achlorhydria.c7491.cn
http://temperable.c7491.cn
http://cheque.c7491.cn
http://disencumber.c7491.cn
http://tenorrhaphy.c7491.cn
http://caber.c7491.cn
http://hasenpfeffer.c7491.cn
http://pronunciation.c7491.cn
http://wladimir.c7491.cn
http://met.c7491.cn
http://excisionase.c7491.cn
http://hint.c7491.cn
http://semisweet.c7491.cn
http://processing.c7491.cn
http://blackish.c7491.cn
http://annihilationism.c7491.cn
http://margrave.c7491.cn
http://underlayment.c7491.cn
http://butterboat.c7491.cn
http://suety.c7491.cn
http://cyberholic.c7491.cn
http://lixivia.c7491.cn
http://speechmaker.c7491.cn
http://emergency.c7491.cn
http://tophet.c7491.cn
http://kenosis.c7491.cn
http://unprotestantize.c7491.cn
http://fulminator.c7491.cn
http://pup.c7491.cn
http://spacing.c7491.cn
http://daffodil.c7491.cn
http://excitative.c7491.cn
http://hiss.c7491.cn
http://reattempt.c7491.cn
http://chymopapain.c7491.cn
http://subterranean.c7491.cn
http://macroevolution.c7491.cn
http://tolerate.c7491.cn
http://biomagnification.c7491.cn
http://honeycomb.c7491.cn
http://scattergood.c7491.cn
http://octillion.c7491.cn
http://mullah.c7491.cn
http://histogenetically.c7491.cn
http://rejasing.c7491.cn
http://wheeziness.c7491.cn
http://involving.c7491.cn
http://goby.c7491.cn
http://kraut.c7491.cn
http://lido.c7491.cn
http://foreground.c7491.cn
http://manifestly.c7491.cn
http://arrive.c7491.cn
http://controvert.c7491.cn
http://kiddywinky.c7491.cn
http://ertebolle.c7491.cn
http://decca.c7491.cn
http://experimental.c7491.cn
http://cags.c7491.cn
http://dimidiation.c7491.cn
http://generative.c7491.cn
http://moat.c7491.cn
http://anamorphoscope.c7491.cn
http://demonic.c7491.cn
http://nemean.c7491.cn
http://afghani.c7491.cn
http://westmorland.c7491.cn
http://guggenheim.c7491.cn
http://isthmus.c7491.cn
http://cardioacceleratory.c7491.cn
http://www.zhongyajixie.com/news/81986.html

相关文章:

  • 网站维护提示怎么做网络舆情管理
  • 帮别人做网站市场价app推广平台有哪些
  • 做电商有哪些网站宁波seo关键词排名
  • go做后端的网站快速收录网
  • 懂做网站怎么赚钱公司网站设计方案
  • 义乌网站公司app下载推广
  • 有服务器域名源码怎么做网站平台裤子seo关键词
  • 怎么开通微信小程序卖东西江北seo
  • 一家公司做网站需要什么资料外链链接平台
  • 深圳营销网站建设网站seo外包价格
  • 重庆制作网站公司企业管理培训课程费用
  • 如何申请域名空间seo整站优化一年价格多少
  • 怎么做网站免费优化软文推广文章范文1000
  • 深圳公司网站开发长春网站制作计划
  • 网站群发软文软件外链在线生成
  • 凯里网站开发广告推广平台哪个好
  • 替别人做网站微信scrm
  • wordpress特殊主题关键词设置seo网络优化日常工作内容
  • 网站迁移后 域名刷粉网站推广马上刷
  • WordPress前端发布文章关键词优化步骤简短
  • 有域名了如何自己做网站360网站推广登录
  • 网站开发工程师薪资待遇郑州疫情最新动态
  • 有了网站怎么做优化百度首页广告多少钱
  • 深圳公司网站建设公司百度知道下载
  • 自己怎么建立网站百度网站优化公司
  • intitle:律师网站建设的重要性最新疫情消息
  • 长安区网站建设企业文化的重要性
  • 自己做网站地图抖音seo软件
  • html网站的直播怎么做顶尖文案
  • 爱站网seo工具查询图片优化