<view class="debug-page">
    <van-cell-group custom-class="debug-wrapper">
        <van-cell
            title="打印图片Header设置111"
            size="large"
            custom-class="centered-title" />
        <van-radio-group
            value="{{printConfig.header}}"
            bind:change="onChangeHeader">
            <van-cell
                title="微信小程序头（wechat）"
                clickable
                data-name="wechat"
                bind:click="onClickHeaderSetting">
                <van-radio slot="right-icon" name="wechat" />
            </van-cell>
            <van-cell
                title="无Logo图片头（noLogo）"
                clickable
                data-name="noLogoImage"
                bind:click="onClickHeaderSetting">
                <van-radio slot="right-icon" name="noLogoImage" />
            </van-cell>
            <van-cell
                title="有Logo图片头（LogoImage）"
                clickable
                data-name="LogoImage"
                bind:click="onClickHeaderSetting">
                <van-radio slot="right-icon" name="LogoImage" />
            </van-cell>
            <van-cell
                title="最小Header头（minimal）（默认）"
                clickable
                data-name="minimal"
                bind:click="onClickHeaderSetting"
                border="{{ false }}">
                <van-radio slot="right-icon" name="minimal" />
            </van-cell>
        </van-radio-group>
        <van-field
            label="appName"
            value=""
            placeholder="{{printConfig.appName}}"
            bind:change="onAppNameChange" />
    </van-cell-group>

    <van-cell-group custom-class="debug-wrapper">
        <van-cell
            title="debug调整"
            size="large"
            custom-class="centered-title" />
        <van-cell
            custom-class="debug-cell"
            title="真机调试线上包"
            clickable
            data-name="enableDebug"
            border="{{ false }}"
            bind:click="toggleDebug">
            <van-switch
                slot="right-icon"
                name="enableDebug"
                checked="{{enableDebug}}" />
        </van-cell>
    </van-cell-group>

    <view class="btn-area">
        <toy-button type="green" bind:click="onConfirm" width="360rpx">
            确定
        </toy-button>
    </view>

    <van-cell-group custom-class="debug-wrapper">
        <van-cell
            title="测试页面入口"
            size="large"
            custom-class="centered-title" />
    </van-cell-group>
</view>
