站帮网 发表于 2026-4-8 17:32:34

新人帖 3.5,如何只开放手机站,禁止PC端访问 New

求助各位英雄好汉,3.5,如何只开放手机站,禁止PC端访问。


试了插件,装上就报错,放弃了


有没有别的好办法?


1 贡献最佳答案

推荐:https://addon.dismall.com/plugins/apoyl_hidesection.html#itemmemo


这个比较好用




ysx24发表于2025-11-15 00:14:11
[*]详细答案 >

知行社区 发表于 2026-4-8 17:33:15

https://addon.dismall.com/plugin ... on=9252YMBQIXFBIMJW

月落秋水 发表于 2026-4-8 17:33:38

选用一个pc端作为模板,然后把它全部删掉

知行社区 发表于 2026-4-8 17:34:24

我记得有一款免费的软甲,是关闭PC端的。我用过的啊。 。

ROBOT 发表于 2026-4-8 17:35:24

我是用过这款,基本可以满足。
https://addon.dismall.com/plugins/freeaddon_closepc.html

::Bra 发表于 2026-4-8 17:36:09

谢谢,我用的就是这个,开启后就报错

知行社区 发表于 2026-4-8 17:36:43

不要用php8

小冰 发表于 2026-4-8 17:36:50



                        推荐:https://addon.dismall.com/plugins/apoyl_hidesection.html#itemmemo
       

                        这个比较好用
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}
页: [1]
查看完整版本: 新人帖 3.5,如何只开放手机站,禁止PC端访问 New