* [task#135046 doing 0.2h 2h] modify money unit style of thinktableinput.

This commit is contained in:
zhangyu
2024-12-24 11:11:56 +08:00
committed by 孙浩
parent e6096a8be3
commit af5eb2c1a5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
.form-horz .form-group {align-items: center;}
.result-width {width: calc(100% - 148px);}
.form-control[readonly] {cursor: not-allowed; background-color: rgba(var(--color-gray-100-rgb),var(--tw-bg-opacity)); --tw-bg-opacity: .4; color:rgba(var(--color-gray-700-rgb),var(--tw-bg-opacity))}
.form-control[readonly] {cursor: not-allowed; background-color: rgba(var(--color-gray-100-rgb),var(--tw-bg-opacity)); --tw-bg-opacity: .4; color:rgba(var(--color-gray-700-rgb),var(--tw-bg-opacity))}
html:not([lang="zh-cn"],[lang="zh-tw"]) .money-unit{padding-right: 120px;}
+1 -1
View File
@@ -99,7 +99,7 @@ class thinkTableInput extends thinkQuestion
(!empty($inputType) && $inputType == '2') ? inputControl
(
input(set(array(
'class' => 'w-72 h-10 dimension-weight',
'class' => 'w-72 h-10 money-unit',
'name' => 'result[' . $index . ']',
'type' => 'number',
'value' => $value,