|
@@ -1243,7 +1243,7 @@ export default {
|
|
|
// input的高度
|
|
// input的高度
|
|
|
getInputStyle(styles, words) {
|
|
getInputStyle(styles, words) {
|
|
|
const baseStyle = {};
|
|
const baseStyle = {};
|
|
|
- baseStyle['font-size'] = styles ? styles.fontSize : '16px';
|
|
|
|
|
|
|
+ baseStyle['font-size'] = styles ? styles.fontSize : '16pt';
|
|
|
baseStyle['--input-font-family'] = styles ? styles.fontFamily : '';
|
|
baseStyle['--input-font-family'] = styles ? styles.fontFamily : '';
|
|
|
baseStyle['width'] = `${Math.max(40, words.value.length * 21.3)}px`;
|
|
baseStyle['width'] = `${Math.max(40, words.value.length * 21.3)}px`;
|
|
|
baseStyle['height'] = styles && styles.fontSize ? `${styles.fontSize.replace('pt', '') * 1.5}pt` : '24px';
|
|
baseStyle['height'] = styles && styles.fontSize ? `${styles.fontSize.replace('pt', '') * 1.5}pt` : '24px';
|
|
@@ -1728,7 +1728,7 @@ $border-color: #e6e6e6;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
width: 120px;
|
|
width: 120px;
|
|
|
margin: 0 2px;
|
|
margin: 0 2px;
|
|
|
- font-size: 16px;
|
|
|
|
|
|
|
+ font-size: 16pt;
|
|
|
|
|
|
|
|
&.pinyin :deep input.el-input__inner {
|
|
&.pinyin :deep input.el-input__inner {
|
|
|
font-family: 'PINYIN-B', sans-serif;
|
|
font-family: 'PINYIN-B', sans-serif;
|
|
@@ -1805,7 +1805,7 @@ $border-color: #e6e6e6;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
// padding: 0 1px;
|
|
// padding: 0 1px;
|
|
|
- font-size: 16px;
|
|
|
|
|
|
|
+ font-size: 16pt;
|
|
|
|
|
|
|
|
span {
|
|
span {
|
|
|
// text-align: center; // 注释掉是为了带拼音分词后折行左对齐显示了居中对齐
|
|
// text-align: center; // 注释掉是为了带拼音分词后折行左对齐显示了居中对齐
|