1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- const _my = require("../../__antmove/api/index.js")(my);
- const wx = _my; // components/tail_tip/index.js
- const app = getApp()
- Component({
- /**
- * 组件的属性列表
- */
- properties: {
- item: {
- type: Object,
- value: null
- },
- type: {
- type: String,
- value: ""
- }
- },
- /**
- * 组件的初始数据
- */
- data: {},
- /**
- * 组件的方法列表 修改1
- */
- methods: {
- godetail(e) {
- // let item = JSON.stringify(e.currentTarget.dataset.item);
- app.data.orderMealInfo = e.currentTarget.dataset.item
- wx.navigateTo({
- url: "/pages/orderMeal/detail/index?&type=" + e.currentTarget.dataset.type
- });
- },
- antmoveAction: function () {
- //执行时动态赋值,请勿删除
- }
- },
- observers: {}
- });
|