123456789101112131415161718192021222324252627282930313233343536 |
- <!-- 进出记录 -->
- <template>
- <view class="record-list-page">
- <view>
- <uni-datetime-picker v-model="range" type="daterange" @maskClick="maskClick" />
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- range: ["2021-03-8", "2021-4-20"],
- }
- },
- onLoad(option) {
- },
- onShow() {
- },
- methods: {
- maskClick(e) {
- console.log('maskClick事件:', e);
- }
- }
- }
- </script>
- <style lang="stylus" scoped>
- .record-list-page {
- height: 100%;
- }
- </style>
|