1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- const app = require("/vant-aliapp/__antmove/component/classSubdirectory/app.js");
- const _my = require("../../__antmove/api/index.js")(my);
- const wx = _my; // components/tail_tip/index.js
- const myApp = 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);
- myApp.data.tranInfo = e.currentTarget.dataset.item
- // console.log(myApp.data.tranInfo, 'myApp.data.tranInfo')
- wx.navigateTo({
- url: '/pages/myTransfer/detail/index?&type=' + e.currentTarget.dataset.type
- })
- },
- antmoveAction: function () {
- //执行时动态赋值,请勿删除
- }
- },
- observers: {}
- });
|