jiuyiUniapp/jiuyi/unpackage/dist/build/app-plus/pages/news/audio-video/video.js

33 lines
2.1 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 i=Object.create;var _=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var y=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m(t))!g.call(e,r)&&r!==o&&_(e,r,{get:()=>t[r],enumerable:!(s=f(t,r))||s.enumerable});return e};var b=(e,t,o)=>(o=e!=null?i(d(e)):{},y(t||!e||!e.__esModule?_(o,"default",{value:e,enumerable:!0}):o,e));var n=v((k,l)=>{l.exports=Vue});var c=b(n());var u=(e,t)=>{let o=e.__vccOpts||e;for(let[s,r]of t)o[s]=r;return o};var w={};function x(e,t){return(0,c.openBlock)(),(0,c.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}})}var p=u(w,[["render",x]]);var a=plus.webview.currentWebview();if(a){let e=parseInt(a.id),t="pages/news/audio-video/video",o={};try{o=JSON.parse(a.__query__)}catch(r){}p.mpType="page";let s=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:o});s.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),s.mount("#root")}})();