117 lines
3.3 KiB
JavaScript
117 lines
3.3 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.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: [
|
|
{
|
|
"id": 1,
|
|
"title": "1",
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": 2,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": 3,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"title": 9,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"title": 4,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"title": 5,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"title": 6,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"title": 7,
|
|
"src": "../../static/images/default.png"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"title": 8,
|
|
"src": "../../static/images/default.png"
|
|
}
|
|
]
|
|
};
|
|
},
|
|
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");
|
|
const _easycom_image_grid_simple2 = common_vendor.resolveComponent("image-grid-simple");
|
|
(_easycom_uni_col2 + _easycom_uni_icons2 + _easycom_uni_row2 + _easycom_uni_section2 + _easycom_image_grid_simple2)();
|
|
}
|
|
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";
|
|
const _easycom_image_grid_simple = () => "../../components/image-grid-simple/image-grid-simple.js";
|
|
if (!Math) {
|
|
(_easycom_uni_col + _easycom_uni_icons + _easycom_uni_row + _easycom_uni_section + _easycom_image_grid_simple)();
|
|
}
|
|
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_assets._imports_0,
|
|
i: common_vendor.o(_ctx.handlerClick),
|
|
j: common_vendor.p({
|
|
imageList: $data.list,
|
|
columns: 2,
|
|
height: "80vh"
|
|
})
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|