123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- .top-nav{
- width: 100%;
- height: 80rpx;
- display: flex;
- justify-content: start;
- }
- .scroll-wrapper {
- white-space: nowrap;
- -webkit-overflow-scrolling: touch;
- background: #FFF;
- padding-left: 20rpx;
- width: 90%;
- height: 85rpx;
- box-sizing: border-box;
- }
- ::-webkit-scrollbar {
- width: 0;
- height: 0;
- color: transparent;
- }
- .navigate-item {
- display: inline-block;
- text-align: center;
- height: 90rpx;
- line-height: 90rpx;
- margin-right: 80rpx;
- }
- .names {
- font-size: 28rpx;
- color: #3c3c3c;
- }
- .names.active {
- color: #ff520f;
- font-weight: bold;
- font-size: 34rpx;
- }
- .currtline {
- margin: -8rpx auto 0 auto;
- width: 100rpx;
- height: 1rpx;
- border-radius: 4rpx;
- }
- .currtline.active {
- background: #ff520f;
- transition: all .3s;
- }
- .pull-down{
- width: 10%;
- height: 25rpx;
- padding: 30rpx 0rpx;
- background-color: rgb(249, 249, 249);
- text-align: center;
- color: #ff520f;
- line-height: 30rpx
- }
- /* 内容区的代码 */
- .content-item{
- width: 100%;
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 20rpx 0rpx;
- }
- .indexNumber {
- width: 15%;
- height: auto;
- padding: 20rpx 0rpx;
- text-align: center;
- font-size: 50rpx;
- color: #ff520f;
- }
- .content-item image {
- width: 140rpx;
- height: 140rpx;
- margin-top: 10rpx;
- border-radius: 15rpx;
- }
- .content-left {
- padding: 10rpx 0rpx;
- margin-left: 30rpx;
- width: 60%;
- height: auto;
- border-bottom: 1rpx solid #f1f1f1;
- }
- .content-title{
- font-size: 35rpx;
- height: 40rpx;
- color: #000;
- display: -webkit-box;
- -webkit-line-clamp: 2;/*行数n*/
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .content-text{
- height: 40rpx;
- display: -webkit-box;
- -webkit-line-clamp: 1;/*行数n*/
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 27rpx;
- text-align: left;
- color: #ccc;
- margin-top: 15rpx;
- }
- .count{
- font-size: 27rpx;
- color: #ccc;
- display: flex;
- justify-content: start;
- margin-top: 15rpx;
- }
- .menu{
- width: 100%;
- height: 200rpx;
- position: fixed;
- top: 0rpx;
- z-index: 9999;
- display: flex;
- justify-content: space-around;
- align-items: center;
- flex-wrap: wrap;
- background: #fff;
- }
- .menuItem{
- color: #000;
- width: auto;
- font-size: 32rpx;
- padding: 20rpx 10rpx;
- margin: 0rpx 15rpx;
- position: relative;
- }
- .menuItemactive {
- font-size: 32rpx;
- font-weight: 700;
- transition: all .3s;
- color: #333333;
- }
- .menuItemactive:after{
- content: '';
- width: 40rpx;
- height: 8rpx;
- position: absolute;
- bottom: 0rpx;
- left: 50rpx;
- border-radius: 15rpx;
- background: #ff520f;
- }
|