修改了颜色和图片的颜色

This commit is contained in:
17792275749
2025-06-05 17:56:50 +08:00
parent 3070b2b821
commit 46266223f1
24 changed files with 32 additions and 61 deletions
+2 -5
View File
@@ -1,5 +1,5 @@
<view class="bg">
<image src="/images/home/bg.jpg"/>
<image src="/images/home/bg.png"/>
</view>
<view class="home">
@@ -16,8 +16,7 @@
</block>
</view>
<view>智能蓝牙秤</view>
<view>注重更好的健康生活品质</view>
<view></view>
<view>精准称重丨灵敏测脂丨健康管理</view>
</view>
<block wx:if="{{deviceList && deviceList.length}}">
<view class="device" bind:tap="openDeviceInfo">
@@ -29,8 +28,6 @@
</block>
<block wx:else>
<view class="addDevice">
<view>请添加设备</view>
<view>添加设备后,解锁更多体验</view>
<block wx:if="{{userInfo && token}}">
<view bind:tap="openSearchDevice">添加设备</view>
</block>
+15 -41
View File
@@ -57,26 +57,20 @@
.title>view:nth-of-type(2) {
color: #FFFFFF;
height: 58rpx;
font-size: 58rpx;
height: 80rpx;
font-size: 80rpx;
font-weight: bold;
line-height: 58rpx;
margin-bottom: 34rpx;
line-height: 80rpx;
margin-bottom: 45rpx;
text-align: center;
}
.title>view:nth-of-type(3) {
color: #FFFFFF;
height: 32rpx;
font-size: 32rpx;
line-height: 32rpx;
margin-bottom: 48rpx;
}
.title>view:nth-of-type(4) {
width: 120rpx;
height: 6rpx;
border-radius: 3rpx;
background-color: #FFFFFF;
height: 40rpx;
font-size: 40rpx;
line-height: 40rpx;
text-align: center;
}
.device {
@@ -104,35 +98,15 @@
margin: 0 auto;
}
.addDevice>view:nth-of-type(1) {
.addDevice>view {
color: #FFFFFF;
width: 100%;
height: 36rpx;
font-size: 36rpx;
font-weight: bold;
text-align: center;
line-height: 36rpx;
margin-bottom: 30rpx;
}
.addDevice>view:nth-of-type(2) {
color: #FFFFFF;
width: 100%;
height: 30rpx;
font-size: 30rpx;
text-align: center;
line-height: 30rpx;
margin-bottom: 80rpx;
}
.addDevice>view:nth-of-type(3) {
color: #FFFFFF;
width: 100%;
height: 106rpx;
height: 88rpx;
font-size: 32rpx;
font-weight: bold;
text-align: center;
line-height: 106rpx;
border-radius: 16rpx;
border: 1rpx solid #FFFFFF;
line-height: 88rpx;
border-radius: 44rpx;
border: 1rpx solid #FFFFFF;
background-color: rgba(0, 0, 0, .4);
}