@uxda/appkit 1.0.72 → 1.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1504,7 +1504,7 @@ const _hoisted_25 = {
|
|
|
1504
1504
|
var script$1 = /* @__PURE__ */ defineComponent({
|
|
1505
1505
|
__name: "AccountView",
|
|
1506
1506
|
props: {
|
|
1507
|
-
app: { type: String, required: true }
|
|
1507
|
+
app: { type: String, required: true, default: "" }
|
|
1508
1508
|
},
|
|
1509
1509
|
emits: ["recharge"],
|
|
1510
1510
|
setup(__props, { emit: __emit }) {
|
|
@@ -1664,6 +1664,11 @@ var script$1 = /* @__PURE__ */ defineComponent({
|
|
|
1664
1664
|
filtering.dateTo = dayjs().format("YYYY-MM-DD");
|
|
1665
1665
|
filtering.dateFrom = dayjs().add(-3, "M").format("YYYY-MM-DD");
|
|
1666
1666
|
}
|
|
1667
|
+
function onPageHeaderClose() {
|
|
1668
|
+
Taro.navigateBack({
|
|
1669
|
+
delta: 1
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1667
1672
|
onMounted(() => {
|
|
1668
1673
|
resetDateRange();
|
|
1669
1674
|
});
|
|
@@ -1682,7 +1687,8 @@ var script$1 = /* @__PURE__ */ defineComponent({
|
|
|
1682
1687
|
createVNode(unref(script$b), {
|
|
1683
1688
|
"color-mode": "dark",
|
|
1684
1689
|
title: "\u6211\u7684\u8D26\u6237",
|
|
1685
|
-
class: normalizeClass({ "with-background": scrollY.value > 0 })
|
|
1690
|
+
class: normalizeClass({ "with-background": scrollY.value > 0 }),
|
|
1691
|
+
onClose: onPageHeaderClose
|
|
1686
1692
|
}, null, 8, ["class"]),
|
|
1687
1693
|
createElementVNode("div", { class: "row jusify-right" }, [
|
|
1688
1694
|
createElementVNode("div", {
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="account-view" :class="{ popupOpen }">
|
|
3
3
|
<page-header color-mode="dark" title="我的账户"
|
|
4
|
-
:class="{'with-background': scrollY > 0}"
|
|
4
|
+
:class="{'with-background': scrollY > 0}"
|
|
5
|
+
@close="onPageHeaderClose" />
|
|
5
6
|
<div class="row jusify-right">
|
|
6
7
|
<div class="small-bean-button" @click="onSecondBalanceButtonClick">
|
|
7
8
|
<label>小云豆余额</label>
|
|
@@ -132,7 +133,11 @@ const safeArea = useSafeArea()
|
|
|
132
133
|
type AccountViewProps = {
|
|
133
134
|
app: string
|
|
134
135
|
}
|
|
135
|
-
const props =
|
|
136
|
+
const props = withDefaults(
|
|
137
|
+
defineProps<AccountViewProps>(), {
|
|
138
|
+
app: ''
|
|
139
|
+
}
|
|
140
|
+
)
|
|
136
141
|
|
|
137
142
|
const emit = defineEmits(['recharge'])
|
|
138
143
|
|
|
@@ -349,6 +354,12 @@ function resetDateRange () {
|
|
|
349
354
|
filtering.dateFrom = dayjs().add(-3, 'M').format('YYYY-MM-DD')
|
|
350
355
|
}
|
|
351
356
|
|
|
357
|
+
function onPageHeaderClose () {
|
|
358
|
+
Taro.navigateBack({
|
|
359
|
+
delta: 1
|
|
360
|
+
})
|
|
361
|
+
}
|
|
362
|
+
|
|
352
363
|
onMounted(() => {
|
|
353
364
|
resetDateRange()
|
|
354
365
|
})
|