first commit
This commit is contained in:
62
unpackage/dist/dev/mp-alipay/pages/activity/detail513.js
vendored
Normal file
62
unpackage/dist/dev/mp-alipay/pages/activity/detail513.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
|
||||
const _easycom_u_line2 = common_vendor.resolveComponent("u-line");
|
||||
(_easycom_mp_html2 + _easycom_u_line2)();
|
||||
}
|
||||
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
|
||||
const _easycom_u_line = () => "../../uni_modules/uview-plus/components/u-line/u-line.js";
|
||||
if (!Math) {
|
||||
(_easycom_mp_html + _easycom_u_line)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "detail513",
|
||||
setup(__props) {
|
||||
let info = common_vendor.ref({});
|
||||
let type = common_vendor.ref("");
|
||||
common_vendor.onLoad(async (options) => {
|
||||
type.value = options.type;
|
||||
var _res;
|
||||
if (options.type == 2) {
|
||||
_res = await api_api.activityUserInfo({ id: options.id });
|
||||
} else {
|
||||
_res = await api_api.activityInfo({ id: options.id });
|
||||
}
|
||||
if (_res.information) {
|
||||
_res.information = JSON.parse(_res.information);
|
||||
}
|
||||
info.value = _res;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
content: common_vendor.unref(info).detail
|
||||
}),
|
||||
b: common_vendor.unref(type) == 2
|
||||
}, common_vendor.unref(type) == 2 ? common_vendor.e({
|
||||
c: common_vendor.unref(info).deviceList
|
||||
}, common_vendor.unref(info).deviceList ? {
|
||||
d: common_vendor.f(common_vendor.unref(info).deviceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.id),
|
||||
b: common_vendor.t(item.createTime),
|
||||
c: "c0c3deb4-1-" + i0,
|
||||
d: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
e: common_vendor.unref(info).deviceList
|
||||
}, common_vendor.unref(info).deviceList ? {
|
||||
f: common_vendor.t(common_vendor.unref(info).deviceList.length)
|
||||
} : {}, {
|
||||
g: common_vendor.t(common_vendor.unref(info).freezeDate),
|
||||
h: common_vendor.t(common_vendor.unref(info).confirmDate),
|
||||
i: common_vendor.t(common_vendor.unref(info).expirationDate)
|
||||
}) : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c0c3deb4"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
Reference in New Issue
Block a user