API-DEMO page/component/movable-view.js Page({ data: { x: 0, y: 0, }, onButtonTap() { const { x, y } = this.data; if (x === 30) { this.setData({ x: x + 1, ...
確定! 回上一頁