const _my = require("../../__antmove/api/index.js")(my);

const wx = _my;
import Page from "../../common/page";
Page({
  data: {
    value: ""
  },

  onChange(e) {
    this.setData({
      value: e.detail
    });
  },

  onSearch() {
    if (this.data.value) {
      wx.showToast({
        title: "搜索：" + this.data.value,
        icon: "none"
      });
    }
  },

  onClick() {
    if (this.data.value) {
      wx.showToast({
        title: "搜索：" + this.data.value,
        icon: "none"
      });
    }
  },

  onCancel() {
    wx.showToast({
      title: "取消",
      icon: "none"
    });
  },

  onClear() {
    wx.showToast({
      title: "清空",
      icon: "none"
    });
  },

  antmoveAction: function () {
    //执行时动态赋值，请勿删除
  }
});