与后端适配

This commit is contained in:
539943419 committed 2023-12-18 14:32:09 +08:00
1 parent 0c62d232b8
commit f16d960ef8
3 files changed
+40 -22

No files matched your search

+2 -2
View File
@@ -89,7 +89,7 @@
暂无数据
</view>
<view wx:for="{{n.extra}}" wx:for-item="item">
<view class="node_ex_content" style="background-color: {{ item.type=='unsafe'?'tomato':'springgreen' }};">{{item.name}}</view>
<view class="node_ex_content" style="background-color: {{ item.type=='unsafe'?'tomato':'springgreen' }}; {{ item.name.length > 7?'':'justify-content: center;' }};"><view>{{item.name}}</view></view>
</view>
</view>
</view>
@@ -231,7 +231,7 @@
暂无数据
</view>
<view wx:for="{{n.extra}}" wx:for-item="item">
<view class="node_ex_content" style="background-color: {{ item.type=='unsafe'?'tomato':'springgreen' }};">{{item.name}}</view>
<view class="node_ex_content" style="background-color: {{ item.type=='unsafe'?'tomato':'springgreen' }}; {{ item.name.length > 7?'':'justify-content: center;' }};"><view>{{item.name}}</view></view>
</view>
</view>
</view>