摘要: 选择 openMapRoute(lat, lon, cityName) { var url = ''; if (plus.os.name == 'Android') { var hasBaiduMap = plus.runtime.isApplicationExist({ pname: 'com.b 阅读全文
posted @ 2023-05-20 18:03 是小刘同学呀 阅读(81) 评论(0) 推荐(0)
摘要: //点击号码拨打电话 callPhone(val) { // window.location.href = 'tel://110' uni.makePhoneCall({ phoneNumber: val, }) plus.device.dial(val, true) }, uniapp发布需要配置 阅读全文
posted @ 2023-05-20 17:56 是小刘同学呀 阅读(36) 评论(0) 推荐(0)
摘要: onBackPress(options) { this.backButtonPress++; if (this.backButtonPress > 1) { plus.runtime.quit(); } else { plus.nativeUI.toast('再按一次退出应用'); } setTim 阅读全文
posted @ 2023-05-20 17:55 是小刘同学呀 阅读(24) 评论(0) 推荐(0)
摘要: 点击下一步置顶 阅读全文
posted @ 2023-05-20 17:49 是小刘同学呀 阅读(7) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-05-20 17:42 是小刘同学呀 阅读(31) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-05-20 17:39 是小刘同学呀 阅读(9) 评论(0) 推荐(0)
摘要: 在app页面判断版本是否更新 阅读全文
posted @ 2023-05-20 17:36 是小刘同学呀 阅读(11) 评论(0) 推荐(0)
摘要: <swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :circular="true"> <!-- 把当前点击的图片的索引,传递到 preview() 处理函数中 点击图片预览--> <sw 阅读全文
posted @ 2023-04-22 15:42 是小刘同学呀 阅读(36) 评论(0) 推荐(0)
摘要: 话不多说 直接上源码 let addressInfo = reactive({ longitude: "", // 经度 latitude: "", // 纬度 province: "", // 省 city: "", // 市 district: "", // 区 address: "", // 阅读全文
posted @ 2023-04-22 10:47 是小刘同学呀 阅读(13) 评论(0) 推荐(0)
摘要: v-if和v-show的区别v-if1、v-if 是“真正”的条件渲染,因为它会确保在切换过程中条件块内的事件监听器和子组件适当地被销毁和重建。2、v-if 也是惰性的:如果在初始渲染时条件为假,则什么也不做——直到条件第一次变为真时,才会开始渲染条件块。 v-show1、v-show 就简单得多— 阅读全文
posted @ 2022-11-22 11:27 是小刘同学呀 阅读(195) 评论(0) 推荐(0)