fix:更新,托收

This commit is contained in:
Your Name 2026-04-07 10:17:45 +08:00
parent 3a5e3111c6
commit f66fdb8b5f
10 changed files with 326 additions and 335 deletions

View File

@ -1,5 +1,5 @@
NODE_ENV= development
VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
# VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/
# VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'

View File

@ -63,27 +63,29 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
};
});
return (_ctx, _cache) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
return {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
return common_vendor.e({
a: common_vendor.t(((_e = (_d = (_c = (_b = (_a = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.house_relation) == null ? void 0 : _d.asset_house) == null ? void 0 : _e.full_name) || ""),
b: common_vendor.o(($event) => show.value = true),
c: common_vendor.t((_h = (_g = (_f = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _f.showData) == null ? void 0 : _g.value) == null ? void 0 : _h.house_occupants_num),
d: common_vendor.f((_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value, (k, index, i0) => {
d: !((_k = (_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value) == null ? void 0 : _k.length)
}, !((_n = (_m = (_l = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _l.listData) == null ? void 0 : _m.value) == null ? void 0 : _n.length) ? {} : {}, {
e: common_vendor.f((_p = (_o = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _o.listData) == null ? void 0 : _p.value, (k, index, i0) => {
var _a2, _b2;
return common_vendor.e({
a: common_vendor.t(k == null ? void 0 : k.label),
b: !((_a2 = k.list) == null ? void 0 : _a2.length)
}, !((_b2 = k.list) == null ? void 0 : _b2.length) ? {
c: "afe28dc2-1-" + i0
c: "afe28dc2-2-" + i0
} : {}, {
d: common_vendor.f(k.list, (i, index2, i1) => {
var _a3, _b3, _c2, _d2, _e2, _f2, _g2, _h2;
return common_vendor.e({
a: "afe28dc2-2-" + i0 + "-" + i1,
a: "afe28dc2-3-" + i0 + "-" + i1,
b: common_vendor.t(i == null ? void 0 : i.name),
c: (i == null ? void 0 : i.house_relation) === "Owner"
}, (i == null ? void 0 : i.house_relation) === "Owner" ? {
d: "afe28dc2-3-" + i0 + "-" + i1,
d: "afe28dc2-4-" + i0 + "-" + i1,
e: common_vendor.p({
value: i == null ? void 0 : i.house_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsHouseRelationEnum),
@ -92,7 +94,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
f: (i == null ? void 0 : i.house_relation) === "NonOwner"
}, (i == null ? void 0 : i.house_relation) === "NonOwner" ? {
g: "afe28dc2-4-" + i0 + "-" + i1,
g: "afe28dc2-5-" + i0 + "-" + i1,
h: common_vendor.p({
value: i == null ? void 0 : i.residential_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum),
@ -112,19 +114,19 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
e: `item_${index}`
});
}),
e: common_vendor.p({
f: common_vendor.p({
text: "U",
fontSize: "18",
bgColor: "#ffeade",
color: "#333"
}),
f: common_vendor.o(($event) => show.value = false),
g: common_vendor.o(handleSelectedHouse),
h: common_vendor.p({
g: common_vendor.o(($event) => show.value = false),
h: common_vendor.o(handleSelectedHouse),
i: common_vendor.p({
show: show.value,
pageSource: "archive_houses"
})
};
});
};
}
});

View File

@ -1 +1 @@
<view><hs-collection u-i="afe28dc2-0" bind:__l="__l"/><view class="archive_header_card"><view class="archive_card_header">{{a}} <text bindtap="{{b}}">切换房屋</text></view><view class="archive_card_role"><view class="item"> 您的身份事:产权人 </view><view class="item"> 房屋已绑定:{{c}}人 </view></view></view><view class="archive_houses_content"><view wx:for="{{d}}" wx:for-item="k" wx:key="e" class="archive_container"><view class="archive_header_number"><view class="border_left"></view><view class="title">{{k.a}}</view></view><hs-empty wx:if="{{k.b}}" u-i="{{k.c}}" bind:__l="__l"/><view wx:for="{{k.d}}" wx:for-item="i" wx:key="k" class="archive_items"><view class="archive_items_heander"><view class="avatar"><up-avatar wx:if="{{e}}" u-i="{{i.a}}" bind:__l="__l" u-p="{{e}}"/></view><view class="user_info"><view class="name">{{i.b}}</view><view class="tabs"><hs-enum-tag wx:if="{{i.c}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e}}"/><hs-enum-tag wx:if="{{i.f}}" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h}}"/></view></view><view wx:if="{{i.i}}" class="remove" bindtap="{{i.j}}"> 移除该住户 </view></view></view></view></view><my-create-household u-i="afe28dc2-5" bind:__l="__l"/><hs-popup-switch-house wx:if="{{h}}" bindclose="{{f}}" bindchange="{{g}}" u-i="afe28dc2-6" bind:__l="__l" u-p="{{h}}"/></view>
<view><hs-collection u-i="afe28dc2-0" bind:__l="__l"/><view class="archive_header_card"><view class="archive_card_header">{{a}} <text bindtap="{{b}}">切换房屋</text></view><view class="archive_card_role"><view class="item"> 您的身份事:产权人 </view><view class="item"> 房屋已绑定:{{c}}人 </view></view></view><view class="archive_houses_content"><hs-empty wx:if="{{d}}" u-i="afe28dc2-1" bind:__l="__l"/><view wx:for="{{e}}" wx:for-item="k" wx:key="e" class="archive_container"><view class="archive_header_number"><view class="border_left"></view><view class="title">{{k.a}}</view></view><hs-empty wx:if="{{k.b}}" u-i="{{k.c}}" bind:__l="__l"/><view wx:for="{{k.d}}" wx:for-item="i" wx:key="k" class="archive_items"><view class="archive_items_heander"><view class="avatar"><up-avatar wx:if="{{f}}" u-i="{{i.a}}" bind:__l="__l" u-p="{{f}}"/></view><view class="user_info"><view class="name">{{i.b}}</view><view class="tabs"><hs-enum-tag wx:if="{{i.c}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e}}"/><hs-enum-tag wx:if="{{i.f}}" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h}}"/></view></view><view wx:if="{{i.i}}" class="remove" bindtap="{{i.j}}"> 移除该住户 </view></view></view></view></view><my-create-household u-i="afe28dc2-6" bind:__l="__l"/><hs-popup-switch-house wx:if="{{i}}" bindclose="{{g}}" bindchange="{{h}}" u-i="afe28dc2-7" bind:__l="__l" u-p="{{i}}"/></view>

View File

@ -3,7 +3,7 @@ const common_vendor = require("../vendor.js");
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
const http = new common_vendor.Request();
http.setConfig((config) => {
config.baseURL = "http://10.39.13.78:8002/api/";
config.baseURL = "https://test-weapp-api.linyikj.com.cn/api/";
config.header = {
...config.header
};

View File

@ -11680,305 +11680,316 @@ class Request2 {
}
}
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
var dayjs_minExports = {};
function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
var dayjs_minExports$1 = {};
var dayjs_min = {
get exports() {
return dayjs_minExports;
return dayjs_minExports$1;
},
set exports(v) {
dayjs_minExports = v;
dayjs_minExports$1 = v;
}
};
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m = function(t3, e3, n3) {
var r3 = String(t3);
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
}, v = { s: m, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g = "en", D = {};
D[g] = M;
var p2 = "$isDayjsObject", S = function(t3) {
return t3 instanceof _ || !(!t3 || !t3[p2]);
}, w = function t3(e3, n3, r3) {
var i2;
if (!e3)
return g;
if ("string" == typeof e3) {
var s3 = e3.toLowerCase();
D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
var u2 = e3.split("-");
if (!i2 && u2.length > 1)
return t3(u2[0]);
} else {
var a2 = e3.name;
D[a2] = e3, i2 = a2;
}
return !r3 && i2 && (g = i2), i2 || !r3 && g;
}, O = function(t3, e3) {
if (S(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _(n3);
}, b = v;
b.l = w, b.i = S, b.w = function(t3, e3) {
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _ = function() {
function M2(t3) {
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
}
var m2 = M2.prototype;
return m2.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return new Date(NaN);
if (b.u(e3))
return new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r3 = e3.match($);
if (r3) {
var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
}
}
return new Date(e3);
}(t3), this.init();
}, m2.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m2.$utils = function() {
return b;
}, m2.isValid = function() {
return !(this.$d.toString() === l);
}, m2.isSame = function(t3, e3) {
var n3 = O(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m2.isAfter = function(t3, e3) {
return O(t3) < this.startOf(e3);
}, m2.isBefore = function(t3, e3) {
return this.endOf(e3) < O(t3);
}, m2.$g = function(t3, e3, n3) {
return b.u(t3) ? this[e3] : this.set(n3, t3);
}, m2.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m2.valueOf = function() {
return this.$d.getTime();
}, m2.startOf = function(t3, e3) {
var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r3 ? i2 : i2.endOf(a);
}, $2 = function(t4, e4) {
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h:
return r3 ? l2(1, 0) : l2(31, 11);
case c:
return r3 ? l2(1, M3) : l2(0, M3 + 1);
case o2:
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
case a:
case d:
return $2(v2 + "Hours", 0);
case u:
return $2(v2 + "Minutes", 1);
case s2:
return $2(v2 + "Seconds", 2);
case i:
return $2(v2 + "Milliseconds", 3);
default:
return this.clone();
var hasRequiredDayjs_min;
function requireDayjs_min() {
if (hasRequiredDayjs_min)
return dayjs_minExports$1;
hasRequiredDayjs_min = 1;
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m = function(t3, e3, n3) {
var r3 = String(t3);
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
}, v = { s: m, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g = "en", D = {};
D[g] = M;
var p2 = "$isDayjsObject", S = function(t3) {
return t3 instanceof _ || !(!t3 || !t3[p2]);
}, w = function t3(e3, n3, r3) {
var i2;
if (!e3)
return g;
if ("string" == typeof e3) {
var s3 = e3.toLowerCase();
D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
var u2 = e3.split("-");
if (!i2 && u2.length > 1)
return t3(u2[0]);
} else {
var a2 = e3.name;
D[a2] = e3, i2 = a2;
}
}, m2.endOf = function(t3) {
return this.startOf(t3, false);
}, m2.$set = function(t3, e3) {
var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
if (o3 === c || o3 === h) {
var y2 = this.clone().set(d, 1);
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
} else
l2 && this.$d[l2]($2);
return this.init(), this;
}, m2.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m2.get = function(t3) {
return this[b.p(t3)]();
}, m2.add = function(r3, f3) {
var d2, l2 = this;
r3 = Number(r3);
var $2 = b.p(f3), y2 = function(t3) {
var e3 = O(l2);
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
};
if ($2 === c)
return this.set(c, this.$M + r3);
if ($2 === h)
return this.set(h, this.$y + r3);
if ($2 === a)
return y2(1);
if ($2 === o2)
return y2(7);
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
return b.w(m3, this);
}, m2.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m2.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l;
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
}, d2 = function(t4) {
return b.s(s3 % 12 || 12, t4, "0");
}, $2 = f3 || function(t4, e4, n4) {
var r4 = t4 < 12 ? "AM" : "PM";
return n4 ? r4.toLowerCase() : r4;
};
return r3.replace(y, function(t4, r4) {
return r4 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b.s(e3.$y, 4, "0");
case "M":
return a2 + 1;
case "MM":
return b.s(a2 + 1, 2, "0");
case "MMM":
return h2(n3.monthsShort, a2, c2, 3);
case "MMMM":
return h2(c2, a2);
case "D":
return e3.$D;
case "DD":
return b.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h2(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h2(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s3);
case "HH":
return b.s(s3, 2, "0");
case "h":
return d2(1);
case "hh":
return d2(2);
case "a":
return $2(s3, u2, true);
case "A":
return $2(s3, u2, false);
case "m":
return String(u2);
case "mm":
return b.s(u2, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b.s(e3.$s, 2, "0");
case "SSS":
return b.s(e3.$ms, 3, "0");
case "Z":
return i2;
}
return null;
}(t4) || i2.replace(":", "");
});
}, m2.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m2.diff = function(r3, d2, l2) {
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
return b.m(y2, m3);
};
switch (M3) {
case h:
$2 = D2() / 12;
break;
case c:
$2 = D2();
break;
case f2:
$2 = D2() / 3;
break;
case o2:
$2 = (g2 - v2) / 6048e5;
break;
case a:
$2 = (g2 - v2) / 864e5;
break;
case u:
$2 = g2 / n2;
break;
case s2:
$2 = g2 / e2;
break;
case i:
$2 = g2 / t2;
break;
default:
$2 = g2;
}
return l2 ? $2 : b.a($2);
}, m2.daysInMonth = function() {
return this.endOf(c).$D;
}, m2.$locale = function() {
return D[this.$L];
}, m2.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r3 = w(t3, e3, true);
return r3 && (n3.$L = r3), n3;
}, m2.clone = function() {
return b.w(this.$d, this);
}, m2.toDate = function() {
return new Date(this.valueOf());
}, m2.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m2.toISOString = function() {
return this.$d.toISOString();
}, m2.toString = function() {
return this.$d.toUTCString();
}, M2;
}(), k = _.prototype;
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
k[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
return !r3 && i2 && (g = i2), i2 || !r3 && g;
}, O = function(t3, e3) {
if (S(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _(n3);
}, b = v;
b.l = w, b.i = S, b.w = function(t3, e3) {
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
}), O.extend = function(t3, e3) {
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
return O(1e3 * t3);
}, O.en = D[g], O.Ls = D, O.p = {}, O;
});
})(dayjs_min);
const dayjs = dayjs_minExports;
var _ = function() {
function M2(t3) {
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
}
var m2 = M2.prototype;
return m2.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return new Date(NaN);
if (b.u(e3))
return new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r3 = e3.match($);
if (r3) {
var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
}
}
return new Date(e3);
}(t3), this.init();
}, m2.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m2.$utils = function() {
return b;
}, m2.isValid = function() {
return !(this.$d.toString() === l);
}, m2.isSame = function(t3, e3) {
var n3 = O(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m2.isAfter = function(t3, e3) {
return O(t3) < this.startOf(e3);
}, m2.isBefore = function(t3, e3) {
return this.endOf(e3) < O(t3);
}, m2.$g = function(t3, e3, n3) {
return b.u(t3) ? this[e3] : this.set(n3, t3);
}, m2.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m2.valueOf = function() {
return this.$d.getTime();
}, m2.startOf = function(t3, e3) {
var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r3 ? i2 : i2.endOf(a);
}, $2 = function(t4, e4) {
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h:
return r3 ? l2(1, 0) : l2(31, 11);
case c:
return r3 ? l2(1, M3) : l2(0, M3 + 1);
case o2:
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
case a:
case d:
return $2(v2 + "Hours", 0);
case u:
return $2(v2 + "Minutes", 1);
case s2:
return $2(v2 + "Seconds", 2);
case i:
return $2(v2 + "Milliseconds", 3);
default:
return this.clone();
}
}, m2.endOf = function(t3) {
return this.startOf(t3, false);
}, m2.$set = function(t3, e3) {
var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
if (o3 === c || o3 === h) {
var y2 = this.clone().set(d, 1);
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
} else
l2 && this.$d[l2]($2);
return this.init(), this;
}, m2.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m2.get = function(t3) {
return this[b.p(t3)]();
}, m2.add = function(r3, f3) {
var d2, l2 = this;
r3 = Number(r3);
var $2 = b.p(f3), y2 = function(t3) {
var e3 = O(l2);
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
};
if ($2 === c)
return this.set(c, this.$M + r3);
if ($2 === h)
return this.set(h, this.$y + r3);
if ($2 === a)
return y2(1);
if ($2 === o2)
return y2(7);
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
return b.w(m3, this);
}, m2.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m2.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l;
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
}, d2 = function(t4) {
return b.s(s3 % 12 || 12, t4, "0");
}, $2 = f3 || function(t4, e4, n4) {
var r4 = t4 < 12 ? "AM" : "PM";
return n4 ? r4.toLowerCase() : r4;
};
return r3.replace(y, function(t4, r4) {
return r4 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b.s(e3.$y, 4, "0");
case "M":
return a2 + 1;
case "MM":
return b.s(a2 + 1, 2, "0");
case "MMM":
return h2(n3.monthsShort, a2, c2, 3);
case "MMMM":
return h2(c2, a2);
case "D":
return e3.$D;
case "DD":
return b.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h2(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h2(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s3);
case "HH":
return b.s(s3, 2, "0");
case "h":
return d2(1);
case "hh":
return d2(2);
case "a":
return $2(s3, u2, true);
case "A":
return $2(s3, u2, false);
case "m":
return String(u2);
case "mm":
return b.s(u2, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b.s(e3.$s, 2, "0");
case "SSS":
return b.s(e3.$ms, 3, "0");
case "Z":
return i2;
}
return null;
}(t4) || i2.replace(":", "");
});
}, m2.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m2.diff = function(r3, d2, l2) {
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
return b.m(y2, m3);
};
switch (M3) {
case h:
$2 = D2() / 12;
break;
case c:
$2 = D2();
break;
case f2:
$2 = D2() / 3;
break;
case o2:
$2 = (g2 - v2) / 6048e5;
break;
case a:
$2 = (g2 - v2) / 864e5;
break;
case u:
$2 = g2 / n2;
break;
case s2:
$2 = g2 / e2;
break;
case i:
$2 = g2 / t2;
break;
default:
$2 = g2;
}
return l2 ? $2 : b.a($2);
}, m2.daysInMonth = function() {
return this.endOf(c).$D;
}, m2.$locale = function() {
return D[this.$L];
}, m2.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r3 = w(t3, e3, true);
return r3 && (n3.$L = r3), n3;
}, m2.clone = function() {
return b.w(this.$d, this);
}, m2.toDate = function() {
return new Date(this.valueOf());
}, m2.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m2.toISOString = function() {
return this.$d.toISOString();
}, m2.toString = function() {
return this.$d.toUTCString();
}, M2;
}(), k = _.prototype;
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
k[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
};
}), O.extend = function(t3, e3) {
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
return O(1e3 * t3);
}, O.en = D[g], O.Ls = D, O.p = {}, O;
});
})(dayjs_min);
return dayjs_minExports$1;
}
var dayjs_minExports = requireDayjs_min();
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var relativeTimeExports = {};
var relativeTime$1 = {
get exports() {
@ -12042,7 +12053,7 @@ var zhCn = {
};
(function(module2, exports2) {
!function(e2, _) {
module2.exports = _(dayjs_minExports);
module2.exports = _(requireDayjs_min());
}(commonjsGlobal, function(e2) {
function _(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };

View File

@ -1,30 +1,10 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "hs-collection",
setup(__props) {
const toCollectionPage = () => {
common_vendor.index.navigateTo({
url: "/INDEX/collection/index"
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.p({
type: "right",
size: "12",
color: "#fff"
}),
b: common_vendor.o(toCollectionPage)
};
return {};
};
}
});

View File

@ -1,6 +1,4 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="hs_collection"> 一键开通自动托收,无需担心忘记缴费 <view class="btn" bindtap="{{b}}"> 立即开通 <uni-icons wx:if="{{a}}" u-i="05506432-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view></view>

View File

@ -15,6 +15,7 @@
</view>
<view class="archive_houses_content">
<hs-empty v-if="!useModel?.listData?.value?.length" />
<view
class="archive_container"
v-for="(k, index) in useModel?.listData?.value"

View File

@ -1,10 +1,10 @@
<template>
<view class="hs_collection">
<!-- <view class="hs_collection">
一键开通自动托收无需担心忘记缴费
<view class="btn" @click="toCollectionPage">
立即开通 <uni-icons type="right" size="12" color="#fff"></uni-icons>
</view>
</view>
</view> -->
</template>
<script setup lang="ts">
const toCollectionPage = () => {