34 lines
918 B
JavaScript
34 lines
918 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../../../common/vendor.js");
|
|
const _sfc_main = {
|
|
props: {
|
|
message: {
|
|
type: Object,
|
|
default: ""
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
title: "Hello"
|
|
};
|
|
},
|
|
onLoad() {
|
|
},
|
|
methods: {
|
|
onTap() {
|
|
common_vendor.wx$1.navigateTo({
|
|
url: "/pages/index/chat/messageComponent/fullscreen/videoPreview?url=" + this.message.video.url
|
|
});
|
|
}
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: $props.message.thumbnail.url,
|
|
b: common_vendor.o((...args) => $options.onTap && $options.onTap(...args))
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-23a12dbe"]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/chat/messageComponent/videoMessage.js.map
|