<import src="../common/templates/mode-title.swan" />
<view class="captcha-container">
    <custom chineseName="图形验证码" engName="captcha"></custom>
    <view class="content">
        <block s-for="{{list}}">
            <view class="mode-title-container first">
                <template is="mode-title" title="{{item.title}}"></template>
            </view>
            <view class="content-item">
                <smt-captcha
                    id="{{'smt-captcha-' + index}}"
                    verify-img-url="{{item.verifyImgUrl}}"
                    input-err-msg="{{item.inputErrMsg}}"
                    label-width="{{item.labelWidth}}"
                    placeholder="{{item.placeholder}}"
                    label="{{item.label}}"
                    border="{{false}}"
                    bindinput="bindInput"
                    data-info="{{index}}"
                    bindblur="blurHld"
                    bind:refreshimg="refreshImg"
                ></smt-captcha>
            </view>
        </block>
    </view>
    <!-- 解决ios 部分机型 margin-bottom 不管用的问题 -->
    <view class="grid-marign-bottom"></view>
</view>