<!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>调整XiunoBBS上传大尺寸图片加水印错位和水印透明度_代码片段_奇狐网</title><meta name="keywords" content="调整XiunoBBS上传大尺寸图片加水印错位和水印透明度,XIUNOBBS,图片水印,奇狐网" /><meta name="description" content="奇狐网为您提供调整XiunoBBS上传大尺寸图片加水印错位和水印透明度" /><meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" ><meta http-equiv="Cache-Control" content="no-transform"/><meta http-equiv="Cache-Control" content="no-siteapp"/><link rel="shortcut icon" href="view/img/favicon.ico" /><link rel="icon" sizes="32x32" href="view/img/favicon.ico"><link rel="Bookmark" href="view/img/favicon.ico" /><link rel="stylesheet" href="view/css/bootstrap.css?1.0"><link rel="stylesheet" href="view/css/bootstrap-bbs.css?1.0"><link rel="stylesheet" href="plugin/huux_notice/view/css/huux-notice.css" name="huux_notice"><link rel="stylesheet" href="plugin/fox_hlight/oddfox/static/css/style.css?t=1740748634" name="fox_hlight"><link rel="stylesheet" href="plugin/fox_signature/oddfox/static/css/style.css"> <link rel="stylesheet" href="plugin/fox_slide/oddfox/css/style.css"><link rel="stylesheet" href="plugin/fox_stamp/oddfox/static/css/style.css"><link rel="stylesheet" href="plugin/fox_theme_portal/oddfox/static/css/style.css?t=20241012"> <link rel="stylesheet" href="plugin/fox_top/oddfox/static/css/style_1.css" /><link rel="stylesheet" href="plugin/fox_tags/oddfox/static/css/style.css"></head><body><header id="header"><div class="navbar navbar-dark bg-dark navbar-expand-lg hidden-sm hidden-md"><div class="container" id="pc_nav"><a class="navbar-brand text-truncate" href="/"><img src="plugin/fox_theme_portal/oddfox/static/img/logo_pc.png" class="logo-2"></a><ul class="navbar-nav mr-auto"><li class="nav-item home" data-active="index"><a class="nav-link one" href=".">奇狐首页</a></li><li class="nav-item" data-active="default"><a class="nav-link one" href="default.htm">最新主题</a></li><li class="nav-item" data-active="fid-3"><a class="nav-link one" href="forum-3.htm">奇狐插件</a></li><li class="nav-item" data-active="plugin"><a class="nav-link one" href="plugin.htm"><i class="icon-circle-o d-md-none"></i> 奇狐商店</a></li><li class="nav-item" data-active="support"><a class="nav-link" href="support.htm"><i class="icon-circle-o d-md-none"></i>赞助我们</a></li><li class="nav-item dropdown" data-active="fid-1"><a class="nav-link dropdown-toggle" href="javascript:void(0);" id="dropdown1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="icon-circle-o d-md-none"></i> 其它板块</a><div class="dropdown-menu" aria-labelledby="dropdown1"><a class="dropdown-item" data-active="fid-1" href="forum-1.htm"><i class="icon-circle-o"></i> 代码片段</a><a class="dropdown-item" data-active="fid-2" href="forum-2.htm"><i class="icon-circle-o"></i> 安装使用</a><a class="dropdown-item" data-active="fid-4" href="forum-4.htm"><i class="icon-circle-o"></i> 反馈求助</a><a class="dropdown-item" data-active="fid-5" href="forum-5.htm"><i class="icon-circle-o"></i> 修罗程序</a><a class="dropdown-item" data-active="fid-6" href="forum-6.htm"><i class="icon-circle-o"></i> 修罗文档</a></div></li><li class="nav-item dropdown" data-active="other"><a class="nav-link dropdown-toggle" href="javascript:void(0);" id="dropdown2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="icon-circle-o d-md-none"></i> 其它导航</a><div class="dropdown-menu" aria-labelledby="dropdown2"><a class="dropdown-item" data-active="ip" href="ip.htm"><i class="icon-circle-o"></i> IP查询</a><a class="dropdown-item" data-active="tools" href="tools.htm"><i class="icon-circle-o"></i> 实用工具</a></div></li></ul><ul class="navbar-nav"><li class="nav-item"><a class="nav-link" href="javascript:void(0);" id="lang_link" title="點擊切換爲繁體中文浏覽"><i class="icon icon-refresh"></i> <span>繁体</span></a></li><li class="nav-item"><a class="nav-link" href="javascript:void(0);" data-modal-url="user-login-md.htm" data-modal-title="用户登录" data-modal-size="md"><i class="icon-user"></i> 登录</a></li><li class="nav-item"><a class="nav-link" href="user-create.htm">注册</a></li></ul></div></div><div class="navbar navbar-dark bg-dark navbar-expand-lg hidden-lg"><div class="container" id="mobile_nav"><button class="navbar-toggler px-1 py-0 mobile-nav-open" type="button"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand text-truncate" href="forum-1.htm"><img src="view/img/logo.png" class="logo-2"></a><a class="navbar-brand mr-0" href="user-login.htm" aria-label="登录"> <i class="icon-user icon"></i></a><div id="mobile_nav_dropdown"><a href="javascript:void(0);" class="mobile-nav-close"><i class="icon-close"></i></a><h5>频道：</h5><nav class="nav navbar-nav channel"><a class="nav-link mr-0" href="." data-active="index">奇狐首页</a><a class="nav-link mr-0" href="default.htm" data-active="default">最新主题</a><a class="nav-link mr-0" href="forum-3.htm">奇狐插件</a><a class="nav-link mr-0" href="plugin.htm" data-active="plugin">奇狐商店</a></nav><h5>分区：</h5><nav class="nav navbar-nav forumlist"><a class="nav-link mr-0" href="forum-1.htm">代码片段</a><a class="nav-link mr-0" href="forum-2.htm">安装使用</a><a class="nav-link mr-0" href="forum-4.htm">反馈求助</a><a class="nav-link mr-0" href="forum-5.htm">修罗程序</a><a class="nav-link mr-0" href="forum-6.htm">修罗文档</a></nav><h5>其它：</h5><nav class="nav navbar-nav other"><a class="nav-link mr-0" href="ip.htm">IP查询</a><a class="nav-link mr-0" href="tools.htm">实用工具</a></nav><h5>我的：</h5><nav class="nav navbar-nav my"><a class="nav-link" href="javascript:void(0);" id="lang_link_m" title="點擊切換爲繁體中文浏覽"><i class="icon icon-refresh"></i> <span>繁体</span></a><a class="nav-link" href="my.htm"><i class="icon-user"></i> 资料</a><a class="nav-link" href="my-thread.htm"><i class="icon-file-text-o"></i> 主题</a></nav><h5></h5><nav class="nav navbar-nav user"><div class="col"><a class="btn btn-outline-secondary btn-block text-secondary" href="user-login.htm">登录</a></div><div class="col"><a class="btn btn-outline-secondary btn-block text-secondary" href="user-create.htm">注册</a></div></nav></div></div></div></header><div id="sub-header" class="bg-white d-inline-block"><div class="container"><div class="row"><div class="mx-2 mx-lg-3 w-100"><div class="sub-logo float-left hidden-sm p-0"><a href="."><img src="plugin/fox_theme_portal/oddfox/static/img/logo.png" width="274" height="60" alt=""></a></div><div class="float-right top-search-box col-sm-12 col-md-3 col-lg-3 my-2 my-md-3 my-lg-3 p-0"><form id="fox_search"><div class="input-group"><input class="form-control keyword" name="keyword" placeholder="关键词" type="text" /><div class="input-group-append"><button class="btn btn-primary fox-search-submit" type="submit" disabled="true">帖子搜索</button></div></div></form></div></div></div></div></div><main id="body"><div class="container"><div class="row hidden-lg"><div class="col-lg-12 py-0 mb-0 mb-md-3 mb-lg-3"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fpages_2ealiyundrive_2ecom_2Fmobile_2dpage_2Fweb_2Fbeinvited_2ehtml_3Fcode_3D9714985" target="_blank" class="d-inline-block"><img src="plugin/fox_theme_portal/oddfox/static/img/900x120.jpg" class="w-100 rounded"></a></div></div><div class="row hidden-md hidden-sm"><div class="col-lg-12 py-0 mb-0 mb-md-3 mb-lg-3"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fwww_2ealiyun_2ecom_2Factivity_2Fdaily_2Fbestoffer_3FuserCode_3Dz6zu6zy7" target="_blank" class="d-inline-block"><img src="upload/aliyun/1280x120.jpg" class="w-100 rounded"></a></div></div><link rel="stylesheet" href="plugin/fox_lightbox/oddfox/static/css/lightbox.min.css?t=20251028" /><script src="plugin/fox_lightbox/oddfox/static/js/lightbox.min.js?t=20251028"></script><style>.aframe{position:relative;padding:0.75rem 1.25rem;margin-bottom:1rem;border:1px dashed transparent;border-radius:0.25rem;background-color:#fff;font-size:85%;font-weight:400;}.alert-master{border-color:#bedbc4;}.alert-master i,.alert-master b{color:#177f2e;font-weight:normal}.alert-master hr{border-top:1px #bedbc4 dashed;}.alert-master span{color:#343a40}.alert-master a{color:#c6303e;font-weight:700}.alert-guest{border-color:#efc5c9;}.alert-guest i{color:#f1c84c;}.alert-guest b,.alert-guest span{color:#7d6828;font-weight:normal}.alert-guest hr{border-top:1px #7d6828 dashed;}</style><div class="row"><div class="col-lg-9 main"><ol class="breadcrumb d-none d-md-flex"><li class="breadcrumb-item"><a href="./" aria-label="首页"><i class="icon-home"></i></a></li><li class="breadcrumb-item"><a href="forum-1.htm">代码片段</a></li><li class="breadcrumb-item active"><a href="thread-43.htm" title="首页返回主题第一页">调整XiunoBBS上传大尺寸图片加水印错位和水印透明度</a></li></ol><div class="card card-thread mb-2 mb-md-3"><div class="card-body"><div class="media"><a href="user-1.htm" tabindex="-1"><img class="avatar-4 rounded mr-3" src="upload/avatar/000/1.png?1543796277"></a><div class="media-body"><h4 class="break-all mb-0">调整XiunoBBS上传大尺寸图片加水印错位和水印透明度</h4><a href="tag-67.htm" target="_blank" class="ml-1 badge badge-primary hidden-sm">XIUNOBBS</a><a href="tag-839.htm" target="_blank" class="ml-1 badge badge-primary hidden-sm">图片水印</a><div class="d-flex justify-content-between small"><div><i class="mt-2 mr-1 fox-icon fox-g1" data-toggle="tooltip" data-placement="top" title="管理员组"></i><span class="username"><a href="user-1.htm" class="text-muted font-weight-bold">凨影</a></span><span class="ml-1 date text-grey"><time class="hidden-sm">2019-01-18 20:40:58</time><time class="hidden-md hidden-lg">2019-1-18</time></span><span class="ml-1 text-grey ml-1"><i class="icon-eye"></i> 1839</span></div><div></div></div></div></div><hr /><div class="message break-all" isfirst="1"><div class="article-content"><p>XiunoBBS论坛已经上线了<a href="tag-839.htm" target="_blank">图片水印</a>功能，不过大尺寸图片添加水印会错位或者看不到，这是JS文件默认值限制了；</p><p>程序里找到 view/js/xiuno.js 打开，找到1117行、1257行，默认宽度1200px，根据自身情况调整大点即可；</p><pre class="brush:html;toolbar:false">xn.upload_file&nbsp;=&nbsp;function(file,&nbsp;upload_url,&nbsp;postdata,&nbsp;complete_callback,&nbsp;progress_callback,&nbsp;thumb_callback)&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;postdata&nbsp;=&nbsp;postdata&nbsp;||&nbsp;{};
&nbsp;&nbsp;&nbsp;&nbsp;postdata.width&nbsp;=&nbsp;postdata.width&nbsp;||&nbsp;1600;&nbsp;//默认宽度
&nbsp;&nbsp;&nbsp;&nbsp;postdata.height&nbsp;=&nbsp;postdata.height&nbsp;||&nbsp;2800;&nbsp;//默认高度</pre><p><a href="upload/attach/201901/1_DJGD9RAJ39RUC8S.jpg" target="_blank" rel="noopener"><img class="lazyload" data-original="upload/attach/201901/1_DJGD9RAJ39RUC8S.jpg" width="800" height="296" /></a></p><pre class="brush:html;toolbar:false">//对图片进行裁切，缩略，对黑色背景，透明化处理
xn.image_resize&nbsp;=&nbsp;function(file_base64_data,&nbsp;callback,&nbsp;options)&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;thumb_width&nbsp;=&nbsp;options.width&nbsp;||&nbsp;1600;&nbsp;//默认宽度
&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;thumb_height&nbsp;=&nbsp;options.height&nbsp;||&nbsp;2800;&nbsp;//默认高度</pre><p><a href="upload/attach/201901/1_X9TTJMNZUUUWG8C.jpg" target="_blank" rel="noopener"><img class="lazyload" data-original="upload/attach/201901/1_X9TTJMNZUUUWG8C.jpg" width="800" height="318" /></a></p><p>默认添加<a href="tag-839.htm" target="_blank">图片水印</a>透明度找到1207行调整即可；</p><pre class="brush:html;toolbar:false">ctx.globalAlpha&nbsp;=&nbsp;1;&nbsp;//&nbsp;水印透明度
ctx.beginPath();
ctx.drawImage(water_img,&nbsp;0,&nbsp;0,&nbsp;water_width,&nbsp;water_height,&nbsp;x,&nbsp;y,&nbsp;water_width,&nbsp;water_height);&nbsp;//&nbsp;将水印图像绘制到canvas上&nbsp;
ctx.closePath();
ctx.save();</pre><p><a href="upload/attach/201901/1_JC2D257N2R58T6R.jpg" target="_blank" rel="noopener"><img class="lazyload" data-original="upload/attach/201901/1_JC2D257N2R58T6R.jpg" width="800" height="264" /></a></p></div><p class="thread-tags my-3"><span class="btn btn-sm btn-danger">TAGS <i class="icon-tags"></i></span><a href="tag-67.htm" rel="tag" target="_blank" class="btn btn-sm btn-light ml-1">XIUNOBBS</a><a href="tag-839.htm" rel="tag" target="_blank" class="btn btn-sm btn-light ml-1">图片水印</a></p><div class="alert alert-warning mt-2" role="alert"><i class="icon-bell"></i> 本文网址：<a href="https://bbs.oddfox.cn/thread-43.htm" title="调整XiunoBBS上传大尺寸图片加水印错位和水印透明度">https://bbs.oddfox.cn/thread-43.htm</a><hr><p>本文发布于<a href="https://bbs.oddfox.cn/" title="奇狐网">奇狐网</a>，转载请注明出处，谢谢合作。</p></div></div><div class="plugin d-flex justify-content-center mt-3"><div class="fox-favorites px-2 position-relative"><span class="btn-group" role="group"><button class="btn btn-outline-secondary fox-favorites-tip" data-tid="43" title="收藏本帖"><i class="icon icon-star-o" aria-label="收藏本帖"></i><span class="fox-favorites-btn">收藏</span></button><button class="btn btn-outline-secondary"><span class="fox-favorites-count">0</span></button></span></div><button type="button" data-modal-url="user-login-md.htm" data-modal-title="用户登录" data-modal-size="md" class="post_reply btn btn-outline-secondary ml-2" title="评论"><i class="icon icon-comment-o"></i> 评论</button></div><div class="text-grey sign">联系QQ：77798085 <a href="https://bbs.oddfox.cn/support.htm" target="_blank" class="alert-link">赞助请点这里</a></div><div class="updown mt-3 border-top"><p class="pt-3 mb-1">上一篇：<a href="thread-42.htm">PHP时间格式转换相差八个小时解决办法</a></p><p class="mb-0">下一篇：<a href="thread-51.htm">php格式化文件大小</a></p></div></div></div><div class="hidden-lg py-0 mb-2 mb-md-3"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fpages_2ealiyundrive_2ecom_2Fmobile_2dpage_2Fweb_2Fbeinvited_2ehtml_3Fcode_3D9714985" target="_blank" class="d-inline-block"><img src="plugin/fox_theme_portal/oddfox/static/img/900x120.jpg" class="w-100 rounded"></a></div><div class="card"><div class="card-header"><ul class="nav nav-tabs card-header-tabs"><li class="nav-item"><a class="nav-link active"><b>相关内容</b></a></li></ul></div><div class="card-body pt-1 pr-3 pb-2 pl-3"><ul class="list-unstyled p-0 m-0 w-100"><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2021-10-26</span><i class="icon-caret-right mr-1"></i> <a href="thread-303.htm" title="XIUNOBBS后台插件排序方法,启用的插件排在前面">XIUNOBBS后台插件排序方法,启用的插件排在前面</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-10-30</span><i class="icon-caret-right mr-1"></i> <a href="thread-257.htm" title="XIUNOBBS form_multi_checkbox用法">XIUNOBBS form_multi_checkbox用法</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-06-12</span><i class="icon-caret-right mr-1"></i> <a href="thread-223.htm" title="解决XIUNO清空缓存后，今日注册用户、今日发帖、今天主题被清零BUG。">解决XIUNO清空缓存后，今日注册用户、今日发帖、今天主题被清零BUG。</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-05-28</span><i class="icon-caret-right mr-1"></i> <a href="thread-219.htm" title="XIUNOBBS板块页获取不到页码导致数据库1064错误解决办法">XIUNOBBS板块页获取不到页码导致数据库1064错误解决办法</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-05-26</span><i class="icon-caret-right mr-1"></i> <a href="thread-216.htm" title="为自己网站后台的修罗插件中心增加搜索功能">为自己网站后台的修罗插件中心增加搜索功能</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-04-29</span><i class="icon-caret-right mr-1"></i> <a href="thread-204.htm" title="大白 · TinyMCE编辑器 插入内容">大白 · TinyMCE编辑器 插入内容</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2020-02-08</span><i class="icon-caret-right mr-1"></i> <a href="thread-165.htm" title="XIUNOBBS百度云虚拟主机BCH伪静态加载—url重写">XIUNOBBS百度云虚拟主机BCH伪静态加载—url重写</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2019-04-06</span><i class="icon-caret-right mr-1"></i> <a href="thread-99.htm" title="XIUNOBBS官方TAG插件升序BUG修复">XIUNOBBS官方TAG插件升序BUG修复</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 border-bottom"><span class="float-right hidden-sm">2019-01-10</span><i class="icon-caret-right mr-1"></i> <a href="thread-34.htm" title="XIUNOBBS网站启用https,465端口发不了邮件解决办法">XIUNOBBS网站启用https,465端口发不了邮件解决办法</a></li><li class="text-truncate w-100 pt-2 pb-2 pl-0 "><span class="float-right hidden-sm">2019-01-10</span><i class="icon-caret-right mr-1"></i> <a href="thread-33.htm" title="XiunoBBS如何设置伪静态(URL-Rewrite)">XiunoBBS如何设置伪静态(URL-Rewrite)</a></li></ul></div></div><style>.postlist .message p img{max-width:90px!important;max-height:120px!important;}</style><div class="card"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div class="text-danger"><b>管理员回复</b></div><div><a href="javascript:void(0);" id="goto_postlist" class="small text-danger"><i class="icon-arrow-down"></i> 全部回复</a></div></div></div><ul class="list-unstyled postlist admin_replylist"></ul></div></div><div id="fox_postlist" class="card card-postlist mb-2 mb-md-3"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>全部回复</b> (<span class="posts">11</span>)</div><div></div></div></div><ul class="mb-0 list-unstyled postlist"><li class="media post" data-pid="759" data-uid="8814"> <a href="user-8814.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/8814.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-8814.htm" class="text-muted font-weight-bold">清の舍</a> </span> <span class="date text-grey ml-2">2019-2-18</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">2</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 楼主很辛苦，若是不回帖，心里过意不去，可是我打字实在不行，只好快速回复了，楼主不要见怪！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="1081" data-uid="8829"> <a href="user-8829.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/8829.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-8829.htm" class="text-muted font-weight-bold">FindHao</a> </span> <span class="date text-grey ml-2">2019-9-10</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">3</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 面对如此强贴，论遇到多大阻力，只要我一息上尚存，就绝不会让它沉沦下去，这一点请楼主放心。 <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="1177" data-uid="5082"> <a href="user-5082.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/5082.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-5082.htm" class="text-muted font-weight-bold">164077485qqcom</a> </span> <span class="date text-grey ml-2">2020-4-6</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">4</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 楼主很辛苦，若是不回帖，心里过意不去，可是我打字实在不行，只好快速回复了，楼主不要见怪！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="1315" data-uid="6839"> <a href="user-6839.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/6839.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-6839.htm" class="text-muted font-weight-bold">风逐梦</a> </span> <span class="date text-grey ml-2">2020-4-19</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">5</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 小手一抖, 金币到手！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="1334" data-uid="8370"> <a href="user-8370.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/8370.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-8370.htm" class="text-muted font-weight-bold">Rest</a> </span> <span class="date text-grey ml-2">2020-4-30</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">6</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 与人为善, 好运常伴！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="2159" data-uid="5863"> <a href="user-5863.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/5863.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-5863.htm" class="text-muted font-weight-bold">左大轮</a> </span> <span class="date text-grey ml-2">2020-6-13</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">7</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 楼主很辛苦，若是不回帖，心里过意不去，可是我打字实在不行，只好快速回复了，楼主不要见怪！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="2220" data-uid="7192"> <a href="user-7192.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/7192.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-7192.htm" class="text-muted font-weight-bold">wycg88888</a> </span> <span class="date text-grey ml-2">2020-6-17</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">8</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 难得一见的好贴。。。。。。 <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="2285" data-uid="3021"> <a href="user-3021.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/3021.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-3021.htm" class="text-muted font-weight-bold">thnbs</a> </span> <span class="date text-grey ml-2">2020-6-18</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">9</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 小手一抖, 金币到手！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="2341" data-uid="5773"> <a href="user-5773.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/5773.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-5773.htm" class="text-muted font-weight-bold">waerfa</a> </span> <span class="date text-grey ml-2">2020-6-19</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">10</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 我要拿出这帖子奉献给世人赏阅，我要把这个帖子一直往上顶，往上顶！顶到所有人都看到为止！ <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="2349" data-uid="2317"> <a href="user-2317.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="upload/avatar/000/2317.png?1597766309"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-2317.htm" class="text-muted font-weight-bold">漂在空中</a> </span> <span class="date text-grey ml-2">2020-6-19</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">11</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 难得一见的好贴。。。。。。 <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 亚太地区</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <li class="media post" data-pid="3151" data-uid="9289"> <a href="user-9289.htm" class="mr-3" tabindex="-1"> <img class="avatar-3" src="plugin/fox_avatars/oddfox/static/img/10.png"> </a> <div class="media-body"> <div class="d-flex justify-content-between small text-muted"> <div> <i class="mt-2 fox-icon fox-g101" data-toggle="tooltip" data-placement="top" title="新手上路"></i> <span class="username"> <a href="user-9289.htm" class="text-muted font-weight-bold">syf997</a> </span> <span class="date text-grey ml-2">2021-2-6</span> </div> <div class="text-right text-grey"> <span class="floor-parent"> <span class="floor mr-0">12</span>楼 </span> </div> </div> <div class="message mt-1 break-all"> 请问居中宽度，高度设计多少呀。 <div class="postip text-right text-grey small mt-3"><i class="icon-map-marker"></i> 江苏</div><div class="text-grey sign">这个人很有个性，连签名都没有！</div> </div> </div> </li> <ul class="mb-0 list-unstyled postlist"><li class="post newpost media"><a href="." class="mr-3" tabindex="-1"><img class="avatar-3" src="view/img/logo.png"></a><div class="media-body"><div class="d-flex justify-content-between small text-muted"><div><div>奇狐网</div></div><div><span class="floor" id="newfloor">13</span>楼</div></div><div><div class="message mt-1"><div class="form-control text-center pt-5" style="height:8rem;"><span class="hidden-xs hidden-sm hidden-md">您需要登录后才可以回帖！</span><i class="icon-user"></i> <a href="javascript:void(0);" data-modal-url="user-login-md.htm" data-modal-title="用户登录" data-modal-size="md">登录？</a></div></div><div class="text-muted mt-2 small"><div class="d-flex justify-content-between"><div><a class="btn btn-sm btn-secondary" href="post-create-43.htm" id="advanced_reply">回帖</a></div><div><a class="icon-mail-forward text-muted" href="post-create-43.htm" id="advanced_reply">高级回复</a></div></div></div></div></div></li></ul></ul></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="43" checked /></div></div><div class="hidden-lg col-lg-12 px-0 mb-0 mb-md-3"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fpages_2ealiyundrive_2ecom_2Fmobile_2dpage_2Fweb_2Fbeinvited_2ehtml_3Fcode_3D9714985" target="_blank" class="d-inline-block"><img src="plugin/fox_theme_portal/oddfox/static/img/900x120.jpg" class="w-100 rounded"></a></div><div class="hidden-md hidden-sm col-lg-12 px-0 mb-0 mb-md-3"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fwww_2ealiyun_2ecom_2Fminisite_2Fgoods_3FuserCode_3Dz6zu6zy7" target="_blank" class="d-inline-block"><img src="plugin/fox_plugin/oddfox/static/img/1280x90.jpg" class="w-100 rounded"></a></div></div><div class="col-lg-3 d-none d-lg-block aside mb-3"><div class="card fox-side-item mb-3"><img width="100%" height="120" class="image" src="plugin/fox_theme_portal/oddfox/static/img/side_author_image.jpg" /><div class="card-body px-0 pt-0 text-center"><img class="avatar" src="upload/avatar/000/1.png?1543796277" /><a class="link" href="user-1.htm" target="_blank" rel="noopener noreferrer nofollow">凨影</a><p class="motto mb-0">管理员组</p></div><div class="count"><div class="item"><span class="num">240</span><span>主题数</span></div><div class="item"><span class="num">253</span><span>帖子数</span></div><div class="item"><span class="num">1</span><span>注册排名</span></div></div><ul class="list-inline list"><li class="item"><a class="link" href="thread-47924.htm" title="FlyEnv原生极速开发环境，彻底告别Docker臃肿与版本内耗">FlyEnv原生极速开发环境，彻底告别Docker臃肿与版本内耗</a><img class="icon" src="plugin/fox_theme_portal/oddfox/static/img/icon-link.svg" /></li><li class="item"><a class="link" href="thread-47921.htm" title="serialize函数使用方法">serialize函数使用方法</a><img class="icon" src="plugin/fox_theme_portal/oddfox/static/img/icon-link.svg" /></li><li class="item"><a class="link" href="thread-47913.htm" title="奇狐播放器MU38视频测试">奇狐播放器MU38视频测试</a><img class="icon" src="plugin/fox_theme_portal/oddfox/static/img/icon-link.svg" /></li></ul></div><div class="card"><div class="card-header"><ul class="nav nav-tabs card-header-tabs"><li class="nav-item"><a class="nav-link active"><b>赞助商广告</b></a></li></ul></div><div class="card-body pb-3 small"><div class="row"><a href="https://bbs.oddfox.cn/jump.htm?url=https_3A_2F_2Fwww_2ealiyun_2ecom_2F1111_2Fnew_3FuserCode_3Dz6zu6zy7" target="_blank" class="col-12"><img src="plugin/fox_theme_portal/oddfox/static/img/288-80.png" class="rounded"></a></div></div></div><div class="card mt-3"><div class="card-header"><ul class="nav nav-tabs card-header-tabs"><li class="nav-item"><a class="nav-link active font-weight-bold">点击排行</a></li></ul></div><div class="card-body py-0 px-3"><ul class="list-ul list-unstyled p-0 m-0 w-100"><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-1"></i></span><a href="thread-33.htm" title="XiunoBBS如何设置伪静态(URL-Rewrite)">XiunoBBS如何设置伪静态(URL-Rewrite)</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-2"></i></span><a href="thread-54.htm" title="百度分词API接口">百度分词API接口</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-3"></i></span><a href="thread-34.htm" title="XIUNOBBS网站启用https,465端口发不了邮件解决办法">XIUNOBBS网站启用https,465端口发不了邮件解决办法</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-4"></i></span><a href="thread-313.htm" title="JS实现点击图片时将图片下载在本地2">JS实现点击图片时将图片下载在本地2</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-5"></i></span><a href="thread-312.htm" title="JS实现点击图片时将图片下载在本地">JS实现点击图片时将图片下载在本地</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-6"></i></span><a href="thread-32.htm" title="XIUNOBBS管理员忘记密码，不能登录怎么办">XIUNOBBS管理员忘记密码，不能登录怎么办</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-7"></i></span><a href="thread-292.htm" title="解决xiuno4.0.4不支持php7.4及以上">解决xiuno4.0.4不支持php7.4及以上</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-8"></i></span><a href="thread-316.htm" title="jQuery实现下载图片">jQuery实现下载图片</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-9"></i></span><a href="thread-62.htm" title="xn_tag定制单选项">xn_tag定制单选项</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-10"></i></span><a href="thread-5.htm" title="XiunoBbs自定义百度编辑器工具栏">XiunoBbs自定义百度编辑器工具栏</a></li></ul></div></div><div class="card mt-3"><div class="card-header"><ul class="nav nav-tabs card-header-tabs"><li class="nav-item"><a class="nav-link active font-weight-bold">热文排行</a></li></ul></div><div class="card-body py-0 px-3"><ul class="list-ul list-unstyled p-0 m-0 w-100"><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-1"></i></span><a href="thread-28.htm" title="XIUNOBBS在文章页中加入上一篇、下一篇功能">XIUNOBBS在文章页中加入上一篇、下一篇功能</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-2"></i></span><a href="thread-62.htm" title="xn_tag定制单选项">xn_tag定制单选项</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-3"></i></span><a href="thread-216.htm" title="为自己网站后台的修罗插件中心增加搜索功能">为自己网站后台的修罗插件中心增加搜索功能</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-4"></i></span><a href="thread-29.htm" title="对于游客可否在帖子底部加入“登录”或“注册”提示！">对于游客可否在帖子底部加入“登录”或“注册”提示！</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-5"></i></span><a href="thread-34.htm" title="XIUNOBBS网站启用https,465端口发不了邮件解决办法">XIUNOBBS网站启用https,465端口发不了邮件解决办法</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-6"></i></span><a href="thread-43.htm" title="调整XiunoBBS上传大尺寸图片加水印错位和水印透明度">调整XiunoBBS上传大尺寸图片加水印错位和水印透明度</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-7"></i></span><a href="thread-64.htm" title="php 中对中英文混合字符串长度的判断及截取实例详解">php 中对中英文混合字符串长度的判断及截取实例详解</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-8"></i></span><a href="thread-103.htm" title="​JS自动提交脚本">​JS自动提交脚本</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-9"></i></span><a href="thread-223.htm" title="解决XIUNO清空缓存后，今日注册用户、今日发帖、今天主题被清零BUG。">解决XIUNO清空缓存后，今日注册用户、今日发帖、今天主题被清零BUG。</a></li><li class="text-truncate w-100 py-2 pl-0 border-bottom"><span class="small num mr-0"><i class="fox_icon icon-10"></i></span><a href="thread-238.htm" title="XIUNOBBS管理员忘记密码，不能登录怎么办？">XIUNOBBS管理员忘记密码，不能登录怎么办？</a></li></ul></div></div><div class="card mb-0 sticky-top"><div class="card-header"><ul class="nav nav-tabs card-header-tabs"><li class="nav-item"><a class="nav-link active"><b>扫码访问</b></a></li></ul></div><div class="card-body p-2"><div id="qrcode"></div><img src="plugin/fox_theme_portal/oddfox/static/img/qr_icon.png" alt="奇狐网" id="qrcode-logo" class="d-none" width="64" height="64" /></div></div></div></div> </div> </main> <footer class="text-muted small bg-dark py-4 mt-1 mt-lg-0" id="footer"> <div class="container"> <div class="row"> <div class="col"> © 2026 <a href="https://bbs.oddfox.cn" class="text-muted"><b>奇狐网</b></a> </div> <div class="col text-right"> <a href="sitemap.xml" class="text-muted" target="_blank"><i class="icon-sitemap"></i></a> | <a href="rss.xml" class="text-muted" target="_blank"><i class="icon-rss"></i></a> | <a href="contact.htm" class="text-muted">联系我们</a> | <a href="prison.htm" target="_blank" class="text-muted">黑名单</a> <span class="hidden-sm">| 加载: 0.111</span> </div> </div> </div></footer> <!--[if ltg IE 9]> <script>window.location = 'browser.htm';</script> <![endif]--> <script src="lang/zh-cn/bbs.js?1.0"></script> <script src="view/js/jquery-3.1.0.js?1.0"></script> <script src="view/js/popper.js?1.0"></script> <script src="view/js/bootstrap.js?1.0"></script> <script src="view/js/xiuno.js?1.0"></script> <script src="view/js/bootstrap-plugin.js?1.0"></script> <script src="view/js/async.js?1.0"></script> <script src="view/js/form.js?1.0"></script> <script> var debug = DEBUG = 0; var url_rewrite_on = 1; var forumarr = {"1":"代码片段","2":"安装使用","4":"反馈求助","3":"奇狐插件","5":"修罗程序","6":"修罗文档"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script> <script src="view/js/bbs.js?1.0"></script> <script src="plugin/fox_toolbox/oddfox/static/js/laydate/laydate.js"></script><script>laydate.render({elem: '#create_date', type: 'datetime'});</script><script ajax-eval="true">laydate.render({elem: '#create_date', type: 'datetime'});</script><script src="plugin/fox_lazyload/fox/js/jquery.lazyload.min.js"></script><script src="plugin/fox_score/oddfox/static/js/fox_score.js?1.0"></script><script src="plugin/fox_theme_portal/oddfox/static/js/portal.js?t=20240205"></script><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c7185db68fe58a8a84651a83b734e892";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();</script><script>(function(){var script=document.createElement('script');script.src='https://count.oddfox.cn/assets/js/analytics.js';script.defer=true;script.setAttribute('data-site-key','427e5b088f34e577');script.setAttribute('data-endpoint','https://count.oddfox.cn/api/track.php');document.head.appendChild(script)})();</script><div id="gotop"><a href="javascript:void(0);" id="goToBottom" class="hidden-sm hidden-md" title="直达页尾"><i class="icon-chevron-down"></i></a><a href="." class="hidden-sm hidden-md home" title="返回首页"><i class="icon-home"></i></a><a href="https://qm.qq.com/q/KvwUJKgdKG" target="_blank" title="QQ" class="hidden-sm hidden-md qq"><i class="icon-qq"></i></a><a href="javascript:void(0);" id="goTopBtn" title="返回顶部"><i class="icon-chevron-up"></i></a></div><script>$("#goTopBtn").click(function(){$("html,body").animate({scrollTop:0},500)});$('#goToBottom').click(function(){$('html,body,.footer').animate({scrollTop:$(document).height()},900);return false;});</script> </body></html><style>#lang_link{color:#E6A714;}</style><script src="plugin/fox_toolbox/oddfox/static/js/chinese_switch.js"></script><script src="plugin/fox_theme_portal/oddfox/static/js/fox.thread.js"></script><script src="plugin/fox_theme_portal/oddfox/static/js/jqrcode.js"></script><script src="plugin/fox_favorites/oddfox/static/js/favorites.js?1.0"></script><script type="text/javascript">$('.message fieldset.fieldset').addClass('mx-0 mb-3 pb-0 pt-2');$('.message fieldset.fieldset legend').addClass('mb-0');$('.message fieldset.fieldset ul.attachlist').addClass('list-unstyled mb-2');</script><script src="plugin/huux_notice/view/js/notice.js"></script><script type="text/javascript">if($('div.message pre').length > 0){$.require_css('plugin/huux_tinymce/oddfox/css/highlight.css');$.require('plugin/huux_tinymce/oddfox/js/highlight.js');}</script>
<!--压缩前: 58470 bytes; 压缩后: 43565 bytes; 节约：25.49% https://bbs.oddfox.cn -->