加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
app.wxss 10.94 KB
一键复制 编辑 原始数据 按行查看 历史
Twelve 提交于 2018-12-20 17:32 . first
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
/*
*
* WordPres版微信小程序
* author: jianbo
* organization: 守望轩 www.watch-life.net
* github: https://github.com/iamxjb/winxin-app-watch-life.net
* 有问题加微信:poisonkid,不要叨扰jianbo
* Copyright (c) 2017 https://www.watch-life.net All rights reserved.
*
*/
@import "/pages/template/online-push.wxss";
.container {
background-color: #fff;
font-family: Microsoft YaHei, Helvetica, Arial, sans-serif;
}
.header1 {
position: fixed;
z-index: 9999;
width: 60rpx;
height: 60rpx;
left: 25rpx;
top: 55rpx;
overflow: hidden;
text-align: center;
background-color: rgba(0, 0, 0, 0.20);
border-radius: 50rpx;
box-shadow: 0rpx 0rpx 1rpx 0rpx #fff;
}
.header1 .icon {
float: left;
display: block;
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
text-align: center;
margin-top: 10rpx;
margin-left: 10rpx;
}
.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;
}
/* more */
.loadingmore {
margin-top: 24rpx;
text-align: center;
margin-bottom: 24rpx;
}
.more-button {
font-size: 0.785714286rem;
font-weight: normal;
color: #959595;
background-color: rgb(250, 190, 0, 0.6);
background-repeat: repeat-x;
margin-top: 30rpx;
margin-bottom: 30rpx;
width: 310rpx;
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;
}
/* more end */
/*common list for index list page */
.common-list {
margin-bottom: 24rpx;
margin-top: -130rpx;
}
.common-list .list-item {
position: relative;
padding: 24rpx;
min-height: 150rpx;
overflow: hidden;
}
.common-list .list-item.has-img image.cover {
position: absolute;
left: 0rpx;
top: 24rpx;
width: 200rpx;
height: 150rpx;
border-radius: 12rpx;
}
.common-list .list-item.has-img .content-title {
margin-left: 200rpx;
height: 80rpx;
margin-bottom: 20rpx;
}
.common-list .list-item.has-img .content-title text {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 30rpx;
line-height: 1.4;
font-weight: 400;
color: #3a4040;
}
.common-list .list-item.has-img .content-date {
margin-left: 200rpx;
}
.common-list .list-item.has-img .content-date image {
width: 24rpx;
height: 24rpx;
margin-right: 10rpx;
vertical-align: middle;
}
.common-list .list-item .content-date text {
color: #959595;
margin-right: 100rpx;
font-size: 20rpx;
line-height: 1.2;
font-weight: normal;
}
/*common list end */
.common-list .list-item3 {
border-radius:14rpx;
overflow:hidden;
position:relative;
width:710rpx;
height:500rpx;
background-color:#fff;
box-shadow:0 0 10px rgba(0,0,0,.15);
transition:box-shadow .3s;
margin-top:80rpx;
background:#fff;
}
.common-list .list-item3.has-img image.cover3 {
position:absolute;
z-index:999;
width:710rpx;
height:360rpx;
top: 0;
}
.common-list .list-item3.has-img .content-title3 {
position:absolute;
top:390rpx;
width:690rpx;
color:#000000;
margin-left:20rpx;
text-align:left;
font-weight:bold;
z-index:100;
opacity:1;
height:140rpx;
}
.common-list .list-item3.has-img .content-title3 text {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 28rpx;
line-height: 1.4;
font-weight: 400;
color: #3a4040;
}
.common-list .list-item3.has-img .content-date3 {
position:absolute;
top:430rpx;
width:690rpx;
margin-left: 20rpx;
}
.common-list .list-item3 .content-date3 text {
color: #959595;
margin-right: 100rpx;
font-size: 20rpx;
margin-top: 20rpx;
line-height: 1.0;
font-weight: normal;
vertical-align:middle;
}
/*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 25px;
}
.login-popup button {
background-color: transparent;
padding: 0;
}
.login-popup .login-inner {
background-color: #fff;
padding: 10px 15px;
border-radius: 5px;
}
.login-inner {
display: flex;
}
.login-inner .avatar {
width: 50px;
height: 50px;
margin-right: 10px;
flex-shrink: 0;
}
.login-inner .close-btn {
width: 20px;
height: 20px;
}
.login-inner .username {
display: flex;
align-items: center;
}
.login-inner .username text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 32rpx;
}
/* 弹窗按钮 */
.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;
}
.zan-popup {
visibility: hidden;
}
.zan-popup--show {
visibility: visible;
}
.zan-popup__mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.7);
display: none;
}
.zan-popup__container {
position: fixed;
left: 50%;
top: 50%;
background: #fff;
transform: translate3d(-50%, -50%, 0);
transform-origin: center;
transition: all 0.4s ease;
z-index: 11;
opacity: 0;
}
.zan-popup--show .zan-popup__container {
opacity: 1;
}
.zan-popup--show .zan-popup__mask {
display: block;
}
.zan-popup--left .zan-popup__container {
left: 0;
top: auto;
transform: translate3d(-100%, 0, 0);
}
.zan-popup--show.zan-popup--left .zan-popup__container {
transform: translate3d(0, 0, 0);
}
.zan-popup--right .zan-popup__container {
right: 0;
top: auto;
left: auto;
transform: translate3d(100%, 0, 0);
}
.zan-popup--show.zan-popup--right .zan-popup__container {
transform: translate3d(0, 0, 0);
}
.zan-popup--bottom .zan-popup__container {
top: auto;
left: auto;
bottom: 0;
transform: translate3d(0, 100%, 0);
}
.zan-popup--show.zan-popup--bottom .zan-popup__container {
transform: translate3d(0, 0, 0);
}
.zan-popup--top .zan-popup__container {
top: 0;
left: auto;
transform: translate3d(0, -100%, 0);
}
.zan-popup--show.zan-popup--top .zan-popup__container {
transform: translate3d(0, 0, 0);
}
.adbg {
/*这个是绝对布局*/
height: 100%;
width: 100%;
/*透明度*/
background-color: #000;
opacity: 0.2;
border-radius: 12rpx;
position: fixed;
z-index: 9997;
}
.swiper-image {
height: 580rpx;
width: 500rpx;
/*透明度*/
opacity: 1;
margin-left: 125rpx;
margin-top: 45%;
border-radius: 12rpx;
position: fixed;
z-index: 9999;
}
.button-img {
/*这个是绝对布局*/
margin-left: 125rpx;
margin-top: 45%;
position: fixed;
height: 580rpx;
width: 500rpx;
opacity: 0;
border-radius: 12rpx;
z-index: 9999;
}
button {
padding: 0;
font-size: auto;
line-height: 26px;
text-align: left;
overflow: none;
border-radius: 0;
box-sizing: none;
background: transparent;
}
button::after {
background: transparent;
border: none;
border-radius: 0;
}
.button-hover {
background: transparent;
}
.footer {
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 30rpx;
}
.footer > text {
font-size: 12px;
color: #999;
font-weight: 200;
}
.icon{
position:absolute;
left:0;
top:0;
border-radius:50%;
box-shadow:0 0 20rpx 0 rgba(207,22,18,.3);
z-index:3;
}
.posts {
position: fixed;
background: rgba(0,0,0,0.2);
bottom: 190rpx;
right: 2%;
width: 70rpx;
height: 70rpx;
border-radius: 50rpx;
text-align: center;
z-index: 99999;
}
.posts image {
margin: 15rpx;
width: 40rpx;
height:40rpx;
}
.fresh {
background: rgba(0,0,0,0.2);
position: fixed;
bottom: 280rpx;
right: 2%;
width: 70rpx;
height: 70rpx;
border-radius: 50rpx;
text-align: center;
z-index: 99999;
}
.fresh image {
margin: 15rpx;
width: 40rpx;
height:40rpx;
}
.kefu {
background: rgba(0,0,0,0.2);
position: fixed;
bottom: 100rpx;
right: 2%;
width: 70rpx;
height: 70rpx;
border-radius: 50rpx;
text-align: center;
z-index: 99999;
}
.kefu image {
margin: 15rpx;
width: 40rpx;
height:40rpx;
}
.button {
position:relative;
display:block;
margin-right:auto;
box-sizing:border-box;
font-size:18px;
text-align:center;
text-decoration:none;
line-height:2.55555556;
border-radius:5px;
-webkit-tap-highlight-color:transparent;
overflow:hidden;
color:#000000;
background-color:#F8F8F8;
}
button {
position:relative;
display:block;
margin-right:auto;
box-sizing:border-box;
font-size:18px;
text-align:center;
text-decoration:none;
line-height:2.55555556;
border-radius:5px;
-webkit-tap-highlight-color:transparent;
overflow:hidden;
color:#000000;
background-color:#F8F8F8;
}
.contact{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
z-index: 10000;
}
.contact{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
z-index: 10000;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化