|
- /* pages/all/index.wxss */
- .protecityct_container {
- width: 100%;
- height: calc(100vh - 90rpx);
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- color: #333333;
- background-color: rgba(242, 246, 249, 1);
- }
- .protect_head {
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: flex-end;
- }
- .select_location {
- width: 150rpx;
- height: 60rpx;
- margin-right: 30rpx;
- line-height: 60rpx;
- text-align: center;
- border: 1rpx solid #e0e0e0;
- border-radius: 10rpx;
- color: #999;
- font-size: 24rpx;
- }
- .search_container {
- width: 100%;
- box-sizing: border-box;
- padding: 20rpx 30rpx;
- margin-bottom: 20rpx;
- background: #fff;
- position: relative;
- }
- .search_icon{
- height: 34rpx;
- width: 34rpx;
- position: absolute;
- top:50%;
- left:51rpx;
- transform: translateY(-50%);
- }
- .task-search {
- height: 70rpx;
- text-align: left;
- background: #F3F4F5;
- border-radius: 30rpx;
- font-size: 28rpx;
- padding-left: 80rpx;
- }
- .placeholder-style{
- font-family: "PingFangSC-Regular", "PingFang SC";
- font-weight: normal;
- color: #a6a6a6;
- }
-
- /* 列表样式 */
- .river_list {
- width: 100%;
- height: calc(100% - 140rpx);
- }
- .river_item {
- width: 100%;
- margin-bottom: 20rpx;
- padding: 30rpx;
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- background-color: #ffffff;
- border-radius: 10rpx;
- box-shadow: 0px 0px 14px 2px rgba(43,93,184,0.09);
- }
- .river_image {
- width: 180rpx;
- height: 180rpx;
- margin-right: 30rpx;
- border-radius: 10rpx;
- }
- .river_info {
- flex: 1;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: flex-start;
- }
- .river_head {
- width: 100%;
- margin-bottom: 10rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .river_name {
- font-weight: 600;
- max-width: 280rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .river_button {
- width: 132rpx;
- height: 50rpx;
- font-size: 26rpx;
- color: #fff;
- line-height: 50rpx;
- text-align: center;
- background-color: #2a82e4;
- border-radius: 8rpx;
- align-self: flex-end;
- }
- .river_location {
- max-width: 440rpx;
- margin-bottom: 10rpx;
- padding: 8rpx 14rpx;
- background-color: rgba(40, 127, 251, 0.1);
- color: rgba(40, 127, 251, 1);
- border-radius: 10rpx;
- font-size: 26rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .river_note {
- max-width: 440rpx;
- font-size: 28rpx;
- color: rgba(118, 120, 129, 1);
- display: -webkit-box;
- overflow: hidden;
- text-overflow: ellipsis;
- word-wrap: break-word;
- white-space: normal !important;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
|