<template>
  <div>
    <div id="wrapper" class="am-text-sm">
      <!-- content start -->
      <div class="am-padding-xs am-padding-top-0">
        <div class="am-panel am-panel-default">
          <div class="am-panel-bd">
            <div class="am-cf">
              <div class="am-fl am-cf">
                <strong class="am-text-primary am-text-lg"
                  ><a href="/?g=Ticket&amp;m=Phrase&amp;a=index">回复短语</a>
                </strong>
                /
                <small>列表</small>
              </div>
            </div>

            <div class="am-g am-margin-bottom-xs am-g-collapse">
              <div class="am-u-sm-12 am-u-md-6 am-padding-top-xs">
                <div class="am-btn-toolbar">
                  <div class="am-btn-group am-btn-group-xs">
                    <a
                      href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                      class="am-btn am-btn-default am-radius"
                      ><span class="am-icon-plus"></span> 新增</a
                    >
                  </div>
                </div>
              </div>

              <div class="am-u-sm-12 am-u-md-3">
                <form>
                  <div class="am-input-group am-input-group-sm">
                    <input type="hidden" name="g" value="Ticket" />
                    <input type="hidden" name="m" value="Phrase" />
                    <input type="hidden" name="a" value="index" />
                    <input
                      type="text"
                      name="keyword"
                      placeholder="查找内容"
                      value=""
                      class="am-form-field am-radius"
                    />
                    <span class="am-input-group-btn">
                      <input
                        class="am-btn am-btn-default am-radius"
                        type="submit"
                        value="搜索"
                      />
                    </span>
                  </div>
                </form>
              </div>
            </div>
            <hr
              data-am-widget="divider"
              style=""
              class="am-divider am-divider-dashed am-no-layout"
            />

            <form
              class="am-form ajax-submit"
              action="/?g=Ticket&amp;m=Phrase&amp;a=listsort"
              method="POST"
            >
              <input type="hidden" name="method" value="PUT" />
              <table
                class="
                  am-table
                  am-table-bordered
                  am-table-striped
                  am-table-hover
                  am-text-sm
                "
              >
                <tbody>
                  <tr>
                    <th><input type="checkbox" class="checkbox-all" /></th>
                    <th class="table-sort">排序</th>
                    <th class="table-set">ID</th>
                    <th class="table-title">短语名称</th>
                    <th class="table-set">操作</th>
                  </tr>
                  <tr>
                    <td class="am-text-middle">
                      <input
                        type="checkbox"
                        class="checkbox-all-children"
                        name="id[5]"
                        value="5"
                      />
                    </td>
                    <td class="am-text-middle">
                      <input
                        type="text"
                        class="am-input-sm"
                        name="id[5]"
                        value="0"
                      />
                    </td>
                    <td class="am-text-middle">5</td>
                    <td class="am-text-middle">测试</td>

                    <td class="am-text-middle">
                      <a
                        class="am-text-secondary"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=5&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-pencil-square-o"></span> 编辑</a
                      >

                      <i class="am-margin-left-xs am-margin-right-xs">|</i>
                      <a
                        class="am-text-danger ajax-click ajax-dialog"
                        msg="确定删除吗？将无法恢复的！"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=5&amp;method=DELETE&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-trash-o"></span> 删除</a
                      >
                    </td>
                  </tr>
                  <tr>
                    <td class="am-text-middle">
                      <input
                        type="checkbox"
                        class="checkbox-all-children"
                        name="id[4]"
                        value="4"
                      />
                    </td>
                    <td class="am-text-middle">
                      <input
                        type="text"
                        class="am-input-sm"
                        name="id[4]"
                        value="0"
                      />
                    </td>
                    <td class="am-text-middle">4</td>
                    <td class="am-text-middle">
                      天文学家认为木星形成的位置离太阳很远
                      之后才迁移到现在的轨道
                    </td>

                    <td class="am-text-middle">
                      <a
                        class="am-text-secondary"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=4&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-pencil-square-o"></span> 编辑</a
                      >

                      <i class="am-margin-left-xs am-margin-right-xs">|</i>
                      <a
                        class="am-text-danger ajax-click ajax-dialog"
                        msg="确定删除吗？将无法恢复的！"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=4&amp;method=DELETE&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-trash-o"></span> 删除</a
                      >
                    </td>
                  </tr>
                  <tr>
                    <td class="am-text-middle">
                      <input
                        type="checkbox"
                        class="checkbox-all-children"
                        name="id[1]"
                        value="1"
                      />
                    </td>
                    <td class="am-text-middle">
                      <input
                        type="text"
                        class="am-input-sm"
                        name="id[1]"
                        value="0"
                      />
                    </td>
                    <td class="am-text-middle">1</td>
                    <td class="am-text-middle">
                      “火星2020”探测器完成第一轮“恐怖7分钟”模拟测试
                    </td>

                    <td class="am-text-middle">
                      <a
                        class="am-text-secondary"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=1&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-pencil-square-o"></span> 编辑</a
                      >

                      <i class="am-margin-left-xs am-margin-right-xs">|</i>
                      <a
                        class="am-text-danger ajax-click ajax-dialog"
                        msg="确定删除吗？将无法恢复的！"
                        href="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;id=1&amp;method=DELETE&amp;back_url=Lz9nPVRpY2tldCZtPVBocmFzZSZhPWluZGV4"
                        ><span class="am-icon-trash-o"></span> 删除</a
                      >
                    </td>
                  </tr>
                </tbody>
              </table>

              <div class="am-g am-g-collapse">
                <div class="am-u-sm-12 am-u-lg-6">
                  <button
                    type="submit"
                    class="am-btn am-btn-primary am-btn-xs am-radius"
                  >
                    排序
                  </button>
                  <button
                    type="button"
                    class="
                      am-btn am-btn-danger am-btn-xs am-radius
                      delete-batch
                    "
                    data="/?g=Ticket&amp;m=Phrase&amp;a=action&amp;method=DELETE"
                  >
                    删除
                  </button>
                </div>
                <div class="am-u-sm-12 am-u-lg-6">
                  <ul
                    class="
                      am-pagination am-pagination-right am-text-sm am-margin-0
                    "
                  >
                    <li><a>总计<b>3</b>个记录</a></li>
                    <li class="am-active"><a href="javascript:;">1</a></li>
                  </ul>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
      <!-- content end -->
    </div>
  </div>
</template>

<script>
export default {
  name: "home",
  props: {
    msg: String,
  },
};
</script>

<style scoped>
</style>
