Commit dfe6c037 authored by 张娇(东信)'s avatar 张娇(东信)

样式优化

parent b5120096
<template> <template>
<view> <view>
<view class="container"> <view class="container">
<Search background="rgba(255, 255, 255, 0.8)" backIcon="black"></Search> <view class="top">
<Search
background="rgba(255, 255, 255, 0.8)"
backIcon="black"
iconSrc="/static/assets/left.png"
placeholderText="请输入要搜索的关键词"
></Search>
</view>
<view class="bac-img"> <view class="bac-img">
<img class="bac" src="/static/rural/bacImg.png" style="width: 750rpx; height: 440rpx" /> <img class="bac" src="/static/rural/bacImg.png" style="width: 750rpx; height: 440rpx" />
</view> </view>
...@@ -54,7 +61,7 @@ ...@@ -54,7 +61,7 @@
:class="{ rotate: rotate }" :class="{ rotate: rotate }"
name="fill-arrow-down" name="fill-arrow-down"
size="24rpx" size="24rpx"
class="icon" class="icons"
></wd-icon> ></wd-icon>
</view> </view>
</view> </view>
...@@ -65,7 +72,7 @@ ...@@ -65,7 +72,7 @@
:class="{ rotate: rotate2 }" :class="{ rotate: rotate2 }"
name="fill-arrow-down" name="fill-arrow-down"
size="24rpx" size="24rpx"
class="icon" class="icons"
></wd-icon> ></wd-icon>
</view> </view>
</view> </view>
...@@ -76,7 +83,7 @@ ...@@ -76,7 +83,7 @@
:class="{ rotate: rotate3 }" :class="{ rotate: rotate3 }"
name="fill-arrow-down" name="fill-arrow-down"
size="24rpx" size="24rpx"
class="icon" class="icons"
></wd-icon> ></wd-icon>
</view> </view>
</view> </view>
...@@ -87,7 +94,7 @@ ...@@ -87,7 +94,7 @@
:class="{ rotate: rotate4 }" :class="{ rotate: rotate4 }"
name="fill-arrow-down" name="fill-arrow-down"
size="24rpx" size="24rpx"
class="icon" class="icons"
></wd-icon> ></wd-icon>
</view> </view>
</view> </view>
...@@ -355,7 +362,7 @@ page { ...@@ -355,7 +362,7 @@ page {
.red { .red {
color: #fa5151; color: #fa5151;
} }
.icon { .icons {
color: #d8d8d8; color: #d8d8d8;
transform: rotate(-180deg); transform: rotate(-180deg);
transition: all 0.3s linear; transition: all 0.3s linear;
...@@ -446,4 +453,11 @@ page { ...@@ -446,4 +453,11 @@ page {
margin-top: 10rpx; margin-top: 10rpx;
width: 400rpx; width: 400rpx;
} }
::v-deep .search {
margin-top: 60rpx;
}
::v-deep .icon {
width: 56rpx;
height: 56rpx;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment