pet/wxAPP/app.wxss

170 lines
2.7 KiB
Plaintext

/*遮罩*/
.shade {
width: 750rpx;
background: rgba(0, 0, 0, 0.7);
box-sizing: border-box;
color: #000;
position: fixed;
top: 0rpx;
left: 0rpx;
z-index: 999;
}
/*自定义组件弹窗:弹窗*/
.toast {
width: 580rpx;
background: #fff;
border-radius: 8px;
text-align: center;
padding-bottom: 50rpx;
padding-top: 37rpx;
margin-top: 50%;
margin-left: 85rpx;
}
/*自定义组件弹窗:弹窗标题*/
.title {
font-size: 30rpx;
color: #000;
}
/*自定义组件弹窗:弹窗内容*/
.content {
font-size: 24rpx;
color: #4d4d4d;
margin-top: 45rpx;
margin-left: 30rpx;
text-align: center;
height: 130rpx;
white-space: normal;
width: 500rpx;
}
/*自定义组件弹窗:按钮盒子*/
.button_box {
display: flex;
justify-content: space-around;
}
/*自定义组件弹窗:按钮*/
.button_box button {
width: 148rpx;
height: 66rpx;
border-radius: 10rpx;
line-height: 65rpx;
font-size: 28rpx;
padding: 0;
margin: 0;
}
/*自定义组件弹窗:确定按钮*/
.confirm_btn {
background: #ff8106;
color: #fff;
}
/*自定义组件弹窗:取消按钮*/
.cancel_btn {
background: #e0e0e0;
color: #999;
}
/*超出一行显示省略号*/
.overflow_one {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/*超出两行显示省略号*/
.overflow_two {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
/*发布喵文相关:输入框*/
.talk_text {
width: 750rpx;
height: 276rpx;
background: #fff;
font-size: 28rpx;
padding-top: 39rpx;
box-sizing: border-box;
padding-left: 48rpx;
padding-right:48rpx;
}
/*发布喵文相关:标签*/
.lable_box {
display: flex;
}
/*发布喵文相关:标签*/
.lable {
padding: 5rpx 25rpx 5rpx 25rpx;
background: rgba(255, 235, 213);
border-radius: 45rpx;
font-size: 26rpx;
color: #ff8106;
text-align: center;
line-height: 60rpx;
margin-top: 35rpx;
margin-left: 29rpx;
}
/*发布喵文相关:存草稿发布*/
.operation_panel {
width: 287rpx;
height: 88rpx;
background: linear-gradient(0deg, rgba(255, 129, 6, 1), rgba(254, 142, 34, 1));
box-shadow: 0rpx 14rpx 29rpx 0rpx rgba(102, 51, 1, 0.23),
0rpx 2rpx 4rpx 0rpx rgba(255, 255, 255, 0.4);
border-top-left-radius: 44rpx;
border-bottom-left-radius: 44rpx;
color: #fff;
font-size: 28rpx;
display: flex;
position: fixed;
bottom: 200rpx;
right: 0rpx;
}
/*发布喵文相关:存草稿发布*/
.draft {
width: 150rpx;
border-right: 4rpx solid #fff;
height: 45rpx;
margin-top: 25rpx;
padding-left: 35rpx;
box-sizing: border-box;
}
/*发布喵文相关:存草稿发布*/
.next {
width: 120rpx;
height: 45rpx;
text-align: center;
margin-top: 25rpx;
}