![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uni-app
颂小恙
一只时尚的程序媛。
展开
-
uni-app 封装echarts地图组件 实现地图二级下钻
uni-app 封装echarts地图组件子组件:已实现功能:实现地图下钻,跳到省级地图。<template> <view class="content" style="touch-action:none;"> <button type="default" style="width: 90upx;height: 60upx;font-size: 24upx;padding: 0;margin-left:20upx ;" @click="echarts.showChi原创 2021-01-25 18:23:51 · 1866 阅读 · 1 评论 -
关于uni-app 倒计时 清除、熄屏等问题
<template> <view> <text style="color: #E60000;">倒计时:{{interval}}</text> </view></template> <script> let maxtime = 0 export default { data() { return { interval: '', timer: null,原创 2020-12-07 13:41:57 · 4920 阅读 · 1 评论 -
uni-app上传图片功能,点击 对应图片 实现删除
<template> <view class="" style="padding: 10px;"> <view class="uploadstyle" @click="addPicture" v-if='tempFilePathsEditor.length == 0'> <image src="../../static/img/unloadPho.png" mode="" style="width: 150upx;height: 150upx;"&g原创 2020-12-01 18:10:12 · 1754 阅读 · 0 评论 -
关于uni-app手机nfc开启、读取、写入功能
关于手机开启nfc功能nfc功能开启,分为开启手机的nfc功能和开启app的nfc功能。那么app端会用到的nfc功能有哪些呢?有nfc读取身份证内容,手机读取nfc签的内容,手机更改nfc签的内容,手机写入nfc签内容。关于nfc读取身份证内容,uni-app插件市场有相关插件,可以拿来使用。关于手机读取nfc签的内容,手机更改nfc签的内容,手机写入nfc签内容,需要相关js文件来配合app开启nfc、读取、写入等功能,当然需要及时关闭app nfc功能。...原创 2020-12-01 09:44:57 · 9945 阅读 · 40 评论 -
vue 关于url参数拼接
uni-app 关于url参数拼接,对象形式传参、单个参数传参let data = { id: item.id, trainId: this.id, type: 'news', ptitle: item.ptitle};console.log(data)uni.navigateTo({ url:`../details/knowDetail?data=${JSON.stringify(data)}`});多个参数:let data = { id: this.detailData.id原创 2020-11-20 14:39:26 · 7345 阅读 · 2 评论