花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
newscms 电脑端的qq和微信登录按钮怎么隐藏?
2023-11-17 20:58:49
主题配置-其它配置-自定义style 填写下面的css代码
[code:css]@media screen and (min-width:768px){
.xh-regbox form > .xh-form-group {
height: 0;
overflow: hidden;
}
}[/code]
2023-11-16 15:48:56
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].header_menu .sub-menu li:nth-child(-n+7):not(:first-child){display:none}[/code]
2023-11-16 15:36:53
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].author_tabs .nav_move ul#nav li:not(:first-child):not(:last-child){display:none}[/code]
2023-11-16 13:24:48
[img]https://kfuu.cn/zb_users/upload/2023/11/20231116132445170011228561960.png[/img]
在他的插件include.php中加入下面的代码即可,文件完整路径 zb_users/plugin/ly_xfyun/include.php
[code:php]Add_Filter_Plugin('Filter_Plugin_Html_Js_Add','ly_xfyun_Html_Js_Add');
function ly_xfyun_Html_Js_Add(){
if (!isset($_GET['laycenter'])){
return;
}
?>
$(function(){
var name = '讯飞星'
lcp.editorBarButton(name, {
icon: bloghost + 'zb_users/plugin/ly_xfyun/logo.png',
name,
callback: function(o){
lcp.confirm(`<p style="display:flex;margin-bottom:10px"><input type="text" class="layui-input text" style="margin-right:10px"><button class="layui-btn layui-btn-normal make">生成</button></p><p><textarea class="layui-textarea"></textarea>`, {
title: name,
btns: ['插入'],
success(dom){
dom.find('.make').click(function(){
var ipt = dom.find('.text')
if (ipt.val() == ''){
ipt.focus()
return
}
var load = lcp.loading('生成中...')
lcp.ajax({
url: bloghost + 'zb_users/plugin/ly_xfyun/main.php',
data: {
ueditor: ipt.val()
},
dataType: 'html',
success(res){
dom.find('textarea').val(res)
},
end(){
load.close()
}
})
})
},
ok(dom){
o.insert(dom.find('textarea').val())
}
})
}
})
})
<?php
}[/code]
2023-11-16 13:05:37
主题配置-其它配置-自定义css 填写下面的css代码
[code:css].payvip-box .col-12 + div{display:none}
.payvip-box .col-12 + div + div{display: flex;justify-content: center;max-width: 100%;flex: 1;}
.payvip-box .col-12 + div + div > label{width:300px}
[/code]
2023-11-16 13:02:00
主题配置-其它配置-自定义style 填写下面的css代码
[code:css]#back-to-top{display:none}[/code]
2023-11-16 12:24:57
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].footer_btn [title="订阅"]{display:none}[/code]
2023-11-16 12:19:33
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].footer_logo{display:none}[/code]