<div id="spec">
<div class="layui-form-item">
<label class="layui-form-label"><span class="x-red">*</span>商品规格</label>
<div class="layui-inline layui-show-xs-block specname " >
<input type="text" name="spec[name][]" placeholder="请输入规格名称" lay-verify="required" autocomplete="off" class="layui-input" value="">
</div>
<div class="layui-inline ">
<input type="text" name="spec[price][]" placeholder="请输入该规格价钱" lay-verify="required" autocomplete="off" class="layui-input">
</div>
<div class
layui动态增删商品规格(包含图片上传)
最新推荐文章于 2023-01-26 08:40:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)