mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-22 19:44:02 +08:00
18 lines
428 B
JavaScript
18 lines
428 B
JavaScript
layui.use(['helper', 'util'], function () {
|
|
|
|
var helper = layui.helper;
|
|
var util = layui.util;
|
|
|
|
util.fixbar({
|
|
bar1: window.im.cs.enabled === '1' ? '' : false,
|
|
bar2: true,
|
|
click: function (type) {
|
|
if (type === 'bar1') {
|
|
helper.cs();
|
|
} else if (type === 'bar2') {
|
|
window.open('/help', 'help');
|
|
}
|
|
}
|
|
});
|
|
|
|
}); |