Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
92b46484
Commit
92b46484
authored
Apr 20, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
右上角温度
parent
3a0d3f56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
layout.vue
src/layout/header-aside/layout.vue
+10
-8
No files found.
src/layout/header-aside/layout.vue
View file @
92b46484
...
...
@@ -23,18 +23,18 @@
</div>
<div
class=
"weather-container"
>
<div
class=
"user-img"
>
室内
</div>
<div
class=
"weather-info"
>
<div
class=
"weather-info"
v-if=
'list'
>
<!--
<span
:class=
"station.length
<
6
?
'
lineFeed
'
:
''"
>
{{
station
}}
</span>
-->
<
span>
温度 20℃
</span
>
<
span>
湿度 60%
</span
>
<
div>
温度
{{
list
.
snqxzList
[
0
].
temperature
}}
℃
</div
>
<
div>
湿度
{{
list
.
snqxzList
[
0
].
humidity
}}
%
</div
>
</div>
</div>
<div
class=
"weather-container"
>
<div
class=
"user-img"
>
室外
</div>
<div
class=
"weather-info"
>
<div
class=
"weather-info"
v-if=
'list'
>
<!--
<span
:class=
"station.length
<
6
?
'
lineFeed
'
:
''"
>
{{
station
}}
</span>
-->
<
span>
温度 20℃
</span
>
<
span>
湿度 60%
</span
>
<
div>
温度
{{
list
.
swqxzList
[
0
].
temperature
}}
℃
</div
>
<
div>
湿度
{{
list
.
swqxzList
[
0
].
humidity
}}
%
</div
>
</div>
</div>
<!--
<d2-header-theme
/>
-->
...
...
@@ -163,6 +163,8 @@ export default {
...
mapGetters
(
'd2admin'
,
{
themeActiveSetting
:
'theme/activeSetting'
}),
...
mapState
(
'd2admin/paramsList'
,
[
'list'
]),
/**
* @description 最外层容器的背景图片样式
*/
...
...
@@ -286,10 +288,10 @@ export default {
border-top-right-radius
:
5px
;
border-bottom-right-radius
:
5px
;
transform
:
translateX
(
-19px
);
span
{
display
:
inline-block
;
div
{
text-indent
:
25px
;
font-size
:
12px
;
transform
:
translateY
(
1px
);
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
color
:
rgba
(
255
,
255
,
255
,
0
.75
);
...
...
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