Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
cube-ui
提交
b86b7937
C
cube-ui
项目概览
DiDi
/
cube-ui
9 个月 前同步成功
通知
34
Star
9078
Fork
1508
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cube-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b86b7937
编写于
8月 19, 2019
作者:
D
dolymood
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build: package
上级
e89faa2f
变更
22
展开全部
隐藏空白更改
内联
并排
Showing
22 changed file
with
38 addition
and
38 deletion
+38
-38
lib/cube.min.css
lib/cube.min.css
+1
-1
lib/cube.min.js
lib/cube.min.js
+2
-2
lib/dialog/dialog.min.css
lib/dialog/dialog.min.css
+1
-1
lib/dialog/style.css
lib/dialog/style.css
+1
-1
lib/drawer/drawer.min.js
lib/drawer/drawer.min.js
+1
-1
lib/drawer/index.js
lib/drawer/index.js
+3
-3
lib/form/form.min.css
lib/form/form.min.css
+1
-1
lib/form/style.css
lib/form/style.css
+1
-1
lib/image-preview/image-preview.min.js
lib/image-preview/image-preview.min.js
+1
-1
lib/image-preview/index.js
lib/image-preview/index.js
+3
-3
lib/index-list/index-list.min.js
lib/index-list/index-list.min.js
+1
-1
lib/index-list/index.js
lib/index-list/index.js
+3
-3
lib/index.js
lib/index.js
+4
-4
lib/input/input.min.css
lib/input/input.min.css
+1
-1
lib/input/style.css
lib/input/style.css
+1
-1
lib/scroll-nav-bar/index.js
lib/scroll-nav-bar/index.js
+3
-3
lib/scroll-nav-bar/scroll-nav-bar.min.js
lib/scroll-nav-bar/scroll-nav-bar.min.js
+1
-1
lib/scroll-nav/index.js
lib/scroll-nav/index.js
+3
-3
lib/scroll-nav/scroll-nav.min.js
lib/scroll-nav/scroll-nav.min.js
+1
-1
lib/scroll/index.js
lib/scroll/index.js
+3
-3
lib/scroll/scroll.min.js
lib/scroll/scroll.min.js
+1
-1
lib/style.css
lib/style.css
+1
-1
未找到文件。
lib/cube.min.css
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/cube.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/dialog/dialog.min.css
浏览文件 @
b86b7937
.cube-popup
{
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
z-index
:
100
;
pointer-events
:
none
}
.cube-popup_mask
{
pointer-events
:
auto
}
.cube-popup_mask
.cube-popup-mask
{
display
:
block
}
.cube-popup-container
,
.cube-popup-mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
}
.cube-popup-mask
{
display
:
none
;
overflow
:
hidden
;
background-color
:
#25262d
;
opacity
:
.4
;
pointer-events
:
auto
}
.cube-popup-mask
:before
{
content
:
"."
;
display
:
block
;
width
:
1px
;
height
:
1px
;
background-color
:
rgba
(
0
,
0
,
0
,
.1
);
margin-left
:
-10px
}
.cube-popup-container
{
-webkit-transform
:
translate
(
100%
,
100%
);
transform
:
translate
(
100%
,
100%
)}
.cube-popup-content
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
box-sizing
:
border-box
;
-webkit-transform
:
translate
(
-100%
,
-100%
);
transform
:
translate
(
-100%
,
-100%
);
pointer-events
:
auto
}
.cube-popup-center
.cube-popup-content
,
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
top
:
-50%
;
left
:
-50%
;
width
:
auto
;
max-width
:
100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
height
:
100%
;
top
:
-100%
}
.cube-popup-center
.cube-popup-content
{
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.cube-popup-top
.cube-popup-content
{
top
:
-100%
;
left
:
-100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-right
.cube-popup-content
{
top
:
-100%
;
right
:
100%
}
.cube-popup-left
.cube-popup-content
{
left
:
-100%
}
.cube-dialog-main
{
width
:
270px
;
padding
:
0
;
text-align
:
center
;
overflow
:
hidden
;
border-radius
:
2px
;
background-color
:
#fff
}
.cube-dialog-alert
,
.cube-dialog-confirm
{
position
:
relative
;
overflow
:
hidden
}
.cube-dialog-icon
{
margin-top
:
20px
;
margin-bottom
:
16px
;
line-height
:
1
;
color
:
#4a4c5b
;
font-size
:
30px
}
.cube-dialog-icon
i
{
display
:
inline-block
;
width
:
30px
;
height
:
30px
;
padding
:
10px
;
box-sizing
:
content-box
;
border-radius
:
50%
;
background-color
:
#f3f4f5
}
.cube-dialog-icon
+
.cube-dialog-title
.cube-dialog-title-def
{
margin-top
:
0
}
.cube-dialog-icon
+
.cube-dialog-content
{
margin-top
:
-4px
}
.cube-dialog-title
{
color
:
#333
;
font-size
:
16px
;
line-height
:
1
}
.cube-dialog-title
+
.cube-dialog-content
{
margin-top
:
12px
}
.cube-dialog-title-def
{
margin
:
30px
16px
0
;
overflow
:
hidden
;
white-space
:
nowrap
}
.cube-dialog-content
{
margin
:
16px
0
;
text-align
:
left
;
color
:
#666
;
font-size
:
14px
;
line-height
:
22px
}
.cube-dialog-content-def
{
padding
:
0
16px
}
.cube-dialog-content-def
>
p
{
display
:
table
;
margin
:
auto
}
.cube-dialog-content-def
>
p
+
.cube-input
{
margin-top
:
12px
}
.cube-dialog-confirm
.cube-dialog-btns
.cube-dialog-btn
,
.cube-dialog-prompt
.cube-dialog-btns
.cube-dialog-btn
{
width
:
50%
;
float
:
left
}
.cube-dialog-confirm
.cube-dialog-btns.border-right-1px
:after
,
.cube-dialog-prompt
.cube-dialog-btns.border-right-1px
:after
{
right
:
50%
;
border-color
:
#ebebeb
}
.cube-dialog-close
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
z-index
:
1
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
32px
;
height
:
32px
;
color
:
#999
;
font-size
:
18px
}
.cube-dialog-btns
{
overflow
:
hidden
;
width
:
100%
;
font-size
:
0
}
.cube-dialog-btn
{
display
:
inline-block
;
width
:
100%
;
padding
:
17px
10px
;
margin
:
0
;
font-size
:
16px
;
line-height
:
1
;
text-align
:
center
;
text-decoration
:
none
;
color
:
#999
;
background-color
:
#fff
;
background-clip
:
padding-box
;
box-sizing
:
border-box
}
.cube-dialog-btn
:active
{
background-color
:
rgba
(
0
,
0
,
0
,
.04
)}
.cube-dialog-btn_highlight
{
color
:
#fc9153
}
.cube-dialog-btn_highlight
:active
{
background-color
:
rgba
(
252
,
145
,
83
,
.04
)}
.cube-dialog-btn_disabled
{
color
:
#999
}
.cube-dialog-btn_disabled
:active
{
background-color
:
transparent
}
.cube-dialog-fade-enter-active
{
-webkit-animation
:
dialog-fadein
.4s
;
animation
:
dialog-fadein
.4s
}
.cube-dialog-fade-enter-active
.cube-dialog-main
{
-webkit-animation
:
dialog-zoom
.4s
;
animation
:
dialog-zoom
.4s
}
@-webkit-keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@-webkit-keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
.cube-popup
{
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
z-index
:
100
;
pointer-events
:
none
}
.cube-popup_mask
{
pointer-events
:
auto
}
.cube-popup_mask
.cube-popup-mask
{
display
:
block
}
.cube-popup-container
,
.cube-popup-mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
}
.cube-popup-mask
{
display
:
none
;
overflow
:
hidden
;
background-color
:
#25262d
;
opacity
:
.4
;
pointer-events
:
auto
}
.cube-popup-mask
:before
{
content
:
"."
;
display
:
block
;
width
:
1px
;
height
:
1px
;
background-color
:
rgba
(
0
,
0
,
0
,
.1
);
margin-left
:
-10px
}
.cube-popup-container
{
-webkit-transform
:
translate
(
100%
,
100%
);
transform
:
translate
(
100%
,
100%
)}
.cube-popup-content
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
box-sizing
:
border-box
;
-webkit-transform
:
translate
(
-100%
,
-100%
);
transform
:
translate
(
-100%
,
-100%
);
pointer-events
:
auto
}
.cube-popup-center
.cube-popup-content
,
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
top
:
-50%
;
left
:
-50%
;
width
:
auto
;
max-width
:
100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
height
:
100%
;
top
:
-100%
}
.cube-popup-center
.cube-popup-content
{
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.cube-popup-top
.cube-popup-content
{
top
:
-100%
;
left
:
-100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-right
.cube-popup-content
{
top
:
-100%
;
right
:
100%
}
.cube-popup-left
.cube-popup-content
{
left
:
-100%
}
.cube-dialog-main
{
width
:
270px
;
padding
:
0
;
text-align
:
center
;
overflow
:
hidden
;
border-radius
:
2px
;
background-color
:
#fff
}
.cube-dialog-alert
,
.cube-dialog-confirm
{
position
:
relative
;
overflow
:
hidden
}
.cube-dialog-icon
{
margin-top
:
20px
;
margin-bottom
:
16px
;
line-height
:
1
;
color
:
#4a4c5b
;
font-size
:
30px
}
.cube-dialog-icon
i
{
display
:
inline-block
;
width
:
30px
;
height
:
30px
;
padding
:
10px
;
box-sizing
:
content-box
;
border-radius
:
50%
;
background-color
:
#f3f4f5
}
.cube-dialog-icon
+
.cube-dialog-title
.cube-dialog-title-def
{
margin-top
:
0
}
.cube-dialog-icon
+
.cube-dialog-content
{
margin-top
:
-4px
}
.cube-dialog-title
{
color
:
#333
;
font-size
:
16px
;
line-height
:
1
}
.cube-dialog-title
+
.cube-dialog-content
{
margin-top
:
12px
}
.cube-dialog-title-def
{
margin
:
30px
16px
0
;
overflow
:
hidden
;
white-space
:
nowrap
}
.cube-dialog-content
{
margin
:
16px
0
;
text-align
:
left
;
color
:
#666
;
font-size
:
14px
;
line-height
:
22px
}
.cube-dialog-content-def
{
padding
:
0
16px
}
.cube-dialog-content-def
>
p
{
display
:
table
;
margin
:
auto
}
.cube-dialog-content-def
>
p
+
.cube-input
{
margin-top
:
12px
}
.cube-dialog-confirm
.cube-dialog-btns
.cube-dialog-btn
,
.cube-dialog-prompt
.cube-dialog-btns
.cube-dialog-btn
{
width
:
50%
;
float
:
left
}
.cube-dialog-confirm
.cube-dialog-btns.border-right-1px
:after
,
.cube-dialog-prompt
.cube-dialog-btns.border-right-1px
:after
{
right
:
50%
;
border-color
:
#ebebeb
}
.cube-dialog-close
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
z-index
:
1
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
32px
;
height
:
32px
;
color
:
#999
;
font-size
:
18px
}
.cube-dialog-btns
{
overflow
:
hidden
;
width
:
100%
;
font-size
:
0
}
.cube-dialog-btn
{
display
:
inline-block
;
width
:
100%
;
padding
:
17px
10px
;
margin
:
0
;
font-size
:
16px
;
line-height
:
1
;
text-align
:
center
;
text-decoration
:
none
;
color
:
#999
;
background-color
:
#fff
;
background-clip
:
padding-box
;
box-sizing
:
border-box
}
.cube-dialog-btn
:active
{
background-color
:
rgba
(
0
,
0
,
0
,
.04
)}
.cube-dialog-btn_highlight
{
color
:
#fc9153
}
.cube-dialog-btn_highlight
:active
{
background-color
:
rgba
(
252
,
145
,
83
,
.04
)}
.cube-dialog-btn_disabled
{
color
:
#999
}
.cube-dialog-btn_disabled
:active
{
background-color
:
transparent
}
.cube-dialog-fade-enter-active
{
-webkit-animation
:
dialog-fadein
.4s
;
animation
:
dialog-fadein
.4s
}
.cube-dialog-fade-enter-active
.cube-dialog-main
{
-webkit-animation
:
dialog-zoom
.4s
;
animation
:
dialog-zoom
.4s
}
@-webkit-keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@-webkit-keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
min-width
:
0
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
lib/dialog/style.css
浏览文件 @
b86b7937
.cube-popup
{
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
z-index
:
100
;
pointer-events
:
none
}
.cube-popup_mask
{
pointer-events
:
auto
}
.cube-popup_mask
.cube-popup-mask
{
display
:
block
}
.cube-popup-container
,
.cube-popup-mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
}
.cube-popup-mask
{
display
:
none
;
overflow
:
hidden
;
background-color
:
#25262d
;
opacity
:
.4
;
pointer-events
:
auto
}
.cube-popup-mask
:before
{
content
:
"."
;
display
:
block
;
width
:
1px
;
height
:
1px
;
background-color
:
rgba
(
0
,
0
,
0
,
.1
);
margin-left
:
-10px
}
.cube-popup-container
{
-webkit-transform
:
translate
(
100%
,
100%
);
transform
:
translate
(
100%
,
100%
)}
.cube-popup-content
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
box-sizing
:
border-box
;
-webkit-transform
:
translate
(
-100%
,
-100%
);
transform
:
translate
(
-100%
,
-100%
);
pointer-events
:
auto
}
.cube-popup-center
.cube-popup-content
,
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
top
:
-50%
;
left
:
-50%
;
width
:
auto
;
max-width
:
100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
height
:
100%
;
top
:
-100%
}
.cube-popup-center
.cube-popup-content
{
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.cube-popup-top
.cube-popup-content
{
top
:
-100%
;
left
:
-100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-right
.cube-popup-content
{
top
:
-100%
;
right
:
100%
}
.cube-popup-left
.cube-popup-content
{
left
:
-100%
}
.cube-dialog-main
{
width
:
270px
;
padding
:
0
;
text-align
:
center
;
overflow
:
hidden
;
border-radius
:
2px
;
background-color
:
#fff
}
.cube-dialog-alert
,
.cube-dialog-confirm
{
position
:
relative
;
overflow
:
hidden
}
.cube-dialog-icon
{
margin-top
:
20px
;
margin-bottom
:
16px
;
line-height
:
1
;
color
:
#4a4c5b
;
font-size
:
30px
}
.cube-dialog-icon
i
{
display
:
inline-block
;
width
:
30px
;
height
:
30px
;
padding
:
10px
;
box-sizing
:
content-box
;
border-radius
:
50%
;
background-color
:
#f3f4f5
}
.cube-dialog-icon
+
.cube-dialog-title
.cube-dialog-title-def
{
margin-top
:
0
}
.cube-dialog-icon
+
.cube-dialog-content
{
margin-top
:
-4px
}
.cube-dialog-title
{
color
:
#333
;
font-size
:
16px
;
line-height
:
1
}
.cube-dialog-title
+
.cube-dialog-content
{
margin-top
:
12px
}
.cube-dialog-title-def
{
margin
:
30px
16px
0
;
overflow
:
hidden
;
white-space
:
nowrap
}
.cube-dialog-content
{
margin
:
16px
0
;
text-align
:
left
;
color
:
#666
;
font-size
:
14px
;
line-height
:
22px
}
.cube-dialog-content-def
{
padding
:
0
16px
}
.cube-dialog-content-def
>
p
{
display
:
table
;
margin
:
auto
}
.cube-dialog-content-def
>
p
+
.cube-input
{
margin-top
:
12px
}
.cube-dialog-confirm
.cube-dialog-btns
.cube-dialog-btn
,
.cube-dialog-prompt
.cube-dialog-btns
.cube-dialog-btn
{
width
:
50%
;
float
:
left
}
.cube-dialog-confirm
.cube-dialog-btns.border-right-1px
:after
,
.cube-dialog-prompt
.cube-dialog-btns.border-right-1px
:after
{
right
:
50%
;
border-color
:
#ebebeb
}
.cube-dialog-close
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
z-index
:
1
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
32px
;
height
:
32px
;
color
:
#999
;
font-size
:
18px
}
.cube-dialog-btns
{
overflow
:
hidden
;
width
:
100%
;
font-size
:
0
}
.cube-dialog-btn
{
display
:
inline-block
;
width
:
100%
;
padding
:
17px
10px
;
margin
:
0
;
font-size
:
16px
;
line-height
:
1
;
text-align
:
center
;
text-decoration
:
none
;
color
:
#999
;
background-color
:
#fff
;
background-clip
:
padding-box
;
box-sizing
:
border-box
}
.cube-dialog-btn
:active
{
background-color
:
rgba
(
0
,
0
,
0
,
.04
)}
.cube-dialog-btn_highlight
{
color
:
#fc9153
}
.cube-dialog-btn_highlight
:active
{
background-color
:
rgba
(
252
,
145
,
83
,
.04
)}
.cube-dialog-btn_disabled
{
color
:
#999
}
.cube-dialog-btn_disabled
:active
{
background-color
:
transparent
}
.cube-dialog-fade-enter-active
{
-webkit-animation
:
dialog-fadein
.4s
;
animation
:
dialog-fadein
.4s
}
.cube-dialog-fade-enter-active
.cube-dialog-main
{
-webkit-animation
:
dialog-zoom
.4s
;
animation
:
dialog-zoom
.4s
}
@-webkit-keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@-webkit-keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
.cube-popup
{
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
z-index
:
100
;
pointer-events
:
none
}
.cube-popup_mask
{
pointer-events
:
auto
}
.cube-popup_mask
.cube-popup-mask
{
display
:
block
}
.cube-popup-container
,
.cube-popup-mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
}
.cube-popup-mask
{
display
:
none
;
overflow
:
hidden
;
background-color
:
#25262d
;
opacity
:
.4
;
pointer-events
:
auto
}
.cube-popup-mask
:before
{
content
:
"."
;
display
:
block
;
width
:
1px
;
height
:
1px
;
background-color
:
rgba
(
0
,
0
,
0
,
.1
);
margin-left
:
-10px
}
.cube-popup-container
{
-webkit-transform
:
translate
(
100%
,
100%
);
transform
:
translate
(
100%
,
100%
)}
.cube-popup-content
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
box-sizing
:
border-box
;
-webkit-transform
:
translate
(
-100%
,
-100%
);
transform
:
translate
(
-100%
,
-100%
);
pointer-events
:
auto
}
.cube-popup-center
.cube-popup-content
,
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
top
:
-50%
;
left
:
-50%
;
width
:
auto
;
max-width
:
100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-left
.cube-popup-content
,
.cube-popup-right
.cube-popup-content
{
height
:
100%
;
top
:
-100%
}
.cube-popup-center
.cube-popup-content
{
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.cube-popup-top
.cube-popup-content
{
top
:
-100%
;
left
:
-100%
;
-webkit-transform
:
translate
(
0
);
transform
:
translate
(
0
)}
.cube-popup-right
.cube-popup-content
{
top
:
-100%
;
right
:
100%
}
.cube-popup-left
.cube-popup-content
{
left
:
-100%
}
.cube-dialog-main
{
width
:
270px
;
padding
:
0
;
text-align
:
center
;
overflow
:
hidden
;
border-radius
:
2px
;
background-color
:
#fff
}
.cube-dialog-alert
,
.cube-dialog-confirm
{
position
:
relative
;
overflow
:
hidden
}
.cube-dialog-icon
{
margin-top
:
20px
;
margin-bottom
:
16px
;
line-height
:
1
;
color
:
#4a4c5b
;
font-size
:
30px
}
.cube-dialog-icon
i
{
display
:
inline-block
;
width
:
30px
;
height
:
30px
;
padding
:
10px
;
box-sizing
:
content-box
;
border-radius
:
50%
;
background-color
:
#f3f4f5
}
.cube-dialog-icon
+
.cube-dialog-title
.cube-dialog-title-def
{
margin-top
:
0
}
.cube-dialog-icon
+
.cube-dialog-content
{
margin-top
:
-4px
}
.cube-dialog-title
{
color
:
#333
;
font-size
:
16px
;
line-height
:
1
}
.cube-dialog-title
+
.cube-dialog-content
{
margin-top
:
12px
}
.cube-dialog-title-def
{
margin
:
30px
16px
0
;
overflow
:
hidden
;
white-space
:
nowrap
}
.cube-dialog-content
{
margin
:
16px
0
;
text-align
:
left
;
color
:
#666
;
font-size
:
14px
;
line-height
:
22px
}
.cube-dialog-content-def
{
padding
:
0
16px
}
.cube-dialog-content-def
>
p
{
display
:
table
;
margin
:
auto
}
.cube-dialog-content-def
>
p
+
.cube-input
{
margin-top
:
12px
}
.cube-dialog-confirm
.cube-dialog-btns
.cube-dialog-btn
,
.cube-dialog-prompt
.cube-dialog-btns
.cube-dialog-btn
{
width
:
50%
;
float
:
left
}
.cube-dialog-confirm
.cube-dialog-btns.border-right-1px
:after
,
.cube-dialog-prompt
.cube-dialog-btns.border-right-1px
:after
{
right
:
50%
;
border-color
:
#ebebeb
}
.cube-dialog-close
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
z-index
:
1
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
32px
;
height
:
32px
;
color
:
#999
;
font-size
:
18px
}
.cube-dialog-btns
{
overflow
:
hidden
;
width
:
100%
;
font-size
:
0
}
.cube-dialog-btn
{
display
:
inline-block
;
width
:
100%
;
padding
:
17px
10px
;
margin
:
0
;
font-size
:
16px
;
line-height
:
1
;
text-align
:
center
;
text-decoration
:
none
;
color
:
#999
;
background-color
:
#fff
;
background-clip
:
padding-box
;
box-sizing
:
border-box
}
.cube-dialog-btn
:active
{
background-color
:
rgba
(
0
,
0
,
0
,
.04
)}
.cube-dialog-btn_highlight
{
color
:
#fc9153
}
.cube-dialog-btn_highlight
:active
{
background-color
:
rgba
(
252
,
145
,
83
,
.04
)}
.cube-dialog-btn_disabled
{
color
:
#999
}
.cube-dialog-btn_disabled
:active
{
background-color
:
transparent
}
.cube-dialog-fade-enter-active
{
-webkit-animation
:
dialog-fadein
.4s
;
animation
:
dialog-fadein
.4s
}
.cube-dialog-fade-enter-active
.cube-dialog-main
{
-webkit-animation
:
dialog-zoom
.4s
;
animation
:
dialog-zoom
.4s
}
@-webkit-keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@keyframes
dialog-fadein
{
0
%
{
opacity
:
0
}
to
{
opacity
:
1
}}
@-webkit-keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
dialog-zoom
{
0
%
{
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
)}
50
%
{
-webkit-transform
:
scale
(
1.1
);
transform
:
scale
(
1.1
)}
to
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
min-width
:
0
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
lib/drawer/drawer.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/drawer/index.js
浏览文件 @
b86b7937
...
...
@@ -6189,11 +6189,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/form/form.min.css
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/form/style.css
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/image-preview/image-preview.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/image-preview/index.js
浏览文件 @
b86b7937
...
...
@@ -6668,11 +6668,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/index-list/index-list.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/index-list/index.js
浏览文件 @
b86b7937
...
...
@@ -5928,11 +5928,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/index.js
浏览文件 @
b86b7937
...
...
@@ -7226,7 +7226,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
var Cube = {
version: "1.12.2
8
",
version: "1.12.2
9
",
install: install,
BScroll: _module.BetterScroll,
createAPI: _module.createAPI
...
...
@@ -19035,11 +19035,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return _this3._waitFinishPullDown();
case 7:
_context.next = 9;
_this3.isPullDownUpdating = false;
_context.next = 10;
return _this3._waitResetPullDown(dirty);
case 9:
_this3.isPullDownUpdating = false;
case 10:
_context.next = 13;
break;
...
...
lib/input/input.min.css
浏览文件 @
b86b7937
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
min-width
:
0
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
lib/input/style.css
浏览文件 @
b86b7937
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
.cube-input
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
line-height
:
1.429
;
background-color
:
#fff
;
position
:
relative
}
.cube-input
:after
{
content
:
""
;
pointer-events
:
none
;
display
:
block
;
position
:
absolute
;
left
:
0
;
top
:
0
;
-webkit-transform-origin
:
0
0
;
transform-origin
:
0
0
;
border
:
1px
solid
#ebebeb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
100%
}
@media
(
-webkit-min-device-pixel-ratio
:
2
),(
min-resolution
:
2dppx
){
.cube-input
:after
{
width
:
200%
;
height
:
200%
;
border-radius
:
4px
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}}
@media
(
-webkit-min-device-pixel-ratio
:
3
),(
min-resolution
:
3dppx
){
.cube-input
:after
{
width
:
300%
;
height
:
300%
;
border-radius
:
6px
;
-webkit-transform
:
scale
(
.333
);
transform
:
scale
(
.333
)}}
.cube-input-field
{
display
:
block
;
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
width
:
100%
;
min-width
:
0
;
padding
:
10px
;
box-sizing
:
border-box
;
color
:
#666
;
line-height
:
inherit
;
background-color
:
inherit
;
border-radius
:
2px
;
outline
:
none
}
.cube-input-field
::-webkit-input-placeholder
{
color
:
#ccc
;
text-overflow
:
ellipsis
}
.cube-input-field
+
.cube-input-append
.cube-input-clear
:first-child
,
.cube-input-field
+
.cube-input-append
.cube-input-eye
:first-child
{
margin-left
:
-5px
}
.cube-input_active
:after
{
border-color
:
#fc9153
}
.cube-input-append
,
.cube-input-prepend
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
}
.cube-input-clear
,
.cube-input-eye
{
width
:
1em
;
height
:
1em
;
line-height
:
1
;
padding
:
10px
;
box-sizing
:
content-box
;
color
:
#999
}
.cube-input-clear
>
i
,
.cube-input-eye
>
i
{
display
:
inline-block
;
-webkit-transform
:
scale
(
1.2
);
transform
:
scale
(
1.2
)}
.cube-input-eye
>
.cubeic-eye-invisible
,
.cube-input-eye
>
.cubeic-eye-visible
{
-webkit-transform
:
scale
(
1.4
);
transform
:
scale
(
1.4
)}
\ No newline at end of file
lib/scroll-nav-bar/index.js
浏览文件 @
b86b7937
...
...
@@ -5928,11 +5928,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/scroll-nav-bar/scroll-nav-bar.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/scroll-nav/index.js
浏览文件 @
b86b7937
...
...
@@ -5928,11 +5928,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/scroll-nav/scroll-nav.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/scroll/index.js
浏览文件 @
b86b7937
...
...
@@ -5928,11 +5928,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
return
_this3
.
_waitFinishPullDown
();
case
7
:
_context
.
next
=
9
;
_this3
.
isPullDownUpdating
=
false
;
_context
.
next
=
10
;
return
_this3
.
_waitResetPullDown
(
dirty
);
case
9
:
_this3
.
isPullDownUpdating
=
false
;
case
10
:
_context
.
next
=
13
;
break
;
...
...
lib/scroll/scroll.min.js
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
lib/style.css
浏览文件 @
b86b7937
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录