![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
Hellblau
这个作者很懒,什么都没留下…
展开
-
微信template模板
可参考微信开发者文档wxml模板目录:listItem.wxml中定义模板<template name="listItem"> //name属性为模板的名字 <view class="commonItem"> <image src="{{img}}"></image> <view class="itemRi...原创 2019-09-07 15:06:33 · 354 阅读 · 0 评论 -
微信小程序上拉加载
微信小程序中上拉加载有两种方式:1、通过scroll-view标签 2、内置的生命周期函数onReachBottom(一)scroll-view标签wxml<scroll-view scroll-y style="width:100%;height:calc(100vh - 116rpx);" bindscrolltolower="loadMore"><-- 一...原创 2019-09-09 16:15:38 · 206 阅读 · 0 评论