|
|
@@ -22,7 +22,17 @@ Page({
|
|
|
],
|
|
|
age: 19
|
|
|
},
|
|
|
-
|
|
|
+ handleBox: function() {
|
|
|
+ console.log("box")
|
|
|
+ },
|
|
|
+ handleBox1: function(event) {
|
|
|
+ console.log(event,'wwww')
|
|
|
+ console.log("box1")
|
|
|
+ // event.stopPropagation();
|
|
|
+ // event.cancleBubble = true;
|
|
|
+ // event.preventDefault();
|
|
|
+ // event.returnValue = false;
|
|
|
+ },
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|
|
|
* 页面加载时触发 一个页面只会调用一次
|