Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
53cb6fdf
Commit
53cb6fdf
authored
Aug 30, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:修改站点列表
parent
1bac877d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
10 deletions
+50
-10
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
...al-manager-ui/admin/src/views/siteArrange/siteArrange.vue
+50
-10
No files found.
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
View file @
53cb6fdf
...
@@ -45,22 +45,24 @@
...
@@ -45,22 +45,24 @@
@end="changeCollect"
@end="changeCollect"
>
>
<div
<div
class=
"common-item w-full flex flex-col items-center
cursor-pointer
"
class=
"common-item w-full flex flex-col items-center"
v-for=
"(v, i) in collectList"
v-for=
"(v, i) in collectList"
:key=
"'' + v.id + i"
:key=
"'' + v.id + i"
@
click=
"openWindow(v)"
>
>
<div
class=
"item-logo item-logo1"
>
<div
class=
"item-logo item-logo1"
>
<img
<img
class=
"w-full h-full object-cover"
class=
"w-full h-full object-cover
cursor-pointer
"
:src=
"api + v.modelIcon"
:src=
"api + v.modelIcon"
@
click=
"openWindow(v)"
/>
/>
<img
<img
class=
"bottom-img"
class=
"bottom-img"
src=
"@/assets/images/siteArrange/pic-bottom.png"
src=
"@/assets/images/siteArrange/pic-bottom.png"
/>
/>
</div>
</div>
<div
class=
"text-white mt-[10px] leading-[20px]"
>
<div
class=
"text-white mt-[10px] leading-[20px] text-center cursor-default"
>
{{
v
.
modelName
}}
{{
v
.
modelName
}}
</div>
</div>
</div>
</div>
...
@@ -92,18 +94,19 @@
...
@@ -92,18 +94,19 @@
@end="isAdd = false"
@end="isAdd = false"
>
>
<div
<div
class=
"common-item w-
[160px] flex flex-col items-center cursor-poi
nter"
class=
"common-item w-
full h-[130px] flex flex-col items-ce
nter"
v-for=
"item in v.list"
v-for=
"item in v.list"
:key=
"item.id"
:key=
"item.id"
@
click=
"openWindow(item)"
>
>
<div
class=
"item-logo"
>
<div
class=
"item-logo"
@
click=
"openWindow(item)"
>
<img
<img
class=
"w-full h-full object-cover"
class=
"w-full h-full object-cover
cursor-pointer
"
:src=
"api + item.modelIcon"
:src=
"api + item.modelIcon"
/>
/>
</div>
</div>
<div
class=
"text-white mt-[10px] leading-[20px]"
>
<div
class=
"text-white mt-[10px] leading-[20px] text-center cursor-default"
>
{{
item
.
modelName
}}
{{
item
.
modelName
}}
</div>
</div>
</div>
</div>
...
@@ -327,16 +330,53 @@ export default {
...
@@ -327,16 +330,53 @@ export default {
padding: 0px 6px;
padding: 0px 6px;
height: 200px;
height: 200px;
display: grid;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(4, 1fr);
// grid-template-rows: repeat(3, 140px);
grid-row-gap: 10px;
grid-row-gap: 10px;
align-content: start;
overflow-y: auto;
overflow-y: auto;
&::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
// &::-webkit-scrollbar {
// width: 2px;
// height: 2px;
// overflow-y: auto;
// }
// &::-webkit-scrollbar-thumb {
// border-radius: 2px;
// background-image: linear-gradient(
// 180deg,
// #0000 0%,
// #fff 30%,
// #0000 90%
// );
// }
// &::-webkit-scrollbar-track {
// border-radius: 2px;
// background: #0000;
// }
}
}
&:nth-child(1) {
&:nth-child(1) {
.type-list {
border-style: solid;
border-right-width: 2px;
border-image: linear-gradient(180deg, #0000 0%, #fff 30%, #0000 90%) 1;
// border-image-slice: 2;
}
.item-logo {
.item-logo {
background: linear-gradient(180deg, #c7e1f6 0%, #ffffff 85%);
background: linear-gradient(180deg, #c7e1f6 0%, #ffffff 85%);
}
}
}
}
&:nth-child(2) {
&:nth-child(2) {
.type-list {
border-style: solid;
border-right-width: 2px;
border-image: linear-gradient(180deg, #0000 0%, #fff 30%, #0000 90%) 1;
// border-image-slice: 2;
}
.item-logo {
.item-logo {
background: linear-gradient(180deg, #c7f6db 0%, #ffffff 85%);
background: linear-gradient(180deg, #c7f6db 0%, #ffffff 85%);
}
}
...
...
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