diff --git a/src/小程序/.hbuilderx/launch.json b/src/小程序/.hbuilderx/launch.json new file mode 100644 index 0000000..81f13f4 --- /dev/null +++ b/src/小程序/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "default" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/src/小程序/App.vue b/src/小程序/App.vue new file mode 100644 index 0000000..40c5f77 --- /dev/null +++ b/src/小程序/App.vue @@ -0,0 +1,117 @@ + + + diff --git a/src/小程序/__MACOSX/static/js/._mqtt.min.js b/src/小程序/__MACOSX/static/js/._mqtt.min.js new file mode 100644 index 0000000..6ac467b Binary files /dev/null and b/src/小程序/__MACOSX/static/js/._mqtt.min.js differ diff --git a/src/小程序/index.html b/src/小程序/index.html new file mode 100644 index 0000000..c3ff205 --- /dev/null +++ b/src/小程序/index.html @@ -0,0 +1,20 @@ + + +
+ + +=p&&_("invalid-input"),u=x(t.charCodeAt(i++)),(u>=36||u>v((l-d)/s))&&_("overflow"),d+=u*s,c=a<=g?1:a>=g+26?26:a-g,u =e&&hv((l-n)/d)&&_("overflow"),n+=(a-e)*d,e=a,s=0;s l&&_("overflow"),h==e){for(u=n,c=36;;c+=36){if(f=c<=o?1:c>=o+26?26:c-o,u 0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=t.search,n.query=t.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=S.slice(-1)[0],A=(n.host||t.host||S.length>1)&&("."===E||".."===E)||""===E,j=0,I=S.length;I>=0;I--)E=S[I],"."===E?S.splice(I,1):".."===E?(S.splice(I,1),j++):j&&(S.splice(I,1),j--);if(!w&&!x)for(;j--;j)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),A&&"/"!==S.join("/").substr(-1)&&S.push("");var C=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(k){n.hostname=n.host=C?"":S.length?S.shift():"";O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return w=w||n.host&&S.length,w&&!C&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":113,punycode:93,querystring:96}],113:[function(t,e,n){"use strict";e.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===u(t)&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}],114:[function(t,e,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(r){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,"undefined"!==typeof r?r:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],115:[function(t,e,n){e.exports=function(t){return t&&"object"===u(t)&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},{}],116:[function(t,e,n){(function(e,r){var i=/%[sdj%]/g;n.format=function(t){if(!g(t)){for(var e=[],n=0;nparseInt(this.max)&&mn(a,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Sn={KeepAlive:xn};(function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:it,extend:A,mergeOptions:Tt,defineReactive:wt},t.set=xt,t.delete=St,t.nextTick=Jt,t.observable=function(t){return mt(t),t},t.options=Object.create(null),L.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,Sn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Tt(this.options,t),this}}(t),yn(t),function(t){L.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)})(vn),Object.defineProperty(vn.prototype,"$isServer",{get:X}),Object.defineProperty(vn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(vn,"FunctionalRenderContext",{value:Ae}),vn.version="2.6.11";var kn="[object Array]",On="[object Object]";function En(t,e){var n={};return function t(e,n){if(e===n)return;var r=jn(e),i=jn(n);if(r==On&&i==On){if(Object.keys(e).length>=Object.keys(n).length)for(var o in n){var s=e[o];void 0===s?e[o]=null:t(s,n[o])}}else r==kn&&i==kn&&e.length>=n.length&&n.forEach((function(n,r){t(e[r],n)}))}(t,e),function t(e,n,r,i){if(e===n)return;var o=jn(e),s=jn(n);if(o==On)if(s!=On||Object.keys(e).length