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: {}, /** * 组件的方法列表 */ methods: { godetail(e) { app.data.roomContentInfo = e.currentTarget.dataset.item // let item = JSON.stringify(e.currentTarget.dataset.item); wx.navigateTo({ url: "/pages/meeting/appointmentDetail/index?&type=" + e.currentTarget.dataset.type }); }, antmoveAction: function () { //执行时动态赋值,请勿删除 } }, observers: {} });