no message
This commit is contained in:
297
css/index.less
Normal file
297
css/index.less
Normal file
@@ -0,0 +1,297 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
}
|
||||
|
||||
.one-line-display {
|
||||
word-break: keep-all;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* 公共的 css 样式 */
|
||||
.flexflex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flexcenter {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flexjcenter {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flexacenter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flexcolumn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
view,
|
||||
swiper,
|
||||
swiper-item,
|
||||
scroll-view,
|
||||
textarea,
|
||||
editor {
|
||||
box-sizing: border-box;
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
background-color: rgba(245, 245, 245, 1);
|
||||
padding-bottom: 3.2rem;
|
||||
padding-top: 0.4rem;
|
||||
|
||||
.title-box {
|
||||
width: 9.4rem;
|
||||
margin: 0 auto 0.4rem;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 0.0133rem solid rgba(242, 242, 242, 1);
|
||||
border-radius: 0.4rem;
|
||||
padding: 0.4rem;
|
||||
|
||||
.input {
|
||||
width: 100%;
|
||||
min-height: 1rem;
|
||||
word-break: break-all;
|
||||
line-height: 0.56rem;
|
||||
outline: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-box {
|
||||
width: 9.4rem;
|
||||
margin: 0 auto 0.4rem;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 0.0133rem solid rgba(242, 242, 242, 1);
|
||||
border-radius: 0.4rem;
|
||||
|
||||
.editor {
|
||||
margin: 0.4rem;
|
||||
width: 8.6rem;
|
||||
min-height: 10rem;
|
||||
border: none;
|
||||
outline: none;
|
||||
overflow: auto;
|
||||
|
||||
img {
|
||||
width: 8.6rem;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
white-space: nowrap;
|
||||
width: 100vw;
|
||||
height: 0.64rem;
|
||||
margin-bottom: 0.4rem;
|
||||
width: 9.4rem;
|
||||
overflow: auto;
|
||||
|
||||
.item {
|
||||
width: fit-content;
|
||||
height: 0.64rem;
|
||||
line-height: 0.64rem;
|
||||
background-color: rgba(246, 246, 246, 1);
|
||||
border-radius: 1.46rem;
|
||||
font-size: 0.28rem;
|
||||
color: #606060;
|
||||
padding: 0 0.24rem;
|
||||
display: inline-flex;
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
|
||||
&:first-of-type {
|
||||
margin-left: 0.4rem;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
margin-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-list {
|
||||
margin: 0 0.4rem 0.4rem;
|
||||
|
||||
.item {
|
||||
width: fit-content;
|
||||
height: 0.72rem;
|
||||
line-height: 0.72rem;
|
||||
background-color: rgba(246, 246, 246, 1);
|
||||
border: 0.0133rem solid rgba(235, 235, 235, 1);
|
||||
border-radius: 1.46rem;
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
font-size: 0.32rem;
|
||||
color: #555555;
|
||||
padding: 0 0.24rem;
|
||||
margin-right: 0.2rem;
|
||||
|
||||
&.pitch {
|
||||
background-color: rgba(246, 246, 189, 1);
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 0.4rem;
|
||||
height: 0.4rem;
|
||||
margin-right: 0.14rem;
|
||||
}
|
||||
}
|
||||
|
||||
.unfold {
|
||||
width: 0.72rem;
|
||||
height: 0.72rem;
|
||||
background-color: rgba(246, 246, 246, 1);
|
||||
border: 0.0133rem solid rgba(235, 235, 235, 1);
|
||||
border-radius: 1.4667rem;
|
||||
|
||||
.icon {
|
||||
width: 0.32rem;
|
||||
height: 0.32rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.anonymity {
|
||||
margin-left: 0.4rem;
|
||||
|
||||
.icon {
|
||||
width: 0.32rem;
|
||||
height: 0.32rem;
|
||||
border: 0.0133rem solid #797979;
|
||||
}
|
||||
|
||||
.icon-pitch {
|
||||
width: 0.32rem;
|
||||
height: 0.32rem;
|
||||
}
|
||||
|
||||
.text {
|
||||
color: rgb(0, 0, 0);
|
||||
margin-left: 0.16rem;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
}
|
||||
|
||||
.new-footer-btn {
|
||||
width: 10rem;
|
||||
height: 2.4rem;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 0.0133rem solid rgba(235, 235, 235, 1);
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
padding: 0.34rem 0.3rem 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
.save-draft-btn {
|
||||
flex-direction: column;
|
||||
margin-right: 0.4rem;
|
||||
color: #7f7f7f;
|
||||
font-size: 0.32rem;
|
||||
|
||||
.save-draft-icon-box {
|
||||
width: 0.84rem;
|
||||
height: 0.84rem;
|
||||
background-color: rgba(242, 242, 242, 0.698039215686274);
|
||||
border-radius: 0.2rem;
|
||||
margin-bottom: 0.12rem;
|
||||
|
||||
.save-draft-icon {
|
||||
width: 0.48rem;
|
||||
height: 0.48rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.new-footer-submit {
|
||||
height: 1.4rem;
|
||||
line-height: 1.4rem;
|
||||
text-align: center;
|
||||
background-color: rgba(207, 247, 255, 1);
|
||||
border: 0.0133rem solid rgba(186, 222, 230, 1);
|
||||
border-radius: 0.2rem;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-size: 0.5067rem;
|
||||
color: #026277;
|
||||
}
|
||||
}
|
||||
|
||||
.pop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
// background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 101;
|
||||
align-items: flex-end;
|
||||
|
||||
.emoji-system-list {
|
||||
width: 100vw;
|
||||
background-color: rgba(236, 236, 236, 1);
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
padding: 0.4rem 0.4rem 0;
|
||||
font-size: 0.8rem;
|
||||
box-sizing: border-box;
|
||||
height: 0;
|
||||
animation: growHeight 0.5s ease forwards;
|
||||
|
||||
@keyframes growHeight {
|
||||
0% {
|
||||
height: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
height: 8.6667rem;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
margin-bottom: 0.1333rem;
|
||||
display: inline-block;
|
||||
min-width: 1.15rem;
|
||||
min-height: 0.9333rem;
|
||||
text-align: center;
|
||||
|
||||
&:nth-child(8n-1) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.fill {
|
||||
width: 100%;
|
||||
height: 2.2667rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user