1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-28 01:52:01 +08:00
volcanos/client/mp/pages/active/active.wxml
2020-01-05 01:20:12 +08:00

9 lines
492 B
Plaintext

<view class="display">
<input class="detail" type="text" value="{{cmd}}" focus bindfocus="onFocus" bindinput="onInput" bindconfirm="onEnter" confirm-hold/>
<table wx:if="{{msg.append && msg.append[0]}}">
<tr><th wx:for="{{msg.append}}">{{item}}</th></tr>
<tr wx:for="{{msg[msg.append[0]]}}" wx:for-index="line"><td wx:for="{{msg.append}}">{{msg[item][line]}}</td></tr>
</table>
<view class="output"><text wx:for="{{msg.result}}">{{item}}</text></view>
</view>