Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
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
pangchong
mocp-uniapp
Commits
cf6f8aab
Commit
cf6f8aab
authored
May 16, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 提交
parent
24d27b82
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
src/components/custom-page/custom-page.vue
+1
-0
src/pages/panel/constants/panel-navbar.scss
+8
-8
src/pages/panel/index.vue
+3
-1
src/pages/panel/panel-navbar.vue
+2
-2
No files found.
src/components/custom-page/custom-page.vue
View file @
cf6f8aab
...
...
@@ -23,6 +23,7 @@
<slot
name=
"content"
></slot>
</view>
</
template
>
<slot
name=
"bg"
></slot>
</view>
</template>
...
...
src/pages/panel/constants/panel-navbar.scss
View file @
cf6f8aab
...
...
@@ -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
{
...
...
src/pages/panel/index.vue
View file @
cf6f8aab
<
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>
<!-- 菜单图标 -->
...
...
src/pages/panel/panel-navbar.vue
View file @
cf6f8aab
...
...
@@ -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>
...
...
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