Commit 92b46484 authored by xiexingan's avatar xiexingan

右上角温度

parent 3a0d3f56
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment