|
@@ -1,14 +1,17 @@
|
|
|
"use strict";
|
|
|
const common_vendor = require("../../common/vendor.js");
|
|
|
+const utils_system = require("../../utils/system.js");
|
|
|
const pagesOne_winner_utils_source = require("./utils/source.js");
|
|
|
const services_ams = require("../../services/ams.js");
|
|
|
if (!Array) {
|
|
|
+ const _easycom_wd_icon2 = common_vendor.resolveComponent("wd-icon");
|
|
|
const _easycom_wd_gap2 = common_vendor.resolveComponent("wd-gap");
|
|
|
- _easycom_wd_gap2();
|
|
|
+ (_easycom_wd_icon2 + _easycom_wd_gap2)();
|
|
|
}
|
|
|
+const _easycom_wd_icon = () => "../../node-modules/wot-design-uni/components/wd-icon/wd-icon.js";
|
|
|
const _easycom_wd_gap = () => "../../node-modules/wot-design-uni/components/wd-gap/wd-gap.js";
|
|
|
if (!Math) {
|
|
|
- (_easycom_wd_gap + PhotoExamplePopup + UploadReceptPopop + WinRecordPopup + UploadRecordPopup + ActivityDescPopup)();
|
|
|
+ (_easycom_wd_icon + _easycom_wd_gap + PhotoExamplePopup + UploadReceptPopop + WinRecordPopup + UploadRecordPopup + ActivityDescPopup)();
|
|
|
}
|
|
|
const PhotoExamplePopup = () => "./components/photoExamplePopup.js";
|
|
|
const UploadReceptPopop = () => "./components/uploadReceptPopop.js";
|
|
@@ -62,35 +65,48 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
const getWinnerList = () => {
|
|
|
services_ams.auditSuccessList({ openid }).then((res) => {
|
|
|
winnerData.value = res.rows;
|
|
|
- console.log("获奖记录", rewardData);
|
|
|
});
|
|
|
};
|
|
|
const showWinerRecord = () => {
|
|
|
getWinnerList();
|
|
|
showWiner.value = true;
|
|
|
};
|
|
|
+ const onBack = () => {
|
|
|
+ common_vendor.index.navigateBack({ delta: 1 });
|
|
|
+ };
|
|
|
const handledUpload = () => {
|
|
|
showUpload.value = true;
|
|
|
};
|
|
|
common_vendor.onShow(() => {
|
|
|
getList();
|
|
|
});
|
|
|
+ common_vendor.ref(0);
|
|
|
+ common_vendor.onLoad(() => {
|
|
|
+ });
|
|
|
return (_ctx, _cache) => {
|
|
|
return {
|
|
|
- a: backImage.value,
|
|
|
- b: common_vendor.o(($event) => common_vendor.isRef(showDesc) ? showDesc.value = true : showDesc = true),
|
|
|
- c: common_vendor.unref(pagesOne_winner_utils_source.imgObj).rule,
|
|
|
- d: common_vendor.unref(pagesOne_winner_utils_source.imgObj).record,
|
|
|
- e: common_vendor.o(showWinerRecord),
|
|
|
- f: common_vendor.unref(pagesOne_winner_utils_source.imgObj).photo,
|
|
|
- g: common_vendor.o(($event) => common_vendor.isRef(showExample) ? showExample.value = true : showExample = true),
|
|
|
- h: common_vendor.unref(pagesOne_winner_utils_source.imgObj).book,
|
|
|
- i: common_vendor.o(showUploadRecord),
|
|
|
- j: common_vendor.unref(pagesOne_winner_utils_source.gifObj).pointer,
|
|
|
- k: common_vendor.o(handledUpload),
|
|
|
- l: common_vendor.t(common_vendor.unref(aData).startTime),
|
|
|
- m: common_vendor.t(common_vendor.unref(aData).endTime),
|
|
|
- n: common_vendor.f(common_vendor.unref(list), (item, k0, i0) => {
|
|
|
+ a: common_vendor.unref(utils_system.getStatusBarHeight)() + "px",
|
|
|
+ b: common_vendor.o(onBack),
|
|
|
+ c: common_vendor.p({
|
|
|
+ name: "thin-arrow-left",
|
|
|
+ size: "44rpx",
|
|
|
+ color: "#000"
|
|
|
+ }),
|
|
|
+ d: common_vendor.unref(utils_system.getNavBarPaddingTop)() + "px",
|
|
|
+ e: backImage.value,
|
|
|
+ f: common_vendor.o(($event) => common_vendor.isRef(showDesc) ? showDesc.value = true : showDesc = true),
|
|
|
+ g: common_vendor.unref(pagesOne_winner_utils_source.imgObj).rule,
|
|
|
+ h: common_vendor.unref(pagesOne_winner_utils_source.imgObj).record,
|
|
|
+ i: common_vendor.o(showWinerRecord),
|
|
|
+ j: common_vendor.unref(pagesOne_winner_utils_source.imgObj).photo,
|
|
|
+ k: common_vendor.o(($event) => common_vendor.isRef(showExample) ? showExample.value = true : showExample = true),
|
|
|
+ l: common_vendor.unref(pagesOne_winner_utils_source.imgObj).book,
|
|
|
+ m: common_vendor.o(showUploadRecord),
|
|
|
+ n: common_vendor.unref(pagesOne_winner_utils_source.gifObj).pointer,
|
|
|
+ o: common_vendor.o(handledUpload),
|
|
|
+ p: common_vendor.t(common_vendor.unref(aData).startTime),
|
|
|
+ q: common_vendor.t(common_vendor.unref(aData).endTime),
|
|
|
+ r: common_vendor.f(common_vendor.unref(list), (item, k0, i0) => {
|
|
|
return {
|
|
|
a: common_vendor.t(item.cashbackAmount),
|
|
|
b: common_vendor.t(item.thresholdAmount),
|
|
@@ -98,30 +114,32 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
d: item.id
|
|
|
};
|
|
|
}),
|
|
|
- o: common_vendor.p({
|
|
|
+ s: common_vendor.p({
|
|
|
["bg-color"]: "transparent"
|
|
|
}),
|
|
|
- p: common_vendor.o(($event) => common_vendor.isRef(showExample) ? showExample.value = $event : showExample = $event),
|
|
|
- q: common_vendor.p({
|
|
|
+ t: common_vendor.o(($event) => common_vendor.isRef(showExample) ? showExample.value = $event : showExample = $event),
|
|
|
+ v: common_vendor.p({
|
|
|
show: common_vendor.unref(showExample)
|
|
|
}),
|
|
|
- r: common_vendor.o(($event) => common_vendor.isRef(showUpload) ? showUpload.value = $event : showUpload = $event),
|
|
|
- s: common_vendor.p({
|
|
|
+ w: common_vendor.unref(aData).id,
|
|
|
+ x: common_vendor.o(($event) => common_vendor.isRef(showUpload) ? showUpload.value = $event : showUpload = $event),
|
|
|
+ y: common_vendor.p({
|
|
|
list: common_vendor.unref(list),
|
|
|
+ id: common_vendor.unref(aData).id,
|
|
|
show: common_vendor.unref(showUpload)
|
|
|
}),
|
|
|
- t: common_vendor.o(($event) => common_vendor.isRef(showWiner) ? showWiner.value = $event : showWiner = $event),
|
|
|
- v: common_vendor.p({
|
|
|
+ z: common_vendor.o(($event) => common_vendor.isRef(showWiner) ? showWiner.value = $event : showWiner = $event),
|
|
|
+ A: common_vendor.p({
|
|
|
list: winnerData.value,
|
|
|
show: common_vendor.unref(showWiner)
|
|
|
}),
|
|
|
- w: common_vendor.o(($event) => common_vendor.isRef(showRecord) ? showRecord.value = $event : showRecord = $event),
|
|
|
- x: common_vendor.p({
|
|
|
+ B: common_vendor.o(($event) => common_vendor.isRef(showRecord) ? showRecord.value = $event : showRecord = $event),
|
|
|
+ C: common_vendor.p({
|
|
|
list: rewardData.value,
|
|
|
show: common_vendor.unref(showRecord)
|
|
|
}),
|
|
|
- y: common_vendor.o(($event) => common_vendor.isRef(showDesc) ? showDesc.value = $event : showDesc = $event),
|
|
|
- z: common_vendor.p({
|
|
|
+ D: common_vendor.o(($event) => common_vendor.isRef(showDesc) ? showDesc.value = $event : showDesc = $event),
|
|
|
+ E: common_vendor.p({
|
|
|
show: common_vendor.unref(showDesc)
|
|
|
})
|
|
|
};
|