feat: 添加微信JS-SDK文件并删除无用HTML文件
删除多个测试用的HTML文件,包括键盘辅助栏和可编辑区域相关示例 添加微信JS-SDK文件jweixin-1.6.0.js 更新CSS样式,增加模态框和标题框底部计数功能
This commit is contained in:
@@ -53,11 +53,12 @@ editor {
|
||||
}
|
||||
.container .title-box {
|
||||
width: 9.4rem;
|
||||
margin: 0 auto 0.4rem;
|
||||
margin: 0 auto 0.6rem;
|
||||
background-color: #ffffff;
|
||||
border: 0.0133rem solid #f2f2f2;
|
||||
border-radius: 0.4rem;
|
||||
padding: 0.4rem;
|
||||
padding: 0.4rem 0.4rem 0.6rem;
|
||||
position: relative;
|
||||
}
|
||||
.container .title-box .input {
|
||||
width: 100%;
|
||||
@@ -72,6 +73,13 @@ editor {
|
||||
.container .title-box .input::placeholder {
|
||||
color: #757575;
|
||||
}
|
||||
.container .title-box .sum {
|
||||
position: absolute;
|
||||
right: 0.4rem;
|
||||
bottom: 0.1rem;
|
||||
color: #555555;
|
||||
font-size: 14px;
|
||||
}
|
||||
.container .editor-box {
|
||||
width: 9.4rem;
|
||||
margin: 0 auto 0.4rem;
|
||||
@@ -330,6 +338,79 @@ editor {
|
||||
width: 100%;
|
||||
height: 2.2667rem;
|
||||
}
|
||||
.container .model-container {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.container .model-container .model-main {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
width: 80%;
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
.container .model-container .model-main .model-title {
|
||||
font-size: 18px;
|
||||
color: #333;
|
||||
width: 100%;
|
||||
padding: 18px;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.container .model-container .model-main .model-content {
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
padding: 10px;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.container .model-container .model-main .model-buttons {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.container .model-container .model-main .model-buttons .button {
|
||||
flex: 1;
|
||||
padding: 18px 10px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
background-color: #ffffff;
|
||||
border-top: 1px solid #f2f2f2;
|
||||
border-right: 1px solid #f2f2f2;
|
||||
}
|
||||
.container .model-container .model-main .model-buttons .button.confirm {
|
||||
color: var(--theme);
|
||||
font-weight: bold;
|
||||
}
|
||||
.container .model-container .model-main .model-buttons .button:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.container .model-container .model-main .model-buttons .button:active {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
.container .model-container .model-mask {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.btn-f {
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
|
||||
@@ -64,11 +64,12 @@ editor {
|
||||
|
||||
.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);
|
||||
margin: 0 auto 0.6rem;
|
||||
background-color: #ffffff;
|
||||
border: 0.0133rem solid #f2f2f2;
|
||||
border-radius: 0.4rem;
|
||||
padding: 0.4rem;
|
||||
padding: 0.4rem 0.4rem 0.6rem;
|
||||
position: relative;
|
||||
|
||||
.input {
|
||||
width: 100%;
|
||||
@@ -83,6 +84,14 @@ editor {
|
||||
color: rgba(117, 117, 117, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.sum {
|
||||
position: absolute;
|
||||
right: 0.4rem;
|
||||
bottom: 0.1rem;
|
||||
color: rgb(85, 85, 85);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-box {
|
||||
@@ -388,6 +397,80 @@ editor {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.model-container {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.model-main {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
width: 80%;
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
.model-title {
|
||||
font-size: 18px;
|
||||
color: #333;
|
||||
width: 100%;
|
||||
padding: 18px;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.model-content {
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
padding: 10px;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.model-buttons {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.button {
|
||||
flex: 1;
|
||||
padding: 18px 10px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
background-color: #ffffff;
|
||||
border-top: 1px solid #f2f2f2;
|
||||
border-right: 1px solid #f2f2f2;
|
||||
&.confirm {
|
||||
color: var(--theme);
|
||||
font-weight: bold;
|
||||
}
|
||||
&:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
&:active {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.model-mask {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-f {
|
||||
|
||||
Reference in New Issue
Block a user