Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
singleStore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max
singleStore
Commits
4d34000d
Commit
4d34000d
authored
Dec 22, 2021
by
June_Q
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:remove colorUI
parent
52c863a2
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
5381 deletions
+0
-5381
lib/colorui/animation.css
lib/colorui/animation.css
+0
-184
lib/colorui/components/cu-custom.vue
lib/colorui/components/cu-custom.vue
+0
-65
lib/colorui/icon.css
lib/colorui/icon.css
+0
-1218
lib/colorui/main.css
lib/colorui/main.css
+0
-3912
main.js
main.js
+0
-2
No files found.
lib/colorui/animation.css
deleted
100644 → 0
View file @
52c863a2
/*
Animation 微动画
基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28
*/
/* css 滤镜 控制黑白底色gif的 */
.gif-black
{
mix-blend-mode
:
screen
;
}
.gif-white
{
mix-blend-mode
:
multiply
;
}
/* Animation css */
[
class
*=
animation-
]
{
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
animation-fill-mode
:
both
}
.animation-fade
{
animation-name
:
fade
;
animation-duration
:
.8s
;
animation-timing-function
:
linear
}
.animation-scale-up
{
animation-name
:
scale-up
}
.animation-scale-down
{
animation-name
:
scale-down
}
.animation-slide-top
{
animation-name
:
slide-top
}
.animation-slide-bottom
{
animation-name
:
slide-bottom
}
.animation-slide-left
{
animation-name
:
slide-left
}
.animation-slide-right
{
animation-name
:
slide-right
}
.animation-shake
{
animation-name
:
shake
}
.animation-reverse
{
animation-direction
:
reverse
}
@keyframes
fade
{
0
%
{
opacity
:
0
}
100
%
{
opacity
:
1
}
}
@keyframes
scale-up
{
0
%
{
opacity
:
0
;
transform
:
scale
(
.2
)
}
100
%
{
opacity
:
1
;
transform
:
scale
(
1
)
}
}
@keyframes
scale-down
{
0
%
{
opacity
:
0
;
transform
:
scale
(
1.8
)
}
100
%
{
opacity
:
1
;
transform
:
scale
(
1
)
}
}
@keyframes
slide-top
{
0
%
{
opacity
:
0
;
transform
:
translateY
(
-100%
)
}
100
%
{
opacity
:
1
;
transform
:
translateY
(
0
)
}
}
@keyframes
slide-bottom
{
0
%
{
opacity
:
0
;
transform
:
translateY
(
100%
)
}
100
%
{
opacity
:
1
;
transform
:
translateY
(
0
)
}
}
@keyframes
shake
{
0
%,
100
%
{
transform
:
translateX
(
0
)
}
10
%
{
transform
:
translateX
(
-9px
)
}
20
%
{
transform
:
translateX
(
8px
)
}
30
%
{
transform
:
translateX
(
-7px
)
}
40
%
{
transform
:
translateX
(
6px
)
}
50
%
{
transform
:
translateX
(
-5px
)
}
60
%
{
transform
:
translateX
(
4px
)
}
70
%
{
transform
:
translateX
(
-3px
)
}
80
%
{
transform
:
translateX
(
2px
)
}
90
%
{
transform
:
translateX
(
-1px
)
}
}
@keyframes
slide-left
{
0
%
{
opacity
:
0
;
transform
:
translateX
(
-100%
)
}
100
%
{
opacity
:
1
;
transform
:
translateX
(
0
)
}
}
@keyframes
slide-right
{
0
%
{
opacity
:
0
;
transform
:
translateX
(
100%
)
}
100
%
{
opacity
:
1
;
transform
:
translateX
(
0
)
}
}
\ No newline at end of file
lib/colorui/components/cu-custom.vue
deleted
100644 → 0
View file @
52c863a2
<
template
>
<view>
<view
class=
"cu-custom"
:style=
"[
{height:CustomBar + 'px'}]">
<view
class=
"cu-bar fixed"
:style=
"style"
:class=
"[bgImage!=''?'none-bg text-white bg-img':'',bgColor]"
>
<view
class=
"action"
@
tap=
"BackPage"
v-if=
"isBack"
>
<text
class=
"cuIcon-back"
></text>
<slot
name=
"backText"
></slot>
</view>
<view
class=
"content"
:style=
"[
{top:StatusBar + 'px'}]">
<slot
name=
"content"
></slot>
</view>
<slot
name=
"right"
></slot>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
StatusBar
:
this
.
StatusBar
,
CustomBar
:
this
.
CustomBar
};
},
name
:
'
cu-custom
'
,
computed
:
{
style
()
{
var
StatusBar
=
this
.
StatusBar
;
var
CustomBar
=
this
.
CustomBar
;
var
bgImage
=
this
.
bgImage
;
var
style
=
`height:
${
CustomBar
}
px;padding-top:
${
StatusBar
}
px;`
;
if
(
this
.
bgImage
)
{
style
=
`
${
style
}
background-image:url(
${
bgImage
}
);`
;
}
return
style
}
},
props
:
{
bgColor
:
{
type
:
String
,
default
:
''
},
isBack
:
{
type
:
[
Boolean
,
String
],
default
:
false
},
bgImage
:
{
type
:
String
,
default
:
''
},
},
methods
:
{
BackPage
()
{
uni
.
navigateBack
({
delta
:
1
});
}
}
}
</
script
>
<
style
>
</
style
>
lib/colorui/icon.css
deleted
100644 → 0
View file @
52c863a2
This diff is collapsed.
Click to expand it.
lib/colorui/main.css
deleted
100644 → 0
View file @
52c863a2
This diff is collapsed.
Click to expand it.
main.js
View file @
4d34000d
...
...
@@ -3,8 +3,6 @@ import App from './App'
import
store
from
'
./store
'
import
"
@/utils/vue_extend.js
"
// 常用方法
import
"
@/lib/colorui/main.css
"
import
"
@/lib/colorui/icon.css
"
// 全局组件
import
emptyView
from
'
@/components/empty-view/index.vue
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment