没啥变化
This commit is contained in:
parent
cec8718629
commit
a26d2f7d66
@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 滑动键盘区域 -->
|
<!-- 滑动键盘区域 -->
|
||||||
<!-- 第一行 -->
|
<!-- 第一行 -->
|
||||||
<div class="keyboard-row-scroll" scroll-x="true">
|
<div class="keyboard-row-scroll">
|
||||||
<div class="keyboard-row" for="{{row1Letters}}">
|
<div class="keyboard-row" for="{{row1Letters}}">
|
||||||
<input
|
<input
|
||||||
type="button"
|
type="button"
|
||||||
@ -32,25 +32,27 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 第二行 -->
|
<!-- 第二行 -->
|
||||||
<div class="keyboard-row-scroll" scroll-x="true">
|
<div class="keyboard-row-scroll">
|
||||||
<div class="keyboard-row" for="{{row2Letters}}">
|
<div class="keyboard-row" for="{{row2Letters}}">
|
||||||
<input
|
<input
|
||||||
type="button"
|
type="button"
|
||||||
class="input-button"
|
class="input-button"
|
||||||
value="{{$item}}"
|
value="{{$item}}"
|
||||||
onclick="input($item)"
|
onclick="input($item)"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 第三行 -->
|
<!-- 第三行 -->
|
||||||
<div class="keyboard-row-scroll" scroll-x="true">
|
<div class="keyboard-row-scroll">
|
||||||
<div class="keyboard-row" for="{{row3Letters}}">
|
<div class="keyboard-row" for="{{row3Letters}}">
|
||||||
<input
|
<input
|
||||||
type="button"
|
type="button"
|
||||||
class="input-button"
|
class="input-button"
|
||||||
value="{{$item}}"
|
value="{{$item}}"
|
||||||
onclick="input($item)"
|
onclick="input($item)"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -246,185 +248,188 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.container {
|
.container {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 466px;
|
width: 466px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
}
|
}
|
||||||
.keyboard-row-scroll {
|
.keyboard-row-scroll {
|
||||||
width: 466px;
|
width: 466px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
.keyboard-row {
|
.keyboard-row {
|
||||||
flex-direction: row;
|
display: flex;
|
||||||
height: 60px;
|
justify-content: space-between;
|
||||||
|
flex-direction: row;
|
||||||
|
width: 466px; /* 固定总宽度 */
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.input-button {
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
margin: 0 3px;
|
||||||
|
font-size: 24px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #444;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
.text-container {
|
.text-container {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
height: 260px;
|
height: 260px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-content {
|
.text-content {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 322px;
|
width: 322px;
|
||||||
height: 270px;
|
height: 270px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.candidate-word {
|
.candidate-word {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.input-button {
|
|
||||||
width: 70px;
|
|
||||||
height: 60px;
|
|
||||||
min-width: 60px;
|
|
||||||
margin: 0 3px;
|
|
||||||
font-size: 24px;
|
|
||||||
border-radius: 5px;
|
|
||||||
background-color: #444;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
.function-row {
|
.function-row {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 466px;
|
width: 466px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.mode-button {
|
.mode-button {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.space-button {
|
.space-button {
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
color: #f0f8ff;
|
color: #f0f8ff;
|
||||||
background-color: #9f83fb;
|
background-color: #9f83fb;
|
||||||
border-radius: 25px; /* 新增圆角 */
|
border-radius: 25px; /* 新增圆角 */
|
||||||
}
|
}
|
||||||
.active-mode {
|
.active-mode {
|
||||||
background-color: #2196F3;
|
background-color: #2196F3;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
.backspace-button {
|
.backspace-button {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background-color: #f44336;
|
background-color: #f44336;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.func-button {
|
.func-button {
|
||||||
width: 90px;
|
width: 90px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
background-color: #323232;
|
background-color: #323232;
|
||||||
margin: 0px 5px 0px 5px;
|
margin: 0px 5px 0px 5px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
border-radius: 15px; /* 新增圆角 */
|
border-radius: 15px; /* 新增圆角 */
|
||||||
color: #f0f8ff;
|
color: #f0f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pinyin-button {
|
.pinyin-button {
|
||||||
width: 380px;
|
width: 380px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-color: rgb(65, 105, 225);
|
background-color: rgb(65, 105, 225);
|
||||||
margin: 0px 5px 0px 5px;
|
margin: 0px 5px 0px 5px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
border-radius: 30px; /* 新增圆角 */
|
border-radius: 30px; /* 新增圆角 */
|
||||||
color: #f0f8ff;
|
color: #f0f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-row {
|
.container-row {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 454px;
|
width: 454px;
|
||||||
height: 65px;
|
height: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-row-candidate {
|
.container-row-candidate {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 466px;
|
width: 466px;
|
||||||
height: 65px;
|
height: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-col {
|
.container-col {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 466px;
|
width: 466px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-col-candidate {
|
.container-col-candidate {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 454px;
|
width: 454px;
|
||||||
height: 65px;
|
height: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-swiper {
|
.container-swiper {
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
width: 454px;
|
width: 454px;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
/* 新增候选词样式 */
|
/* 新增候选词样式 */
|
||||||
.candidate-word-button {
|
.candidate-word-button {
|
||||||
width: 55px;
|
width: 55px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background-color: rgba(50,50,50,0.9);
|
background-color: rgba(50,50,50,0.9);
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
color: #f0f8ff;
|
color: #f0f8ff;
|
||||||
}
|
}
|
||||||
.letters-display {
|
.letters-display {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.words-preview {
|
.words-preview {
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user