Commit 31f33419 by 胡悦

合并样式

2 parents 41deb6a5 2b4b020e
...@@ -78,4 +78,19 @@ ...@@ -78,4 +78,19 @@
.layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-more li.layui-this:after,
.layui-tab-brief>.layui-tab-title .layui-this:after { .layui-tab-brief>.layui-tab-title .layui-this:after {
border-bottom: 2px solid #1989FA; border-bottom: 2px solid #1989FA;
}
\ No newline at end of file \ No newline at end of file
}
.layui-tab-content xm-select {
border-color: #E6E6E6!important;
}
.xm-label-block {
background-color: #1989FA!important;
}
.selected i.xm-icon-duox{
color: #1989FA!important;
}
.xm-option-icon, .xm-iconfont, .xm-icon-duox{
border-color:#1989FA!important;
}
\ No newline at end of file \ No newline at end of file
...@@ -16,7 +16,9 @@ header { ...@@ -16,7 +16,9 @@ header {
height: 48px; height: 48px;
flex-shrink: 0; flex-shrink: 0;
} }
main::-webkit-scrollbar {
display: none;
}
.header { .header {
height: 100%; height: 100%;
background: #fff; background: #fff;
......
...@@ -295,8 +295,8 @@ ...@@ -295,8 +295,8 @@
</div> </div>
</div> </div>
<div class="layui-form-item" style="text-align: center;"> <div class="layui-form-item" style="text-align: center;">
<button class="layui-btn" lay-submit lay-filter="handleFirstSubmit">下一步</button> <button id="firstBtn" class="layui-btn" lay-submit lay-filter="handleFirstSubmit">下一步</button>
<button class="layui-btn" data-type="handleCancel">取消</button> <button class="layui-btn" data-type="handleFirstCancel">取消</button>
</div> </div>
</form> </form>
</div> </div>
...@@ -531,10 +531,6 @@ ...@@ -531,10 +531,6 @@
getById() getById()
}) })
} }
} else {
// layer.msg('操作成功', {
// icon: 1
// })
} }
}) })
return false return false
...@@ -624,8 +620,13 @@ ...@@ -624,8 +620,13 @@
subParent.append(child2) subParent.append(child2)
parent.append(subParent) parent.append(subParent)
}, },
handleFirstCancel() {
go('merchant', 'index')
return false
},
handleCancel() { handleCancel() {
go('merchant', 'index') go('merchant', 'index')
return false
} }
} }
...@@ -705,7 +706,9 @@ ...@@ -705,7 +706,9 @@
getAccountType() getAccountType()
} else { } else {
merchantId = qs('id') merchantId = qs('id')
$('#preStep').remove()
if (editLevel == 3) { if (editLevel == 3) {
$('#firstBtn').text('确定')
$('#accountLevelEl').attr('disabled', true) $('#accountLevelEl').attr('disabled', true)
} else { } else {
getBusiScope() getBusiScope()
...@@ -797,6 +800,9 @@ ...@@ -797,6 +800,9 @@
getMerchantApi(merchantId, function (res) { getMerchantApi(merchantId, function (res) {
form.val('merchantForm', res.data) form.val('merchantForm', res.data)
merchantForm = res.data merchantForm = res.data
if(merchantForm.status != 1) {
$('#draft').remove()
}
console.log(merchantForm) console.log(merchantForm)
getBusiScope() getBusiScope()
getCarBrandTree() getCarBrandTree()
......
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
} }
.merchant .layui-table-cell { .merchant .layui-table-cell {
/* height: auto; height: auto;
overflow: visible; overflow: visible;
text-overflow: inherit; text-overflow: inherit;
white-space: normal; */ white-space: normal;
height: auto; /* height: auto;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap; */
} }
.merchant #searchForm .layui-inline { .merchant #searchForm .layui-inline {
...@@ -238,10 +238,10 @@ ...@@ -238,10 +238,10 @@
title: '更新时间', title: '更新时间',
align: 'center' align: 'center'
}, { }, {
align: 'center', align: 'left',
title: '操作', title: '操作',
toolbar: '#merchantBtns', toolbar: '#merchantBtns',
width: 485 width: 220
// fixed: 'right' // fixed: 'right'
}] }]
] ]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-07-15 15:46:53 * @Date: 2021-07-15 15:46:53
* @LastEditors: limin * @LastEditors: limin
* @LastEditTime: 2021-08-09 14:07:12 * @LastEditTime: 2021-08-09 18:08:19
* @FilePath: \account\js\load.js * @FilePath: \account\js\load.js
*/ */
;(function load() { ;(function load() {
...@@ -35,8 +35,7 @@ function loadHeaderFooter() { ...@@ -35,8 +35,7 @@ function loadHeaderFooter() {
if(isExternal){ //运营平台外部系统 if(isExternal){ //运营平台外部系统
append() append()
}else{//嵌入运营平台 }else{//嵌入运营平台
var token = store.get('token') if(isLoginPage()){
if(token || isLoginPage()){
return return
} }
var t = qs('t') var t = qs('t')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!