@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 1.77 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/helpers.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js"],t):"object"==typeof exports?exports["assets/utils/app.js"]=t(require("@xysfe/actui/es/assets/utils/helpers.js")):e["assets/utils/app.js"]=t(e["@xysfe/actui/es/assets/utils/helpers.js"])}("undefined"!=typeof self?self:this,function(e){return function(e){function t(n){if(s[n])return s[n].exports;var u=s[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var s={};return t.m=e,t.c=s,t.d=function(e,s,n){t.o(e,s)||Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=688)}({42:function(t,s){t.exports=e},688:function(e,t,s){"use strict";function n(){}function u(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o&&o.invoke({path:"/weixin/share",data:{scene:e,type:t.type,title:"timeline"===e?t.timeline:t.title,description:t.desc,thumb:t.thumb,url:"webpage"===t.type?t.url:t.imgData},unsupport:function(){t.unsupport&&(s?t.unsupport.call(s):t.unsupport())},success:function(e){t.succ&&(s?t.succ.call(s):t.succ())},fail:function(e){t.fail&&(s?t.fail.call(s):t.fail())}})}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;o&&o.invoke({path:"/image/storage",data:{src:e},success:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.appShare=u,t.appSaveImage=i;var r=s(42),o=(s.n(r),null);r.ua.isKcbApp?o=window.kcbJs:r.ua.isXysApp&&(o=window.xysJs)}})});