<block wx:if="{{verification}}">
    <van-field value="{{ password }}" type="password" placeholder="请输入管理密码" border="{{ false }}" bind:change="onInput" use-button-slot>
        <van-button slot="button" disabled='{{!password}}' size="small" type="primary" bindtap="enterInto">
            进入
        </van-button>
    </van-field>
</block>

<block wx:else>
    <view class="box">
        运行环境：{{runtimeEnvironment}}
    </view>

    <view class="box">
        服务地址：{{baseUrl}}
    </view>

    <view class="box group">
        切换服务地址
        <van-radio-group value="{{ baseUrl }}" bind:change="onChange">
            <van-radio custom-class='radio' wx:for="{{urls}}" wx:key="name" name="{{item.url}}">{{item.name}}:{{item.url}}</van-radio>
        </van-radio-group>
    </view>
</block>

<view class="accountno-box">
    <van-button type="info" wx:for="{{logins}}" custom-class='accountno' wx:key="accountno" data-item="{{item}}" bind:tap="quickLogin">{{item.baseUrl == 'https://oms.idcgroup.com.cn:8079'? '正':'测'}}-{{item.accountno}}</van-button>
</view>