摘要: function img_adaption(img) { if (!$(img).hasClass('img_adapted')) { $(img).css({'display': 'none'}); var originalWidth = $(img).width(); var originalH 阅读全文
posted @ 2018-08-29 16:11 玉& 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 微信小程序开发笔记: @组件开发 1、与Vue组件用法类似。 a、创建组件:小程序中的组件与普通页面目录相同,例如需要创建一个名为component的组件。首先创建一个目录为component的目录,由component.wxss、component.wxml、component.js、compon 阅读全文
posted @ 2018-08-29 16:07 玉& 阅读(260) 评论(0) 推荐(0) 编辑