33 lines
2.3 KiB
JavaScript
33 lines
2.3 KiB
JavaScript
"use weex:vue";
|
|
|
|
if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
|
|
Promise.prototype.finally = function(callback) {
|
|
const promise = this.constructor
|
|
return this.then(
|
|
value => promise.resolve(callback()).then(() => value),
|
|
reason => promise.resolve(callback()).then(() => {
|
|
throw reason
|
|
})
|
|
)
|
|
}
|
|
};
|
|
|
|
if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
|
|
const global = uni.requireGlobal()
|
|
ArrayBuffer = global.ArrayBuffer
|
|
Int8Array = global.Int8Array
|
|
Uint8Array = global.Uint8Array
|
|
Uint8ClampedArray = global.Uint8ClampedArray
|
|
Int16Array = global.Int16Array
|
|
Uint16Array = global.Uint16Array
|
|
Int32Array = global.Int32Array
|
|
Uint32Array = global.Uint32Array
|
|
Float32Array = global.Float32Array
|
|
Float64Array = global.Float64Array
|
|
BigInt64Array = global.BigInt64Array
|
|
BigUint64Array = global.BigUint64Array
|
|
};
|
|
|
|
|
|
(()=>{var g=Object.create;var l=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var v=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var b=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of m(e))!y.call(o,s)&&s!==t&&l(o,s,{get:()=>e[s],enumerable:!(r=f(e,s))||r.enumerable});return o};var p=(o,e,t)=>(t=o!=null?g(w(o)):{},b(e||!o||!o.__esModule?l(t,"default",{value:o,enumerable:!0}):t,o));var c=v((S,_)=>{_.exports=Vue});var u=p(c());function d(o,e,...t){uni.__log__?uni.__log__(o,e,...t):console[o].apply(console,[...t,e])}var n=p(c()),a={__name:"audio",setup(o){return RtcEngine.create("__UNI__08B31BC").then(e=>{d("log","at pages/news/audio-video/audio.nvue:11","init success")}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,n.createElementVNode)("view",{class:"container"},[(0,n.createElementVNode)("u-text",null,"1111")])]))}};var i=plus.webview.currentWebview();if(i){let o=parseInt(i.id),e="pages/news/audio-video/audio",t={};try{t=JSON.parse(i.__query__)}catch(s){}a.mpType="page";let r=Vue.createPageApp(a,{$store:getApp({allowDefault:!0}).$store,__pageId:o,__pagePath:e,__pageQuery:t});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...a.styles||[]])),r.mount("#root")}})();
|