Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
融通安全管理系统
rongtong-app
Commits
f4c94a6f
Commit
f4c94a6f
authored
Mar 06, 2024
by
kaitly205422@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改融通app工作台
parent
14522dcb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
13 deletions
+71
-13
src/assets/workbench/workbench1.png
src/assets/workbench/workbench1.png
+0
-0
src/assets/workbench/workbench2.png
src/assets/workbench/workbench2.png
+0
-0
src/assets/workbench/workbench3.png
src/assets/workbench/workbench3.png
+0
-0
src/assets/workbench/workbench4.png
src/assets/workbench/workbench4.png
+0
-0
src/assets/workbench/workbench5.png
src/assets/workbench/workbench5.png
+0
-0
src/views/saveWorkbench/index.vue
src/views/saveWorkbench/index.vue
+71
-13
No files found.
src/assets/workbench/workbench1.png
0 → 100644
View file @
f4c94a6f
26.4 KB
src/assets/workbench/workbench2.png
0 → 100644
View file @
f4c94a6f
25.5 KB
src/assets/workbench/workbench3.png
0 → 100644
View file @
f4c94a6f
24.6 KB
src/assets/workbench/workbench4.png
0 → 100644
View file @
f4c94a6f
26 KB
src/assets/workbench/workbench5.png
0 → 100644
View file @
f4c94a6f
25.6 KB
src/views/saveWorkbench/index.vue
View file @
f4c94a6f
...
...
@@ -20,16 +20,22 @@
<div
class=
"con"
>
<van-cell-group
inset
v-if=
"finalRiskList.length > 0"
>
<van-cell
value=
"风险评估管理"
/>
<van-grid
:column-num=
"4"
>
<van-grid-item
@
click=
"dangerJump(item.path)"
v-for=
"item in finalRiskList"
:key=
"item.key"
:icon=
"item.imgUrl"
:text=
"item.text"
/>
<van-grid
class=
"grid-grid"
>
<van-grid-item
class=
"grid-item"
:style=
"
{
'background-image': `url(${require(`@/assets/workbench/workbench${index % 5 + 1}.png`)})`,
}" @click="dangerJump(item.path)" v-for="(item, index) in finalRiskList" :key="item.key" :text="item.text" />
</van-grid>
</van-cell-group>
<van-cell-group
inset
v-if=
"finalRiskPatrol.length > 0"
>
<van-cell-group
style=
"margin-top: 20px;"
inset
v-if=
"finalRiskPatrol.length > 0"
>
<van-cell
value=
"风险巡查管理"
/>
<van-grid
:column-num=
"4"
>
<van-grid-item
@
click=
"dangerJump(item.path)"
v-for=
"item in finalRiskPatrol"
:key=
"item.key"
:icon=
"item.imgUrl"
:text=
"item.text"
/>
<!--
<van-grid
:column-num=
"4"
>
<van-grid-item
@
click=
"dangerJump(item.path)"
v-for=
" item in finalRiskPatrol "
:key=
"item.key"
:icon=
"item.imgUrl"
:text=
"item.text"
/>
</van-grid>
-->
<van-grid
class=
"grid-grid"
>
<van-grid-item
class=
"grid-item"
:style=
"
{
'background-image': `url(${require(`@/assets/workbench/workbench${index % 5 + 1}.png`)})`,
}" @click="dangerJump(item.path)" v-for="(item, index) in finalRiskPatrol" :key="item.key" :text="item.text" />
</van-grid>
</van-cell-group>
<!--
<van-cell-group
inset
v-for=
"(item, index) in riskList"
:key=
"index"
>
...
...
@@ -274,6 +280,7 @@ export default {
}
};
</
script
>
<
style
lang=
"less"
scoped
>
/* @import url(); 引入css类 */
.header-wrap {
...
...
@@ -292,12 +299,6 @@ export default {
padding: 10px 0 50px 0;
background-color: #f0f1f5;
/deep/ .van-grid-item__content--center {
// padding-left: 0px;
// padding-right: 0px;
padding: 0.22667rem 0px;
}
/deep/ .van-icon__image {
width: auto;
height: 1rem;
...
...
@@ -323,4 +324,61 @@ export default {
height: 100%;
}
}
.van-cell-group {
.grid-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
padding: 10px;
}
.grid-item {
height: 80px;
background-size: 100% 100%;
}
.van-cell::after {
border: none;
}
.van-cell {
padding-bottom: 0;
.van-cell__value {
display: flex;
align-items: center;
&::before {
display: inline-block;
box-sizing: border-box;
content: ' ';
pointer-events: none;
width: 5px;
height: 16px;
background: #2980f7;
margin-right: 10px;
}
}
}
/deep/ .van-grid-item__content {
background: transparent;
width: 60%;
display: block;
padding: 0;
text-align: center;
.van-grid-item__text {
color: #000;
font-weight: 500;
font-size: 14px;
line-height: 80px;
}
}
}
[class*=van-hairline]::after {
border: none;
}
</
style
>
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