Commit 0f2a72b9 by 胡悦

修改样式

1 parent cab70ada
...@@ -11,6 +11,7 @@ html, body { ...@@ -11,6 +11,7 @@ html, body {
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
background-color: #F4F5FA; background-color: #F4F5FA;
padding: 0 20px 20px 40px;
} }
header { header {
...@@ -99,12 +100,16 @@ main { ...@@ -99,12 +100,16 @@ main {
/* -ms-scroll-chaining: chained; /* -ms-scroll-chaining: chained;
-ms-overflow-style: none; */ -ms-overflow-style: none; */
} }
.context-block {
height: 100%;
}
.search-block { .search-block {
/* padding: 8px 20px; */ /* padding: 8px 20px; */
position: relative; position: relative;
background-color: #fff; background-color: #fff;
/* margin: 8px 20px 0; */ /* margin: 8px 20px 0; */
padding: 0 20px 0; padding: 0 20px 0;
height: 100%;
} }
main .table-page{ main .table-page{
/* background-color: #ffffff; */ /* background-color: #ffffff; */
......
...@@ -324,7 +324,8 @@ ...@@ -324,7 +324,8 @@
// 创建角色 // 创建角色
$('#addRole').on('click', function () { $('#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 @@ ...@@ -185,6 +185,9 @@
.layuui-radio span { .layuui-radio span {
line-height: 28px; line-height: 28px;
} }
#basicForm {
margin-bottom: 50px;
}
</style> </style>
<title>商户编辑</title> <title>商户编辑</title>
</head> </head>
...@@ -217,11 +220,11 @@ ...@@ -217,11 +220,11 @@
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label required">选择开通模式:</label> <label class="layui-form-label required">选择开通模式:</label>
<div class="layuui-radio"> <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> <span>(一个门店一个企微账户授权)</span>
</div> </div>
<div class="layuui-radio"> <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> <span>(集团多个企微共用一个企微账户授权)</span>
</div> </div>
</div> </div>
...@@ -342,7 +345,7 @@ ...@@ -342,7 +345,7 @@
<label class="layui-form-label">主营品牌:</label> <label class="layui-form-label">主营品牌:</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input class="layui-input" placeholder="车型品牌" id="brand" /> <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> </div>
</div> </div>
...@@ -872,7 +875,7 @@ ...@@ -872,7 +875,7 @@
merchantForm.lat = res.lat merchantForm.lat = res.lat
merchantForm.lng = res.lng merchantForm.lng = res.lng
merchantForm.merchantAddress = res.merchantAddress merchantForm.merchantAddress = res.merchantAddress
$('#addrEl').text(merchantForm.merchantAddress) $('#addrEl').val(merchantForm.merchantAddress)
layer.close(index) layer.close(index)
} else { } else {
layer.msg('请选择地址', { layer.msg('请选择地址', {
......
...@@ -164,6 +164,9 @@ ...@@ -164,6 +164,9 @@
.layuui-radio span { .layuui-radio span {
line-height: 28px; line-height: 28px;
} }
#basicForm {
margin-bottom: 50px;
}
</style> </style>
<title>商户编辑</title> <title>商户编辑</title>
</head> </head>
...@@ -267,11 +270,11 @@ ...@@ -267,11 +270,11 @@
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label required">选择开通模式:</label> <label class="layui-form-label required">选择开通模式:</label>
<div class="layuui-radio"> <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> <span>(一个门店一个企微账户授权)</span>
</div> </div>
<div class="layuui-radio"> <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> <span>(集团多个企微共用一个企微账户授权)</span>
</div> </div>
</div> </div>
...@@ -385,7 +388,7 @@ ...@@ -385,7 +388,7 @@
<label class="layui-form-label">主营品牌:</label> <label class="layui-form-label">主营品牌:</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input class="layui-input" placeholder="车型品牌" id="brand" /> <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> </div>
</div> </div>
...@@ -798,7 +801,7 @@ ...@@ -798,7 +801,7 @@
merchantForm.lat = res.lat merchantForm.lat = res.lat
merchantForm.lng = res.lng merchantForm.lng = res.lng
merchantForm.merchantAddress = res.merchantAddress merchantForm.merchantAddress = res.merchantAddress
$('#addrEl').text(merchantForm.merchantAddress) $('#addrEl').val(merchantForm.merchantAddress)
layer.close(index) layer.close(index)
} else { } else {
layer.msg('请选择地址', { layer.msg('请选择地址', {
......
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
}) })
$('#relevancyBtn').on('click', function() { $('#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() { form.on('submit(searchSubmit)', function() {
......
...@@ -13,7 +13,7 @@ layui.define(['sha1', 'md5', 'helper'], function (exports) { ...@@ -13,7 +13,7 @@ layui.define(['sha1', 'md5', 'helper'], function (exports) {
var md5 = layui.md5 var md5 = layui.md5
var helper = layui.helper var helper = layui.helper
var store = helper.store var store = helper.store
var loading = null // var loading = null
// var common = { // var common = {
// secret: '', // secret: '',
// baseURL: 'http://192.168.2.222/router', // 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!