@jx3box/jx3box-common-ui 6.4.9 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/box2.less +35 -3
- package/assets/css/mixin.less +23 -0
- package/assets/data/box2.json +1 -1
- package/package.json +1 -1
- package/src/Box2.vue +4 -1
package/assets/css/box2.less
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
@import './mixin.less';
|
|
1
2
|
.c-header-jx3box {
|
|
2
3
|
background-color: @bg-black;
|
|
3
4
|
.z(800);
|
|
4
|
-
overflow-y: auto;
|
|
5
|
-
overflow-x: hidden;
|
|
6
5
|
.w(100%);
|
|
7
6
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
|
|
8
7
|
transition: 0.5s ease-in-out;
|
|
@@ -38,10 +37,12 @@
|
|
|
38
37
|
display: flex;
|
|
39
38
|
flex-direction: column;
|
|
40
39
|
flex-wrap: wrap;
|
|
41
|
-
height:
|
|
40
|
+
height: 520px;
|
|
42
41
|
padding: 20px;
|
|
43
42
|
.clearfix;
|
|
44
43
|
overflow: auto;
|
|
44
|
+
|
|
45
|
+
.scrollbar(4px, #555);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.u-list__item {
|
|
@@ -110,10 +111,41 @@
|
|
|
110
111
|
background-color: rgba(0, 0, 0, 0.85);
|
|
111
112
|
}
|
|
112
113
|
|
|
114
|
+
|
|
115
|
+
.c-jx3box-top{
|
|
116
|
+
display: flex;
|
|
117
|
+
padding:0 10px;
|
|
118
|
+
gap:10px;
|
|
119
|
+
.u-home{
|
|
120
|
+
background-color:#3d4044;
|
|
121
|
+
.size(30px,30px);
|
|
122
|
+
.r(50%);
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: center;
|
|
126
|
+
color:#eee;
|
|
127
|
+
.none;
|
|
128
|
+
}
|
|
129
|
+
.c-header-search{
|
|
130
|
+
margin:0;
|
|
131
|
+
flex:1;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
113
135
|
@media screen and (max-width:@phone){
|
|
114
136
|
.c-header-jx3box{
|
|
115
137
|
.u-close{
|
|
116
138
|
.pa;.rb(0);
|
|
117
139
|
}
|
|
140
|
+
.u-list{
|
|
141
|
+
padding-left:0;
|
|
142
|
+
padding-right:0;
|
|
143
|
+
}
|
|
144
|
+
height: calc(100vh - @header-height);
|
|
145
|
+
}
|
|
146
|
+
.c-jx3box-top{
|
|
147
|
+
.u-home{
|
|
148
|
+
display: flex;
|
|
149
|
+
}
|
|
118
150
|
}
|
|
119
151
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.scrollbar(@size:4px,@color:#fafbfc) {
|
|
2
|
+
&::-webkit-scrollbar {
|
|
3
|
+
width: @size;
|
|
4
|
+
height: @size;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&::-webkit-scrollbar-track,
|
|
8
|
+
&::-webkit-scrollbar-track-piece {
|
|
9
|
+
background-color: @color;
|
|
10
|
+
border-radius: 6px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&::-webkit-scrollbar-thumb {
|
|
14
|
+
background-color: @color;
|
|
15
|
+
border-radius: 6px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&::-webkit-scrollbar-button,
|
|
19
|
+
&::-webkit-scrollbar-corner,
|
|
20
|
+
&::-webkit-resizer {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
package/assets/data/box2.json
CHANGED
package/package.json
CHANGED
package/src/Box2.vue
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="c-jx3box" :class="{ on: status, isOverlay: overlayEnable && isOverlay }">
|
|
3
3
|
<!-- search -->
|
|
4
|
-
<
|
|
4
|
+
<div class="c-jx3box-top">
|
|
5
|
+
<a href="/" class="u-home"><i class="el-icon-s-home"></i></a>
|
|
6
|
+
<header-search @click.native.stop />
|
|
7
|
+
</div>
|
|
5
8
|
|
|
6
9
|
<!-- list -->
|
|
7
10
|
<div class="u-list">
|