1 Star 0 Fork 24

老刀/ShirneWxApp

forked from 语辰软件/ShirneWxApp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app.wxss 9.38 KB
一键复制 编辑 原始数据 按行查看 历史
shirne 提交于 2018-11-08 13:37 . 细节优化
/**app.wxss**/
page {
display: block;
min-height: 100%;
background: #f0f0f2;
color: #101010;
/*font-family:Rotobo,'SF Pro Display','Microsoft YaHei',PingFangSC,'Noto SansCJK',helvetica,'Heiti SC';*/
font-size: 28rpx;
}
radio {
width: 40rpx;
color: #ffa200;
}
checkbox {
color: #ffa200;
}
swiper {
width: 100%;
height: 290rpx;
}
swiper swiper-item image {
width: 100%;
height: 100%;
}
.button-box {
text-align: center;
}
button, button[type=default] {
display: inline-block;
line-height: 60rpx;
height: 60rpx;
background-color: transparent;
color: #3498db;
border-color: #3498db;
font-size: 28rpx;
border-radius: 10rpx;
padding-left: 50rpx;
padding-right: 50rpx;
}
button::after, button[type=default]::after {
border-color: #3498db;
/*border-radius:10rpx;*/
}
button:active, button[type=default]:active, .button-hover {
color: #3498db;
background-color: transparent;
border-color: #3498db;
}
button:active::after, button[type=default]:active::after {
border-color: #3498db;
}
button[type=grey] {
background-color: transparent;
color: #999;
}
button[type=grey]::after {
border-color: #e8e8e8;
}
button[type=grey]:active, button[type=grey].button-hover {
background-color: transparent;
color: #999;
}
button[type=grey]:active::after {
border-color: #e8e8e8;
}
.btn-large {
line-height: 88rpx;
height: 88rpx;
}
.notbutton {
padding: 0;
border: 0;
line-height: 1.2em;
height: auto;
border-radius: 0;
}
.notbutton::after {
border: 0;
}
.input-placeholder {
color: #bbb;
min-height: 10rpx;
}
navigator, .links {
font-size: 24rpx;
line-height: 44rpx;
color: #4a90e2;
text-align: center;
}
.float_left {
float: left;
}
.float_right {
float: right;
}
.emptytip {
padding-left: 30rpx;
line-height: 100rpx;
height: 100rpx;
color: #999;
}
.text_over {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
width: 100%;
}
.uploadbox {
text-align: center;
}
.uploadbox .file-upload {
width: 200rpx;
height: 200rpx;
margin: 50rpx auto 20rpx auto;
border-radius: 400rpx;
background: transparent;
}
.uploadbox text {
display: block;
text-align: center;
}
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
.main-container {
width: 100%;
display: flex;
flex-direction: column;
}
.tabbox{
display: flex;
flex-direction: row;
margin-top:20rpx;
width:100%;
}
.tabbox .tabitem{
white-space: nowrap;
color:#3498db;
border:1rpx #3498db solid;
line-height: 50rpx;
text-align: center;
flex:1;
}
.tabbox view:first-child{
margin-left:30rpx;border-radius: 10rpx 0 0 10rpx;
}
.tabbox view:last-child{
margin-right:30rpx;border-radius:0 10rpx 10rpx 0;
}
.tabbox .itemhover{
color:#fff;
background:#3498db;
}
.block {
margin: 20rpx 0 0 0;
background: #fff;
width: 100%;
}
.block-ttl {
padding: 15rpx 20rpx;
}
.block-ttl {
font-size: 32rpx;
font-weight: bold;
border-bottom:1rpx #ccc solid;
}
.block-content {
padding: 20rpx;
}
.newsitem{width:100%;display:flex;flex-direction: row;margin-bottom:20rpx;padding-bottom:20rpx;height:128rpx;border-bottom:1rpx #eee dashed}
.newsitem .imgbox{width:160rpx;height:120rpx;margin-right:20rpx;}
.newsitem .imgbox image{width:160rpx;height:120rpx;}
.newsitem .infobox{flex:1;display:flex;flex-direction: column;height:100%;}
.newsitem .infobox .infotitle{font-weight:bold;width:100%;line-height:32rpx;display:block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.newsitem .infobox .infodesc{flex:1;overflow: hidden;font-size:24rpx;line-height:30rpx;height:64rpx;word-break: break-all;margin-top:4rpx;}
.newsitem .infobox .infomation{color:#999;font-size:24rpx;line-height:30rpx;margin-top:6rpx;}
.imglist{display:flex;flex-direction: row;flex-wrap: wrap;padding:0 0 20rpx 20rpx;}
.imgitem{width: 40%;flex-grow:1;margin:20rpx 20rpx 0 0;display:flex;flex-direction: column;background:#f0f0f2;box-shadow: #f0f0f0 1rpx 1rpx 10rpx;}
.imgitem .imgbox{padding-top:100%;width:100%;position:relative;}
.imgitem .imgbox image{position:absolute;width:100%;height:100%;left:0;top:0;}
.imgitem .ttlbox{padding:10rpx 20rpx;text-align: center;}
.imgitem .ttlbox .infotitle{display:block;text-align:center;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.emptyitem{background:transparent;border:0;box-shadow: none;}
.arrow-list{
display:flex;
flex-direction: column;
border-top:1rpx #eee solid;
background:#fff;
width:100%;
}
.arrow-list .rowitem{
display:flex;
flex-direction: row;
border-bottom:1rpx #eee solid;
padding:20rpx 0;
line-height:40rpx;
}
.rowitem .preicon{
margin-left:30rpx;
margin-top:0rpx;
width: 40rpx;
height: 40rpx;
margin-right:20rpx;
}
.rowitem .title{
margin-left:30rpx;
}
.rowitem .desc{
flex:1;
text-align: right;
color:#999;
height:40rpx;
overflow: hidden;
}
.rowitem .arrow{
margin-right:30rpx;
width:30rpx;
height:40rpx;
}
.headfix{
width: 100%;
position: fixed;
top:0;left:0;
background:#fff;
box-shadow: #f0f0f0 0 1rpx 10rpx;
}
.head-tab {
display: flex;
flex-direction: row;
margin: 0 20rpx;
}
.tab-item {
width: 15%;
flex-grow: 1;
font-size: 28rpx;
line-height: 90rpx;
height: 90rpx;
text-align: center;
position: relative;
}
.tab-item::after {
content: "";
display: block;
position: absolute;
border-bottom: 6rpx #3498db solid;
left: 50%;
width: 0;
bottom: 0;
transition: all 0.3s ease-in-out;
}
.head-tab .active::after {
width: 100%;
left: 0;
}
loading{
width:100%;
}
/*富文本样式*/
.content{
padding:20rpx;
}
rich-text{
font-size:24rpx;
}
rich-text .tag_p{
text-indent:2em;
}
rich-text .tag_noindent{
text-indent:0;
}
rich-text .tag_img{
max-width: 100%;
}
image {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOAAAACgCAYAAAAVdWCNAAAAGXRFWHRTb2Z0d2F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Xmr2RiaYCgjwELNcavZGAxlBOi6b2GGMgIsyty3mo3xDcNQRoBFuMr0uspQRoDZW2X+Im6CoYwAM5bqWw59GMoIMEtfCnrhGsoIMCub8PYvUsmNoYwAs3qx3hX4uAxlBJjNNVOpp2tNMJQRYMLaW82uCn+MhjICTPYU7aaSx2ooI8Dkrvt2lT3evQBJRSqfbp97xd8JkKXleqvZGJqKH7sAE7AKRvPVDmUEuLwSbjUbQ5VDGQEuq6RbzU5V5VBGgMvZhLJuNRtDdUMZAS733d4tWS9rQkVDGQEuo41v5Wl48/lZC7COL/TcK1ENt5qNoYqhzHnl8T0/1bme6Rrns7aOPk1vI7y0ApYfXzPDSvjzus9bDv2+Ye0EWHZ8c0X4OXjLYYgmFDyUieKbJcKrkNYvUsnx67YWYNnxTRXhKnjLYQxFDmWi+CaP0HXfeNfQewGWH9+YEba3mm20M5rihjJRfJNF2IbnVrPxNaGgoUwU3yQRutVs+q/tWoDlxzc0wnb1W+lkUkUMZaL4JonwW5jnzpqaFTGUieKbLMJbEU4u+6FMFJ8IM9eEjIcyUXwiLOTrvxZgHfGJME1ZDmWi+ERYiCyHMlF8IixIdkOZKD4RFqYJGQ1lovhEWKBshjJRfCIsVBZDmSg+ERYqi6FMFJ8IC5b8UCaKT4SFa1J+/UTxibACyQ5lovhEWIkkhzJRfCKsRJJDmSg+EVYkuaFMFJ8IK9Ok9BqL4hNhhZIZykTxibBSSQxlovhEWKkkhjJn2+326dR9+FpSsZP68RtywTUgCBAQIAgQECAIEBAgCBAQIAgQECAIEBAgCBA40vkI+3jyNIIVEAQICBAECAgQBAgIEAQICBAECAIEBAgCBAQIAgQm9a8AAwDMaQv3tJZfhAAAAABJRU5ErkJggg==') center center no-repeat #fff;
}
.picture {
background-size: 200rpx;
}
.sm-picture {
background-size: 60%;
}
.avatar, .logo {
background-color: #f0f0f2;
background-size: 100%;
}
.nobg, .icon {
background: transparent;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/laodao77/website_mapp.git
git@gitee.com:laodao77/website_mapp.git
laodao77
website_mapp
ShirneWxApp
master

搜索帮助