Commit cf6f8aab by pangchong

feat: 提交

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