1 Star 0 Fork 143

usenews/winxin-app-watch-life.net

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
app.wxss 6.25 KB
一键复制 编辑 原始数据 按行查看 历史
jianbo 提交于 2019-11-07 14:03 . 1、调整分类的配置和显示
/*
*
* WordPres版微信小程序
* author: jianbo
* organization: 守望轩 www.watch-life.net
* github: https://github.com/iamxjb/winxin-app-watch-life.net
* 技术支持微信号:iamxjb
* Copyright (c) 2017 https://www.watch-life.net All rights reserved.
*
*/
@import "vendor/ZanUI/index.wxss";
.container {
padding: 0 24rpx;
background-color: #fff;
font-family: Microsoft YaHei, Helvetica, Arial, sans-serif;
}
.header {
padding: 50rpx 0;
text-align: center;
font-weight: normal;
font-size: 30rpx;
line-height: 40rpx;
color: #757575;
border-bottom: 2rpx solid #ededed;
margin-bottom: 8rpx;
}
.wxParse-p {
margin-top: 30rpx;
}
.loadingmore {
margin-top: 24rpx;
text-align: center;
margin-bottom: 24rpx;
}
.more-button {
font-size: 0.785714286rem;
font-weight: normal;
color: #959595;
background-color: #eee;
background-repeat: repeat-x;
margin-top: 30rpx;
width: 240rpx;
border-radius: 300rpx;
}
.more-button::after {
border: none;
}
.no-more {
color: #757575;
font-size: 30rpx;
line-height: 1.8rem;
margin-bottom: 15rpx;
text-align: center;
margin-top: 15rpx;
}
/* 文章列表样式 */
.post-list {
margin-bottom: 24rpx;
}
.post-item {
display: flex;
border-bottom: 1px solid #eee;
padding: 24rpx 0;
overflow: hidden;
}
.post-img {
width: 200rpx;
height: 160rpx;
border-radius: 6rpx;
}
.post-desc {
flex: 1;
margin-left: 24rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.post-title {
height: 80rpx;
margin-bottom: 20rpx;
}
.post-title>text {
font-size: 30rpx;
line-height: 1.6;
font-weight: 500;
color: #333;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.post-data {
display: flex;
align-items: center;
}
.post-data>image {
width: 24rpx;
height: 24rpx;
margin-right: 6rpx;
}
.post-data>text {
color: #c4c4c4;
margin-right: 32rpx;
font-size: 20rpx;
}
/*common list end */
.showerror {
text-align: center;
font-weight: normal;
font-size: 30rpx;
line-height: 40rpx;
color: #757575;
margin-top: 100rpx;
}
.errortext {
margin-top: 50rpx;
table-layout: center;
}
.copyright {
font-size: 26rpx;
line-height: 1.6;
font-weight: 400;
text-align: center;
color: #c4c4c4;
margin-top: 48rpx;
padding-bottom: 80rpx;
}
.common-gap {
width: 100%;
height: 24rpx;
background-color: #f5f7f7;
}
/* 进度条 */
.sk-three-bounce {
margin: 20rpx auto;
width: 200rpx;
text-align: center;
}
.sk-three-bounce .sk-child {
width: 30rpx;
height: 30rpx;
background-color: #118fff;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
}
.sk-three-bounce .sk-bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.sk-three-bounce .sk-bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-three-bounce {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes sk-three-bounce {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
/* 登录框 */
.login-popup .zan-popup__container {
background-color: transparent;
}
.login-popup-wrapper {
margin: 0 60rpx;
background-color: #fff;
border-radius: 12rpx;
overflow: hidden;
}
.logintips {
color: rgb(124, 124, 124);
font-size: 24rpx;
padding: 0 48rpx;
}
.login-popup button {
background-color: transparent;
padding: 0;
}
.login-popup .login-inner {
background-color: #fff;
padding: 48rpx;
}
.login-inner {
display: flex;
}
.login-inner .avatar {
width: 50px;
height: 50px;
margin-right: 10px;
flex-shrink: 0;
background: #f5f7f7;
}
.login-inner .close-btn {
width: 20px;
height: 20px;
}
.login-inner .username {
color: #118fff;
font-size: 32rpx;
font-weight: 500;
display: flex;
align-items: center;
}
.login-inner .username text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 32rpx;
}
.login-btn-box {
display: flex;
border-top: 1px solid #eee;
}
.login-btn-box button {
width: 50%;
border-radius: 0;
font-size: 15px;
line-height: 3;
color: #333;
}
.login-btn-box button:first-child {
border-right: 1px solid #eee;
}
.login-btn-box button::after {
border: none;
}
/* 弹窗按钮 */
.popup-btn {
display: flex;
width: 100%;
height: 35px;
line-height: 35px;
font-size: 14px;
text-align: left;
border: 0;
border-radius: 0;
background-color: #fff;
}
.popup-btn .button-main {
flex-grow: 1;
overflow: hidden;
}
.popup-btn .go-popup {
display: flex;
align-items: center;
}
.popup-btn .go-popup image {
width: 15px;
height: 15px;
}
/* 弹窗 */
.login-popup .zan-popup__mask {
z-index: 11;
}
.login-popup .zan-popup__container {
z-index: 12;
}
/* 弹窗按钮 */
.popup-btn {
display: flex;
width: 100%;
height: 35px;
line-height: 35px;
font-size: 14px;
text-align: left;
border: 0;
border-radius: 0;
background-color: #fff;
}
.popup-btn .button-main {
flex-grow: 1;
overflow: hidden;
}
.popup-btn .go-popup {
display: flex;
align-items: center;
}
.popup-btn .go-popup image {
width: 15px;
height: 15px;
}
/* 弹窗 */
.login-popup .zan-popup__mask {
z-index: 11;
}
.login-popup .zan-popup__container {
z-index: 12;
}
.zan-popup .zan-popup__container {
width: 100%;
overflow: visible;
}
.zan-popup .popup-wrapper {
width: 100%;
padding: 0 15px;
padding-bottom: 10px;
overflow: visible;
}
.zan-popup .popup-wrapper .popup-title {
font-size: 16px;
padding: 15px 0;
}
.zan-popup .btn-primary.confirm {
height: 50px;
line-height: 50px;
border-radius: 0;
}
/* 清除浮动通用代码 */
.clearfix::after {
content: '.';
clear: both;
display: block;
height: 0;
visibility: hidden;
}
.clearfix {
zoom: 1;
}
.ditail-copyright {
font-size: 26rpx;
line-height: 1.2;
font-weight: normal;
text-align: center;
color: #999;
margin-top: 20rpx;
margin-bottom: 120rpx;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
微信
1
https://gitee.com/usenews_admin/winxin-app-watch-life.net.git
git@gitee.com:usenews_admin/winxin-app-watch-life.net.git
usenews_admin
winxin-app-watch-life.net
winxin-app-watch-life.net
master

搜索帮助