工单只展示3个图片
This commit is contained in:
@@ -67,7 +67,9 @@
|
||||
<view class="inspection_items">
|
||||
<view class="label">巡检结果:</view>
|
||||
<view class="desction_value">
|
||||
<textarea class="my_textarea" disabled auto-height :value="ite.desition" />
|
||||
<view class="my_textarea">
|
||||
{{ ite.desition }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="inspection_items">
|
||||
@@ -275,6 +277,7 @@ function handlePrivew(lists, index) {
|
||||
overflow-y: auto; /* 超出滚动 */
|
||||
|
||||
.my_textarea {
|
||||
padding: 5rpx;
|
||||
min-height: 80rpx;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@@ -282,6 +285,7 @@ function handlePrivew(lists, index) {
|
||||
line-height: 36rpx;
|
||||
word-wrap: break-word; // 单词/中文自动换行
|
||||
word-break: break-all; // 长英文无空格强制截断换行
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user