店铺详情页功能

This commit is contained in:
ly19960718 2021-04-01 17:59:23 +08:00
parent a0692662b8
commit 99424fb80a
2 changed files with 9 additions and 6 deletions

View File

@ -33,10 +33,13 @@
</div>
<table class="layui-hide" id="dataTable" lay-filter="dataTable"></table>
<script type="text/html" id="barDemo">
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="show">详情</a>
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="staff">人员</a>
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="position">职位</a>
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="member">会员</a>
<div class="layui-btn-group">
<button type="button" class="layui-btn" lay-event="show">详情</button>
<button type="button" class="layui-btn" lay-event="staff">人员</button>
<button type="button" class="layui-btn" lay-event="position">职位</button>
<button type="button" class="layui-btn" lay-event="member">会员</button>
</div>
</script>
</div>
@ -80,7 +83,7 @@
[
{type:'checkbox', fixed: 'left'},
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
{field:'cz', width:220, title: '操作', align:'center', toolbar: '#barDemo'},
{field:'cz', width:220, title: '操作', align:'center', toolbar: '#barDemo', fixed: 'right'},
{field: 'shopLogo', width: 180, title: '店铺LOGO', align:'center',
templet: function(row) {
var rowData = row[this.field];

View File

@ -22,7 +22,7 @@
</div>
<div class="layui-card-body" style="padding: 15px;">
<form class="layui-form layui-form-pane" lay-filter="dataForm">
<div class="layui-form-item">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">店铺LOGO</label>
<div class="layui-input-block" id="logview">
<input type="hidden" id="shopLogo" name="shopLogo">