easy-upload icon indicating copy to clipboard operation
easy-upload copied to clipboard

[新站点] 我的PT

Open 2Dou opened this issue 5 months ago • 0 comments

站点架构

NexusPHP

站点配置

```yaml
search:
  selector: input[name="search"]
  type: text
  label: null
search_area:
  selector: select[name="search_area"]
  options:
    - text: 标题
      value: "0"
    - text: 简介
      value: "1"
    - text: 发布者
      value: "3"
    - text: IMDB链接
      value: "4"
file:
  selector: input[name="file"]
  type: file
  label: null
name:
  selector: input[name="name"]
  type: text
  label: null
small_descr:
  selector: input[name="small_descr"]
  type: text
  label: null
b:
  selector: input[name="b"]
  type: button
  label: null
i:
  selector: input[name="i"]
  type: button
  label: null
u:
  selector: input[name="u"]
  type: button
  label: null
url: https://cc.mypt.cc
IMG:
  selector: input[name="IMG"]
  type: button
  label: null
list:
  selector: input[name="list"]
  type: button
  label: null
quote:
  selector: input[name="quote"]
  type: button
  label: null
tagcount:
  selector: input[name="tagcount"]
  type: button
  label: null
color:
  selector: select[name="color"]
  options:
    - text: --- 颜色 ---
      value: "0"
    - text: Black
      value: Black
    - text: Sienna
      value: Sienna
    - text: Dark Olive Green
      value: DarkOliveGreen
    - text: Dark Green
      value: DarkGreen
    - text: Dark Slate Blue
      value: DarkSlateBlue
    - text: Navy
      value: Navy
    - text: Indigo
      value: Indigo
    - text: Dark Slate Gray
      value: DarkSlateGray
    - text: Dark Red
      value: DarkRed
    - text: Dark Orange
      value: DarkOrange
    - text: Olive
      value: Olive
    - text: Green
      value: Green
    - text: Teal
      value: Teal
    - text: Blue
      value: Blue
    - text: Slate Gray
      value: SlateGray
    - text: Dim Gray
      value: DimGray
    - text: Red
      value: Red
    - text: Sandy Brown
      value: SandyBrown
    - text: Yellow Green
      value: YellowGreen
    - text: Sea Green
      value: SeaGreen
    - text: Medium Turquoise
      value: MediumTurquoise
    - text: Royal Blue
      value: RoyalBlue
    - text: Purple
      value: Purple
    - text: Gray
      value: Gray
    - text: Magenta
      value: Magenta
    - text: Orange
      value: Orange
    - text: Yellow
      value: Yellow
    - text: Lime
      value: Lime
    - text: Cyan
      value: Cyan
    - text: Deep Sky Blue
      value: DeepSkyBlue
    - text: Dark Orchid
      value: DarkOrchid
    - text: Silver
      value: Silver
    - text: Pink
      value: Pink
    - text: Wheat
      value: Wheat
    - text: Lemon Chiffon
      value: LemonChiffon
    - text: Pale Green
      value: PaleGreen
    - text: Pale Turquoise
      value: PaleTurquoise
    - text: Light Blue
      value: LightBlue
    - text: Plum
      value: Plum
    - text: White
      value: White
font:
  selector: select[name="font"]
  options:
    - text: --- 字体 ---
      value: "0"
    - text: Arial
      value: Arial
    - text: Arial Black
      value: Arial Black
    - text: Arial Narrow
      value: Arial Narrow
    - text: Book Antiqua
      value: Book Antiqua
    - text: Century Gothic
      value: Century Gothic
    - text: Comic Sans MS
      value: Comic Sans MS
    - text: Courier New
      value: Courier New
    - text: Fixedsys
      value: Fixedsys
    - text: Garamond
      value: Garamond
    - text: Georgia
      value: Georgia
    - text: Impact
      value: Impact
    - text: Lucida Console
      value: Lucida Console
    - text: Lucida Sans Unicode
      value: Lucida Sans Unicode
    - text: Microsoft Sans Serif
      value: Microsoft Sans Serif
    - text: Palatino Linotype
      value: Palatino Linotype
    - text: System
      value: System
    - text: Tahoma
      value: Tahoma
    - text: Times New Roman
      value: Times New Roman
    - text: Trebuchet MS
      value: Trebuchet MS
    - text: Verdana
      value: Verdana
size:
  selector: select[name="size"]
  options:
    - text: --- 字号 ---
      value: "0"
    - text: "1"
      value: "1"
    - text: "2"
      value: "2"
    - text: "3"
      value: "3"
    - text: "4"
      value: "4"
    - text: "5"
      value: "5"
    - text: "6"
      value: "6"
    - text: "7"
      value: "7"
descr:
  selector: textarea[name="descr"]
technical_info:
  selector: textarea[name="technical_info"]
type:
  selector: select[name="type"]
  options:
    - text: 请选择
      value: "0"
    - text: Audio/有声读物
      value: "419"
    - text: RECO/知识库
      value: "418"
    - text: material/素材库
      value: "417"
    - text: apps/软件库
      value: "416"
    - text: games/游戏库
      value: "415"
    - text: picture/图片册
      value: "414"
    - text: comic/漫画集
      value: "413"
    - text: music/音乐厅
      value: "412"
    - text: book/图书馆
      value: "411"
"medium_sel[4]":
  selector: select[name="medium_sel[4]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: WEB-DL
      value: "10"
    - text: Track
      value: "9"
    - text: CD
      value: "8"
    - text: DVDR
      value: "6"
    - text: HDTV
      value: "5"
    - text: MiniBD
      value: "4"
    - text: Encode
      value: "7"
    - text: Remux
      value: "3"
    - text: HD DVD
      value: "2"
    - text: Blu-ray
      value: "1"
"codec_sel[4]":
  selector: select[name="codec_sel[4]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: H.264
      value: "1"
    - text: H.265
      value: "2"
    - text: Xvid
      value: "3"
    - text: MPEG-2
      value: "4"
    - text: MP4/AVI
      value: "5"
    - text: RM/RMVB
      value: "6"
    - text: Other
      value: "7"
"standard_sel[4]":
  selector: select[name="standard_sel[4]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: other/其它
      value: "1"
    - text: 1080i/P
      value: "2"
    - text: 720p
      value: "3"
    - text: 2k/高清
      value: "4"
    - text: 4k/超清
      value: "5"
    - text: 8k/蓝光
      value: "6"
    - text: 3D/DTS
      value: "7"
    - text: 360p/480p
      value: "8"
"team_sel[4]":
  selector: select[name="team_sel[4]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: HDS
      value: "1"
    - text: CHD
      value: "2"
    - text: MySiLU
      value: "3"
    - text: MY/发布者
      value: "4"
    - text: Other/转载
      value: "5"
"tags[4][]":
  selector: input[name="tags[4][]"]
  type: checkbox
  label: 港/奥/台
"source_sel[5]":
  selector: select[name="source_sel[5]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: catalogue/目录
      value: "1"
    - text: single/单文件
      value: "2"
    - text: multifile/多文件
      value: "3"
    - text: rar/zip/压缩包
      value: "4"
    - text: app/exe/安装包
      value: "5"
    - text: Other/其它结构
      value: "6"
"audiocodec_sel[5]":
  selector: select[name="audiocodec_sel[5]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: flac/dts
      value: "1"
    - text: app/ipa
      value: "2"
    - text: exe/win
      value: "3"
    - text: mp3/aac
      value: "4"
    - text: iso/esd
      value: "5"
    - text: rar/zip
      value: "6"
    - text: jpg/png
      value: "7"
    - text: doc/text
      value: "8"
    - text: gho/img
      value: "9"
    - text: pdf/ppt
      value: "10"
    - text: epub/mobi
      value: "11"
    - text: ps/3dmax
      value: "12"
    - text: video
      value: "13"
    - text: Other
      value: "14"
"processing_sel[5]":
  selector: select[name="processing_sel[5]"]
  options:
    - text: 请选择一项
      value: "0"
    - text: public/公开的
      value: "1"
    - text: risk/有风险
      value: "2"
    - text: porno/色情
      value: "3"
    - text: stability/稳定
      value: "4"
    - text: test/测试版
      value: "5"
    - text: outdated/老旧的
      value: "6"
"tags[5][]":
  selector: input[name="tags[5][]"]
  type: checkbox
  label: 少儿不宜
uplver:
  selector: input[name="uplver"]
  type: checkbox
  label: null
host: cc.mypt.cc
uploadPath: /upload.php

### 其他

_No response_

2Dou avatar Jul 31 '25 01:07 2Dou