与后端适配
This commit is contained in:
1 parent
0c62d232b8
commit
f16d960ef8
3 files changed
+40
-22
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user