优化页面

This commit is contained in:
pengxiaolong
2025-06-11 22:16:44 +08:00
parent 3c2d7e5959
commit 931d867c09
806 changed files with 87462 additions and 331 deletions

View File

@@ -0,0 +1,30 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
require("../../adapter-vue.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "video-play",
setup(__props) {
const videoData = common_vendor.ref();
const isShow = common_vendor.ref(false);
const videoContext = common_vendor.ref();
common_vendor.onLoad((option) => {
const decodedUrl = decodeURIComponent(option == null ? void 0 : option.videoUrl);
videoData.value = decodedUrl;
isShow.value = true;
});
common_vendor.onReady(() => {
isShow.value = true;
videoContext.value = common_vendor.i.createVideoContext("videoEle");
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(isShow)
}, common_vendor.unref(isShow) ? {
b: common_vendor.unref(videoData)
} : {});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e40b9248"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/video-play.js.map