123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- /**index.wxss**/
- .home-page {
- background: #f5f9ff;
- padding: 20rpx;
- min-height: 100%;
- padding-bottom: 120rpx;
- font-size: 26rpx;
- }
-
- /* 搜索块 */
- .search-view {
- height: 290rpx;
- border-radius: 20rpx;
- box-sizing: border-box;
- padding: 20rpx;
- margin-bottom: 30rpx;
- background-image: linear-gradient(45deg,
- #ffffff 0%,
- #e8eaf1 100%),
- linear-gradient(
- #f8f8f8,
- #f8f8f8);
- background-blend-mode: normal,
- normal;
- box-shadow: 0px 2px 26px 1px
- rgba(0, 0, 0, 0.06);
- position: relative;
- }
- .search-view .header-img{
- position: absolute;
- width: 249rpx;
- height: 231rpx;
- top: 78rpx;
- right: 46rpx;
- }
- .serach-input-view{
- position: relative;
- height: 68rpx;
- z-index: 999;
- }
-
- .serach-input-view .hhr-img{
- width: 68rpx;
- height: 68rpx;
- margin-top: 15rpx;
- }
-
- .serach-input-view .search-img-view{
- position: absolute;
- right: 52rpx;
- top: 30rpx;
- width: 29rpx;
- height: 29rpx;
- z-index: 666;
- }
- .serach-input-view .search-img{
- width: 100%;
- height: 100%;
- }
-
- .search-view .input-box {
- width: calc(100% - 100rpx);
- margin-left: 20rpx;
- }
- .search-view .weui-serach-input{
- background: #fff;
- height: 90rpx;
- line-height: 90rpx;
- box-sizing: border-box;
- padding-left: 40rpx;
- padding-right: 80rpx;
- border-radius: 44rpx;
- box-shadow: -2px 7px 13px 3px
- rgba(130, 130, 130, 0.03);
- }
- .phcolor {
- color: #b3bfcb;
- }
-
- .search-view .title{
- margin-top: 64rpx;
- font-size: 33rpx;
- font-weight: bold;
- padding-left: 40rpx;
- box-sizing: border-box;
- }
-
- .search-view .sub-title{
- font-weight: normal;
- }
-
- .search-view .set-attention{
- margin-top: 14rpx;
- padding-left: 40rpx;
- font-size: 24rpx;
- color: #556fb5!important;
- box-sizing: border-box;
- text-align: left;
- }
- .search-view .set-attention::after{
- display: none;
- }
- .search-view .set-attention[type=default][plain] {
- border: 0;
- }
-
- /* tab块 */
- .tab-view {
- height: 70rpx;
- margin-bottom: 20rpx;
- background: #fff;
- border-radius: 10rpx;
- padding: 0 20rpx;
- width: 100%;
- position: sticky;
- top: 0;
- z-index: 999;
- box-sizing: border-box;
- }
- .tab-view .tab-li {
- float: left;
- box-sizing: border-box;
- height: 70rpx;
- padding: 0 13rpx;
- }
-
- .tab-view .tab-span {
- display: inline-block;
- box-sizing: border-box;
- padding-top: 15rpx;
- }
- .tab-view .tab-span.isActive {
- color: #5e73e5;
- border-bottom: 2px solid #5e73e5;
- }
- .tab-view .tab-li.right{
- padding: 0;
- }
- .tab-view .tab-menu .van-dropdown-menu {
- height: 70rpx;
- background: transparent;
- box-shadow:none;
- }
- .tab-view .tab-menu .van-dropdown-menu__item {
- width: 0;
- }
-
- .tab-view .tab-menu .van-dropdown-menu__title{
- width: 0;
- padding: 0;
- size: 0;
- }
- .tab-view .tab-menu .van-ellipsis{
- display: none;
- }
- /* list块 */
- .list-view {
- background: #fff;
- /* height: 315rpx; */
- border-radius: 20rpx;
- margin-bottom: 20rpx;
- padding: 28rpx 18rpx;
- position: relative;
- }
- .list-loading {
- margin-top: 15vh;
- }
- .list-finished{
- color: #8c97c0;
- }
- .list-finished .finished-img{
- width: 25rpx;
- height: 25rpx;
- margin-right: 10rpx;
- position: relative;
- top: 1rpx;
- }
-
- /* list块-头部 */
- .list-avatar {
- height: 60rpx;
- line-height: 60rpx;
- }
- .list-chatHeads{
- width: 60rpx;
- height: 60rpx;
- border-radius: 50%;
- background: #999;
- }
- .list-chatHeads .chatHeads-img{
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
- /* 平台认证 */
- .list-certification {
- position: absolute;
- right: 0;
- top: 22rpx;
- width: 130rpx;
- height: 40rpx;
- line-height: 40rpx;
- background-color: #fff0be;
- border-radius: 18rpx 0 0 18rpx;
- text-align: center;
- color: #ef6f10;
- font-size: 20rpx;
- }
- .list-certification .certification-img{
- width: 26rpx;
- height: 27rpx;
- position: relative;
- top: 6rpx;
- }
- /* 名称 */
- .list-nick-name {
- margin-left: 15rpx;
- max-width: 300rpx;
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- font-weight: bold;
- }
- /* 主页 */
- .list-home {
- color: #827de5;
- border-radius: 16px;
- border: solid 1px #827de5;
- width: 96rpx;
- height: 32rpx;
- line-height: 32rpx;
- font-size: 20rpx;
- text-align: center;
- margin-top: 15rpx;
- margin-left: 15rpx;
- }
- .list-home .home-img{
- width: 22rpx;
- height: 23rpx;
- position: relative;
- top: 2rpx;
- }
-
- /* 内容容器 */
- .list-content {
- padding-left: 75rpx;
- padding-right: 15rpx;
- }
- /* 详情 */
- .list-details-text{
- margin: 15rpx 0;
- word-break: break-all;
- text-overflow: ellipsis;
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- }
- /* 标签 */
- .list-tag-view {
- margin-bottom: 20rpx;
- }
- .list-tag-view .list-tag{
- display: inline-block;
- width: 120rpx;
- height: 36rpx;
- border-radius: 18rpx;
- text-align: center;
- line-height: 36rpx;
- font-size: 20rpx;
- margin-right: 15rpx;
- }
- .list-tag-view .list-tag:nth-child(1){
- background-color: #e4f1f7;
- color: #3d97e6;
- }
- .list-tag-view .list-tag:nth-child(2){
- background-color: #f7eee4;
- color: #f29f61;
- }
- .list-tag-view .list-tag:nth-child(3){
- background-color: #eafee3;
- color: #80c269;
- }
- /* 底部 */
- .list-foot {
- height: 62rpx;
- line-height: 62rpx;
- }
- .list-foot-text-lf{
- color: #999;
- font-size: 24rpx;
- margin-right: 40rpx;
- }
- .list-foot-text-lf .browse-img{
- width: 24rpx;
- height: 18rpx;
- }
- .list-foot-text-lf .time-img{
- width: 24rpx;
- height: 24rpx;
- position: relative;
- top: 1rpx;
- }
- .list-foot-text-chat {
- height: 62rpx;
- width: 180rpx;
- background-color: #5e73e5;
- box-shadow: -1px 3px 12px 4px
- rgba(62, 95, 179, 0.14);
- border-radius: 31rpx;
- text-align: center;
- color: #fff;
- font-size: 24rpx;
- }
- .list-foot-text-chat .chat-img{
- width: 28rpx;
- height: 28rpx;
- position: relative;
- top: 4rpx;
- left: -10rpx;
- }
|