修改了颜色和图片的颜色
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<block wx:for="{{progress.data}}" wx:key="index">
|
||||
<view class="progressList">
|
||||
<view style="background-color: {{progress.index >= index ? '#BFDEFD' : '#C1DFFE'}};">
|
||||
<view style="height: {{progress.index >= index ? '24rpx' : '40rpx'}};width: {{progress.index >= index ? '24rpx' : '40rpx'}};background-color: {{progress.index >= index ? '#3194FB' : '#77849E'}};">{{progress.index >= index ? '' : index + 1}}</view>
|
||||
<view style="height: {{progress.index >= index ? '24rpx' : '40rpx'}};width: {{progress.index >= index ? '24rpx' : '40rpx'}};background-color: {{progress.index >= index ? '#8363F9' : '#77849E'}};">{{progress.index >= index ? '' : index + 1}}</view>
|
||||
</view>
|
||||
<view class="{{progress.index >= index ? 'active' : ''}}">{{item}}</view>
|
||||
</view>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
|
||||
.active {
|
||||
color: #3194FB !important;
|
||||
color: #8363F9 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,5 +98,5 @@ page {
|
||||
line-height: 88rpx;
|
||||
text-align: center;
|
||||
border-radius: 44rpx;
|
||||
background-color: #1385FA;
|
||||
background-color: #8363F9;
|
||||
}
|
||||
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
+2
-2
@@ -152,7 +152,7 @@
|
||||
}
|
||||
|
||||
.btn>view {
|
||||
color: #1385FA;
|
||||
color: #8363F9;
|
||||
width: 580rpx;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
@@ -160,6 +160,6 @@
|
||||
border-radius: 44rpx;
|
||||
text-align: center;
|
||||
background-color: #F5F7FB;
|
||||
border: 1rpx solid #1385FA;
|
||||
border: 1rpx solid #8363F9;
|
||||
|
||||
}
|
||||
@@ -44,7 +44,7 @@ page {
|
||||
0% {
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
background-color: #3194FB;
|
||||
background-color: #8363F9;
|
||||
}
|
||||
100% {
|
||||
width: 556rpx;
|
||||
|
||||
@@ -151,7 +151,7 @@ input {
|
||||
line-height: 88rpx;
|
||||
border-radius: 44rpx;
|
||||
margin-bottom: 40rpx;
|
||||
background-color: #1385FA;
|
||||
background-color: #8363F9;
|
||||
}
|
||||
|
||||
.describe {
|
||||
|
||||
Reference in New Issue
Block a user