This commit is contained in:
zmj 2024-05-14 18:55:35 +08:00
parent 36dcd802cc
commit d456784cab
1 changed files with 15 additions and 4 deletions

View File

@ -15,7 +15,7 @@
</view>
</view>
<view style="margin-top: 20rpx;" @click="showPop=true">
<view style="margin-top: 20rpx;" @click="showDate=true">
<text>2024-4-7</text>-<text>2024-4-7</text>
</view>
<view class="recoder">
@ -43,11 +43,13 @@
<up-popup :show="showPop" :round="10" mode="bottom" @close="showPop=false" @open="showPop=true">
<!-- <up-popup :show="showPop" :round="10" mode="bottom" @close="showPop=false" @open="showPop=true">
<hDatetimePicker ref="pickerDate" @reset="showPop=false" @confirm="confirm">
</hDatetimePicker>
</up-popup>
</up-popup> -->
<up-datetime-picker hasInput :show="showDate" @confirm='confirmDate' :maxDate='now' @cancel='showDate=false'
@close='showDate=false' v-model="times" mode="year-month"></up-datetime-picker>
</view>
</template>
@ -62,7 +64,7 @@
UserWithdrawIndexApi
} from "@/api/balance.js"
const showDate = ref(false)
const count = ref(0)
const total = ref(0)
const getInfo = async () => {
@ -83,6 +85,15 @@
}
getList()
let now = ref(new Date().getTime())
const confirmDate = (e) => {
console.log(e)
}
const nowDate = new Date()
// cconst
const showPop = ref(false)