You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/completeData/index"],{"1cff":function(e,t,n){"use strict";n.r(t);var o=n("d383"),a=n("cae2");for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("e41a");var c,i=n("f0c5"),u=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=u.exports},"2d9e":function(e,t,n){"use strict";(function(e){function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=getApp(),c={data:function(){return{showMove:!1,navTopHeight:r.globalData.menuTop+r.globalData.navTopHeight+10}},components:{},props:{},onLoad:function(e){this.setData({showMove:!0})},methods:{backPage:function(){e.navigateBack({delta:1})},toPay:function(){var t=this;r.http("post","vip/subscribeVip",{num:1}).then((function(n){if(n.data.success){var o=n.data.data;t.payment(o)}else e.showToast({title:n.data.msg,icon:"none"})}))},payment:function(t){e.requestPayment(o(o({provider:"wxpay"},t),{},{signType:"MD5",success:function(t){e.showToast({title:"支付成功",icon:"success",duration:3e3}),e.removeStorageSync("form");var n=setTimeout((function(){clearTimeout(n),e.navigateTo({url:"../mine/index"})}),2e3)},fail:function(t){console.log(t),"requestPayment:fail cancel"==t.errMsg?e.showToast({title:"已取消支付",icon:"none",duration:5e3}):e.showToast({title:t||t.msg,icon:"none",duration:5e3})}}))}}};t.default=c}).call(this,n("543d")["default"])},baa2:function(e,t,n){"use strict";(function(e){n("0371");o(n("66fd"));var t=o(n("1cff"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},cae2:function(e,t,n){"use strict";n.r(t);var o=n("2d9e"),a=n.n(o);for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=a.a},d383:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var a=function(){var e=this,t=e.$createElement;e._self._c},r=[]},e41a:function(e,t,n){"use strict";var o=n("ef27"),a=n.n(o);a.a},ef27:function(e,t,n){}},[["baa2","common/runtime","common/vendor"]]]);