You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
240 lines
4.0 KiB
240 lines
4.0 KiB
/* pages/search/list/index.wxss */
|
|
page {
|
|
background: #f6f6f6;
|
|
}
|
|
.my-top-search {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
background: #f0f0f0;
|
|
padding-top: 16rpx;
|
|
z-index: 1;
|
|
}
|
|
.my-search-box {
|
|
height: 56rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-left: 20rpx;
|
|
background: #fff;
|
|
border-radius: 30rpx;
|
|
margin: 0 auto;
|
|
width: 560rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.my-search-box .iconfont {
|
|
color: #999999;
|
|
flex-shrink: 0;
|
|
}
|
|
.my-search-box input {
|
|
display: block;
|
|
flex: 1;
|
|
margin: 0 20rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
.my-search-btn {
|
|
flex-shrink: 0;
|
|
width: 110rpx;
|
|
text-align: center;
|
|
font-size: 26rpx;
|
|
color: #0B898E;
|
|
border-left: 1rpx solid #ccc;
|
|
line-height: 40rpx;
|
|
}
|
|
.search-types {
|
|
display: flex;
|
|
padding: 0 40rpx;
|
|
border-bottom: 1rpx solid #ccc;
|
|
line-height: 86rpx;
|
|
align-items: center;
|
|
font-size: 29rpx;
|
|
color: #333;
|
|
overflow-x: auto;
|
|
}
|
|
.search-type {
|
|
flex-shrink: 0;
|
|
margin-right: 66rpx;
|
|
position: relative;
|
|
}
|
|
.search-type.active {
|
|
color: #000;
|
|
font-size: 33rpx;
|
|
font-weight: 500;
|
|
}
|
|
.search-type.active::after {
|
|
display: block;
|
|
position: absolute;
|
|
left: 50%;
|
|
margin-left: -23rpx;
|
|
width: 46rpx;
|
|
height: 5rpx;
|
|
border-radius: 3rpx;
|
|
background: #0B898E;
|
|
content: "1";
|
|
font-size: 0;
|
|
bottom: 0;
|
|
}
|
|
/* 攻略 */
|
|
.strategy-item {
|
|
padding: 28rpx 0;
|
|
border-bottom: 1rpx solid #ccc;
|
|
}
|
|
.strategy-title {
|
|
font-size: 33rpx;
|
|
font-weight: 500;
|
|
color: #000;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
.strategy-subtitle {
|
|
font-size: 25rpx;
|
|
color: #666;
|
|
margin: 33rpx 0;
|
|
}
|
|
.strategy-title image {
|
|
display: block;
|
|
width: 60rpx;
|
|
margin-left: 10rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.strategy-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 20rpx;
|
|
color: #666;
|
|
}
|
|
.strategy-bottom image {
|
|
display: block;
|
|
flex-shrink: 0;
|
|
width: 34rpx;
|
|
height: 34rpx;
|
|
border-radius: 50%;
|
|
margin-right: 10rpx;
|
|
}
|
|
.strategy-bottom .strategy-author-name {
|
|
color: #999;
|
|
flex: 1;
|
|
width: 100%;
|
|
}
|
|
.strategy-bottom text {
|
|
flex-shrink: 0;
|
|
}
|
|
.strategy-bottom .iconfont {
|
|
margin-left: 40rpx;
|
|
flex-shrink: 0;
|
|
font-size: 30rpx;
|
|
margin-right: 8rpx;
|
|
}
|
|
.item {
|
|
margin: 0 25rpx;
|
|
}
|
|
.item>view {
|
|
border-bottom: 1rpx solid #ccc;
|
|
}
|
|
.product-item {
|
|
padding: 28rpx 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.product-item image {
|
|
width: 260rpx;
|
|
height: 227rpx;
|
|
border-radius: 11rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.product-info {
|
|
width: 410rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.product-title {
|
|
font-size: 33rpx;
|
|
color: #2f2f2f;
|
|
line-height: 44rpx;
|
|
height: 88rpx;
|
|
font-weight: 500;
|
|
}
|
|
.scene-tags {
|
|
display: flex;
|
|
color: #0B898E;
|
|
font-size: 20rpx;
|
|
line-height: 20rpx;
|
|
align-items: center;
|
|
}
|
|
.scene-tag {
|
|
position: relative;
|
|
margin-right: 30rpx;
|
|
}
|
|
.scene-tag::after {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
display: block;
|
|
font-size: 0;
|
|
z-index: -1;
|
|
content: "1";
|
|
bottom: 0;
|
|
height: 8rpx;
|
|
background: #DAF3E9;
|
|
}
|
|
.scene-address {
|
|
color: #A3A3A3;
|
|
font-size: 24rpx;
|
|
line-height: 26rpx;
|
|
}
|
|
.scene-address .iconfont {
|
|
margin-right: 4rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
.price-box {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 24rpx;
|
|
color: #323232;
|
|
align-items: flex-end;
|
|
}
|
|
.price-box .textOver {
|
|
flex: 1;
|
|
margin-right: 10rpx;
|
|
}
|
|
.price {
|
|
flex-shrink: 0;
|
|
color: #D62828;
|
|
}
|
|
.price-box image {
|
|
width: 21rpx;
|
|
flex-shrink: 0;
|
|
margin-right: 10rpx;
|
|
}
|
|
.price text:nth-child(2){
|
|
font-size: 33rpx;
|
|
font-weight: 500;
|
|
}
|
|
.price text:nth-child(3){
|
|
margin-left: 4rpx;
|
|
font-size: 20rpx;
|
|
color: #8D8D8D;
|
|
}
|
|
.sale-rate {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
}
|
|
.show-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
color: #999999;
|
|
font-size: 25rpx;
|
|
line-height: 45rpx;
|
|
}
|
|
.show-tag {
|
|
line-height: 31rpx;
|
|
border: 1rpx solid #0B898E;
|
|
border-radius: 15rpx;
|
|
box-sizing: border-box;
|
|
padding: 0 15rpx;
|
|
font-size: 20rpx;
|
|
margin-top: 10rpx;
|
|
margin-bottom: 10rpx;
|
|
margin-right: 13rpx;
|
|
}
|