Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
郭铭瑶
yangpu
Commits
2f3ba433
Commit
2f3ba433
authored
Aug 10, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除专项应用模块,调整布局
parent
0a9b8640
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
combine.vue
src/views/components/combine.vue
+1
-1
patrol.vue
src/views/components/patrol.vue
+1
-1
right-component.vue
src/views/components/right-component.vue
+11
-13
No files found.
src/views/components/combine.vue
View file @
2f3ba433
<
template
>
<
template
>
<div
class=
"combine"
>
<div
class=
"combine"
>
<m-scroll
v-if=
"list.length > 0"
:length=
"list.length"
:limit=
"
1
"
>
<m-scroll
v-if=
"list.length > 0"
:length=
"list.length"
:limit=
"
2
"
>
<div
@
click=
"$emit('select', item)"
:class=
"
{detail: true, done: !isDoing}" v-for="item in list" :key="item.id">
<div
@
click=
"$emit('select', item)"
:class=
"
{detail: true, done: !isDoing}" v-for="item in list" :key="item.id">
<div>
<div>
<h5>
{{
item
.
communityName
}}
</h5>
<h5>
{{
item
.
communityName
}}
</h5>
...
...
src/views/components/patrol.vue
View file @
2f3ba433
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</div>
</div>
</div>
</div>
<div
class=
"detail"
>
<div
class=
"detail"
>
<m-scroll
v-if=
"$store.state.patrolList.length > 0"
:length=
"$store.state.patrolList.length"
mode=
"2"
:limit=
"$store.state.currentStreetInfo.name === '新江湾城街道' ?
1 : 2
"
:step=
"0.75"
>
<m-scroll
v-if=
"$store.state.patrolList.length > 0"
:length=
"$store.state.patrolList.length"
mode=
"2"
:limit=
"$store.state.currentStreetInfo.name === '新江湾城街道' ?
2 : 3
"
:step=
"0.75"
>
<div
@
click=
"$emit('select',
{...item, key: 'patrol'})" class="info" v-for="(item, i) in $store.state.patrolList" :key="item.communityName+i" :class="{over: item.checkStateName === '逾期' || item.checkStateName.indexOf('未完结') >= 0}">
<div
@
click=
"$emit('select',
{...item, key: 'patrol'})" class="info" v-for="(item, i) in $store.state.patrolList" :key="item.communityName+i" :class="{over: item.checkStateName === '逾期' || item.checkStateName.indexOf('未完结') >= 0}">
<h5>
{{
item
.
communityName
}}
</h5>
<h5>
{{
item
.
communityName
}}
</h5>
<div>
<div>
...
...
src/views/components/right-component.vue
View file @
2f3ba433
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
</div>
</div>
</m-card>
</m-card>
</div>
</div>
<div
class=
"bottom"
>
<
!--
<
div
class=
"bottom"
>
<m-card
title=
"专项应用"
><Application
/></m-card>
<m-card
title=
"专项应用"
><Application
/></m-card>
</div>
</div>
-->
</div>
</div>
</
template
>
</
template
>
...
@@ -73,27 +73,25 @@ export default {
...
@@ -73,27 +73,25 @@ export default {
>div
>div
// width 50%
// width 50%
width calc(33.3vw / 2)
width calc(33.3vw / 2)
height
8
0%
height
10
0%
&.left
&.left
>div
>div
&:nth-child(1)
&:nth-child(1)
&:nth-child(2)
&:nth-child(2)
height 3
7
%
height 3
0
%
&:nth-child(3)
&:nth-child(3)
height
26
%
height
40
%
&.right
&.right
display flex
flex-direction column
>div
>div
&:nth-child(1)
&:nth-child(1)
height 3
7
%
height 3
0
%
&:nth-child(2)
&:nth-child(2)
flex 1
height 49%
&:nth-child(3)
&:nth-child(3)
height 2
6
%
height 2
1
%
&.bottom
//
&.bottom
width 100%
//
width 100%
height 20%
//
height 20%
.monitor-video
.monitor-video
display flex
display flex
flex-wrap wrap
flex-wrap wrap
...
...
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