GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zmcode/win98-theme: 基于perfree的win98复古主题

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
inc
inc
 
 
static
static
 
 
README.md
README.md
 
 
index.html
index.html
 
 
theme.properties
theme.properties
 
 
win98.jpeg
win98.jpeg
 
 

Repository files navigation

介绍

基于perfree: http://perfree.org.cn 基于win98: https://github.com/1j01/98, 开发的win98怀旧博客主题, 让你在电脑浏览博客更符合电脑操作

使用

根据perfree官网部署项目, 下载对应版本的Releases版本包, 安装主题即可

注意事项

  1. 项目的后台是perfree, 在增改动态, 增改文档,都是用的后台的页面, 需要对原有后台页面提交更改成功的逻辑增加对win98主题的判断, 不然layer会报错 用的是win98Theme这个变量去判断的,看代码肯定能看懂的

  2. 如果你需要isLock接口, 那么就需要后台增加isLock接口,可以通过后台对应的目录增加以下代码, 这样你就可以通过设置API Access Key来限制访问了

@ApiOperation(value = "锁定状态", notes = "是否锁定")
    @PostMapping("/isLock")
    @ResponseBody
    public ResponseBean getKey() {
        HashMap<String, Object> result = new HashMap<>();
        String webApiAccessKey = OptionCacheUtil.getDefaultValue("WEB_API_ACCESS_KEY", "");
        if (StringUtils.isBlank(webApiAccessKey)) {
            result.put("lock", false);
        } else {
            result.put("lock", true);
        }

        return ResponseBean.success("获取成功", result);
    }

image

  1. pinball嵌入的是98项目的iframe, 你也可以直接拿源码放到你的项目中

  2. 我的项目就是perfree的主题, 你可以在这里放入一些你之前写过的项目, 可以直接预览,目前perfree还不支持前端框架类的项目预览, 直接直接切换, 后面作者会加,你也可以直接改

  3. 代码片段就是https://github.com/zmcode/code-share, 这个项目, 你可以自己部署别的域名, 然后改路径就可以了, 这个也是用的perfree后台

更多的细节可以看98的源码, 很不错的一款开源项目

展示

image image image image image image image

About

基于perfree的win98复古主题

Resources

Readme
Activity

Stars

18 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.