修改巡检记录中巡检项目过长
This commit is contained in:
@@ -67,7 +67,6 @@
|
||||
</view>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
//// http://localhost:5173/#/pageSubPack/inspection/inspection_record
|
||||
import TabsComponents from '@/components/tabs/tabs.vue'
|
||||
import navBar from '@/components/navbar/navbar.vue'
|
||||
import { computed, ref } from 'vue'
|
||||
@@ -314,21 +313,21 @@ const navBack = () => {
|
||||
.items {
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
.item {
|
||||
padding: 0 10rpx;
|
||||
height: 42rpx;
|
||||
min-height: 42rpx;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
border: 1rpx solid #4d5dfa;
|
||||
|
||||
text-align: left;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #4d5dfa;
|
||||
text-align: center;
|
||||
line-height: 42rpx;
|
||||
margin-right: 20rpx;
|
||||
margin-bottom: 10rpx;
|
||||
word-wrap: break-word; // 单词/中文自动换行
|
||||
word-break: break-all; // 长英文无空格强制截断换行
|
||||
line-height: 1.4; // 多行文字行间距
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user