<commit_before>---
layout: demo
title: router SUI Mobile Demo
---

<div class="page page-current" id='routers-index'>
    <header class="bar bar-nav">
        <a class="button button-link button-nav pull-left back">
            <span class="icon icon-left"></span>
            返回
        </a>
        <h1 class="title">路由 Demo 页面 A</h1>
    </header>
    <div class="content">
        <div class="content-padded">
            <ul>
                <li>
                    <a href="/demos/routers/step2/">路由 Demo 页面 B</a>
                </li>
                <li>
                    <a href="#routers-index-inner-1">页面 A 内联 page 1</a>
                </li>
            </ul>
        </div>

        <div class="content-block-title">使用了自定义过滤器，下面链接不会使用路由功能</div>
        <div class="content-padded disable-router">
            <ul>
                <li>
                    <a href="/demos/routers/step2/">路由 Demo 页面 B</a>
                </li>
                <li>
                    <a href="/demos/">Demo 首页</a>
                </li>
            </ul>
        </div>
    </div>
</div>


<div class="page" id="routers-index-inner-1">
    <p>页面 A 内联 page 1</p>
    <p>
        <a href="#routers-index-inner-2">页面 A 内联 page 2</a>
    </p>
</div>
<commit_msg>给 demo 添加点击链接就是当前页面的示例<commit_after>---
layout: demo
title: router SUI Mobile Demo
---

<div class="page page-current" id='routers-index'>
    <header class="bar bar-nav">
        <a class="button button-link button-nav pull-left back">
            <span class="icon icon-left"></span>
            返回
        </a>
        <h1 class="title">路由 Demo 页面 A</h1>
    </header>
    <div class="content">
        <div class="content-padded">
            <ul>
                <li>
                    <a href="/demos/routers/step2/">路由 Demo 页面 B</a>
                </li>
                <li>
                    <a href="#routers-index-inner-1">页面 A 内联 page 1</a>
                </li>
                <li>
                    <a href="/demos/routers/">当前页面（不做任何处理）</a>
                </li>
            </ul>
        </div>

        <div class="content-block-title">使用了自定义过滤器，下面链接不会使用路由功能</div>
        <div class="content-padded disable-router">
            <ul>
                <li>
                    <a href="/demos/routers/step2/">路由 Demo 页面 B</a>
                </li>
                <li>
                    <a href="/demos/">Demo 首页</a>
                </li>
            </ul>
        </div>
    </div>
</div>


<div class="page" id="routers-index-inner-1">
    <p>页面 A 内联 page 1</p>
    <p>
        <a href="#routers-index-inner-2">页面 A 内联 page 2</a>
    </p>
</div>

{'fraction_non_alphanumeric': 0.16736401673640167, 'fraction_numerical': 0.007607455306200076, 'mean_word_length': 1.3070175438596492, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '335063', 'n_tokens_mistral': 977, 'n_tokens_neox': 969, 'n_words': 192}