12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 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.renewalInfo = e.currentTarget.dataset.item
- // console.log(app.data.renewalInfo,'app.data.renewalInfo')
- wx.navigateTo({
- url: "/pages/myRenewalContract/detail/index?&type=" + e.currentTarget.dataset.type
- });
- },
- antmoveAction: function () {
- //执行时动态赋值,请勿删除
- }
- },
- observers: {}
- });
|