Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-promotion-wechat
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-promotion-wechat
Commits
c27a8aa1
提交
c27a8aa1
authored
7月 12, 2023
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
升级uni-ui到最新版本1.4.27
上级
296b15ac
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
70 个修改的文件
包含
683 行增加
和
393 行删除
+683
-393
changelog.md
uni_modules/uni-badge/changelog.md
+2
-0
uni-badge.vue
uni_modules/uni-badge/components/uni-badge/uni-badge.vue
+4
-4
package.json
uni_modules/uni-badge/package.json
+1
-1
changelog.md
uni_modules/uni-breadcrumb/changelog.md
+3
-3
changelog.md
uni_modules/uni-calendar/changelog.md
+13
-7
uni-calendar-item.vue
...ni-calendar/components/uni-calendar/uni-calendar-item.vue
+4
-5
uni-calendar.vue
...les/uni-calendar/components/uni-calendar/uni-calendar.vue
+24
-20
util.js
uni_modules/uni-calendar/components/uni-calendar/util.js
+12
-2
package.json
uni_modules/uni-calendar/package.json
+1
-1
readme.md
uni_modules/uni-calendar/readme.md
+3
-4
uni-card.vue
uni_modules/uni-card/components/uni-card/uni-card.vue
+19
-17
uni-combox.vue
uni_modules/uni-combox/components/uni-combox/uni-combox.vue
+29
-10
uni-countdown.vue
.../uni-countdown/components/uni-countdown/uni-countdown.vue
+41
-45
changelog.md
uni_modules/uni-data-picker/changelog.md
+9
-0
uni-data-picker.vue
...ata-picker/components/uni-data-picker/uni-data-picker.vue
+11
-7
uni-data-pickerview.vue
...er/components/uni-data-pickerview/uni-data-pickerview.vue
+20
-18
package.json
uni_modules/uni-data-picker/package.json
+1
-1
changelog.md
uni_modules/uni-data-select/changelog.md
+13
-0
uni-data-select.vue
...ata-select/components/uni-data-select/uni-data-select.vue
+133
-56
package.json
uni_modules/uni-data-select/package.json
+1
-1
changelog.md
uni_modules/uni-datetime-picker/changelog.md
+63
-33
calendar-item.vue
...e-picker/components/uni-datetime-picker/calendar-item.vue
+5
-15
calendar.vue
...tetime-picker/components/uni-datetime-picker/calendar.vue
+0
-0
en.json
...tetime-picker/components/uni-datetime-picker/i18n/en.json
+3
-3
keypress.js
...atetime-picker/components/uni-datetime-picker/keypress.js
+0
-46
time-picker.vue
...ime-picker/components/uni-datetime-picker/time-picker.vue
+16
-28
uni-datetime-picker.vue
...er/components/uni-datetime-picker/uni-datetime-picker.vue
+0
-0
util.js
...ni-datetime-picker/components/uni-datetime-picker/util.js
+0
-0
package.json
uni_modules/uni-datetime-picker/package.json
+1
-1
changelog.md
uni_modules/uni-easyinput/changelog.md
+12
-1
uni-easyinput.vue
.../uni-easyinput/components/uni-easyinput/uni-easyinput.vue
+0
-0
package.json
uni_modules/uni-easyinput/package.json
+1
-1
changelog.md
uni_modules/uni-fab/changelog.md
+2
-0
uni-fab.vue
uni_modules/uni-fab/components/uni-fab/uni-fab.vue
+3
-2
package.json
uni_modules/uni-fab/package.json
+1
-1
changelog.md
uni_modules/uni-file-picker/changelog.md
+4
-0
choose-and-upload-file.js
...cker/components/uni-file-picker/choose-and-upload-file.js
+3
-3
uni-file-picker.vue
...ile-picker/components/uni-file-picker/uni-file-picker.vue
+17
-6
package.json
uni_modules/uni-file-picker/package.json
+4
-7
changelog.md
uni_modules/uni-forms/changelog.md
+2
-0
uni-forms-item.vue
...es/uni-forms/components/uni-forms-item/uni-forms-item.vue
+3
-7
package.json
uni_modules/uni-forms/package.json
+1
-1
changelog.md
uni_modules/uni-list/changelog.md
+26
-0
uni-list-chat.vue
...dules/uni-list/components/uni-list-chat/uni-list-chat.vue
+77
-22
uni-list-item.vue
...dules/uni-list/components/uni-list-item/uni-list-item.vue
+95
-14
uni-list.vue
uni_modules/uni-list/components/uni-list/uni-list.vue
+0
-0
package.json
uni_modules/uni-list/package.json
+0
-0
changelog.md
uni_modules/uni-nav-bar/changelog.md
+0
-0
uni-nav-bar.vue
...odules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue
+0
-0
uni-status-bar.vue
...les/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue
+0
-0
package.json
uni_modules/uni-nav-bar/package.json
+0
-0
changelog.md
uni_modules/uni-popup/changelog.md
+0
-0
uni-popup-dialog.vue
...ni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
+0
-0
uni-popup.vue
uni_modules/uni-popup/components/uni-popup/uni-popup.vue
+0
-0
package.json
uni_modules/uni-popup/package.json
+0
-0
uni-rate.vue
uni_modules/uni-rate/components/uni-rate/uni-rate.vue
+0
-0
uni-segmented-control.vue
...omponents/uni-segmented-control/uni-segmented-control.vue
+0
-0
changelog.md
uni_modules/uni-swipe-action/changelog.md
+0
-0
bindingx.js
...swipe-action/components/uni-swipe-action-item/bindingx.js
+0
-0
mpalipay.js
...swipe-action/components/uni-swipe-action-item/mpalipay.js
+0
-0
mpother.js
...-swipe-action/components/uni-swipe-action-item/mpother.js
+0
-0
mpwxs.js
...ni-swipe-action/components/uni-swipe-action-item/mpwxs.js
+0
-0
package.json
uni_modules/uni-swipe-action/package.json
+0
-0
changelog.md
uni_modules/uni-table/changelog.md
+0
-0
uni-table.vue
uni_modules/uni-table/components/uni-table/uni-table.vue
+0
-0
filter-dropdown.vue
uni_modules/uni-table/components/uni-th/filter-dropdown.vue
+0
-0
uni-th.vue
uni_modules/uni-table/components/uni-th/uni-th.vue
+0
-0
table-checkbox.vue
uni_modules/uni-table/components/uni-tr/table-checkbox.vue
+0
-0
package.json
uni_modules/uni-table/package.json
+0
-0
createAnimation.js
...i-transition/components/uni-transition/createAnimation.js
+0
-0
没有找到文件。
uni_modules/uni-badge/changelog.md
浏览文件 @
c27a8aa1
## 1.2.2(2023-01-28)
-
修复 运行/打包 控制台警告问题
## 1.2.1(2022-09-05)
-
修复 当 text 超过 max-num 时,badge 的宽度计算是根据 text 的长度计算,更改为 css 计算实际展示宽度,详见:
[
https://ask.dcloud.net.cn/question/150473
](
https://ask.dcloud.net.cn/question/150473
)
## 1.2.0(2021-11-19)
...
...
uni_modules/uni-badge/components/uni-badge/uni-badge.vue
浏览文件 @
c27a8aa1
...
...
@@ -21,7 +21,7 @@
* @value error 红色
* @property {String} inverted = [true|false] 是否无需背景颜色
* @property {Number} maxNum 展示封顶的数字值,超过 99 显示 99+
* @property {String} absolute = [rightTop|rightBottom|leftBottom|leftTop] 开启绝对定位, 角标将定位到其包裹的标签的四角上
* @property {String} absolute = [rightTop|rightBottom|leftBottom|leftTop] 开启绝对定位, 角标将定位到其包裹的标签的四角上
* @value rightTop 右上
* @value rightBottom 右下
* @value leftTop 左上
...
...
@@ -191,12 +191,13 @@
/* #ifndef APP-NVUE */
display
:
flex
;
overflow
:
hidden
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-feature-settings
:
"tnum"
;
min-width
:
20px
;
/* #endif */
justify-content
:
center
;
flex-direction
:
row
;
height
:
20px
;
min-width
:
20px
;
padding
:
0
4px
;
line-height
:
18px
;
color
:
#fff
;
...
...
@@ -206,7 +207,6 @@
border
:
1px
solid
#fff
;
text-align
:
center
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
sans-serif
;
font-feature-settings
:
"tnum"
;
font-size
:
$bage-size
;
/* #ifdef H5 */
z-index
:
999
;
...
...
uni_modules/uni-badge/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-badge"
,
"displayName"
:
"uni-badge 数字角标"
,
"version"
:
"1.2.
1
"
,
"version"
:
"1.2.
2
"
,
"description"
:
"数字角标(徽章)组件,在元素周围展示消息提醒,一般用于列表、九宫格、按钮等地方。"
,
"keywords"
:
[
""
,
...
...
uni_modules/uni-breadcrumb/changelog.md
浏览文件 @
c27a8aa1
## 0.1.2(2022-06-08)
-
修复 微信小程序 separator 不显示
问题
-
修复 微信小程序 separator 不显示
的Bug
## 0.1.1(2022-06-02)
-
新增 支持 uni.scss 修改颜色
## 0.1.0(2022-04-21)
-
初始化
## 0.1.0(2022-04-21)
-
初始化
uni_modules/uni-calendar/changelog.md
浏览文件 @
c27a8aa1
## 1.4.10(2023-04-10)
-
修复 某些情况 monthSwitch 未触发的Bug
## 1.4.9(2023-02-02)
-
修复 某些情况切换月份错误的Bug
## 1.4.8(2023-01-30)
-
修复 某些情况切换月份错误的Bug
[
详情
](
https://ask.dcloud.net.cn/question/161964
)
## 1.4.7(2022-09-16)
-
可以
使用 uni-scss 控制主题色
-
优化 支持
使用 uni-scss 控制主题色
## 1.4.6(2022-09-08)
-
fix: 表头年月切换,导致改变当前日期为选择月1号,且未触发change事件
-
修复 表头年月切换,导致改变当前日期为选择月1号,且未触发change事件的Bug
## 1.4.5(2022-02-25)
-
修复 条件编译 nvue 不支持的 css 样式
-
修复 条件编译 nvue 不支持的 css 样式
的Bug
## 1.4.4(2022-02-25)
-
修复 条件编译 nvue 不支持的 css 样式
-
修复 条件编译 nvue 不支持的 css 样式
的Bug
## 1.4.3(2021-09-22)
-
修复 startDate、 endDate 属性失效的
b
ug
-
修复 startDate、 endDate 属性失效的
B
ug
## 1.4.2(2021-08-24)
-
新增 支持国际化
## 1.4.1(2021-08-05)
-
修复 弹出层被 tabbar 遮盖
b
ug
-
修复 弹出层被 tabbar 遮盖
的B
ug
## 1.4.0(2021-07-30)
-
组件兼容 vue3,如何创建vue3项目,详见
[
uni-app 项目支持 vue3 介绍
](
https://ask.dcloud.net.cn/article/37834
)
## 1.3.16(2021-05-12)
-
新增 组件示例地址
## 1.3.15(2021-02-04)
-
调整为uni_modules目录规范
-
调整为uni_modules目录规范
uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
浏览文件 @
c27a8aa1
...
...
@@ -51,11 +51,10 @@
</
template
>
<
script
>
import
{
initVueI18n
}
from
'@dcloudio/uni-i18n'
import
messages
from
'./i18n/index.js'
const
{
t
}
=
initVueI18n
(
messages
)
import
{
initVueI18n
}
from
'@dcloudio/uni-i18n'
import
i18nMessages
from
'./i18n/index.js'
const
{
t
}
=
initVueI18n
(
i18nMessages
)
export
default
{
emits
:[
'change'
],
props
:
{
...
...
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
浏览文件 @
c27a8aa1
...
...
@@ -20,7 +20,7 @@
<view
class=
"uni-calendar__header-btn-box"
@
click
.
stop=
"next"
>
<view
class=
"uni-calendar__header-btn uni-calendar--right"
></view>
</view>
<text
class=
"uni-calendar__backtoday"
@
click=
"back
t
oday"
>
{{
todayText
}}
</text>
<text
class=
"uni-calendar__backtoday"
@
click=
"back
T
oday"
>
{{
todayText
}}
</text>
</view>
<view
class=
"uni-calendar__box"
>
...
...
@@ -62,12 +62,12 @@
<
script
>
import
Calendar
from
'./util.js'
;
import
c
alendarItem
from
'./uni-calendar-item.vue'
import
{
i
nitVueI18n
}
from
'@dcloudio/uni-i18n
'
import
messages
from
'./i18n/index.js'
const
{
t
}
=
initVueI18n
(
messages
)
import
C
alendarItem
from
'./uni-calendar-item.vue'
i
mport
{
initVueI18n
}
from
'@dcloudio/uni-i18n'
import
i18nMessages
from
'./i18n/index.js
'
const
{
t
}
=
initVueI18n
(
i18nMessages
)
/**
* Calendar 日历
* @description 日历组件可以查看日期,选择任意范围内的日期,打点操作。常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等
...
...
@@ -90,7 +90,7 @@
*/
export
default
{
components
:
{
c
alendarItem
C
alendarItem
},
emits
:[
'close'
,
'confirm'
,
'change'
,
'monthSwitch'
],
props
:
{
...
...
@@ -199,26 +199,26 @@
}
},
created
()
{
// 获取日历方法实例
this
.
cale
=
new
Calendar
({
// date: new Date(),
selected
:
this
.
selected
,
startDate
:
this
.
startDate
,
endDate
:
this
.
endDate
,
range
:
this
.
range
,
})
// 选中某一天
// this.cale.setDate(this.date)
this
.
init
(
this
.
date
)
// this.setDay
},
methods
:
{
// 取消穿透
clean
()
{},
bindDateChange
(
e
)
{
const
value
=
e
.
detail
.
value
+
'-1'
console
.
log
(
this
.
cale
.
getDate
(
value
));
this
.
setDate
(
value
)
const
{
year
,
month
}
=
this
.
cale
.
getDate
(
value
)
this
.
$emit
(
'monthSwitch'
,
{
year
,
month
})
},
/**
* 初始化日期显示
...
...
@@ -323,11 +323,16 @@
/**
* 回到今天
*/
backtoday
()
{
console
.
log
(
this
.
cale
.
getDate
(
new
Date
()).
fullDate
);
let
date
=
this
.
cale
.
getDate
(
new
Date
()).
fullDate
// this.cale.setDate(date)
this
.
init
(
date
)
backToday
()
{
const
nowYearMonth
=
`
${
this
.
nowDate
.
year
}
-
${
this
.
nowDate
.
month
}
`
const
date
=
this
.
cale
.
getDate
(
new
Date
())
const
todayYearMonth
=
`
${
date
.
year
}
-
${
date
.
month
}
`
if
(
nowYearMonth
!==
todayYearMonth
)
{
this
.
monthSwitch
()
}
this
.
init
(
date
.
fullDate
)
this
.
change
()
},
/**
...
...
@@ -446,7 +451,6 @@
.uni-calendar--fixed-width
{
width
:
50px
;
// padding: 0 15px;
}
.uni-calendar__backtoday
{
...
...
uni_modules/uni-calendar/components/uni-calendar/util.js
浏览文件 @
c27a8aa1
...
...
@@ -76,10 +76,20 @@ class Calendar {
dd
.
setDate
(
dd
.
getDate
()
+
AddDayCount
)
// 获取AddDayCount天后的日期
break
case
'month'
:
if
(
dd
.
getDate
()
===
31
)
{
if
(
dd
.
getDate
()
===
31
&&
AddDayCount
>
0
)
{
dd
.
setDate
(
dd
.
getDate
()
+
AddDayCount
)
}
else
{
dd
.
setMonth
(
dd
.
getMonth
()
+
AddDayCount
)
// 获取AddDayCount天后的日期
const
preMonth
=
dd
.
getMonth
()
dd
.
setMonth
(
preMonth
+
AddDayCount
)
// 获取AddDayCount天后的日期
const
nextMonth
=
dd
.
getMonth
()
// 处理 pre 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
if
(
AddDayCount
<
0
&&
preMonth
!==
0
&&
nextMonth
-
preMonth
>
AddDayCount
){
dd
.
setMonth
(
nextMonth
+
(
nextMonth
-
preMonth
+
AddDayCount
))
}
// 处理 next 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
if
(
AddDayCount
>
0
&&
nextMonth
-
preMonth
>
AddDayCount
){
dd
.
setMonth
(
nextMonth
-
(
nextMonth
-
preMonth
-
AddDayCount
))
}
}
break
case
'year'
:
...
...
uni_modules/uni-calendar/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-calendar"
,
"displayName"
:
"uni-calendar 日历"
,
"version"
:
"1.4.
7
"
,
"version"
:
"1.4.
10
"
,
"description"
:
"日历组件"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-calendar/readme.md
浏览文件 @
c27a8aa1
...
...
@@ -77,7 +77,7 @@ export default {
### Calendar Props
| 属性名 | 类型 | 默认值| 说明 |
|
|
|
|
- | - | - | -
|
| date | String |- | 自定义当前时间,默认为今天 |
| lunar | Boolean | false | 显示农历 |
| startDate | String |- | 日期选择范围-开始日期 |
...
...
@@ -91,7 +91,7 @@ export default {
### Calendar Events
| 事件名 | 说明 |返回值|
|
| |
|
|
- | - | -
|
| open | 弹出日历组件,
`insert :false`
时生效|- |
...
...
@@ -100,4 +100,4 @@ export default {
## 组件示例
点击查看:
[
https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar
](
https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar
)
\ No newline at end of file
点击查看:
[
https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar
](
https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar
)
uni_modules/uni-card/components/uni-card/uni-card.vue
浏览文件 @
c27a8aa1
<
template
>
<view
class=
"uni-card"
:class=
"
{ 'uni-card--full': isFull, 'uni-card--shadow': isShadow,'uni-card--border':border}"
:style="{'margin':isFull?0:margin,'padding':spacing,'box-shadow':isShadow?shadow:''}">
:style="{'margin':isFull?0:margin,'padding':spacing,'box-shadow':isShadow?shadow:''}">
<!-- 封面 -->
<slot
name=
"cover"
>
<view
v-if=
"cover"
class=
"uni-card__cover"
>
...
...
@@ -21,7 +21,9 @@
</view>
</view>
<view
class=
"uni-card__header-extra"
@
click=
"onClick('extra')"
>
<text
class=
"uni-card__header-extra-text"
>
{{
extra
}}
</text>
<slot
name=
"extra"
>
<text
class=
"uni-card__header-extra-text"
>
{{
extra
}}
</text>
</slot>
</view>
</view>
</slot>
...
...
@@ -144,22 +146,22 @@
.uni-card__cover
{
position
:
relative
;
margin-top
:
$uni-card-spacing
;
margin-top
:
$uni-card-spacing
;
flex-direction
:
row
;
overflow
:
hidden
;
border-radius
:
4px
;
.uni-card__cover-image
{
border-radius
:
4px
;
.uni-card__cover-image
{
flex
:
1
;
// width: 100%;
/* #ifndef APP-PLUS */
vertical-align
:
middle
;
/* #endif */
// width: 100%;
/* #ifndef APP-PLUS */
vertical-align
:
middle
;
/* #endif */
}
}
.uni-card__header
{
display
:
flex
;
border-bottom
:
1px
$uni-border-color
solid
;
border-bottom
:
1px
$uni-border-color
solid
;
flex-direction
:
row
;
align-items
:
center
;
padding
:
$uni-card-spacing
;
...
...
@@ -181,9 +183,9 @@
overflow
:
hidden
;
border-radius
:
5px
;
margin-right
:
$uni-card-spacing
;
.uni-card__header-avatar-image
{
.uni-card__header-avatar-image
{
flex
:
1
;
width
:
40px
;
width
:
40px
;
height
:
40px
;
}
}
...
...
@@ -232,10 +234,10 @@
font-size
:
12px
;
}
}
.uni-card--border
{
border
:
1px
solid
$uni-border-color
;
}
.uni-card--border
{
border
:
1px
solid
$uni-border-color
;
}
.uni-card--shadow
{
position
:
relative
;
...
...
@@ -267,4 +269,4 @@
lines
:
1
;
/* #endif */
}
</
style
>
</
style
>
uni_modules/uni-combox/components/uni-combox/uni-combox.vue
浏览文件 @
c27a8aa1
...
...
@@ -4,24 +4,24 @@
<text>
{{
label
}}
</text>
</view>
<view
class=
"uni-combox__input-box"
>
<input
class=
"uni-combox__input"
type=
"text"
:placeholder=
"placeholder"
placeholder-class=
"uni-combox__input-plac"
v-model=
"inputVal"
@
input=
"onInput"
@
focus=
"onFocus"
@
blur=
"onBlur"
/>
<input
class=
"uni-combox__input"
type=
"text"
:placeholder=
"placeholder"
placeholder-class=
"uni-combox__input-plac"
v-model=
"inputVal"
@
input=
"onInput"
@
focus=
"onFocus"
@
blur=
"onBlur"
/>
<uni-icons
:type=
"showSelector? 'top' : 'bottom'"
size=
"14"
color=
"#999"
@
click=
"toggleSelector"
>
</uni-icons>
</view>
<view
class=
"uni-combox__selector"
v-if=
"showSelector"
>
<view
class=
"uni-popper__arrow"
></view>
<scroll-view
scroll-y=
"true"
class=
"uni-combox__selector-scroll"
>
<scroll-view
scroll-y=
"true"
class=
"uni-combox__selector-scroll"
@
scroll=
"onScroll"
>
<view
class=
"uni-combox__selector-empty"
v-if=
"filterCandidatesLength === 0"
>
<text>
{{
emptyTips
}}
</text>
</view>
<view
class=
"uni-combox__selector-item"
v-for=
"(item,index) in filterCandidates"
:key=
"index"
@
click=
"onSelectorClick(index)"
>
<view
class=
"uni-combox__selector-item"
v-for=
"(item,index) in filterCandidates"
:key=
"index"
@
click=
"onSelectorClick(index)"
>
<text>
{{
item
}}
</text>
</view>
</scroll-view>
</view>
<!-- 新增蒙层,点击蒙层时关闭选项显示 -->
<view
class=
"uni-combox__mask"
v-show=
"showSelector"
@
click=
"showSelector = false"
></view>
</view>
</
template
>
...
...
@@ -83,7 +83,8 @@
data
()
{
return
{
showSelector
:
false
,
inputVal
:
''
inputVal
:
''
,
blurTimer
:
null
,
}
},
computed
:
{
...
...
@@ -94,6 +95,9 @@
return
`width:
${
this
.
labelWidth
}
`
},
filterCandidates
()
{
if
(
this
.
inputVal
!==
0
&&
!
this
.
inputVal
)
{
return
this
.
candidates
}
return
this
.
candidates
.
filter
((
item
)
=>
{
return
item
.
toString
().
indexOf
(
this
.
inputVal
)
>
-
1
})
...
...
@@ -128,10 +132,16 @@
this
.
showSelector
=
true
},
onBlur
()
{
setTimeout
(()
=>
{
this
.
blurTimer
=
setTimeout
(()
=>
{
this
.
showSelector
=
false
},
153
)
},
onScroll
(){
// 滚动时将blur的定时器关掉
if
(
this
.
blurTimer
)
{
clearTimeout
(
this
.
blurTimer
)
this
.
blurTimer
=
null
}
},
onSelectorClick
(
index
)
{
this
.
inputVal
=
this
.
filterCandidates
[
index
]
this
.
showSelector
=
false
...
...
@@ -148,7 +158,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.uni-combox
{
font-size
:
14px
;
border
:
1px
solid
#DCDFE6
;
...
...
@@ -205,7 +215,7 @@
border
:
1px
solid
#EBEEF5
;
border-radius
:
6px
;
box-shadow
:
0
2px
12px
0
rgba
(
0
,
0
,
0
,
0
.1
);
z-index
:
2
;
z-index
:
3
;
padding
:
4px
0
;
}
...
...
@@ -272,4 +282,13 @@
.uni-combox__no-border
{
border
:
none
;
}
.uni-combox__mask
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
1
;
}
</
style
>
uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
浏览文件 @
c27a8aa1
...
...
@@ -58,10 +58,10 @@
color
:
{
type
:
String
,
default
:
'#333'
},
fontSize
:
{
type
:
Number
,
default
:
14
},
fontSize
:
{
type
:
Number
,
default
:
14
},
splitorColor
:
{
type
:
String
,
...
...
@@ -86,6 +86,10 @@
timestamp
:
{
type
:
Number
,
default
:
0
},
zeroPad
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
...
...
@@ -116,23 +120,23 @@
timeStyle
()
{
const
{
color
,
backgroundColor
,
backgroundColor
,
fontSize
}
=
this
return
{
color
,
backgroundColor
,
fontSize
:
`
${
fontSize
}
px`
,
width
:
`
${
fontSize
*
22
/
14
}
px`
,
// 按字体大小为 14px 时的比例缩放
lineHeight
:
`
${
fontSize
*
20
/
14
}
px`
,
borderRadius
:
`
${
fontSize
*
3
/
14
}
px`
,
backgroundColor
,
fontSize
:
`
${
fontSize
}
px`
,
width
:
`
${
fontSize
*
22
/
14
}
px`
,
// 按字体大小为 14px 时的比例缩放
lineHeight
:
`
${
fontSize
*
20
/
14
}
px`
,
borderRadius
:
`
${
fontSize
*
3
/
14
}
px`
,
}
},
splitorStyle
()
{
const
{
splitorColor
,
fontSize
,
backgroundColor
}
=
this
return
{
color
:
splitorColor
,
fontSize
:
`
${
fontSize
*
12
/
14
}
px`
,
splitorStyle
()
{
const
{
splitorColor
,
fontSize
,
backgroundColor
}
=
this
return
{
color
:
splitorColor
,
fontSize
:
`
${
fontSize
*
12
/
14
}
px`
,
margin
:
backgroundColor
?
`
${
fontSize
*
4
/
14
}
px`
:
''
}
}
...
...
@@ -141,10 +145,10 @@
day
(
val
)
{
this
.
changeFlag
()
},
hour
(
val
)
{
hour
(
val
)
{
this
.
changeFlag
()
},
minute
(
val
)
{
minute
(
val
)
{
this
.
changeFlag
()
},
second
(
val
)
{
...
...
@@ -199,30 +203,22 @@
}
else
{
this
.
timeUp
()
}
if
(
day
<
10
)
{
day
=
'0'
+
day
}
if
(
hour
<
10
)
{
hour
=
'0'
+
hour
}
if
(
minute
<
10
)
{
minute
=
'0'
+
minute
}
if
(
second
<
10
)
{
second
=
'0'
+
second
}
day
=
(
day
<
10
&&
this
.
zeroPad
)
?
`0
${
day
}
`
:
day
hour
=
(
hour
<
10
&&
this
.
zeroPad
)
?
`0
${
hour
}
`
:
hour
minute
=
(
minute
<
10
&&
this
.
zeroPad
)
?
`0
${
minute
}
`
:
minute
second
=
(
second
<
10
&&
this
.
zeroPad
)
?
`0
${
second
}
`
:
second
this
.
d
=
day
this
.
h
=
hour
this
.
i
=
minute
this
.
s
=
second
this
.
s
=
second
},
startData
()
{
this
.
seconds
=
this
.
toSeconds
(
this
.
timestamp
,
this
.
day
,
this
.
hour
,
this
.
minute
,
this
.
second
)
if
(
this
.
seconds
<=
0
)
{
this
.
seconds
=
this
.
toSeconds
(
0
,
0
,
0
,
0
,
0
)
if
(
this
.
seconds
<=
0
)
{
this
.
seconds
=
this
.
toSeconds
(
0
,
0
,
0
,
0
,
0
)
this
.
countDown
()
return
}
}
clearInterval
(
this
.
timer
)
this
.
countDown
()
this
.
timer
=
setInterval
(()
=>
{
...
...
@@ -233,11 +229,11 @@
}
this
.
countDown
()
},
1000
)
},
update
(){
this
.
startData
();
},
changeFlag
()
{
update
(){
this
.
startData
();
},
changeFlag
()
{
if
(
!
this
.
syncFlag
)
{
this
.
seconds
=
this
.
toSeconds
(
this
.
timestamp
,
this
.
day
,
this
.
hour
,
this
.
minute
,
this
.
second
)
this
.
startData
();
...
...
@@ -248,24 +244,24 @@
}
</
script
>
<
style
lang=
"scss"
scoped
>
$font-size
:
14px
;
$font-size
:
14px
;
.uni-countdown
{
.uni-countdown
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
&
__splitor
{
margin
:
0
2px
;
font-size
:
$font-size
;
color
:
#333
;
font-size
:
$font-size
;
color
:
#333
;
}
&
__number
{
&
__number
{
border-radius
:
3px
;
text-align
:
center
;
font-size
:
$font-size
;
font-size
:
$font-size
;
}
}
</
style
>
</
style
>
uni_modules/uni-data-picker/changelog.md
浏览文件 @
c27a8aa1
## 1.1.2(2023-04-11)
-
修复 更改 modelValue 报错的 bug
-
修复 v-for 未使用 key 值控制台 warning
## 1.1.1(2023-02-21)
-
修复代码合并时引发 value 属性为空时不渲染数据的问题
## 1.1.0(2023-02-15)
-
修复 localdata 不支持动态更新的bug
## 1.0.9(2023-02-15)
-
修复 localdata 不支持动态更新的bug
## 1.0.8(2022-09-16)
-
可以使用 uni-scss 控制主题色
## 1.0.7(2022-07-06)
...
...
uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
浏览文件 @
c27a8aa1
...
...
@@ -75,7 +75,7 @@
*/
export
default
{
name
:
'UniDataPicker'
,
emits
:
[
'popupopened'
,
'popupclosed'
,
'nodeclick'
,
'input'
,
'change'
,
'update:modelValue'
],
emits
:
[
'popupopened'
,
'popupclosed'
,
'nodeclick'
,
'input'
,
'change'
,
'update:modelValue'
,
'inputclick'
],
mixins
:
[
dataPicker
],
components
:
{
DataPickerView
...
...
@@ -131,9 +131,16 @@
this
.
load
();
})
},
watch
:
{
localdata
:
{
handler
()
{
this
.
load
()
},
deep
:
true
},
},
methods
:
{
clear
()
{
this
.
modelValue
=
null
;
this
.
_dispatchEvent
([]);
},
onPropsChange
()
{
...
...
@@ -148,10 +155,6 @@
return
;
}
if
(
!
this
.
hasValue
)
{
return
;
}
// 回显本地数据
if
(
this
.
isLocalData
)
{
this
.
loadData
();
...
...
@@ -184,6 +187,7 @@
},
handleInput
()
{
if
(
this
.
readonly
)
{
this
.
$emit
(
'inputclick'
)
return
}
this
.
show
()
...
...
@@ -544,4 +548,4 @@
}
/* #endif */
</
style
>
</
style
>
uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue
浏览文件 @
c27a8aa1
...
...
@@ -2,25 +2,27 @@
<view
class=
"uni-data-pickerview"
>
<scroll-view
v-if=
"!isCloudDataList"
class=
"selected-area"
scroll-x=
"true"
>
<view
class=
"selected-list"
>
<template
v-for=
"(item,index) in selected"
>
<view
class=
"selected-item"
:class=
"
{'selected-item-active':index==selectedIndex}"
v-if="item.text" @click="handleSelect(index)">
<text>
{{
item
.
text
}}
</text>
<view
class=
"selected-item"
v-for=
"(item,index) in selected"
:key=
"index"
:class=
"
{
'selected-item-active':index == selectedIndex
}"
@click="handleSelect(index)"
>
<text>
{{
item
.
text
||
''
}}
</text>
</view>
</
template
>
</view>
</scroll-view>
<view
class=
"tab-c"
>
<
template
v-for=
"(child, i) in dataList"
>
<scroll-view
class=
"list"
:key=
"i"
v-if=
"i==selectedIndex"
:scroll-y=
"true"
>
<view
class=
"item"
:class=
"
{'is-disabled': !!item.disable}" v-for="(item, j) in child"
@click="handleNodeClick(item, i, j)">
<text
class=
"item-text"
>
{{
item
[
map
.
text
]
}}
</text>
<view
class=
"check"
v-if=
"selected.length > i && item[map.value] == selected[i].value"
></view>
</view>
</scroll-view>
</
template
>
<scroll-view
class=
"list"
:scroll-y=
"true"
>
<view
class=
"item"
:class=
"
{'is-disabled': !!item.disable}" v-for="(item, j) in dataList[selectedIndex]" :key="j"
@click="handleNodeClick(item, selectedIndex, j)">
<text
class=
"item-text"
>
{{
item
[
map
.
text
]
}}
</text>
<view
class=
"check"
v-if=
"selected.length > selectedIndex && item[map.value] == selected[selectedIndex].value"
></view>
</view>
</scroll-view>
<view
class=
"loading-cover"
v-if=
"loading"
>
<uni-load-more
class=
"load-more"
:contentText=
"loadMore"
status=
"loading"
></uni-load-more>
...
...
@@ -164,8 +166,8 @@
}
</
script
>
<
style
lang=
"scss"
>
$uni-primary
:
#007aff
!
default
;
<
style
lang=
"scss"
>
$uni-primary
:
#007aff
!
default
;
.uni-data-pickerview
{
flex
:
1
;
...
...
@@ -318,4 +320,4 @@
/* #endif */
transform
:
rotate
(
45deg
);
}
</
style
>
</
style
>
uni_modules/uni-data-picker/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-data-picker"
,
"displayName"
:
"uni-data-picker 数据驱动的picker选择器"
,
"version"
:
"1.
0.8
"
,
"version"
:
"1.
1.2
"
,
"description"
:
"单列、多列级联选择器,常用于省市区城市选择、公司部门选择、多级分类等场景"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-data-select/changelog.md
浏览文件 @
c27a8aa1
## 1.0.6(2023-04-12)
-
修复 微信小程序点击时会改变背景颜色的 bug
## 1.0.5(2023-02-03)
-
修复 禁用时会显示清空按钮
## 1.0.4(2023-02-02)
-
优化 查询条件短期内多次变更只查询最后一次变更后的结果
-
调整 内部缓存键名调整为 uni-data-select-lastSelectedValue
## 1.0.3(2023-01-16)
-
修复 不关联服务空间报错的问题
## 1.0.2(2023-01-14)
-
新增 属性
`format`
可用于格式化显示选项内容
## 1.0.1(2022-12-06)
-
修复 当where变化时,数据不会自动更新的问题
## 0.1.9(2022-09-05)
-
修复 微信小程序下拉框出现后选择会点击到蒙板后面的输入框
## 0.1.8(2022-08-29)
...
...
uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
浏览文件 @
c27a8aa1
...
...
@@ -2,12 +2,16 @@
<view
class=
"uni-stat__select"
>
<span
v-if=
"label"
class=
"uni-label-text hide-on-phone"
>
{{
label
+
':'
}}
</span>
<view
class=
"uni-stat-box"
:class=
"
{'uni-stat__actived': current}">
<view
class=
"uni-select"
:class=
"
{'uni-select--disabled':disabled}">
<view
class=
"uni-select"
:class=
"
{'uni-select--disabled':disabled}">
<view
class=
"uni-select__input-box"
@
click=
"toggleSelector"
>
<view
v-if=
"current"
class=
"uni-select__input-text"
>
{{
current
}}
</view>
<view
v-else
class=
"uni-select__input-text uni-select__input-placeholder"
>
{{
typePlaceholder
}}
</view>
<uni-icons
v-if=
"current && clear"
type=
"clear"
color=
"#c0c4cc"
size=
"24"
@
click=
"clearVal"
/>
<uni-icons
v-else
:type=
"showSelector? 'top' : 'bottom'"
size=
"14"
color=
"#999"
/>
<view
v-if=
"current && clear && !disabled"
@
click
.
stop=
"clearVal"
>
<uni-icons
type=
"clear"
color=
"#c0c4cc"
size=
"24"
/>
</view>
<view
v-else
>
<uni-icons
:type=
"showSelector? 'top' : 'bottom'"
size=
"14"
color=
"#999"
/>
</view>
</view>
<view
class=
"uni-select--mask"
v-if=
"showSelector"
@
click=
"toggleSelector"
/>
<view
class=
"uni-select__selector"
v-if=
"showSelector"
>
...
...
@@ -16,10 +20,9 @@
<view
class=
"uni-select__selector-empty"
v-if=
"mixinDatacomResData.length === 0"
>
<text>
{{
emptyTips
}}
</text>
</view>
<view
v-else
class=
"uni-select__selector-item"
v-for=
"(item,index) in mixinDatacomResData"
:key=
"index"
@
click=
"change(item)"
>
<text
:class=
"
{'uni-select__selector__disabled': item.disable}">
{{
formatItemName
(
item
)
}}
</text>
<view
v-else
class=
"uni-select__selector-item"
v-for=
"(item,index) in mixinDatacomResData"
:key=
"index"
@
click=
"change(item)"
>
<text
:class=
"
{'uni-select__selector__disabled': item.disable}">
{{
formatItemName
(
item
)
}}
</text>
</view>
</scroll-view>
</view>
...
...
@@ -44,17 +47,8 @@
*/
export
default
{
name
:
"uni-
stat
-select"
,
name
:
"uni-
data
-select"
,
mixins
:
[
uniCloud
.
mixinDatacom
||
{}],
data
()
{
return
{
showSelector
:
false
,
current
:
''
,
mixinDatacomResData
:
[],
apps
:
[],
channels
:
[]
};
},
props
:
{
localdata
:
{
type
:
Array
,
...
...
@@ -90,15 +84,32 @@
type
:
Number
,
default
:
0
},
disabled
:
{
disabled
:
{
type
:
Boolean
,
default
:
false
}
},
// 格式化输出 用法 field="_id as value, version as text, uni_platform as label" format="{label} - {text}"
format
:
{
type
:
String
,
default
:
''
},
},
data
()
{
return
{
showSelector
:
false
,
current
:
''
,
mixinDatacomResData
:
[],
apps
:
[],
channels
:
[],
cacheKey
:
"uni-data-select-lastSelectedValue"
,
};
},
created
()
{
this
.
last
=
`
${
this
.
collection
}
_last_selected_option_value`
this
.
debounceGet
=
this
.
debounce
(()
=>
{
this
.
query
();
},
300
);
if
(
this
.
collection
&&
!
this
.
localdata
.
length
)
{
this
.
mixinDatacomEasyGet
()
this
.
debounceGet
();
}
},
computed
:
{
...
...
@@ -113,6 +124,14 @@
return
placeholder
?
common
+
placeholder
:
common
},
valueCom
(){
// #ifdef VUE3
return
this
.
modelValue
;
// #endif
// #ifndef VUE3
return
this
.
value
;
// #endif
}
},
watch
:
{
...
...
@@ -124,16 +143,9 @@
}
}
},
// #ifndef VUE3
value
()
{
this
.
initDefVal
()
},
// #endif
// #ifdef VUE3
modelValue
()
{
valueCom
(
val
,
old
)
{
this
.
initDefVal
()
},
// #endif
mixinDatacomResData
:
{
immediate
:
true
,
handler
(
val
)
{
...
...
@@ -144,27 +156,46 @@
}
},
methods
:
{
debounce
(
fn
,
time
=
100
){
let
timer
=
null
return
function
(...
args
)
{
if
(
timer
)
clearTimeout
(
timer
)
timer
=
setTimeout
(()
=>
{
fn
.
apply
(
this
,
args
)
},
time
)
}
},
// 执行数据库查询
query
(){
this
.
mixinDatacomEasyGet
();
},
// 监听查询条件变更事件
onMixinDatacomPropsChange
(){
if
(
this
.
collection
)
{
this
.
debounceGet
();
}
},
initDefVal
()
{
let
defValue
=
''
if
((
this
.
value
||
this
.
value
===
0
)
&&
!
this
.
isDisabled
(
this
.
value
))
{
defValue
=
this
.
value
}
else
if
((
this
.
modelValue
||
this
.
modelValue
===
0
)
&&
!
this
.
isDisabled
(
this
.
modelValue
))
{
defValue
=
this
.
modelValue
if
((
this
.
valueCom
||
this
.
valueCom
===
0
)
&&
!
this
.
isDisabled
(
this
.
valueCom
))
{
defValue
=
this
.
valueCom
}
else
{
let
strogeValue
if
(
this
.
collection
)
{
strogeValue
=
uni
.
getStorageSync
(
this
.
last
)
strogeValue
=
this
.
getCache
(
)
}
if
(
strogeValue
||
strogeValue
===
0
)
{
defValue
=
strogeValue
}
else
{
let
defItem
=
''
if
(
this
.
defItem
>
0
&&
this
.
defItem
<
this
.
mixinDatacomResData
.
length
)
{
if
(
this
.
defItem
>
0
&&
this
.
defItem
<
=
this
.
mixinDatacomResData
.
length
)
{
defItem
=
this
.
mixinDatacomResData
[
this
.
defItem
-
1
].
value
}
defValue
=
defItem
}
this
.
emit
(
defValue
)
if
(
defValue
||
defValue
===
0
)
{
this
.
emit
(
defValue
)
}
}
const
def
=
this
.
mixinDatacomResData
.
find
(
item
=>
item
.
value
===
defValue
)
this
.
current
=
def
?
this
.
formatItemName
(
def
)
:
''
...
...
@@ -189,7 +220,7 @@
clearVal
()
{
this
.
emit
(
''
)
if
(
this
.
collection
)
{
uni
.
removeStorageSync
(
this
.
last
)
this
.
removeCache
(
)
}
},
change
(
item
)
{
...
...
@@ -200,18 +231,17 @@
}
},
emit
(
val
)
{
this
.
$emit
(
'change'
,
val
)
this
.
$emit
(
'input'
,
val
)
this
.
$emit
(
'update:modelValue'
,
val
)
this
.
$emit
(
'change'
,
val
)
if
(
this
.
collection
)
{
uni
.
setStorageSync
(
this
.
last
,
val
)
this
.
setCache
(
val
);
}
},
toggleSelector
()
{
if
(
this
.
disabled
)
{
return
}
if
(
this
.
disabled
)
{
return
}
this
.
showSelector
=
!
this
.
showSelector
},
...
...
@@ -222,14 +252,50 @@
channel_code
}
=
item
channel_code
=
channel_code
?
`(
${
channel_code
}
)`
:
''
return
this
.
collection
.
indexOf
(
'app-list'
)
>
0
?
`
${
text
}
(
${
value
}
)`
:
(
text
?
text
:
`未命名
${
channel_code
}
`
)
}
if
(
this
.
format
)
{
// 格式化输出
let
str
=
""
;
str
=
this
.
format
;
for
(
let
key
in
item
)
{
str
=
str
.
replace
(
new
RegExp
(
`{
${
key
}
}`
,
"g"
),
item
[
key
]);
}
return
str
;
}
else
{
return
this
.
collection
.
indexOf
(
'app-list'
)
>
0
?
`
${
text
}
(
${
value
}
)`
:
(
text
?
text
:
`未命名
${
channel_code
}
`
)
}
},
// 获取当前加载的数据
getLoadData
(){
return
this
.
mixinDatacomResData
;
},
// 获取当前缓存key
getCurrentCacheKey
(){
return
this
.
collection
;
},
// 获取缓存
getCache
(
name
=
this
.
getCurrentCacheKey
()){
let
cacheData
=
uni
.
getStorageSync
(
this
.
cacheKey
)
||
{};
return
cacheData
[
name
];
},
// 设置缓存
setCache
(
value
,
name
=
this
.
getCurrentCacheKey
()){
let
cacheData
=
uni
.
getStorageSync
(
this
.
cacheKey
)
||
{};
cacheData
[
name
]
=
value
;
uni
.
setStorageSync
(
this
.
cacheKey
,
cacheData
);
},
// 删除缓存
removeCache
(
name
=
this
.
getCurrentCacheKey
()){
let
cacheData
=
uni
.
getStorageSync
(
this
.
cacheKey
)
||
{};
delete
cacheData
[
name
];
uni
.
setStorageSync
(
this
.
cacheKey
,
cacheData
);
},
}
}
</
script
>
...
...
@@ -253,7 +319,9 @@
display
:
flex
;
align-items
:
center
;
// padding: 15px;
cursor
:
pointer
;
/* #ifdef H5 */
cursor
:
pointer
;
/* #endif */
width
:
100%
;
flex
:
1
;
box-sizing
:
border-box
;
...
...
@@ -297,10 +365,10 @@
flex
:
1
;
height
:
35px
;
&
--disabled
{
background-color
:
#f5f7fa
;
cursor
:
not
-
allowed
;
}
&
--disabled
{
background-color
:
#f5f7fa
;
cursor
:
not
-
allowed
;
}
}
.uni-select__label
{
...
...
@@ -357,6 +425,14 @@
/* #endif */
}
/* #ifdef H5 */
@media
(
min-width
:
768px
)
{
.uni-select__selector-scroll
{
max-height
:
600px
;
}
}
/* #endif */
.uni-select__selector-empty
,
.uni-select__selector-item
{
/* #ifndef APP-NVUE */
...
...
@@ -436,5 +512,6 @@
bottom
:
0
;
right
:
0
;
left
:
0
;
z-index
:
2
;
}
</
style
>
uni_modules/uni-data-select/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-data-select"
,
"displayName"
:
"uni-data-select 下拉框选择器"
,
"version"
:
"
0.1.9
"
,
"version"
:
"
1.0.6
"
,
"description"
:
"通过数据驱动的下拉框选择器"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-datetime-picker/changelog.md
浏览文件 @
c27a8aa1
## 2.2.22(2023-03-30)
-
修复 日历 picker 修改年月后,自动选中当月1日
[
详情
](
https://ask.dcloud.net.cn/question/165937
)
-
修复 小程序端 低版本 ios NaN
[
详情
](
https://ask.dcloud.net.cn/question/162979
)
## 2.2.21(2023-02-20)
-
修复 firefox 浏览器显示区域点击无法拉起日历弹框的Bug
[
详情
](
https://ask.dcloud.net.cn/question/163362
)
## 2.2.20(2023-02-17)
-
优化 值为空依然选中当天问题
-
优化 提供 default-value 属性支持配置选择器打开时默认显示的时间
-
优化 非范围选择未选择日期时间,点击确认按钮选中当前日期时间
-
优化 字节小程序日期时间范围选择,底部日期换行问题
## 2.2.19(2023-02-09)
-
修复 2.2.18 引起范围选择配置 end 选择无效的Bug
[
详情
](
https://github.com/dcloudio/uni-ui/issues/686
)
## 2.2.18(2023-02-08)
-
修复 移动端范围选择change事件触发异常的Bug
[
详情
](
https://github.com/dcloudio/uni-ui/issues/684
)
-
优化 PC端输入日期格式错误时返回当前日期时间
-
优化 PC端输入日期时间超出 start、end 限制的Bug
-
优化 移动端日期时间范围用法时间展示不完整问题
## 2.2.17(2023-02-04)
-
修复 小程序端绑定 Date 类型报错的Bug
[
详情
](
https://github.com/dcloudio/uni-ui/issues/679
)
-
修复 vue3 time-picker 无法显示绑定时分秒的Bug
## 2.2.16(2023-02-02)
-
修复 字节小程序报错的Bug
## 2.2.15(2023-02-02)
-
修复 某些情况切换月份错误的Bug
## 2.2.14(2023-01-30)
-
修复 某些情况切换月份错误的Bug
[
详情
](
https://ask.dcloud.net.cn/question/162033
)
## 2.2.13(2023-01-10)
-
修复 多次加载组件造成内存占用的Bug
## 2.2.12(2022-12-01)
-
修复 vue3 下 i18n 国际化初始值不正确的Bug
## 2.2.11(2022-09-19)
-
修复
,支付宝小程序样式错乱,
[
详情
](
https://github.com/dcloudio/uni-app/issues/3861
)
-
修复
支付宝小程序样式错乱的Bug
[
详情
](
https://github.com/dcloudio/uni-app/issues/3861
)
## 2.2.10(2022-09-19)
-
修复
,反向选择日期范围,日期显示异常,
[
详情
](
https://ask.dcloud.net.cn/question/153401?item_id=212892&rf=false
)
-
修复
反向选择日期范围,日期显示异常的Bug
[
详情
](
https://ask.dcloud.net.cn/question/153401?item_id=212892&rf=false
)
## 2.2.9(2022-09-16)
-
可以使用 uni-scss 控制主题色
## 2.2.8(2022-09-08)
-
修复 close事件无效的
b
ug
-
修复 close事件无效的
B
ug
## 2.2.7(2022-09-05)
-
修复 移动端 maskClick 无效的
bug,详见:
[
https://ask.dcloud.net.cn/question/140824?item_id=209458&rf=false
](
https://ask.dcloud.net.cn/question/140824?item_id=209458&rf=false
)
-
修复 移动端 maskClick 无效的
Bug
[
详情
](
https://ask.dcloud.net.cn/question/140824
)
## 2.2.6(2022-06-30)
-
优化 组件样式,调整了组件图标大小、高度、颜色等,与uni-ui风格保持一致
## 2.2.5(2022-06-24)
-
修复 日历顶部年月及底部确认未国际化
b
ug
-
修复 日历顶部年月及底部确认未国际化
的B
ug
## 2.2.4(2022-03-31)
-
修复 Vue3 下动态赋值,单选类型未响应的
b
ug
-
修复 Vue3 下动态赋值,单选类型未响应的
B
ug
## 2.2.3(2022-03-28)
-
修复 Vue3 下动态赋值未响应的
b
ug
-
修复 Vue3 下动态赋值未响应的
B
ug
## 2.2.2(2021-12-10)
-
修复 clear-icon 属性在小程序平台不生效的
b
ug
-
修复 clear-icon 属性在小程序平台不生效的
B
ug
## 2.2.1(2021-12-10)
-
修复 日期范围选在小程序平台,必须多点击一次才能取消选中状态的
b
ug
-
修复 日期范围选在小程序平台,必须多点击一次才能取消选中状态的
B
ug
## 2.2.0(2021-11-19)
-
优化 组件UI,并提供设计资源
,详见:
[
https://uniapp.dcloud.io/component/uniui/resource
](
https://uniapp.dcloud.io/component/uniui/resource
)
-
文档迁移
,详见:
[
https://uniapp.dcloud.io/component/uniui/uni-datetime-picker
](
https://uniapp.dcloud.io/component/uniui/uni-datetime-picker
)
## 2.1.5(2021-11-09)
-
优化 组件UI,并提供设计资源
[
详情
](
https://uniapp.dcloud.io/component/uniui/resource
)
-
文档迁移
[
https://uniapp.dcloud.io/component/uniui/uni-datetime-picker
](
https://uniapp.dcloud.io/component/uniui/uni-datetime-picker
)
## 2.1.5(2021-11-09)
-
新增 提供组件设计资源,组件样式调整
## 2.1.4(2021-09-10)
-
修复 hide-second 在移动端的
b
ug
-
修复 单选赋默认值时,赋值日期未高亮的
b
ug
-
修复 赋默认值时,移动端未正确显示时间的
b
ug
-
修复 hide-second 在移动端的
B
ug
-
修复 单选赋默认值时,赋值日期未高亮的
B
ug
-
修复 赋默认值时,移动端未正确显示时间的
B
ug
## 2.1.3(2021-09-09)
-
新增 hide-second 属性,支持只使用时分,隐藏秒
## 2.1.2(2021-09-03)
-
优化 取消选中时(范围选)直接开始下一次选择, 避免多点一次
-
优化 移动端支持清除按钮,同时支持通过 ref 调用组件的 clear 方法
-
优化 调整字号大小,美化日历界面
-
修复 因国际化导致的 placeholder 失效的
b
ug
-
修复 因国际化导致的 placeholder 失效的
B
ug
## 2.1.1(2021-08-24)
-
新增 支持国际化
-
优化 范围选择器在 pc 端过宽的问题
...
...
@@ -43,50 +73,50 @@
-
新增 适配 vue3
## 2.0.19(2021-08-09)
-
新增 支持作为 uni-forms 子组件相关功能
-
修复 在 uni-forms 中使用时,选择时间报 NAN 错误的
b
ug
-
修复 在 uni-forms 中使用时,选择时间报 NAN 错误的
B
ug
## 2.0.18(2021-08-05)
-
修复 type 属性动态赋值无效的
b
ug
-
修复 type 属性动态赋值无效的
B
ug
-
修复 ‘确认’按钮被 tabbar 遮盖 bug
-
修复 组件未赋值时范围选左、右日历相同的
b
ug
-
修复 组件未赋值时范围选左、右日历相同的
B
ug
## 2.0.17(2021-08-04)
-
修复 范围选未正确显示当前值的
b
ug
-
修复 h5 平台(移动端)报错 'cale' of undefined 的
b
ug
-
修复 范围选未正确显示当前值的
B
ug
-
修复 h5 平台(移动端)报错 'cale' of undefined 的
B
ug
## 2.0.16(2021-07-21)
-
新增 return-type 属性支持返回 date 日期对象
## 2.0.15(2021-07-14)
-
修复 单选日期类型,初始赋值后不在当前日历的
b
ug
-
修复 单选日期类型,初始赋值后不在当前日历的
B
ug
-
新增 clearIcon 属性,显示框的清空按钮可配置显示隐藏(仅 pc 有效)
-
优化 移动端移除显示框的清空按钮,无实际用途
## 2.0.14(2021-07-14)
-
修复 组件赋值为空,界面未更新的
b
ug
-
修复 start 和 end 不能动态赋值的
b
ug
-
修复 范围选类型,用户选择后再次选择右侧日历(结束日期)显示不正确的
b
ug
-
修复 组件赋值为空,界面未更新的
B
ug
-
修复 start 和 end 不能动态赋值的
B
ug
-
修复 范围选类型,用户选择后再次选择右侧日历(结束日期)显示不正确的
B
ug
## 2.0.13(2021-07-08)
-
修复 范围选择不能动态赋值的
b
ug
-
修复 范围选择不能动态赋值的
B
ug
## 2.0.12(2021-07-08)
-
修复 范围选择的初始时间在一个月内时,造成无法选择的bug
## 2.0.11(2021-07-08)
-
优化 弹出层在超出视窗边缘定位不准确的问题
## 2.0.10(2021-07-08)
-
修复 范围起始点样式的背景色与今日样式的字体前景色融合,导致日期字体看不清的
b
ug
-
修复 范围起始点样式的背景色与今日样式的字体前景色融合,导致日期字体看不清的
B
ug
-
优化 弹出层在超出视窗边缘被遮盖的问题
## 2.0.9(2021-07-07)
-
新增 maskClick 事件
-
修复 特殊情况日历 rpx 布局错误的
b
ug,rpx -> px
-
修复 特殊情况日历 rpx 布局错误的
B
ug,rpx -> px
-
修复 范围选择时清空返回值不合理的bug,
[
'', ''
]
->
[
]
## 2.0.8(2021-07-07)
-
新增 日期时间显示框支持插槽
## 2.0.7(2021-07-01)
-
优化 添加 uni-icons 依赖
## 2.0.6(2021-05-22)
-
修复 图标在小程序上不显示的
b
ug
-
修复 图标在小程序上不显示的
B
ug
-
优化 重命名引用组件,避免潜在组件命名冲突
## 2.0.5(2021-05-20)
-
优化 代码目录扁平化
## 2.0.4(2021-05-12)
-
新增 组件示例地址
## 2.0.3(2021-05-10)
-
修复 ios 下不识别 '-' 日期格式的
b
ug
-
修复 ios 下不识别 '-' 日期格式的
B
ug
-
优化 pc 下弹出层添加边框和阴影
## 2.0.2(2021-05-08)
-
修复 在 admin 中获取弹出层定位错误的bug
...
...
@@ -97,7 +127,7 @@
> 注意:此版本不向后兼容,不再支持单独时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)
## 1.0.6(2021-03-18)
-
新增 hide-second 属性,时间支持仅选择时、分
-
修复 选择跟显示的日期不一样的
b
ug
-
修复 chang事件触发2次的
b
ug
-
修复 分、秒 end 范围错误的
b
ug
-
修复 选择跟显示的日期不一样的
B
ug
-
修复 chang事件触发2次的
B
ug
-
修复 分、秒 end 范围错误的
B
ug
-
优化 更好的 nvue 适配
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue
浏览文件 @
c27a8aa1
...
...
@@ -13,10 +13,10 @@
'uni-calendar-item--after-checked':weeks.afterMultiple,
'uni-calendar-item--disable':weeks.disable,
}">
<text
v-if=
"selected
&&
weeks.extraInfo"
class=
"uni-calendar-item__weeks-box-circle"
></text>
<text
v-if=
"selected
&&
weeks.extraInfo"
class=
"uni-calendar-item__weeks-box-circle"
></text>
<text
class=
"uni-calendar-item__weeks-box-text uni-calendar-item__weeks-box-text-disable uni-calendar-item--checked-text"
>
{{
weeks
.
date
}}
</text>
</view>
<view
:class=
"
{'uni-calendar-item--
isDay': weeks.isD
ay}">
</view>
<view
:class=
"
{'uni-calendar-item--
today': weeks.isTod
ay}">
</view>
</view>
</
template
>
...
...
@@ -41,10 +41,6 @@
return
[]
}
},
lunar
:
{
type
:
Boolean
,
default
:
false
},
checkHover
:
{
type
:
Boolean
,
default
:
false
...
...
@@ -61,8 +57,8 @@
}
</
script
>
<
style
lang=
"scss"
>
$uni-primary
:
#007aff
!
default
;
<
style
lang=
"scss"
>
$uni-primary
:
#007aff
!
default
;
.uni-calendar-item__weeks-box
{
flex
:
1
;
...
...
@@ -83,11 +79,6 @@
color
:
darken
(
$color
:
$uni-primary
,
$amount
:
40%
);
}
.uni-calendar-item__weeks-lunar-text
{
font-size
:
12px
;
color
:
#333
;
}
.uni-calendar-item__weeks-box-item
{
position
:
relative
;
/* #ifndef APP-NVUE */
...
...
@@ -116,7 +107,6 @@
}
.uni-calendar-item__weeks-box
.uni-calendar-item--disable
{
// background-color: rgba(249, 249, 249, $uni-opacity-disabled);
cursor
:
default
;
}
...
...
@@ -124,7 +114,7 @@
color
:
#D1D1D1
;
}
.uni-calendar-item--
isD
ay
{
.uni-calendar-item--
tod
ay
{
position
:
absolute
;
top
:
10px
;
right
:
17%
;
...
...
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json
浏览文件 @
c27a8aa1
{
"uni-datetime-picker.selectDate"
:
"select date"
,
"uni-datetime-picker.selectTime"
:
"select time"
,
"uni-datetime-picker.selectDateTime"
:
"select datetime"
,
"uni-datetime-picker.selectDateTime"
:
"select date
and
time"
,
"uni-datetime-picker.startDate"
:
"start date"
,
"uni-datetime-picker.endDate"
:
"end date"
,
"uni-datetime-picker.startTime"
:
"start time"
,
"uni-datetime-picker.endTime"
:
"end time"
,
"uni-datetime-picker.ok"
:
"ok"
,
"uni-datetime-picker.clear"
:
"clear"
,
"uni-datetime-picker.cancel"
:
"cancel"
,
"uni-datetime-picker.year"
:
"-"
,
"uni-datetime-picker.cancel"
:
"cancel"
,
"uni-datetime-picker.year"
:
"-"
,
"uni-datetime-picker.month"
:
""
,
"uni-calender.MON"
:
"MON"
,
"uni-calender.TUE"
:
"TUE"
,
...
...
uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js
deleted
100644 → 0
浏览文件 @
296b15ac
// #ifdef H5
export
default
{
name
:
'Keypress'
,
props
:
{
disable
:
{
type
:
Boolean
,
default
:
false
}
},
mounted
()
{
const
keyNames
=
{
esc
:
[
'Esc'
,
'Escape'
],
tab
:
'Tab'
,
enter
:
'Enter'
,
space
:
[
' '
,
'Spacebar'
],
up
:
[
'Up'
,
'ArrowUp'
],
left
:
[
'Left'
,
'ArrowLeft'
],
right
:
[
'Right'
,
'ArrowRight'
],
down
:
[
'Down'
,
'ArrowDown'
],
delete
:
[
'Backspace'
,
'Delete'
,
'Del'
]
}
const
listener
=
(
$event
)
=>
{
if
(
this
.
disable
)
{
return
}
const
keyName
=
Object
.
keys
(
keyNames
).
find
(
key
=>
{
const
keyName
=
$event
.
key
const
value
=
keyNames
[
key
]
return
value
===
keyName
||
(
Array
.
isArray
(
value
)
&&
value
.
includes
(
keyName
))
})
if
(
keyName
)
{
// 避免和其他按键事件冲突
setTimeout
(()
=>
{
this
.
$emit
(
keyName
,
{})
},
0
)
}
}
document
.
addEventListener
(
'keyup'
,
listener
)
this
.
$once
(
'hook:beforeDestroy'
,
()
=>
{
document
.
removeEventListener
(
'keyup'
,
listener
)
})
},
render
:
()
=>
{}
}
// #endif
\ No newline at end of file
uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue
浏览文件 @
c27a8aa1
...
...
@@ -77,21 +77,14 @@
</view>
</view>
</view>
<!-- #ifdef H5 -->
<!--
<keypress
v-if=
"visible"
@
esc=
"tiggerTimePicker"
@
enter=
"setTime"
/>
-->
<!-- #endif -->
</view>
</
template
>
<
script
>
// #ifdef H5
import
keypress
from
'./keypress'
// #endif
import
{
initVueI18n
}
from
'@dcloudio/uni-i18n'
import
messages
from
'./i18n/index.js'
const
{
t
}
=
initVueI18n
(
messages
)
import
{
initVueI18n
}
from
'@dcloudio/uni-i18n'
import
i18nMessages
from
'./i18n/index.js'
const
{
t
}
=
initVueI18n
(
i18nMessages
)
import
{
fixIosDateFormat
}
from
'./util'
/**
* DatetimePicker 时间选择器
...
...
@@ -108,11 +101,6 @@
export
default
{
name
:
'UniDatetimePicker'
,
components
:
{
// #ifdef H5
keypress
// #endif
},
data
()
{
return
{
indicatorStyle
:
`height: 50px;`
,
...
...
@@ -187,12 +175,12 @@
watch
:
{
// #ifndef VUE3
value
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
this
.
parseValue
(
this
.
fixIosDateFormat
(
newVal
))
//兼容 iOS、safari 日期格式
handler
(
newVal
)
{
if
(
newVal
)
{
this
.
parseValue
(
fixIosDateFormat
(
newVal
))
this
.
initTime
(
false
)
}
else
{
this
.
time
=
''
this
.
time
=
''
this
.
parseValue
(
Date
.
now
())
}
},
...
...
@@ -201,9 +189,9 @@
// #endif
// #ifdef VUE3
modelValue
:
{
handler
(
newVal
,
old
Val
)
{
if
(
newVal
)
{
this
.
parseValue
(
this
.
fixIosDateFormat
(
newVal
))
//兼容 iOS、safari 日期格式
handler
(
new
Val
)
{
if
(
newVal
)
{
this
.
parseValue
(
fixIosDateFormat
(
newVal
))
this
.
initTime
(
false
)
}
else
{
this
.
time
=
''
...
...
@@ -233,13 +221,13 @@
},
start
:
{
handler
(
newVal
)
{
this
.
parseDatetimeRange
(
this
.
fixIosDateFormat
(
newVal
),
'start'
)
//兼容 iOS、safari 日期格式
this
.
parseDatetimeRange
(
fixIosDateFormat
(
newVal
),
'start'
)
},
immediate
:
true
},
end
:
{
handler
(
newVal
)
{
this
.
parseDatetimeRange
(
this
.
fixIosDateFormat
(
newVal
),
'end'
)
//兼容 iOS、safari 日期格式
this
.
parseDatetimeRange
(
fixIosDateFormat
(
newVal
),
'end'
)
},
immediate
:
true
},
...
...
@@ -543,7 +531,7 @@
const
day
=
now
.
getDate
()
dateBase
=
year
+
'/'
+
month
+
'/'
+
day
+
' '
}
if
(
Number
(
value
)
&&
typeof
value
!==
NaN
)
{
if
(
Number
(
value
))
{
value
=
parseInt
(
value
)
dateBase
=
0
}
...
...
@@ -614,7 +602,7 @@
pointType
===
'start'
?
this
.
startYear
=
this
.
year
-
60
:
this
.
endYear
=
this
.
year
+
60
return
}
if
(
Number
(
point
)
&&
Number
(
point
)
!==
NaN
)
{
if
(
Number
(
point
))
{
point
=
parseInt
(
point
)
}
// datetime 的 end 没有时分秒, 则不限制
...
...
@@ -752,7 +740,7 @@
*/
initTimePicker
()
{
if
(
this
.
disabled
)
return
const
value
=
this
.
fixIosDateFormat
(
this
.
valu
e
)
const
value
=
fixIosDateFormat
(
this
.
tim
e
)
this
.
initPickerValue
(
value
)
this
.
visible
=
!
this
.
visible
},
...
...
uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-datetime-picker/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-datetime-picker"
,
"displayName"
:
"uni-datetime-picker 日期选择器"
,
"version"
:
"2.2.
11
"
,
"version"
:
"2.2.
22
"
,
"description"
:
"uni-datetime-picker 日期时间选择器,支持日历,支持范围选择"
,
"keywords"
:
[
"uni-datetime-picker"
,
...
...
uni_modules/uni-easyinput/changelog.md
浏览文件 @
c27a8aa1
## 1.1.9(2023-04-11)
-
修复 vue3 下 keyboardheightchange 事件报错的bug
## 1.1.8(2023-03-29)
-
优化 trim 属性默认值
## 1.1.7(2023-03-29)
-
新增 cursor-spacing 属性
## 1.1.6(2023-01-28)
-
新增 keyboardheightchange 事件,可监听键盘高度变化
## 1.1.5(2022-11-29)
-
优化 主题样式
## 1.1.4(2022-10-27)
-
修复 props 中背景颜色无默认值的bug
## 1.1.0(2022-06-30)
-
新增 在 uni-forms 1.4.0 中使用可以在 blur 时校验内容
-
新增 clear 事件,点击右侧叉号图标触发
-
新增 change 事件 ,仅在输入框失去焦点或用户按下回车时触发
-
优化 组件样式,组件获取焦点时高亮显示,图标颜色调整等
-
## 1.0.5(2022-06-07)
...
...
uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-easyinput/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-easyinput"
,
"displayName"
:
"uni-easyinput 增强输入框"
,
"version"
:
"1.1.
3
"
,
"version"
:
"1.1.
9
"
,
"description"
:
"Easyinput 组件是对原生input组件的增强"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-fab/changelog.md
浏览文件 @
c27a8aa1
## 1.2.5(2023-03-29)
-
新增 pattern.icon 属性,可自定义图标
## 1.2.4(2022-09-07)
小程序端由于 style 使用了对象导致报错,
[
详情
](
https://ask.dcloud.net.cn/question/152790?item_id=211778&rf=false
)
## 1.2.3(2022-09-05)
...
...
uni_modules/uni-fab/components/uni-fab/uni-fab.vue
浏览文件 @
c27a8aa1
...
...
@@ -35,7 +35,7 @@
'uni-fab__circle--rightTop': rightTop,
'uni-fab__content--other-platform': !isAndroidNvue
}" class="uni-fab__circle uni-fab__plus" :style="{ 'background-color': styles.buttonColor, 'bottom': nvueBottom }" @click="_onClick">
<uni-icons
class=
"fab-circle-icon"
type=
"plusempty
"
:color=
"styles.iconColor"
size=
"32"
<uni-icons
class=
"fab-circle-icon"
:type=
"styles.icon
"
:color=
"styles.iconColor"
size=
"32"
:class=
"
{'uni-fab__plus--active': isShow
&&
content.length > 0}">
</uni-icons>
<!--
<view
class=
"fab-circle-v"
:class=
"
{'uni-fab__plus--active': isShow
&&
content.length > 0}">
</view>
<view
class=
"fab-circle-h"
:class=
"
{'uni-fab__plus--active': isShow
&&
content.length > 0}">
</view>
-->
...
...
@@ -115,7 +115,8 @@
selectedColor
:
'#007AFF'
,
backgroundColor
:
'#fff'
,
buttonColor
:
'#007AFF'
,
iconColor
:
'#fff'
iconColor
:
'#fff'
,
icon
:
'plusempty'
}
}
},
...
...
uni_modules/uni-fab/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-fab"
,
"displayName"
:
"uni-fab 悬浮按钮"
,
"version"
:
"1.2.
4
"
,
"version"
:
"1.2.
5
"
,
"description"
:
"悬浮按钮 fab button ,点击可展开一个图标按钮菜单。"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-file-picker/changelog.md
浏览文件 @
c27a8aa1
## 1.0.4(2023-03-29)
-
修复 手动上传删除一个文件后不能再上传的bug
## 1.0.3(2022-12-19)
-
新增 sourceType 属性, 可以自定义图片和视频选择的来源
## 1.0.2(2022-07-04)
-
修复 在uni-forms下样式不生效的bug
## 1.0.1(2021-11-23)
...
...
uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js
浏览文件 @
c27a8aa1
...
...
@@ -7,7 +7,7 @@ function chooseImage(opts) {
const
{
count
,
sizeType
=
[
'original'
,
'compressed'
],
sourceType
=
[
'album'
,
'camera'
]
,
sourceType
,
extension
}
=
opts
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
@@ -33,7 +33,7 @@ function chooseVideo(opts) {
camera
,
compressed
,
maxDuration
,
sourceType
=
[
'album'
,
'camera'
]
,
sourceType
,
extension
}
=
opts
;
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
@@ -221,4 +221,4 @@ function chooseAndUploadFile(opts = {
export
{
chooseAndUploadFile
,
uploadCloudFiles
};
};
uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
浏览文件 @
c27a8aa1
...
...
@@ -83,9 +83,9 @@
components
:
{
uploadImage
,
uploadFile
},
options
:
{
virtualHost
:
true
},
options
:
{
virtualHost
:
true
},
emits
:
[
'select'
,
'success'
,
'fail'
,
'progress'
,
'delete'
,
'update:modelValue'
,
'input'
],
props
:
{
...
...
@@ -185,6 +185,12 @@
default
()
{
return
[
'original'
,
'compressed'
]
}
},
sourceType
:
{
type
:
Array
,
default
()
{
return
[
'album'
,
'camera'
]
}
}
},
data
()
{
...
...
@@ -349,6 +355,7 @@
type
:
this
.
fileMediatype
,
compressed
:
false
,
sizeType
:
this
.
sizeType
,
sourceType
:
this
.
sourceType
,
// TODO 如果为空,video 有问题
extension
:
_extname
.
length
>
0
?
_extname
:
undefined
,
count
:
this
.
limitLength
-
this
.
files
.
length
,
//默认9
...
...
@@ -576,7 +583,11 @@
path
:
v
.
path
,
size
:
v
.
size
,
fileID
:
v
.
fileID
,
url
:
v
.
url
url
:
v
.
url
,
// 修改删除一个文件后不能再上传的bug, #694
uuid
:
v
.
uuid
,
status
:
v
.
status
,
cloudPath
:
v
.
cloudPath
})
})
return
newFilesData
...
...
@@ -609,9 +620,9 @@
.uni-file-picker
{
/* #ifndef APP-NVUE */
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow
:
hidden
;
width
:
100%
;
/* #endif */
/* #endif */
flex
:
1
;
}
...
...
uni_modules/uni-file-picker/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-file-picker"
,
"displayName"
:
"uni-file-picker 文件选择上传"
,
"version"
:
"1.0.
2
"
,
"version"
:
"1.0.
4
"
,
"description"
:
"文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间"
,
"keywords"
:
[
"uni-ui"
,
...
...
@@ -16,11 +16,7 @@
"directories"
:
{
"example"
:
"../../temps/example_temps"
},
"dcloudext"
:
{
"category"
:
[
"前端组件"
,
"通用组件"
],
"dcloudext"
:
{
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
...
...
@@ -37,7 +33,8 @@
"data"
:
"无"
,
"permissions"
:
"无"
},
"npmurl"
:
"https://www.npmjs.com/package/@dcloudio/uni-ui"
"npmurl"
:
"https://www.npmjs.com/package/@dcloudio/uni-ui"
,
"type"
:
"component-vue"
},
"uni_modules"
:
{
"dependencies"
:
[
"uni-scss"
],
...
...
uni_modules/uni-forms/changelog.md
浏览文件 @
c27a8aa1
## 1.4.9(2023-02-10)
-
修复 required 参数无法动态绑定
## 1.4.8(2022-08-23)
-
优化 根据 rules 自动添加 required 的问题
## 1.4.7(2022-08-22)
...
...
uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
浏览文件 @
c27a8aa1
...
...
@@ -2,9 +2,9 @@
<view
class=
"uni-forms-item"
:class=
"['is-direction-' + localLabelPos ,border?'uni-forms-item--border':'' ,border && isFirstBorder?'is-first-border':'']"
>
<slot
name=
"label"
>
<view
class=
"uni-forms-item__label"
:class=
"
{'no-label':!label
&&
!
isR
equired}"
<view
class=
"uni-forms-item__label"
:class=
"
{'no-label':!label
&&
!
r
equired}"
:style="{width:localLabelWidth,justifyContent: localLabelAlign}">
<text
v-if=
"
isR
equired"
class=
"is-required"
>
*
</text>
<text
v-if=
"
r
equired"
class=
"is-required"
>
*
</text>
<text>
{{
label
}}
</text>
</view>
</slot>
...
...
@@ -126,7 +126,6 @@
data
()
{
return
{
errMsg
:
''
,
isRequired
:
false
,
userRules
:
null
,
localLabelAlign
:
'left'
,
localLabelWidth
:
'65px'
,
...
...
@@ -315,7 +314,6 @@
this
.
localLabelWidth
=
this
.
_labelWidthUnit
(
labelWidth
)
// 标签位置
this
.
localLabelPos
=
this
.
_labelPosition
()
this
.
isRequired
=
this
.
required
// 将需要校验的子组件加入form 队列
this
.
form
&&
type
&&
childrens
.
push
(
this
)
...
...
@@ -351,8 +349,6 @@
this
.
validator
=
validator
// 默认值赋予
this
.
itemSetValue
(
_getDataValue
(
this
.
name
,
localData
))
this
.
isRequired
=
this
.
_isRequired
()
},
unInit
()
{
if
(
this
.
form
)
{
...
...
@@ -386,7 +382,7 @@
},
// 是否显示星号
_isRequired
()
{
_isRequired
()
{
// TODO 不根据规则显示 星号,考虑后续兼容
// if (this.form) {
// if (this.form._isRequiredField(this.itemRules.rules || []) && this.required) {
...
...
uni_modules/uni-forms/package.json
浏览文件 @
c27a8aa1
{
"id"
:
"uni-forms"
,
"displayName"
:
"uni-forms 表单"
,
"version"
:
"1.4.
8
"
,
"version"
:
"1.4.
9
"
,
"description"
:
"由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-list/changelog.md
浏览文件 @
c27a8aa1
## 1.2.14(2023-04-14)
-
优化 uni-list-chat 具名插槽
`header`
非app端套一层元素,方便使用时通过外层元素定位实现样式修改
## 1.2.13(2023-03-03)
-
uni-list-chat 新增 支持具名插槽
`header`
## 1.2.12(2023-02-01)
-
新增 列表图标新增 customPrefix 属性 ,用法
[
详见
](
https://uniapp.dcloud.net.cn/component/uniui/uni-icons.html#icons-props
)
## 1.2.11(2023-01-31)
-
修复 无反馈效果呈现的bug
## 1.2.9(2022-11-22)
-
修复 uni-list-chat 在vue3下跳转报错的bug
## 1.2.8(2022-11-21)
-
修复 uni-list-chat avatar属性 值为本地路径时错误的问题
## 1.2.7(2022-11-21)
-
修复 uni-list-chat avatar属性 在腾讯云版uniCloud下错误的问题
## 1.2.6(2022-11-18)
-
修复 uni-list-chat note属性 支持:“草稿”字样功能 文本少1位的问题
## 1.2.5(2022-11-15)
-
修复 uni-list-item 的 customStyle 属性 padding值在 H5端 无效的bug
## 1.2.4(2022-11-15)
-
修复 uni-list-item 的 customStyle 属性 padding值在nvue(vue2)下无效的bug
## 1.2.3(2022-11-14)
-
uni-list-chat 新增 avatar 支持 fileId
## 1.2.2(2022-11-11)
-
uni-list 新增属性 render-reverse 详情参考:
[
https://uniapp.dcloud.net.cn/component/list.html
](
https://uniapp.dcloud.net.cn/component/list.html
)
-
uni-list-chat note属性 支持:“草稿”字样 加红显示 详情参考uni-im:
[
https://ext.dcloud.net.cn/plugin?name=uni-im
](
https://ext.dcloud.net.cn/plugin?name=uni-im
)
-
uni-list-item 新增属性 customStyle 支持设置padding、backgroundColor
## 1.2.1(2022-03-30)
-
删除无用文件
## 1.2.0(2021-11-23)
...
...
uni_modules/uni-list/components/uni-list-chat/uni-list-chat.vue
浏览文件 @
c27a8aa1
...
...
@@ -7,7 +7,7 @@
<view
class=
"uni-list-chat__container"
>
<view
class=
"uni-list-chat__header-warp"
>
<view
v-if=
"avatarCircle || avatarList.length === 0"
class=
"uni-list-chat__header"
:class=
"
{ 'header--circle': avatarCircle }">
<image
class=
"uni-list-chat__header-image"
:class=
"
{ 'header--circle': avatarCircle }" :src="avatar" mode="aspectFill">
</image>
<image
class=
"uni-list-chat__header-image"
:class=
"
{ 'header--circle': avatarCircle }" :src="avatar
Url
" mode="aspectFill">
</image>
</view>
<!-- 头像组 -->
<view
v-else
class=
"uni-list-chat__header"
>
...
...
@@ -17,14 +17,24 @@
mode="aspectFill">
</image>
</view>
</view>
</view>
</view>
<!-- #ifndef APP -->
<view
class=
"slot-header"
>
<!-- #endif -->
<slot
name=
"header"
></slot>
<!-- #ifndef APP -->
</view>
<!-- #endif -->
<view
v-if=
"badgeText && badgePositon === 'left'"
class=
"uni-list-chat__badge uni-list-chat__badge-pos"
:class=
"[isSingle]"
>
<text
class=
"uni-list-chat__badge-text"
>
{{
badgeText
===
'dot'
?
''
:
badgeText
}}
</text>
</view>
<view
class=
"uni-list-chat__content"
>
<view
class=
"uni-list-chat__content-main"
>
<text
class=
"uni-list-chat__content-title uni-ellipsis"
>
{{
title
}}
</text>
<text
class=
"uni-list-chat__content-note uni-ellipsis"
>
{{
note
}}
</text>
<text
class=
"uni-list-chat__content-title uni-ellipsis"
>
{{
title
}}
</text>
<view
style=
"flex-direction: row;"
>
<text
class=
"draft"
v-if=
"isDraft"
>
[草稿]
</text>
<text
class=
"uni-list-chat__content-note uni-ellipsis"
>
{{
isDraft
?
note
.
slice
(
14
):
note
}}
</text>
</view>
</view>
<view
class=
"uni-list-chat__content-extra"
>
<slot>
...
...
@@ -120,7 +130,10 @@
}
},
// inject: ['list'],
computed
:
{
computed
:
{
isDraft
(){
return
this
.
note
.
slice
(
0
,
14
)
==
'[uni-im-draft]'
},
isSingle
()
{
if
(
this
.
badgeText
===
'dot'
)
{
return
'uni-badge--dot'
;
...
...
@@ -145,13 +158,33 @@
return
'avatarItem--1'
;
}
}
},
watch
:
{
avatar
:{
handler
(
avatar
)
{
if
(
avatar
.
substr
(
0
,
8
)
==
'cloud://'
){
uniCloud
.
getTempFileURL
({
fileList
:
[
avatar
]
}).
then
(
res
=>
{
// console.log(res);
// 兼容uniCloud私有化部署
let
fileList
=
res
.
fileList
||
res
.
result
.
fileList
this
.
avatarUrl
=
fileList
[
0
].
tempFileURL
})
}
else
{
this
.
avatarUrl
=
avatar
}
},
immediate
:
true
}
},
data
()
{
return
{
isFirstChild
:
false
,
border
:
true
,
// avatarList: 3,
imageWidth
:
50
imageWidth
:
50
,
avatarUrl
:
''
};
},
mounted
()
{
...
...
@@ -197,21 +230,36 @@
this
.
pageApi
(
'navigateTo'
);
}
},
pageApi
(
api
)
{
uni
[
api
]({
url
:
this
.
to
,
success
:
res
=>
{
this
.
$emit
(
'click'
,
{
data
:
res
});
},
fail
:
err
=>
{
this
.
$emit
(
'click'
,
{
data
:
err
});
console
.
error
(
err
.
errMsg
);
}
});
pageApi
(
api
)
{
let
callback
=
{
url
:
this
.
to
,
success
:
res
=>
{
this
.
$emit
(
'click'
,
{
data
:
res
});
},
fail
:
err
=>
{
this
.
$emit
(
'click'
,
{
data
:
err
});
}
}
switch
(
api
)
{
case
'navigateTo'
:
uni
.
navigateTo
(
callback
)
break
case
'redirectTo'
:
uni
.
redirectTo
(
callback
)
break
case
'reLaunch'
:
uni
.
reLaunch
(
callback
)
break
case
'switchTab'
:
uni
.
switchTab
(
callback
)
break
default
:
uni
.
navigateTo
(
callback
)
}
}
}
};
...
...
@@ -445,12 +493,19 @@
overflow
:
hidden
;
}
.uni-list-chat__content-note
{
.
draft
,
.
uni-list-chat__content-note
{
margin-top
:
3px
;
color
:
$note-color
;
font-size
:
$note-size
;
font-weight
:
$title-weight
;
overflow
:
hidden
;
}
.draft
{
color
:
#eb3a41
;
/* #ifndef APP-NVUE */
flex-shrink
:
0
;
/* #endif */
padding-right
:
3px
;
}
.uni-list-chat__content-extra
{
...
...
uni_modules/uni-list/components/uni-list-item/uni-list-item.vue
浏览文件 @
c27a8aa1
<
template
>
<!-- #ifdef APP-NVUE -->
<cell>
<cell
:keep-scroll-position=
"keepScrollPosition"
>
<!-- #endif -->
<view
:class=
"
{ 'uni-list-item--disabled': disabled }"
<view
:class=
"
{ 'uni-list-item--disabled': disabled }" :style="{'background-color':customStyle.backgroundColor}"
:hover-class="(!clickable
&&
!link) || disabled || showSwitch ? '' : 'uni-list-item--hover'"
class="uni-list-item" @click="onClick">
<view
v-if=
"!isFirstChild"
class=
"border--left"
:class=
"
{ 'uni-list--border': border }">
</view>
<view
class=
"uni-list-item__container"
:class=
"
{ 'container--right': showArrow || link, 'flex--direction': direction === 'column' }">
:class=
"
{ 'container--right': showArrow || link, 'flex--direction': direction === 'column'}"
:style="{paddingTop:padding.top,paddingLeft:padding.left,paddingRight:padding.right,paddingBottom:padding.bottom}">
<slot
name=
"header"
>
<view
class=
"uni-list-item__header"
>
<view
v-if=
"thumb"
class=
"uni-list-item__icon"
>
<image
:src=
"thumb"
class=
"uni-list-item__icon-img"
:class=
"['uni-list--' + thumbSize]"
/>
</view>
<view
v-else-if=
"showExtraIcon"
class=
"uni-list-item__icon"
>
<uni-icons
:color=
"extraIcon.color"
:size=
"extraIcon.size"
:type=
"extraIcon.type"
/>
<uni-icons
:c
ustomPrefix=
"extraIcon.customPrefix"
:c
olor=
"extraIcon.color"
:size=
"extraIcon.size"
:type=
"extraIcon.type"
/>
</view>
</view>
</slot>
...
...
@@ -96,7 +96,7 @@
default
:
''
},
ellipsis
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
default
:
0
},
disabled
:
{
...
...
@@ -139,7 +139,7 @@
type
:
String
,
default
:
'success'
},
badgeStyle
:{
badgeStyle
:
{
type
:
Object
,
default
()
{
return
{}
...
...
@@ -167,19 +167,75 @@
return
{
type
:
''
,
color
:
'#000000'
,
size
:
20
size
:
20
,
customPrefix
:
''
};
}
},
border
:
{
type
:
Boolean
,
default
:
true
},
customStyle
:
{
type
:
Object
,
default
()
{
return
{
padding
:
''
,
backgroundColor
:
'#FFFFFF'
}
}
},
keepScrollPosition
:
{
type
:
Boolean
,
default
:
false
}
},
watch
:
{
'customStyle.padding'
:
{
handler
(
padding
)
{
if
(
typeof
padding
==
'number'
){
padding
+=
''
}
let
paddingArr
=
padding
.
split
(
' '
)
if
(
paddingArr
.
length
===
1
)
{
const
allPadding
=
paddingArr
[
0
]
this
.
padding
=
{
"top"
:
allPadding
,
"right"
:
allPadding
,
"bottom"
:
allPadding
,
"left"
:
allPadding
}
}
else
if
(
paddingArr
.
length
===
2
)
{
const
[
verticalPadding
,
horizontalPadding
]
=
paddingArr
;
this
.
padding
=
{
"top"
:
verticalPadding
,
"right"
:
horizontalPadding
,
"bottom"
:
verticalPadding
,
"left"
:
horizontalPadding
}
}
else
if
(
paddingArr
.
length
===
4
)
{
const
[
topPadding
,
rightPadding
,
bottomPadding
,
leftPadding
]
=
paddingArr
;
this
.
padding
=
{
"top"
:
topPadding
,
"right"
:
rightPadding
,
"bottom"
:
bottomPadding
,
"left"
:
leftPadding
}
}
},
immediate
:
true
}
},
// inject: ['list'],
data
()
{
return
{
isFirstChild
:
false
isFirstChild
:
false
,
padding
:
{
top
:
""
,
right
:
""
,
bottom
:
""
,
left
:
""
}
};
},
mounted
()
{
...
...
@@ -255,7 +311,7 @@
uni
.
switchTab
(
callback
)
break
default
:
uni
.
navigateTo
(
callback
)
uni
.
navigateTo
(
callback
)
}
}
}
...
...
@@ -275,6 +331,7 @@
$uni-bg-color-hover
:
#f1f1f1
;
$uni-text-color-grey
:
#999
;
$list-item-pd
:
$uni-spacing-col-lg
$uni-spacing-row-lg
;
.uni-list-item
{
/* #ifndef APP-NVUE */
display
:
flex
;
...
...
@@ -289,12 +346,15 @@
cursor
:
pointer
;
/* #endif */
}
.uni-list-item--disabled
{
opacity
:
0
.3
;
}
.uni-list-item--hover
{
background-color
:
$uni-bg-color-hover
;
background-color
:
$uni-bg-color-hover
!
important
;
}
.uni-list-item__container
{
position
:
relative
;
/* #ifndef APP-NVUE */
...
...
@@ -307,9 +367,11 @@
overflow
:
hidden
;
// align-items: center;
}
.container--right
{
padding-right
:
0
;
}
// .border--left {
// margin-left: $uni-spacing-row-lg;
// }
...
...
@@ -324,6 +386,7 @@
border-top-width
:
0
.5px
;
/* #endif */
}
/* #ifndef APP-NVUE */
.uni-list--border
:after
{
position
:
absolute
;
...
...
@@ -336,6 +399,7 @@
transform
:
scaleY
(
0
.5
);
background-color
:
$uni-border-color
;
}
/* #endif */
.uni-list-item__content
{
/* #ifndef APP-NVUE */
...
...
@@ -349,20 +413,24 @@
justify-content
:
space-between
;
overflow
:
hidden
;
}
.uni-list-item__content--center
{
justify-content
:
center
;
}
.uni-list-item__content-title
{
font-size
:
$uni-font-size-base
;
color
:
#3b4144
;
overflow
:
hidden
;
}
.uni-list-item__content-note
{
margin-top
:
6rpx
;
color
:
$uni-text-color-grey
;
font-size
:
$uni-font-size-sm
;
overflow
:
hidden
;
}
.uni-list-item__extra
{
// width: 25%;
/* #ifndef APP-NVUE */
...
...
@@ -372,6 +440,7 @@
justify-content
:
flex-end
;
align-items
:
center
;
}
.uni-list-item__header
{
/* #ifndef APP-NVUE */
display
:
flex
;
...
...
@@ -379,12 +448,14 @@
flex-direction
:
row
;
align-items
:
center
;
}
.uni-list-item__icon
{
margin-right
:
18rpx
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
}
.uni-list-item__icon-img
{
/* #ifndef APP-NVUE */
display
:
block
;
...
...
@@ -393,6 +464,7 @@
width
:
$uni-img-size-base
;
margin-right
:
10px
;
}
.uni-icon-wrapper
{
/* #ifndef APP-NVUE */
display
:
flex
;
...
...
@@ -400,33 +472,40 @@
align-items
:
center
;
padding
:
0
10px
;
}
.flex--direction
{
flex-direction
:
column
;
/* #ifndef APP-NVUE */
align-items
:
initial
;
/* #endif */
}
.flex--justify
{
/* #ifndef APP-NVUE */
justify-content
:
initial
;
/* #endif */
}
.uni-list--lg
{
height
:
$uni-img-size-lg
;
width
:
$uni-img-size-lg
;
}
.uni-list--base
{
height
:
$uni-img-size-base
;
width
:
$uni-img-size-base
;
}
.uni-list--sm
{
height
:
$uni-img-size-sm
;
width
:
$uni-img-size-sm
;
}
.uni-list-item__extra-text
{
color
:
$uni-text-color-grey
;
font-size
:
$uni-font-size-sm
;
}
.uni-ellipsis-1
{
/* #ifndef APP-NVUE */
overflow
:
hidden
;
...
...
@@ -435,9 +514,10 @@
/* #endif */
/* #ifdef APP-NVUE */
lines
:
1
;
text-overflow
:ellipsis
;
text-overflow
:
ellipsis
;
/* #endif */
}
.uni-ellipsis-2
{
/* #ifndef APP-NVUE */
overflow
:
hidden
;
...
...
@@ -448,7 +528,7 @@
/* #endif */
/* #ifdef APP-NVUE */
lines
:
2
;
text-overflow
:ellipsis
;
text-overflow
:
ellipsis
;
/* #endif */
}
</
style
>
</
style
>
\ No newline at end of file
uni_modules/uni-list/components/uni-list/uni-list.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-list/package.json
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-nav-bar/changelog.md
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-nav-bar/package.json
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-popup/changelog.md
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-popup/components/uni-popup/uni-popup.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-popup/package.json
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-rate/components/uni-rate/uni-rate.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/changelog.md
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/components/uni-swipe-action-item/bindingx.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpalipay.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpother.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpwxs.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-swipe-action/package.json
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/changelog.md
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/components/uni-table/uni-table.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/components/uni-th/filter-dropdown.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/components/uni-th/uni-th.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/components/uni-tr/table-checkbox.vue
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-table/package.json
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
uni_modules/uni-transition/components/uni-transition/createAnimation.js
浏览文件 @
c27a8aa1
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论