2019年1月15日

微信小程序(五) 利用模板动态加载数据

摘要: 利用模板动态加载数据,其实是对上一节静态数据替换成动态数据: template.wxml页面代码: <!--pages/template/template.wxml--> <template name='listTmp'> <view class="tmpContainer"> <view clas 阅读全文

posted @ 2019-01-15 19:54 让我再想想 阅读(2544) 评论(0) 推荐(0) 编辑

微信小程序(四) 模板的使用

摘要: 模板的使用:单独建立一个页面,在另一个页面通过name属性名调用使用(注意要导入模板路径) template.wxml页面 list.wxml页面 周刊静态页面 template.wxml代码如下: <!--pages/template/template.wxml--> <template name 阅读全文

posted @ 2019-01-15 19:48 让我再想想 阅读(686) 评论(0) 推荐(0) 编辑

微信小程序(三)页面跳转和图片滑动切换

摘要: 跳转部分: 在index2.wxml中,添加跳转函数,如下所示: wxml代码: <!--pages/list/list.wxml--> <view> <swiper indicator-dots indicator-color='yellowgreen' indicator-active-colo 阅读全文

posted @ 2019-01-15 15:00 让我再想想 阅读(1394) 评论(0) 推荐(0) 编辑

导航