|
@@ -238,18 +238,13 @@
|
238
|
238
|
success: function (res) {
|
239
|
239
|
console.log(res)
|
240
|
240
|
layer.tab({
|
241
|
|
- title:'查看报销凭证',
|
242
|
|
- area: ['1150px', '750px'],
|
|
241
|
+ area: ['100%', '100%'],
|
243
|
242
|
tab: res.data,
|
244
|
243
|
maxmin: true,
|
245
|
244
|
shadeClose: true,
|
246
|
245
|
success: function (index, layero) {//打开tab后的执行的内容
|
247
|
246
|
//你的代码
|
248
|
|
- $(".layui-layer-title").attr("style", "width: 1150px; height: 85px; overflow-y: scroll; white-space: nowrap; border: 1px solid #ccc;");
|
249
|
|
- // $(".layui-layer-title::-webkit-scrollbar-track-piece").attr("style", "background-color: rgba(0, 0, 0, 0); border-left: 1px solid rgba(0, 0, 0, 0);");
|
250
|
|
- // $(".layui-layer-title::-webkit-scrollbar").attr("style", "display: block; width: 5px; height: 10px; -webkit-margin-bottom-collapse: 12px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;");
|
251
|
|
- // $(".layui-layer-title::-webkit-scrollbar-thumb").attr("style", "background-color: #03bf7f; background-clip: padding-box; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; min-height: 28px;");
|
252
|
|
- // $(".layui-layer-title::-webkit-scrollbar-thumb:hover").attr("style", "-moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; background-color: #e6e6e6;");
|
|
247
|
+ $(".layui-layer-title").attr("style", "width: 100%; height: 10%; overflow-y: scroll; white-space: nowrap; border: 1px solid #ccc;");
|
253
|
248
|
$("div>span").attr("style", "padding: 10px; display: inline-block;");
|
254
|
249
|
}
|
255
|
250
|
})
|