// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`should render demo and match snapshot 1`] = `
<main>
  <demo-block>
    <wx-view
      class="custom-class demo-block van-clearfix "
    >
      <wx-view
        class="demo-block__title"
      >
        基础用法
      </wx-view>
      <van-field
        data-state-key="baseState"
        bind:tap="onClick"
      >
        <van-cell
          customClass="custom-class van-field"
        >
          <wx-view
            class="custom-class van-cell van-cell--clickable"
            hoverClass="van-cell--hover hover-class"
            hoverStayTime="70"
            style=""
            bind:tap="onClick"
          >
            <wx-view
              class="van-cell__title title-class"
              style="max-width:6.2em;min-width:6.2em;margin-right: 12px;"
            >
              <wx-label
                class="label-class van-field__label"
                for=""
                slot="title"
              >
                
    地区
  
              </wx-label>
            </wx-view>
            <wx-view
              class="van-cell__value value-class"
            >
              <wx-view
                class="van-field__body van-field__body--text"
              >
                <wx-view
                  class="van-field__control van-field__control--custom"
                  bind:tap="onClickInput"
                />
                <wx-input
                  adjustPosition="{{true}}"
                  alwaysEmbed="{{false}}"
                  autoFocus="{{false}}"
                  class="van-field__control input-class"
                  confirmHold="{{false}}"
                  confirmType=""
                  cursor="{{-1}}"
                  cursorSpacing="{{50}}"
                  disabled="{{true}}"
                  focus="{{false}}"
                  holdKeyboard="{{false}}"
                  id=""
                  maxlength="{{-1}}"
                  password="{{false}}"
                  placeholder="请选择地区"
                  placeholderClass="van-field__placeholder"
                  placeholderStyle=""
                  selectionEnd="{{-1}}"
                  selectionStart="{{-1}}"
                  type="text"
                  value=""
                  bind:blur="onBlur"
                  bind:confirm="onConfirm"
                  bind:focus="onFocus"
                  bind:input="onInput"
                  bind:keyboardheightchange="onKeyboardHeightChange"
                  bind:tap="onClickInput"
                />
                <wx-view
                  class="van-field__icon-container"
                  bind:tap="onClickIcon"
                />
                <wx-view
                  class="van-field__button"
                />
              </wx-view>
            </wx-view>
            <van-icon
              class="van-cell__right-icon-wrap right-icon-class"
              customClass="van-cell__right-icon"
            >
              <wx-view
                class="custom-class van-icon van-icon-arrow"
                style=""
                bind:tap="onClick"
              />
            </van-icon>
          </wx-view>
        </van-cell>
      </van-field>
      <van-popup>
        <van-overlay
          bind:click="onClickOverlay"
        >
          <van-transition
            customClass="van-overlay custom-class"
            bind:tap="onClick"
            catch:touchmove="noop"
          />
        </van-overlay>
      </van-popup>
    </wx-view>
  </demo-block>
  <demo-block>
    <wx-view
      class="custom-class demo-block van-clearfix "
    >
      <wx-view
        class="demo-block__title"
      >
        自定义颜色
      </wx-view>
      <van-field
        data-state-key="customColorState"
        bind:tap="onClick"
      >
        <van-cell
          customClass="custom-class van-field"
        >
          <wx-view
            class="custom-class van-cell van-cell--clickable"
            hoverClass="van-cell--hover hover-class"
            hoverStayTime="70"
            style=""
            bind:tap="onClick"
          >
            <wx-view
              class="van-cell__title title-class"
              style="max-width:6.2em;min-width:6.2em;margin-right: 12px;"
            >
              <wx-label
                class="label-class van-field__label"
                for=""
                slot="title"
              >
                
    地区
  
              </wx-label>
            </wx-view>
            <wx-view
              class="van-cell__value value-class"
            >
              <wx-view
                class="van-field__body van-field__body--text"
              >
                <wx-view
                  class="van-field__control van-field__control--custom"
                  bind:tap="onClickInput"
                />
                <wx-input
                  adjustPosition="{{true}}"
                  alwaysEmbed="{{false}}"
                  autoFocus="{{false}}"
                  class="van-field__control input-class"
                  confirmHold="{{false}}"
                  confirmType=""
                  cursor="{{-1}}"
                  cursorSpacing="{{50}}"
                  disabled="{{true}}"
                  focus="{{false}}"
                  holdKeyboard="{{false}}"
                  id=""
                  maxlength="{{-1}}"
                  password="{{false}}"
                  placeholder="请选择地区"
                  placeholderClass="van-field__placeholder"
                  placeholderStyle=""
                  selectionEnd="{{-1}}"
                  selectionStart="{{-1}}"
                  type="text"
                  value=""
                  bind:blur="onBlur"
                  bind:confirm="onConfirm"
                  bind:focus="onFocus"
                  bind:input="onInput"
                  bind:keyboardheightchange="onKeyboardHeightChange"
                  bind:tap="onClickInput"
                />
                <wx-view
                  class="van-field__icon-container"
                  bind:tap="onClickIcon"
                />
                <wx-view
                  class="van-field__button"
                />
              </wx-view>
            </wx-view>
            <van-icon
              class="van-cell__right-icon-wrap right-icon-class"
              customClass="van-cell__right-icon"
            >
              <wx-view
                class="custom-class van-icon van-icon-arrow"
                style=""
                bind:tap="onClick"
              />
            </van-icon>
          </wx-view>
        </van-cell>
      </van-field>
      <van-popup>
        <van-overlay
          bind:click="onClickOverlay"
        >
          <van-transition
            customClass="van-overlay custom-class"
            bind:tap="onClick"
            catch:touchmove="noop"
          />
        </van-overlay>
      </van-popup>
    </wx-view>
  </demo-block>
  <demo-block>
    <wx-view
      class="custom-class demo-block van-clearfix "
    >
      <wx-view
        class="demo-block__title"
      >
        异步加载选项
      </wx-view>
      <van-field
        data-state-key="asyncState"
        bind:tap="onClick"
      >
        <van-cell
          customClass="custom-class van-field"
        >
          <wx-view
            class="custom-class van-cell van-cell--clickable"
            hoverClass="van-cell--hover hover-class"
            hoverStayTime="70"
            style=""
            bind:tap="onClick"
          >
            <wx-view
              class="van-cell__title title-class"
              style="max-width:6.2em;min-width:6.2em;margin-right: 12px;"
            >
              <wx-label
                class="label-class van-field__label"
                for=""
                slot="title"
              >
                
    地区
  
              </wx-label>
            </wx-view>
            <wx-view
              class="van-cell__value value-class"
            >
              <wx-view
                class="van-field__body van-field__body--text"
              >
                <wx-view
                  class="van-field__control van-field__control--custom"
                  bind:tap="onClickInput"
                />
                <wx-input
                  adjustPosition="{{true}}"
                  alwaysEmbed="{{false}}"
                  autoFocus="{{false}}"
                  class="van-field__control input-class"
                  confirmHold="{{false}}"
                  confirmType=""
                  cursor="{{-1}}"
                  cursorSpacing="{{50}}"
                  disabled="{{true}}"
                  focus="{{false}}"
                  holdKeyboard="{{false}}"
                  id=""
                  maxlength="{{-1}}"
                  password="{{false}}"
                  placeholder="请选择地区"
                  placeholderClass="van-field__placeholder"
                  placeholderStyle=""
                  selectionEnd="{{-1}}"
                  selectionStart="{{-1}}"
                  type="text"
                  value=""
                  bind:blur="onBlur"
                  bind:confirm="onConfirm"
                  bind:focus="onFocus"
                  bind:input="onInput"
                  bind:keyboardheightchange="onKeyboardHeightChange"
                  bind:tap="onClickInput"
                />
                <wx-view
                  class="van-field__icon-container"
                  bind:tap="onClickIcon"
                />
                <wx-view
                  class="van-field__button"
                />
              </wx-view>
            </wx-view>
            <van-icon
              class="van-cell__right-icon-wrap right-icon-class"
              customClass="van-cell__right-icon"
            >
              <wx-view
                class="custom-class van-icon van-icon-arrow"
                style=""
                bind:tap="onClick"
              />
            </van-icon>
          </wx-view>
        </van-cell>
      </van-field>
      <van-popup>
        <van-overlay
          bind:click="onClickOverlay"
        >
          <van-transition
            customClass="van-overlay custom-class"
            bind:tap="onClick"
            catch:touchmove="noop"
          />
        </van-overlay>
      </van-popup>
    </wx-view>
  </demo-block>
  <demo-block>
    <wx-view
      class="custom-class demo-block van-clearfix "
    >
      <wx-view
        class="demo-block__title"
      >
        自定义字段名
      </wx-view>
      <van-field
        data-state-key="customFieldState"
        bind:tap="onClick"
      >
        <van-cell
          customClass="custom-class van-field"
        >
          <wx-view
            class="custom-class van-cell van-cell--clickable"
            hoverClass="van-cell--hover hover-class"
            hoverStayTime="70"
            style=""
            bind:tap="onClick"
          >
            <wx-view
              class="van-cell__title title-class"
              style="max-width:6.2em;min-width:6.2em;margin-right: 12px;"
            >
              <wx-label
                class="label-class van-field__label"
                for=""
                slot="title"
              >
                
    地区
  
              </wx-label>
            </wx-view>
            <wx-view
              class="van-cell__value value-class"
            >
              <wx-view
                class="van-field__body van-field__body--text"
              >
                <wx-view
                  class="van-field__control van-field__control--custom"
                  bind:tap="onClickInput"
                />
                <wx-input
                  adjustPosition="{{true}}"
                  alwaysEmbed="{{false}}"
                  autoFocus="{{false}}"
                  class="van-field__control input-class"
                  confirmHold="{{false}}"
                  confirmType=""
                  cursor="{{-1}}"
                  cursorSpacing="{{50}}"
                  disabled="{{true}}"
                  focus="{{false}}"
                  holdKeyboard="{{false}}"
                  id=""
                  maxlength="{{-1}}"
                  password="{{false}}"
                  placeholder="请选择地区"
                  placeholderClass="van-field__placeholder"
                  placeholderStyle=""
                  selectionEnd="{{-1}}"
                  selectionStart="{{-1}}"
                  type="text"
                  value=""
                  bind:blur="onBlur"
                  bind:confirm="onConfirm"
                  bind:focus="onFocus"
                  bind:input="onInput"
                  bind:keyboardheightchange="onKeyboardHeightChange"
                  bind:tap="onClickInput"
                />
                <wx-view
                  class="van-field__icon-container"
                  bind:tap="onClickIcon"
                />
                <wx-view
                  class="van-field__button"
                />
              </wx-view>
            </wx-view>
            <van-icon
              class="van-cell__right-icon-wrap right-icon-class"
              customClass="van-cell__right-icon"
            >
              <wx-view
                class="custom-class van-icon van-icon-arrow"
                style=""
                bind:tap="onClick"
              />
            </van-icon>
          </wx-view>
        </van-cell>
      </van-field>
      <van-popup>
        <van-overlay
          bind:click="onClickOverlay"
        >
          <van-transition
            customClass="van-overlay custom-class"
            bind:tap="onClick"
            catch:touchmove="noop"
          />
        </van-overlay>
      </van-popup>
    </wx-view>
  </demo-block>
</main>
`;
