123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- /* 公共样式 */
- /* 轮播图 */
- .swiper-container{
- width: 90%;
- height: 280rpx;
- margin: 0rpx auto;
- position: relative;
- border-radius: 15rpx;
- overflow: hidden;
- }
- .swiper{
- width: 100%;
- height: 100%;
- border-radius: 15rpx;
- }
- .swiperItem{
- width: 100%;
- height: 100%;
- border-radius: 15rpx;
- }
- .swiperItem>image{
- width: 100%;
- height: 100%;
- border-radius: 15rpx;
- }
- .dots{
- width: auto;
- height: 10rpx;
- position: absolute;
- bottom: 20rpx;
- border-radius: 50rpx;
- left: 240rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 3rpx 10rpx;
- }
- .dotsItem{
- width: 8rpx;
- height: 8rpx;
- margin: 0rpx 8rpx;
- border-radius: 50%;
- background-color: #cdcdcd;
- transition: all .3s;
- }
- .dotActive{
- width: 10rpx;
- height: 10rpx;
- background-color: #fff;
- }
- /* 主要内容列表样式 */
- .contentList{
- width: 90%;
- margin: 0rpx auto;
- margin-top: 10rpx;
- }
- .content{
- width: 100%;
- height: auto;
- padding: 20rpx 0rpx;
- display: flex;
- justify-content: space-between;
- border-bottom: 1rpx solid #f1f1f1;
- }
- .contentImg{
- width: 232rpx;
- height: 232rpx;
- border-radius: 15rpx;
- }
- .contentImg>image{
- width: 100%;
- height: 100%;
- border-radius: 15rpx;
- }
- .content-right{
- width: 530rpx;
- height: 100%;
- margin-left: 20rpx;
- display: flex;
- flex-direction: column;
- }
- .content-title{
- width: 100%;
- height: 138rpx;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- .titleText{
- width: 100%;
- font-size: 35rpx;
- color: #333;
- text-align: left;
- display: -webkit-box;
- -webkit-line-clamp: 1;/*行数n*/
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .introduction{
- width: 100%;
- font-size: 28rpx;
- color: #cdcdcd;
- text-align: left;
- padding: 15rpx 0rpx;
- display: -webkit-box;
- -webkit-line-clamp: 2;/*行数n*/
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .count{
- width: 100%;
- height: 50rpx;
- display: flex;
- justify-content: start;
- align-items: center;
- }
- .playcount{
- font-size: 25rpx;
- color: #cdcdcd;
- margin-right: 30rpx;
- }
- .jicount{
- font-size: 25rpx;
- color: #cdcdcd;
- }
- /* 登录样式 */
- .logo {
- width: 128rpx;
- height: 128rpx;
- margin: 0rpx auto;
- position: relative;
- top: 200rpx;
- }
- .logoImg {
- width: 100%;
- height: 100%;
- }
- .loginButton {
- width: 80%;
- margin: 0rpx auto;
- position: relative;
- top: 500rpx;
- }
- .wechatLogin, .phoneLogin {
- width: 100%;
- height: 80rpx;
- border-radius: 50rpx;
- border: 0rpx;
- outline: none;
- }
- .wechatLogin button {
- background-color: #70e500;
- border-radius: 50rpx;
- border: none;
- color: #fff;
- }
- .phoneLogin {
- margin-top: 40rpx;
- }
- .phoneLogin button {
- border-radius: 50rpx;
- border: 1rpx solid #70e500;
- background-color: #fff;
- color: #70e500;
- }
- /*蒙板*/
- .cover{
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 9000;
- background: rgba(0, 0, 0, 0.6);
- opacity: 0.7;
- }
- /* bar相关 */
- .marginTopBottom {
- margin-top: 20rpx;
- margin-bottom: 30rpx;
- }
- .barTitle {
- width: 100%;
- height: 56rpx;
- padding: 20rpx 0rpx;
- text-align: center;
- }
- .Title-left {
- float: left;
- font-size: 37rpx;
- font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
- font-weight: 800;
- color: #333;
- }
- .Title-right {
- float: right;
- font-size: 26rpx;
- color: #aaa;
- }
|