[更新]统一禁止表单自动提示

This commit is contained in:
Anyon 2018-05-29 16:22:58 +08:00
parent 8467444572
commit 197028c9b6
27 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">权限名称</label>

View File

@ -11,7 +11,7 @@
{/block}
{block name="content"}
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
<!--{if empty($list)}-->
<p class="help-block text-center well"> 哦!</p>
<!--{else}-->

View File

@ -1,7 +1,7 @@
{extend name="admin@public/content"}
{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<form autocomplete="off" onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<div class="form-group">
<label class="col-sm-2 control-label label-required">

View File

@ -1,7 +1,7 @@
{extend name="admin@public/content"}
{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<form autocomplete="off" onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<div class="form-group">
<label class="col-sm-2 control-label">

View File

@ -9,7 +9,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">操作账号</label>

View File

@ -29,7 +29,7 @@
<!-- 页面表单主体 开始 -->
<div class="container">
<form onsubmit="return false;" data-time="0.001" data-auto="true" method="post" class="content layui-form animated fadeInDown">
<form autocomplete="off" onsubmit="return false;" data-time="0.001" data-auto="true" method="post" class="content layui-form animated fadeInDown">
<div class="people">
<div class="tou"></div>
<div id="left-hander" class="initial_left_hand transition"></div>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">上级菜单</label>

View File

@ -10,7 +10,7 @@
{/block}
{block name="content"}
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
<!--{empty name='list'}-->
<p class="help-block text-center well"> 哦!</p>
<!--{else}-->

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -13,7 +13,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">用户账号</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">快递公司名称</label>

View File

@ -15,7 +15,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">快递公司</label>
@ -50,7 +50,7 @@
</script>
<!-- 表单搜索 结束 -->
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
<input type="hidden" value="resort" name="action"/>
{if empty($list)}
<p class="help-block text-center well"> 哦!</p>

View File

@ -1,7 +1,7 @@
{extend name='admin@public/content'}
{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" id="ProductForm" class='form-horizontal layui-form padding-top-20'>
<form autocomplete="off" onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" id="ProductForm" class='form-horizontal layui-form padding-top-20'>
<!--{if !empty($brands)}-->
<div class="form-group">

View File

@ -23,7 +23,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">商品名称</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">商品名称</label>

View File

@ -1,7 +1,7 @@
{extend name='admin@public/content'}
{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<form autocomplete="off" onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<div class="form-group">
<label class="col-sm-2 control-label">品牌名称</label>

View File

@ -15,7 +15,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">品牌名称</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">商品主分类</label>

View File

@ -10,7 +10,7 @@
{/block}
{block name="content"}
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
<!--{if empty($list)}-->
<p class="help-block text-center well"> 哦!</p>
<!--{else}-->

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' method="post" id="spec-form">
<form autocomplete="off" class="layui-form layui-box" style='padding:25px 30px 20px 0' method="post" id="spec-form">
<div class="layui-form-item">
<label class="layui-form-label">规格名称</label>

View File

@ -15,7 +15,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">规格分组</label>
@ -43,7 +43,7 @@
</script>
<!-- 表单搜索 结束 -->
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
{if empty($list)}
<p class="help-block text-center well"> 哦!</p>
{else}

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:request()->url()}" data-auto="true" method="post">
<form autocomplete="off" class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:request()->url()}" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">收货人姓名</label>

View File

@ -2,7 +2,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label">会员手机</label>
@ -175,7 +175,7 @@
</script>
<!-- 表单搜索 结束 -->
<form onsubmit="return false;" data-auto="true" method="post">
<form autocomplete="off" onsubmit="return false;" data-auto="true" method="post">
{if empty($list)}
<p class="help-block text-center well"> 哦!</p>
{else}

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
@ -42,28 +42,28 @@
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
<div class="layui-input-inline">
<input name="country" autocomplete="off" value="{$Think.get.country|default=''}" placeholder="请输入国家" class="layui-input">
<input name="country" value="{$Think.get.country|default=''}" placeholder="请输入国家" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
<div class="layui-input-inline">
<input name="province" autocomplete="off" value="{$Think.get.province|default=''}" placeholder="请输入省份" class="layui-input">
<input name="province" value="{$Think.get.province|default=''}" placeholder="请输入省份" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
<div class="layui-input-inline">
<input name="city" autocomplete="off" value="{$Think.get.city|default=''}" placeholder="请输入城市" class="layui-input">
<input name="city" value="{$Think.get.city|default=''}" placeholder="请输入城市" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
<div class="layui-input-inline">
<input name="create_at" autocomplete="off" id='create_at' value="{$Think.get.create_at|default=''}" placeholder="关注时间" class="layui-input">
<input name="create_at" id='create_at' value="{$Think.get.create_at|default=''}" placeholder="关注时间" class="layui-input">
</div>
</div>

View File

@ -18,7 +18,7 @@
{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<form autocomplete="off" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">
<div class="layui-form-item layui-inline">
<label class="layui-form-label"> </label>
<div class="layui-input-inline">