107 lines
3.9 KiB
JavaScript
107 lines
3.9 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/pages/news/audio-video/video.js
|
|
var import_vue = __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/video.js
|
|
var _sfc_main = {};
|
|
function _sfc_render(_ctx, _cache) {
|
|
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("scroll-view", {
|
|
scrollY: true,
|
|
showScrollbar: true,
|
|
enableBackToTop: true,
|
|
bubble: "true",
|
|
style: { flexDirection: "column" }
|
|
});
|
|
}
|
|
var video = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/document/\u4E5D\u4EBF\u5546\u57CE/jy/jiuyi2/pages/news/audio-video/video.nvue"]]);
|
|
|
|
// <stdin>
|
|
var webview = plus.webview.currentWebview();
|
|
if (webview) {
|
|
const __pageId = parseInt(webview.id);
|
|
const __pagePath = "pages/news/audio-video/video";
|
|
let __pageQuery = {};
|
|
try {
|
|
__pageQuery = JSON.parse(webview.__query__);
|
|
} catch (e) {
|
|
}
|
|
video.mpType = "page";
|
|
const app = Vue.createPageApp(video, { $store: getApp({ allowDefault: true }).$store, __pageId, __pagePath, __pageQuery });
|
|
app.provide("__globalStyles", Vue.useCssStyles([...__uniConfig.styles, ...video.styles || []]));
|
|
app.mount("#root");
|
|
}
|
|
})();
|