
微信小程序
meixi_android
android开发程序猿
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微信小程序开发实战基础一、页面跳转,底部导航栏,分享,加载图片标签,列表
1、页面跳转 wx.navigateTo({ url: "../four/four" })——可返回 wx.redirectTo({ url: "../four/four" })——不可返回 <view> <navigator url="../four/four" hover-class="changestyle">页面跳转,可以返回</navigator&g...原创 2019-07-02 17:20:41 · 1306 阅读 · 0 评论 -
微信小程序自定义变量使用,静态变量
1、创建变量 在js文件的data里面创建与赋初始值 data: { indicatorDots: true, autoplay: true, interval: 3000, duration: 500, a:10, time: (new Date().getHours()).toString(), time2: (new Date().getMonth()+1).toSt...原创 2019-07-04 14:30:06 · 3298 阅读 · 0 评论 -
微信小程序开发实战基础二、wxml模板,动态更新内联样式
1、模板使用 1、wxml中创建模板 <template name="msgItem"> <view> <text> {{index}}: {{msg}} </text> <text> Time: {{time}} </text> </view> </template> 2、js中准备数...原创 2019-07-05 15:25:21 · 1490 阅读 · 0 评论