摘要:
阅读全文
摘要:
组件 : 使用 : 阅读全文
摘要:
阅读全文
摘要:
普通插槽 阅读全文
摘要:
阅读全文
摘要:
使用 : 阅读全文
摘要:
使用 : 阅读全文
摘要:
使用 : 阅读全文
摘要:
<!--pages/06_learn_event/index.wxml--> <!-- 1.事件的基本使用 --> <button bindtap="onBtnTap">按钮</button> <!-- 2.event中target和currentTarget区别 --> <view id="out 阅读全文
摘要:
第一步,创建wxs并导出 function formatPrice(price) { return "¥" + price } function calcPrice(books) { return "¥" + books.reduce(function(preValue, item) { retur 阅读全文
摘要:
<!--pages/04_learn_wxml/index.wxml--> <h1>Mustache语法</h1> <view>{{ message }}</view> <view>{{ firstname + " " + lastname }}</view> <view>{{ date }}</v 阅读全文
摘要:
<!--pages/03_learn_wxss/index.wxml--> <text>pages/03_learn_wxss/index.wxml</text> <!-- 1.样式的编写方式 --> <!-- 1.1.应用全局样式 --> <view class="title">learn wxs 阅读全文
摘要:
// pages/profile/profile.js Page({ //数据 data: { avatarURL: "", listCount: 30 }, // 监听下拉刷新 onPullDownRefresh() { console.log("用户进行下拉刷新~"); // 模拟网络请求: 定 阅读全文
摘要:
阅读全文