Skip to content

xidian-rs/Ruisi_iOS

Repository files navigation

西电睿思手机客户端(iOS)

Build Status

西安电子科技大学校园睿思论坛客户端。
本客户端在校园网和校外网环境下均可使用。如有bug,建议等欢迎反馈。

Android版本 Ruisi

下载

编译

  • 安装Cocoapods: sudo gem install cocoapods
  • 克隆本项目: git clone https://github.com/xidian-rs/Ruisi_iOS.git
  • 在项目文件夹中运行: pod install
  • 使用xcode(需要10.x及以上版本)打开生成的.xcworkspace文件,构建并运行.

移植到你的论坛

理论上支持任何Discuz 3.x版本

  1. 到你discuz管理后台全局 -> 手机版设置 -> 开启手机版 ,目前不支持新触屏版,关闭此选项
  2. 全局 -> 防采集设置 -> 不进行防采集的内容 勾选文章,或者关闭防采集
  3. 修改代码文件Constant.swift,设置里的论坛地址,修改baseUrl指向你的论坛地址(由于我们学校论坛有2个地址所以这儿我填了2个根地址,按需删除)
//校园网地址
public static let BASE_URL_EDU = "https://rs.xidian.edu.cn/"

  1. 修改配置文件forums.json,按照默认模版填上你论坛板块信息
  2. 板块图标放到forumlogo目录,文件名common_2_icon.gif,中间的数字替换为板块fid
  3. 设置表情
    修改smiley.json,表情显示在发帖回复键盘底下,参考默认模版修改为你的论坛支持的表情,支持文字(isImage:false),与图片表情(path:表情在smiley目录位置,value:表情转义文字),把图片表情放在smiley目录,后缀.png。 查询你论坛支持的表情(需要开启 【应用 -> 掌上论坛 】):根路径 + api/mobile/index.php?version=4&module=smiley,示例

软件截图

image image image image image image image image

意见和反馈

参考和使用的开源库和软件:

Kingfisher

Kanna

Ruisi

MailOnline/ImageViewer

SwiftGif

License

Copyright 2017-2018 freedom10086

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

西电睿思手机客户端[iOS]适用于discuz论坛

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages