Commit cf6f8aab by pangchong

feat: 提交

parent 24d27b82
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<slot name="content"></slot> <slot name="content"></slot>
</view> </view>
</template> </template>
<slot name="bg"></slot>
</view> </view>
</template> </template>
......
...@@ -17,15 +17,15 @@ ...@@ -17,15 +17,15 @@
&-weather{ &-weather{
color: #1D2129; color: #1D2129;
text-align: right; text-align: right;
.place{ display: flex;
font-size: 28rpx; align-items: center;
image{
width: 80rpx;
height: 80rpx;
} }
.info{ .info{
display: flex; .place{
align-items: center; font-size: 28rpx;
image{
width: 40rpx;
height: 40rpx;
} }
.txt{ .txt{
margin-left: 8rpx; margin-left: 8rpx;
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
align-items: center; align-items: center;
margin: 0 32rpx; margin: 0 32rpx;
border-radius: 16rpx; border-radius: 16rpx;
padding: 0 72rpx 12rpx 72rpx; padding: 12rpx 72rpx 12rpx 72rpx;
.list-item { .list-item {
text-align: center; text-align: center;
&-image { &-image {
......
<template> <template>
<custom-page> <custom-page>
<image class="page-bg" src="/static/image/panel/page-bg.png" /> <template #bg>
<image class="page-bg" src="/static/image/panel/page-bg.png" />
</template>
<!-- 导航栏 --> <!-- 导航栏 -->
<panel-navbar></panel-navbar> <panel-navbar></panel-navbar>
<!-- 菜单图标 --> <!-- 菜单图标 -->
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
<image src="/static/image/panel/logo.png" /> <image src="/static/image/panel/logo.png" />
</view> </view>
<view class="navbar-box-weather"> <view class="navbar-box-weather">
<view class="place">武汉-WUH</view> <image src="/static/image/panel/weather.png" />
<view class="info"> <view class="info">
<image src="/static/image/panel/weather.png" /> <view class="place">武汉-WUH</view>
<view class="txt">晴转多云 22°</view> <view class="txt">晴转多云 22°</view>
</view> </view>
</view> </view>
......
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