![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
仓鼠冒
这个作者很懒,什么都没留下…
展开
-
微信小程序,同一个程序判断出实在微信小程序环境还是企业微信小程序环境
wx.getSystemInfo({ success (res) { if(res.environment) { // 企业微信环境 } else { // 微信·环境 } } })原创 2021-09-24 10:39:29 · 1104 阅读 · 0 评论 -
vue剪贴板
import Clipboard from 'clipboard';var clipboard = new Clipboard('.tag-read') clipboard.on('success', e => { console.log('复制成功',this.key) // 释放内存 clipboard.destroy() }) clipboard.on('error', e => {原创 2021-09-17 10:52:09 · 404 阅读 · 0 评论 -
微信小程序链接wifi
startWifi: function (ssid, password) { var that = this; console.log("startWifi方法调用成功") wx.startWifi({ success: function (res) { wx.getSystemInfo({ success: (res)=> { console.log('wx.getSystemInfo调用成功',res.原创 2021-06-23 15:01:26 · 705 阅读 · 0 评论 -
小程序使用阿里图标变方框问题
ttf文件https://transfonter.org/解压出来的css文件,用来替换原来那个css上面的url原创 2020-10-15 14:16:16 · 715 阅读 · 1 评论 -
微信小程序-slider模块-双向滑动
这里是改良的slider滑块,实现双向滑动,也是一个代码的存储已0点到24点的时间范围选择为例这是wxml页面<view class='buyMian-slide'> <view class='flex flexSb buyMian-slide-range'> <!-- <view class=''>{{min}}点</view> --> <!-- <view class=''>{{max}}原创 2020-09-27 09:20:44 · 2019 阅读 · 0 评论 -
微信小程序 picker 对象数组
picker:在这里插入代码片 <picker bindchange="points_" value="{{points[index].text}}" range="{{points}}" ***range-key="{{'text'}}">*** <view class="picker"> {{points[index].text}} </view> </picker>想知道更多可以看这个https://blog.csdn.net/onion_line原创 2020-09-18 10:08:15 · 299 阅读 · 0 评论