文件
css
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/layui.css"> js <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://unpkg.com/[email protected]/dist/layui.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/xm-select.js"></script> html <div class="layui-form"> <div class="layui-form-item"> <label class="layui-form-label">展示位置</label> <div class="layui-input-block"> <div id="demo1" style="width: 300px"></div> </div> </div> </div> 效果图如下标签:选项,多个,xm,layui,js,select From: https://www.cnblogs.com/yangcaicai/p/17717967.html