Logo white

wxd / MShopWeApp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • MShopWeApp
  • components
  • long_warn
  • long_warn.js
  • 首次上传
    6341715b
    后端研发-田富滉 authored
    2019-08-29 11:19:23 +0800  
    Browse Code »
long_warn.js 426 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
var t = getApp();
Component({
  /**
   * 页面的初始数据
   */
  data: {
    val:"212121",
    is_show:0,
    type:0,  //0 提示,失败  1成功
    iurl:t.globalData.setting.imghost,
  },

  methods: {
     open:function (e,type) {
         var that=this;
         this.setData({is_show:1,val:e,type:type});
         setTimeout(function () {
             that.setData({is_show:0});
         },2000);
     }
  }
  
})