Skip to content

Commit 0a11d75

Browse files
committed
opti: change code dir
1 parent b21b7f8 commit 0a11d75

File tree

10 files changed

+8
-6
lines changed

10 files changed

+8
-6
lines changed

uni_modules/uni-datetime-picker/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 2.0.5(2021-05-20)
2+
- 优化 代码目录扁平化
13
## 2.0.4(2021-05-12)
24
- 新增 组件示例地址
35
## 2.0.3(2021-05-10)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<script>
9595
import Calendar from './util.js';
9696
import calendarItem from './uni-calendar-item.vue'
97-
import timePicker from './time-picker/components/time-picker/time-picker.vue'
97+
import timePicker from './time-picker.vue'
9898
/**
9999
* Calendar 日历
100100
* @description 日历组件可以查看日期,选择任意范围内的日期,打点操作。常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等

uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
'uni-date-x--border': border}">
55
<view v-if="!isRange" class="uni-date-x uni-date-single" @click="show">
66
<view class="uni-date__icon-logo">
7-
<image class="uni-date-editor--logo" src="./icon/cale-50.png" mode=""></image>
7+
<image class="uni-date-editor--logo" src="./cale-50.png" mode=""></image>
88
</view>
99
<input class="uni-date__input" type="text" v-model="singleVal" :placeholder="placeholder"
1010
:disabled="true" />
1111
</view>
1212
<view v-else class="uni-date-x uni-date-range" @click="show">
1313
<view class="uni-date__icon-logo">
14-
<image class="uni-date-editor--logo" src="./icon/cale-50.png" mode=""></image>
14+
<image class="uni-date-editor--logo" src="./cale-50.png" mode=""></image>
1515
</view>
1616
<input class="uni-date__input uni-date-range__input" type="text" v-model="range.startDate"
1717
:placeholder="startPlaceholder" :disabled="true" />
@@ -92,8 +92,8 @@
9292
</view>
9393
</template>
9494
<script>
95-
import uniCalendar from './basic/uni-calendar.vue'
96-
import timePicker from './basic/time-picker/components/time-picker/time-picker.vue'
95+
import uniCalendar from './uni-calendar.vue'
96+
import timePicker from './time-picker.vue'
9797
9898
/**
9999
* DatetimePicker 时间选择器

uni_modules/uni-datetime-picker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "uni-datetime-picker",
33
"displayName": "uni-datetime-picker 日期选择器",
4-
"version": "2.0.4",
4+
"version": "2.0.5",
55
"description": "uni-datetime-picker 日期时间选择器,支持日历,支持范围选择",
66
"keywords": [
77
"uni-datetime-picker",

0 commit comments

Comments
 (0)