diff --git a/App.vue b/App.vue index 6f25ffd..a0ab9b1 100644 --- a/App.vue +++ b/App.vue @@ -57,6 +57,18 @@ box-sizing: border-box; } + .te { + + width: 40vw; + /* 容器宽度 */ + white-space: nowrap; + /* 文字不换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + } + // .uni-tabbar .uni-tabbar__icon { // width: 80rpx !important; // height: 80rpx !important; diff --git a/components/plant/landInfo.vue b/components/plant/landInfo.vue index fd9cfed..d85401f 100644 --- a/components/plant/landInfo.vue +++ b/components/plant/landInfo.vue @@ -1,14 +1,56 @@