index.wxml 1.1 KB
Newer Older
Z
zhuzhiyong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<view class="container">
    <block wx:if="{{ curCom!= 'dokit' }}">
        <debug wx:if="{{ curCom === 'debug' }}" bindtoggle="tooggleComponent"></debug>
        <appinformation wx:if="{{ curCom === 'appinformation' }}" bindtoggle="tooggleComponent"></appinformation>
        <positionsimulation wx:if="{{ curCom === 'positionsimulation' }}" bindtoggle="tooggleComponent"></positionsimulation>
        <storage wx:if="{{ curCom === 'storage' }}" bindtoggle="tooggleComponent"></storage>
        <h5door wx:if="{{ curCom === 'h5door' }}" bindtoggle="tooggleComponent"></h5door>
        <httpinjector wx:if="{{ curCom === 'httpinjector' }}" bindtoggle="tooggleComponent"></httpinjector>
        <apimock wx:if="{{ curCom === 'apimock' }}" bindtoggle="tooggleComponent" projectId="{{ projectId }}"></apimock>
    </block>
    <block wx:else>
        <cover-image
            bindtap="tooggleComponent"
            data-type="debug"
            class="dokit-entrance"
            src="//pt-starimg.didistatic.com/static/starimg/img/W8OeOO6Pue1561556055823.png"
        ></cover-image>
    </block>
</view>