69 lines
2.1 KiB
JavaScript
69 lines
2.1 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
userInfo: {
|
|
avatar: "https://ts4.tc.mm.bing.net/th/id/OIP-C.-RXVvrUScB5pzqIpuROWNgAAAA?rs=1&pid=ImgDetMain&o=7&rm=3"
|
|
},
|
|
download: 0,
|
|
list: []
|
|
};
|
|
},
|
|
onLoad() {
|
|
this.getUserInfo();
|
|
},
|
|
methods: {
|
|
getUserInfo() {
|
|
},
|
|
getUserDownload() {
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_uni_col2 = common_vendor.resolveComponent("uni-col");
|
|
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
|
const _easycom_uni_row2 = common_vendor.resolveComponent("uni-row");
|
|
const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section");
|
|
(_easycom_uni_col2 + _easycom_uni_icons2 + _easycom_uni_row2 + _easycom_uni_section2)();
|
|
}
|
|
const _easycom_uni_col = () => "../../uni_modules/uni-row/components/uni-col/uni-col.js";
|
|
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
|
const _easycom_uni_row = () => "../../uni_modules/uni-row/components/uni-row/uni-row.js";
|
|
const _easycom_uni_section = () => "../../uni_modules/uni-section/components/uni-section/uni-section.js";
|
|
if (!Math) {
|
|
(_easycom_uni_col + _easycom_uni_icons + _easycom_uni_row + _easycom_uni_section)();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: $data.userInfo.avatar,
|
|
b: common_vendor.p({
|
|
span: 6
|
|
}),
|
|
c: common_vendor.p({
|
|
type: "vip-filled"
|
|
}),
|
|
d: common_vendor.p({
|
|
type: "vip-filled"
|
|
}),
|
|
e: common_vendor.t($data.download),
|
|
f: common_vendor.p({
|
|
span: 18
|
|
}),
|
|
g: common_vendor.p({
|
|
title: "已下载",
|
|
type: "line"
|
|
}),
|
|
h: common_vendor.f($data.list, (video, index, i0) => {
|
|
return {
|
|
a: video.url,
|
|
b: video.poster,
|
|
c: common_vendor.o(($event) => _ctx.handlePlay(index), index),
|
|
d: index
|
|
};
|
|
})
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|