Commit 0f2a72b9 by 胡悦

修改样式

1 parent cab70ada
......@@ -11,6 +11,7 @@ html, body {
flex-direction: column;
height: 100%;
background-color: #F4F5FA;
padding: 0 20px 20px 40px;
}
header {
......@@ -99,12 +100,16 @@ main {
/* -ms-scroll-chaining: chained;
-ms-overflow-style: none; */
}
.context-block {
height: 100%;
}
.search-block {
/* padding: 8px 20px; */
position: relative;
background-color: #fff;
/* margin: 8px 20px 0; */
padding: 0 20px 0;
height: 100%;
}
main .table-page{
/* background-color: #ffffff; */
......
......@@ -324,7 +324,8 @@
// 创建角色
$('#addRole').on('click', function () {
go('role', 'add', null, true)
// go('role', 'add', null, true)
$messenger.emit('route-to', { path: '/settings/role/add'})
})
// 提交表单
......
......@@ -185,6 +185,9 @@
.layuui-radio span {
line-height: 28px;
}
#basicForm {
margin-bottom: 50px;
}
</style>
<title>商户编辑</title>
</head>
......@@ -217,11 +220,11 @@
<div class="layui-form-item">
<label class="layui-form-label required">选择开通模式:</label>
<div class="layuui-radio">
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="男" title="单店企微版" />
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="2" title="单店企微版" />
<span>(一个门店一个企微账户授权)</span>
</div>
<div class="layuui-radio">
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="女" title="集团企微版" />
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="1" title="集团企微版" />
<span>(集团多个企微共用一个企微账户授权)</span>
</div>
</div>
......@@ -342,7 +345,7 @@
<label class="layui-form-label">主营品牌:</label>
<div class="layui-input-inline">
<input class="layui-input" placeholder="车型品牌" id="brand" />
<div id="carBrandTree" style="width: 300px; height: 200px; overflow-y: scroll"></div>
<div id="carBrandTree" style="height: 200px; overflow-y: scroll"></div>
</div>
</div>
</div>
......@@ -872,7 +875,7 @@
merchantForm.lat = res.lat
merchantForm.lng = res.lng
merchantForm.merchantAddress = res.merchantAddress
$('#addrEl').text(merchantForm.merchantAddress)
$('#addrEl').val(merchantForm.merchantAddress)
layer.close(index)
} else {
layer.msg('请选择地址', {
......
......@@ -164,6 +164,9 @@
.layuui-radio span {
line-height: 28px;
}
#basicForm {
margin-bottom: 50px;
}
</style>
<title>商户编辑</title>
</head>
......@@ -267,11 +270,11 @@
<div class="layui-form-item">
<label class="layui-form-label required">选择开通模式:</label>
<div class="layuui-radio">
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="男" title="单店企微版" />
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="2" title="单店企微版" />
<span>(一个门店一个企微账户授权)</span>
</div>
<div class="layuui-radio">
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="女" title="集团企微版" />
<input type="radio" name="merchantModel" required lay-verify="otherReq" value="1" title="集团企微版" />
<span>(集团多个企微共用一个企微账户授权)</span>
</div>
</div>
......@@ -385,7 +388,7 @@
<label class="layui-form-label">主营品牌:</label>
<div class="layui-input-inline">
<input class="layui-input" placeholder="车型品牌" id="brand" />
<div id="carBrandTree" style="width: 310px; height: 200px; overflow-y: scroll;"></div>
<div id="carBrandTree" style="height: 200px; overflow-y: scroll;"></div>
</div>
</div>
</div>
......@@ -798,7 +801,7 @@
merchantForm.lat = res.lat
merchantForm.lng = res.lng
merchantForm.merchantAddress = res.merchantAddress
$('#addrEl').text(merchantForm.merchantAddress)
$('#addrEl').val(merchantForm.merchantAddress)
layer.close(index)
} else {
layer.msg('请选择地址', {
......
......@@ -548,7 +548,7 @@
})
$('#relevancyBtn').on('click', function() {
$messenger.emit('route-to', { path: '/settings/baseInfo/relevance', params: { a: 111 } })
$messenger.emit('route-to', { path: '/settings/baseInfo/relevance'})
})
// 搜索绑定事件
form.on('submit(searchSubmit)', function() {
......
......@@ -13,7 +13,7 @@ layui.define(['sha1', 'md5', 'helper'], function (exports) {
var md5 = layui.md5
var helper = layui.helper
var store = helper.store
var loading = null
// var loading = null
// var common = {
// secret: '',
// baseURL: 'http://192.168.2.222/router',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!