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
c97c4213
Commit
c97c4213
authored
Aug 27, 2020
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改照片显示
parent
6611055f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
App.vue
src/App.vue
+3
-3
variables.styl
src/assets/css/variables.styl
+1
-1
Hei.ttf
src/assets/font/Hei.ttf
+0
-0
monitor-form.vue
...components/MonitorComponents/MonitorForm/monitor-form.vue
+1
-1
monitor-table.vue
...mponents/MonitorComponents/MonitorTable/monitor-table.vue
+1
-1
monitor-title.vue
...mponents/MonitorComponents/MonitorTitle/monitor-title.vue
+1
-1
No files found.
src/App.vue
View file @
c97c4213
...
@@ -17,9 +17,9 @@ export default {
...
@@ -17,9 +17,9 @@ export default {
@font-face
@font-face
font-family DIN
font-family DIN
src url(./assets/font/DIN-Medium.otf)
src url(./assets/font/DIN-Medium.otf)
@font-face
//
@font-face
font-family Hei
//
font-family Hei
src url(./assets/font/Hei.ttf)
//
src url(./assets/font/Hei.ttf)
@font-face
@font-face
font-family Pangmenzhengdao
font-family Pangmenzhengdao
src url(./assets/font/pangmenzhengdao.ttf)
src url(./assets/font/pangmenzhengdao.ttf)
...
...
src/assets/css/variables.styl
View file @
c97c4213
// $font-yahei = Microsoft YaHei UI, 'Avenir', Helvetica, Arial, sans-serif
// $font-yahei = Microsoft YaHei UI, 'Avenir', Helvetica, Arial, sans-serif
$font-pang = Pangmenzhengdao, 'Avenir', Helvetica, Arial, sans-serif
$font-pang = Pangmenzhengdao, 'Avenir', Helvetica, Arial, sans-serif
$hei = Hei, 'Avenir', Helvetica, Arial, sans-serif
//
$hei = Hei, 'Avenir', Helvetica, Arial, sans-serif
$font-din = DIN, 'Avenir', Helvetica, Arial, sans-serif
$font-din = DIN, 'Avenir', Helvetica, Arial, sans-serif
$color-map(opacity = 0.3)
$color-map(opacity = 0.3)
rgba(91, 213, 255, opacity)
rgba(91, 213, 255, opacity)
...
...
src/assets/font/Hei.ttf
deleted
100755 → 0
View file @
6611055f
File deleted
src/components/MonitorComponents/MonitorForm/monitor-form.vue
View file @
c97c4213
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<i-col
class=
"col"
v-for=
"(col, key) in row"
:key=
"key"
:span=
"col.width"
:offset=
"col.offset || 0"
>
<i-col
class=
"col"
v-for=
"(col, key) in row"
:key=
"key"
:span=
"col.width"
:offset=
"col.offset || 0"
>
<div
:style=
"`text-align: $
{col.align || 'right'}; width:${labelWidth}rem;`">
{{
col
.
label
}}
:
</div>
<div
:style=
"`text-align: $
{col.align || 'right'}; width:${labelWidth}rem;`">
{{
col
.
label
}}
:
</div>
<!--
<img
v-if=
"col.type == 'img' && model[key]"
@
click=
"handleView(model[key])"
:src=
"model[key]"
/>
-->
<!--
<img
v-if=
"col.type == 'img' && model[key]"
@
click=
"handleView(model[key])"
:src=
"model[key]"
/>
-->
<template
v-if=
"col.type == 'img' &&
model[key]
"
>
<template
v-if=
"col.type == 'img' &&
(model[key] || model['done_photo'])
"
>
<img
style=
"margin-right:1rem;"
v-for=
"img in model[key].split(',')"
v-if=
"img"
:key=
"img"
:src=
"img"
@
click=
"handleView(img)"
/>
<img
style=
"margin-right:1rem;"
v-for=
"img in model[key].split(',')"
v-if=
"img"
:key=
"img"
:src=
"img"
@
click=
"handleView(img)"
/>
<img
style=
"margin-right:1rem;"
v-if=
"model['done_photo']"
:src=
"model['done_photo']"
@
click=
"handleView(model['done_photo'])"
/>
<img
style=
"margin-right:1rem;"
v-if=
"model['done_photo']"
:src=
"model['done_photo']"
@
click=
"handleView(model['done_photo'])"
/>
</
template
>
</
template
>
...
...
src/components/MonitorComponents/MonitorTable/monitor-table.vue
View file @
c97c4213
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</
template
>
</
template
>
</template>
</template>
<
template
v-if=
"col.type == 'icon'"
>
<
template
v-if=
"col.type == 'icon'"
>
<img
v-if=
"row[col.key]"
style=
"width:1rem;height:1rem;"
src=
"@/assets/images/file.png"
/>
<img
v-if=
"row[col.key]
|| row['done_photo']
"
style=
"width:1rem;height:1rem;"
src=
"@/assets/images/file.png"
/>
</
template
>
</
template
>
<div
v-else
:style=
"`text-align: ${col.align || 'left'};color: ${row['color'] || ''} `"
>
<div
v-else
:style=
"`text-align: ${col.align || 'left'};color: ${row['color'] || ''} `"
>
{{col.format ? col.format(row[col.key]) : (row[col.key] || '暂无')}}
{{col.format ? col.format(row[col.key]) : (row[col.key] || '暂无')}}
...
...
src/components/MonitorComponents/MonitorTitle/monitor-title.vue
View file @
c97c4213
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
position relative
position relative
background-size cover
background-size cover
background-position center
background-position center
font-family $hei
//
font-family $hei
.weather
.weather
z-index 100
z-index 100
position absolute
position absolute
...
...
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