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 line
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/completeData/index"],{"06be":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},a=[]},1756:function(e,t,n){"use strict";n.r(t);var o=n("8bcd"),r=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},"8bcd":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){r(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 r(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 a=getApp(),c={data:function(){return{showMove:!1,navTopHeight:a.globalData.menuTop+a.globalData.navTopHeight+10}},components:{},props:{},onLoad:function(e){this.setData({showMove:!0})},methods:{backPage:function(){e.navigateBack({delta:1})},toPay:function(){var t=this;a.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"])},d74d:function(e,t,n){"use strict";var o=n("d9c0"),r=n.n(o);r.a},d9c0:function(e,t,n){},e12b:function(e,t,n){"use strict";n.r(t);var o=n("06be"),r=n("1756");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("d74d");var c,i=n("f0c5"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=u.exports},e1fd:function(e,t,n){"use strict";(function(e){n("ef82");o(n("66fd"));var t=o(n("e12b"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["e1fd","common/runtime","common/vendor"]]]);