花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
Nice资源下载主题 怎么在前台页面直接显示文件链接的下载地址
2023-11-19 23:23:59
是下载按钮的链接直接就是这个吗?不能哦
2023-11-17 21:48:23
主题配置-其它配置-自定义style 填写下面的css代码
[code:css]@media screen and (min-width:768px){
/* 隐藏登录窗口的"注册账号"按钮 */
.login_reg{font-size:0;}
.login_reg a:last-child{font-size:12px;}
/* 隐藏导航栏的"注册"按钮 */
.header .reg{display:none!important}
}[/code]
2023-11-17 21:04:44
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].mobile_header_user ul.menu li.center .sub-menu li:nth-child(-n+7):not(:first-child),
.author_subtabs ul.tabs li:nth-child(-n+7):not(:first-child){display:none}[/code]
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]