132 lines
4.8 KiB
JavaScript
132 lines
4.8 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 __create = Object.create;
|
|
var __defProp = Object.defineProperty;
|
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
var __getProtoOf = Object.getPrototypeOf;
|
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var __commonJS = (cb, mod) => function __require() {
|
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
};
|
|
var __copyProps = (to, from, except, desc) => {
|
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
for (let key of __getOwnPropNames(from))
|
|
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
}
|
|
return to;
|
|
};
|
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
// file that has been converted to a CommonJS file using a Babel-
|
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
mod
|
|
));
|
|
|
|
// vue-ns:vue
|
|
var require_vue = __commonJS({
|
|
"vue-ns:vue"(exports, module) {
|
|
module.exports = Vue;
|
|
}
|
|
});
|
|
|
|
// ../../../../document/九亿商城/jy/jiuyi2/unpackage/dist/dev/.nvue/uni-app.es.js
|
|
var import_vue = __toESM(require_vue());
|
|
function formatAppLog(type, filename, ...args) {
|
|
if (uni.__log__) {
|
|
uni.__log__(type, filename, ...args);
|
|
} else {
|
|
console[type].apply(console, [...args, filename]);
|
|
}
|
|
}
|
|
|
|
// ../../../../document/九亿商城/jy/jiuyi2/unpackage/dist/dev/.nvue/pages/news/audio-video/audio.js
|
|
var import_vue2 = __toESM(require_vue());
|
|
|
|
// ../../../../document/九亿商城/jy/jiuyi2/unpackage/dist/dev/.nvue/_plugin-vue_export-helper.js
|
|
var _export_sfc = (sfc, props) => {
|
|
const target = sfc.__vccOpts || sfc;
|
|
for (const [key, val] of props) {
|
|
target[key] = val;
|
|
}
|
|
return target;
|
|
};
|
|
|
|
// ../../../../document/九亿商城/jy/jiuyi2/unpackage/dist/dev/.nvue/pages/news/audio-video/audio.js
|
|
var _sfc_main = {
|
|
__name: "audio",
|
|
setup(__props, { expose: __expose }) {
|
|
__expose();
|
|
RtcEngine.create("__UNI__08B31BC").then((engine) => {
|
|
formatAppLog("log", "at pages/news/audio-video/audio.nvue:11", "init success");
|
|
});
|
|
const __returned__ = { ref: import_vue2.ref };
|
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
return __returned__;
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return (0, import_vue2.openBlock)(), (0, import_vue2.createElementBlock)("scroll-view", {
|
|
scrollY: true,
|
|
showScrollbar: true,
|
|
enableBackToTop: true,
|
|
bubble: "true",
|
|
style: { flexDirection: "column" }
|
|
}, [
|
|
(0, import_vue2.createElementVNode)("view", { class: "container" }, [
|
|
(0, import_vue2.createElementVNode)("u-text", null, "1111")
|
|
])
|
|
]);
|
|
}
|
|
var audio = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/document/\u4E5D\u4EBF\u5546\u57CE/jy/jiuyi2/pages/news/audio-video/audio.nvue"]]);
|
|
|
|
// <stdin>
|
|
var webview = plus.webview.currentWebview();
|
|
if (webview) {
|
|
const __pageId = parseInt(webview.id);
|
|
const __pagePath = "pages/news/audio-video/audio";
|
|
let __pageQuery = {};
|
|
try {
|
|
__pageQuery = JSON.parse(webview.__query__);
|
|
} catch (e) {
|
|
}
|
|
audio.mpType = "page";
|
|
const app = Vue.createPageApp(audio, { $store: getApp({ allowDefault: true }).$store, __pageId, __pagePath, __pageQuery });
|
|
app.provide("__globalStyles", Vue.useCssStyles([...__uniConfig.styles, ...audio.styles || []]));
|
|
app.mount("#root");
|
|
}
|
|
})();
|