摘要: <div @dblclick="shuangji">双击</div> 阅读全文
posted @ 2020-08-05 13:52 太极面 阅读(3953) 评论(0) 推荐(0) 编辑
摘要: 给图片添加 flex-grow: 0; flex-shrink: 0; 阅读全文
posted @ 2020-07-09 09:45 太极面 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 带斜线:https://www.cnblogs.com/zyl-Tara/p/6139194.html 普通:https://www.cnblogs.com/haoqipeng/p/5309491.html 阅读全文
posted @ 2020-05-28 11:24 太极面 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 遍历对象 var obj = { "name" : "zh", "age" : 22, } 1、for(var key in obj){ //遍历对象的所有属性,包括原型链上的所有属性 if(obj.hasOwnProperty(key){ //判断是否是对象自身的属性,而不包含继承自原型链上的属性 阅读全文
posted @ 2020-05-27 16:47 太极面 阅读(143) 评论(0) 推荐(0) 编辑
摘要: vertical-align:top; 阅读全文
posted @ 2020-05-22 11:39 太极面 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 当父组件引用了子组件的时候,会遇到父组件执行子组件的方法 父组件中的内容 wxml: <view wx:for="{{imgs}}" wx:key="index" style="width: 500rpx;height: 300rpx;margin: 30rpx auto;"> <button bi 阅读全文
posted @ 2020-03-27 13:49 太极面 阅读(3370) 评论(0) 推荐(0) 编辑
摘要: js let myStyle = `--color:blue; --border-radius:50%; --aak-color:red;` this.setData({ myStyle:myStyle, }) html <view class="bbb" style="width: 100%;he 阅读全文
posted @ 2020-03-26 17:09 太极面 阅读(3814) 评论(0) 推荐(0) 编辑
摘要: <image src="http://a.hiphotos.baidu.com/zhidao/pic/item/0823dd54564e9258710f4a489782d158ccbf4e59.jpg" bindtap="previewImage"></image> previewImage(e) 阅读全文
posted @ 2020-03-26 17:03 太极面 阅读(620) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhuoganliwanjin/article/details/81781327 阅读全文
posted @ 2020-03-25 16:21 太极面 阅读(247) 评论(0) 推荐(0) 编辑
摘要: wx. uni. https://developers.weixin.qq.com/miniprogram/dev/api/device/clipboard/wx.setClipboardData.html 阅读全文
posted @ 2020-03-20 13:29 太极面 阅读(1097) 评论(0) 推荐(0) 编辑