Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wisdom-property
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
郭铭瑶
wisdom-property
Commits
306eb16a
Commit
306eb16a
authored
Mar 17, 2020
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物业应急指挥体系和运行体征的静态
parent
248a68dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
183 additions
and
1 deletion
+183
-1
main.js
src/main.js
+2
-1
emergencyCommand.vue
src/views/components/emergencyCommand.vue
+91
-0
operation.vue
src/views/components/operation.vue
+82
-0
main.vue
src/views/main.vue
+8
-0
No files found.
src/main.js
View file @
306eb16a
...
...
@@ -5,7 +5,7 @@ import Vue from 'vue'
import
App
from
'./App'
import
router
from
'./router'
import
store
from
'./store'
import
{
Row
,
Col
,
Select
,
Option
,
DatePicker
}
from
'view-design'
import
{
Row
,
Col
,
Select
,
Option
,
DatePicker
,
Icon
}
from
'view-design'
import
ajax
from
'@/server/ajax'
import
api
from
'@/server/api'
import
common
from
'@/util/common'
...
...
@@ -26,6 +26,7 @@ Vue.component('i-col', Col)
Vue
.
component
(
'Select'
,
Select
)
Vue
.
component
(
'Option'
,
Option
)
Vue
.
component
(
'DatePicker'
,
DatePicker
)
Vue
.
component
(
'a-icon'
,
Icon
)
/* eslint-disable no-new */
new
Vue
({
el
:
'#app'
,
...
...
src/views/components/emergencyCommand.vue
0 → 100644
View file @
306eb16a
<
template
>
<div
class=
"people"
>
<div
class=
"person"
v-for=
"(i,k) in datas"
:key=
"k"
>
<div
class=
"p-left"
>
<img
:src=
"require('@/assets/images/icon1.png')"
alt=
""
>
<!--
<img
:src=
"require(`$
{i.img}`)" alt=""> -->
</div>
<div
class=
"p-right"
>
<p>
{{
i
.
title
}}
</p>
<span>
{{
i
.
name
}}
</span>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'emergencyCommand'
,
props
:{
},
data
(){
return
{
datas
:[
{
title
:
'指挥长'
,
name
:
'周少华'
,
img
:
'@/assets/images/icon1.png'
,
},
{
title
:
'值班长'
,
name
:
'夏毅'
,
img
:
''
,
},
{
title
:
'值班长'
,
name
:
'瞿越方'
,
img
:
''
,
},
]
}
},
mounted
()
{
},
methods
:{
},
}
</
script
>
<
style
lang=
"stylus"
scoped
>
.people
width 100%
height 100%
display flex
align-items center
.person
flex 1
display flex
background-size cover
background-position center
text-align center
// border 1px solid #ccc
height 100%
// margin .3125rem /* 5/16 */
.p-left
display flex
align-items: center
// background-color #ccc
img
width 3.125rem /* 50/16 */
height 3.125rem /* 50/16 */
align-items: center
margin 5px
.p-right
// background-color #ccc
display flex
flex-direction column
justify-content center
text-align left
p
font-size .8rem
color skyblue
span
font-size 1.25rem
</
style
>
src/views/components/operation.vue
0 → 100644
View file @
306eb16a
<
template
>
<div
class=
"operation"
>
<div
class=
"o-card"
v-for=
"(i,k) in datas"
:key=
"k"
>
<div
class=
"p-left"
>
<img
:src=
"require('@/assets/images/icon4.png')"
alt=
""
>
</div>
<div
class=
"p-right"
>
<p>
{{
i
.
title
}}
</p>
<span>
{{
i
.
num
}}
</span>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'operation'
,
props
:{
},
data
(){
return
{
datas
:
[
{
title
:
'小区'
,
img
:
''
,
num
:
'2829'
,
},
{
title
:
'业委会'
,
img
:
''
,
num
:
'1749'
,
},
{
title
:
'物业企业'
,
img
:
''
,
num
:
'498'
,
},
{
title
:
'管理面积'
,
img
:
''
,
num
:
'173377718'
,
},
]
}
},
methods
:{
}
}
</
script
>
<
style
lang=
"stylus"
scoped
>
.operation
display flex
flex-wrap:wrap
height 100%
width 100%
.o-card
flex 0 0 50%
display flex
.p-left
display flex
align-items: center
img
width 3.125rem /* 50/16 */
height 3.125rem /* 50/16 */
align-items: center
margin 5px
.p-right
display flex
flex-direction column
justify-content center
text-align left
p
font-size .8rem
color skyblue
span
font-size 1.25rem
</
style
>
src/views/main.vue
View file @
306eb16a
...
...
@@ -15,8 +15,10 @@
>
<m-title
area=
"title"
color=
"#fff"
:bgImg=
"require('@/assets/images/title-bg.png')"
>
智慧物业管理微平台
</m-title>
<m-card
area=
"box1"
title=
"物业应急指挥体系"
mode=
"4"
:icon=
"require('@/assets/images/icon1.png')"
>
<emergencyCommand></emergencyCommand>
</m-card>
<m-card
area=
"box2"
title=
"运行体征"
mode=
"4"
:icon=
"require('@/assets/images/icon2.png')"
>
<operation></operation>
</m-card>
<m-card
area=
"box3"
title=
"投诉保修"
mode=
"4"
:icon=
"require('@/assets/images/icon3.png')"
>
</m-card>
...
...
@@ -30,7 +32,13 @@
</
template
>
<
script
>
import
emergencyCommand
from
'@/views/components/emergencyCommand.vue'
import
operation
from
'@/views/components/operation.vue'
export
default
{
name
:
'Main'
,
components
:{
emergencyCommand
,
operation
}
}
</
script
>
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