This commit is contained in:
王丹 2024-09-19 11:32:03 +08:00
parent 56ee7aab68
commit f28f389b17
3 changed files with 30 additions and 11 deletions

View File

@ -14,7 +14,8 @@
"path": "pages/index", "path": "pages/index",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#39ac4f" "navigationStyle": "custom"
// "navigationBarBackgroundColor": "#39ac4f"
} }
}, { }, {
"path": "pages/index-list", "path": "pages/index-list",

View File

@ -1,6 +1,10 @@
<template> <template>
<view class="content"> <!-- <u-navbar :safeAreaInsetTop="false" bgColor="#39ac4f" :autoBack="false" :leftIconSize="0">
</u-navbar> -->
<uni-nav-bar backgroundColor="#39ac4f" :border="false"></uni-nav-bar>
<custom-select-land ref="refLand" :data="landList" @select=""></custom-select-land> <custom-select-land ref="refLand" :data="landList" @select=""></custom-select-land>
<view class="content">
<view class="header-section"> <view class="header-section">
<view class="title"> <view class="title">
<u-row> <u-row>
@ -198,7 +202,9 @@
</u-row> </u-row>
</view> </view>
<view class="control"> <view class="control">
<view class="buttons"></view> <view class="buttons">
<u-button size="small" plain="true" text="大小尺寸"></u-button>
</view>
<view class="valve"> <view class="valve">
<view class=""></view> <view class=""></view>
<view class=""> <view class="">
@ -248,7 +254,7 @@
}, },
toList() { toList() {
uni.navigateTo({ uni.navigateTo({
url:`/pages/index-list` url: `/pages/index-list`
}) })
}, },
toQRCode() {}, toQRCode() {},
@ -273,13 +279,13 @@
} }
.header-section { .header-section {
padding: 10px 10px 102px 10px; padding: 0px 10px 102px 10px;
background-color: #39ac4f; background-color: #39ac4f;
color: white; color: white;
border-radius: 0 0 30px 30px; border-radius: 0 0 30px 30px;
.title { .title {
padding: 5px 0 15px 0; padding: 0px 0 15px 0;
text { text {
font-size: 36rpx; font-size: 36rpx;

View File

@ -82,11 +82,23 @@
.icon { .icon {
color: #39ac4f; color: #39ac4f;
} }
.u-row{margin-bottom: 0 !important;}
.u-row {
margin-bottom: 0 !important;
} }
.control{ }
.control {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.buttons {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
} }
} }