zoukankan      html  css  js  c++  java
  • 团队开发day07

    今日将测试的存储图片的代码植入了框架代码中,添加了各种商品的信息框

    <form  action="TagUserServlet?method=addGoods" method="post" enctype="multipart/form-data">
                <div class="layui-form-item">
                    <label class="layui-form-label">商家名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="tagname" id="tagname" lay-verify="title" autocomplete="off" placeholder="请输入商家名称" class="layui-input" >
                    </div>
                </div>
                
                <div class="layui-form-item">
                    <label class="layui-form-label">商品名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" lay-verify="title" autocomplete="off" placeholder="请输入商品名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品照片</label>
                    <div class="layui-input-block">
                        <input type="file" name="uploadFile" >
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">定价:</label>
                        <div class="layui-input-inline" style=" 100px;">
                            <input type="text" name="price" placeholder="" autocomplete="off" class="layui-input">
                        </div>
                       
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">库存数量</label>
                    <div class="layui-input-block">
                        <input type="text" name="num" lay-verify="title" autocomplete="off" placeholder="请输入货物库存数量" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">货物类别</label>
                    <div class="layui-input-block">
                        <select name="category" lay-filter="aihao">
                            <option value="">#</option>
                            <option value="0">0</option>
                            <option value="1" selected="">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">发布日期</label>
                        <div class="layui-input-inline">
                            <input type="text" name="date" id="date" lay-verify="date" placeholder="2021-05-05" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>           
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">商品其他说明</label>
                    <div class="layui-input-block">
                        <textarea name="context" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div>
                <!--<div class="layui-form-item layui-form-text">
                  <label class="layui-form-label">编辑器</label>
                  <div class="layui-input-block">
                    <textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="LAY_demo_editor"></textarea>
                  </div>
                </div>-->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="formsub" >提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
  • 相关阅读:
    JVM描述符标识字符含义
    finally代码块的执行
    职业发展心之某日与领导的聊天
    springboot由于bean加载顺序导致的问题
    springboot自动配置国际化失效分析
    springboot 2.1.3.RELEASE添加filter,servlet源码学习
    jquery 数组添加不重复数据
    Oracle执行存储过程报错——ora-01031:权限不足
    oracle 存储过程使用动态sql
    将jsp页面的<s:iterator>的数据返回到action
  • 原文地址:https://www.cnblogs.com/cdl-sunshine/p/14904827.html
Copyright © 2011-2022 走看看