Page({
data: {
//String1
num1: '1010',
num2: '0101'
},
onLoad: function (options) {
// 页面初始化 options为页面跳转所带来的参数
console.debug('onLoad');
},
onReady: function () {
// 页面渲染完成
//String3
console.debug('onReady');
},
onShow: function () {
// 页面显示
//String4
console.debug('onShow');
},
onHide: function () {
// 页面隐藏
//String5
console.debug('onHide');
},
onUnload: function () {
// 页面关闭
//String6
console.debug('onUnload');
},
calcSubmit: function (e) {
let num1 = +e.detail.value.num1; // parseInt
let num2 = +e.detail.value.num2;
let result = num1 + num2;
this.setData({ value: result });
}
});
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序demo:加法计算器(1)(源代码+截图)
共15个文件
js:5个
wxss:4个
json:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 111 浏览量
2022-06-19
18:17:44
上传
评论
收藏 11KB ZIP 举报
温馨提示
微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序demo:加法计算器(1)(源代码+截图)微信小程序d
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序demo:加法计算器(1)(源代码+截图).zip (15个子文件)
微信小程序demo:加法计算器(1)
wechatapp-master
app.json 267B
pages
index
index.js 482B
index.wxss 268B
index.wxml 355B
logs
logs.js 266B
logs.json 54B
logs.wxml 188B
logs.wxss 106B
calc
calc.js 881B
calc.wxss 38B
calc.json 51B
calc.wxml 352B
app.wxss 194B
app.js 728B
utils
util.js 460B
共 15 条
- 1
资源评论
荣华富贵8
- 粉丝: 121
- 资源: 7649
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功