新增首页修复,搜索框不匹配,分割线失效以及无背景颜色

feasure
lld 2026-02-20 13:28:44 +08:00
parent 4154ebe70e
commit 0847b9490e
3 changed files with 11 additions and 9 deletions

View File

@ -7,12 +7,13 @@
<custom-refresher :status="refresherStatus" />
</template>
<view class="card shadow shadow-lg bg-white ">
<uni-section :title="`当前大棚:【${selectedText}】`" :subTitle="imei" titleFontSize="20px" type="line" >
<uni-section :title="`当前大棚:【${selectedText}】`" :subTitle="imei" titleFontSize="20px" type="line" >
<!-- <view class="uni-px-5 uni-pb-5">-->
<!-- <uni-data-select v-model="value" :localdata="range" @change="change"></uni-data-select>-->
<!-- </view>-->
</uni-section>
<uni-divider margin="10rpx 0"></uni-divider>
<uni-section title="实时温湿度" titleFontSize="16px" type="line" v-if="value!== 1">
<template v-slot:right >
{{ temp }}
@ -896,12 +897,14 @@ export default {
},
};
</script>
<style lang="scss" scoped>
<style>
@import "@/colorui/main.css";
// #ifdef mp-weixin
@import "colorui/main.css";
@import "/colorui/main.css";
// #endif
</style>
<style lang="scss" scoped>
/deep/ .z-paging-content-fixed {
padding: 20rpx !important;
/* 可选防止margin塌陷加overflow */
@ -1110,9 +1113,9 @@ export default {
width: 340rpx;
}
.card {
.card {
border-radius: 20rpx;
background: pink;
overflow: hidden;
}
</style>

View File

@ -14,8 +14,7 @@
<uni-col :span="17">
<!-- confirm:confirm; input:change; cancel:点击取消
clear点击清除focus:获取焦点blur失去焦点 -->
<uni-search-bar :focus="true"
bgColor="#fbfdfe"
<uni-search-bar bgColor="#fbfdfe"
v-model="searchValue"
cancelButton="always"
@input="input"
@ -518,6 +517,7 @@ page {
box-shadow: 8rpx 5rpx 10rpx #999;
background: #fbfdfe;
border-radius: 0 !important;
height: 70rpx !important;
}
/deep/ .uni-searchbar__box {
border-radius: 0 10rpx 10rpx 0 !important;
@ -527,7 +527,6 @@ page {
}
/deep/ .uni-select {
border: 0;
height: 70rpx !important;
// #ifdef MP-WEIXIN
margin-top: 20rpx !important;
// #endif

BIN
static/images/profile.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB