|
- // pages/index/sw/index.js
- Component({
- /**
- * 组件的属性列表
- */
- properties: {
- data: {
- value: {},
- type: Object,
- },
- },
-
- /**
- * 组件的初始数据
- */
- data: {
-
- },
- methods: {
- onLogin(e){
- let { id } = e.currentTarget.dataset.date;
- wx.navigateTo({
- url: `../../pages/coupons/details/index?id=${id}`,
- })
- }
- }
- })
|