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
10 KiB
1 line
10 KiB
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"030e":function(t,e,n){"use strict";n.r(e);var r=n("cfae"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"0809":function(t,e,n){"use strict";n.r(e);var r=n("586d");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var i,a,u,c,s=n("f0c5"),f=Object(s["a"])(r["default"],i,a,!1,null,null,null,!1,u,c);e["default"]=f.exports},"0de9":function(t,e,n){"use strict";function r(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function o(){return"string"===typeof __channelId__&&__channelId__}function i(t,e){switch(r(e)){case"Function":return"function() { [native code] }";default:return e}}function a(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];console[t].apply(console,n)}function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=e.shift();if(o())return e.push(e.pop().replace("at ","uni-app:///")),console[a].apply(console,e);var u=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,i)+"---END:JSON---"}catch(o){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var n=r(t).toUpperCase();t="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+t+"---END:"+n+"---":String(t)}return t})),c="";if(u.length>1){var s=u.pop();c=u.join("---COMMA---"),0===s.indexOf(" at ")?c+=s:c+="---COMMA---"+s}else c=u[0];console[a](c)}n.r(e),n.d(e,"log",(function(){return a})),n.d(e,"default",(function(){return u}))},"25cf":function(t,e,n){"use strict";n.r(e);var r=n("61e4"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"2a04":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{}},methods:{tocode:function(t){var e="/pages/index/visit";e=2==t?"/pages/index/activity":"/pages/index/visit",uni.navigateTo({url:e})}}};e.default=r},3329:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","admin"),attrs:{_i:1}},[n("button",{attrs:{_i:2},on:{click:function(e){return t.tocode(1)}}})]),n("view",{staticClass:t._$s(3,"sc","admin"),attrs:{_i:3}},[n("button",{attrs:{_i:4},on:{click:function(e){return t.tocode(2)}}})])])},i=[]},"3b8e":function(t,e,n){"use strict";n("6f4f");var r=i(n("0809")),o=i(n("8bbf"));function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}o.default.config.productionTip=!1,r.default.mpType="app";var s=new o.default(u({},r.default));s.$mount()},5514:function(t,e,n){"use strict";n.r(e);var r=n("75c2"),o=n("25cf");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var a,u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);e["default"]=c.exports},"586d":function(t,e,n){"use strict";n.r(e);var r=n("6eea"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"61e4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{code:"",isfocus:!0}},methods:{usecode:function(){var t="https://dangxingjiaoyujidi.langye.net/api/mobile/visit/code-use",e=this;e.isfocus=!1,uni.request({url:t,method:"GET",data:{code:e.code},success:function(t){200==t.statusCode?t.data.errcode?uni.showToast({icon:"none",title:t.data.errmsg,duration:2e3,complete:function(){e.code="",e.isfocus=!0}}):uni.showToast({icon:"none",title:"\u6838\u9500\u6210\u529f",duration:2e3,complete:function(){e.code="",e.isfocus=!0}}):uni.showToast({icon:"none",title:"\u8bf7\u6c42\u5931\u8d25",duration:2e3,complete:function(){e.code="",e.isfocus=!0}})},fail:function(){}})}}};e.default=r},"6eea":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=n}).call(this,n("0de9")["default"])},"6f4f":function(t,e,n){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var r=uni.requireGlobal();ArrayBuffer=r.ArrayBuffer,Int8Array=r.Int8Array,Uint8Array=r.Uint8Array,Uint8ClampedArray=r.Uint8ClampedArray,Int16Array=r.Int16Array,Uint16Array=r.Uint16Array,Int32Array=r.Int32Array,Uint32Array=r.Uint32Array,Float32Array=r.Float32Array,Float64Array=r.Float64Array,BigInt64Array=r.BigInt64Array,BigUint64Array=r.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/index/index",(function(){return Vue.extend(n("8326").default)})),__definePage("pages/index/visit",(function(){return Vue.extend(n("5514").default)})),__definePage("pages/index/activity",(function(){return Vue.extend(n("fe9d").default)}))},"75c2":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","btn"),attrs:{_i:1}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],attrs:{focus:t._$s(2,"a-focus",t.isfocus),_i:2},domProps:{value:t._$s(2,"v-model",t.code)},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}})]),n("view",{staticClass:t._$s(3,"sc","admin"),attrs:{_i:3}},[n("button",{attrs:{_i:4},on:{click:t.usecode}})])])},i=[]},"7be8":function(t,e,n){"use strict";n.r(e);var r=n("2a04"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},8326:function(t,e,n){"use strict";n.r(e);var r=n("3329"),o=n("7be8");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var a,u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);e["default"]=c.exports},"8bbf":function(t,e){t.exports=Vue},ad5a:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","btn"),attrs:{_i:1}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],ref:"inputs",attrs:{focus:t._$s(2,"a-focus",t.isfocus),_i:2},domProps:{value:t._$s(2,"v-model",t.code)},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}})]),n("view",{staticClass:t._$s(3,"sc","admin"),attrs:{_i:3}},[n("button",{attrs:{_i:4},on:{click:t.usecode}})])])},i=[]},cfae:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{code:"",isfocus:!0}},methods:{usecode:function(){var t="https://dangxingjiaoyujidi.langye.net/api/mobile/activity/code-use",e=this;e.isfocus=!1,uni.request({url:t,method:"GET",data:{code:e.code},success:function(t){200==t.statusCode?t.data.errcode?uni.showToast({icon:"none",title:t.data.errmsg,duration:2e3,complete:function(){e.code="",e.isfocus=!0}}):uni.showToast({icon:"none",title:"\u6838\u9500\u6210\u529f",duration:2e3,complete:function(){e.code="",e.isfocus=!0}}):uni.showToast({icon:"none",title:"\u8bf7\u6c42\u5931\u8d25",duration:2e3,complete:function(){e.code="",e.isfocus=!0}})},fail:function(){}})}}};e.default=r},f0c5:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u,c,s){var f,l="function"===typeof t?t.options:t;if(c){l.components||(l.components={});var d=Object.prototype.hasOwnProperty;for(var p in c)d.call(c,p)&&!d.call(l.components,p)&&(l.components[p]=c[p])}if(s&&((s.beforeCreate||(s.beforeCreate=[])).unshift((function(){this[s.__module]=this})),(l.mixins||(l.mixins=[])).push(s)),e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=f):o&&(f=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(l.functional){l._injectStyles=f;var v=l.render;l.render=function(t,e){return f.call(e),v(t,e)}}else{var _=l.beforeCreate;l.beforeCreate=_?[].concat(_,f):[f]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},fe9d:function(t,e,n){"use strict";n.r(e);var r=n("ad5a"),o=n("030e");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var a,u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);e["default"]=c.exports}},[["3b8e","app-config"]]]); |