From fc6f882f98f8e0b348c32b90b2e90a9dcbfa1901 Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 20 May 2024 07:07:10 +0000 Subject: [PATCH] ui update --- themes/tajian/controller/MyController.php | 15 ++++++++++++ themes/tajian/views/my/createdir.php | 29 +++++++++++++++++++++++ themes/tajian/views/my/favs.php | 3 +++ themes/tajian/views/my/index.php | 3 ++- themes/tajian/views/my/setnickname.php | 7 +++--- themes/tajian/views/my/share.php | 7 +++--- themes/tajian/views/my/switchdir.php | 9 ++++--- themes/tajian/views/my/tag_new.php | 7 +++--- themes/tajian/views/my/tags.php | 3 +++ www/img/person-add.svg | 5 ++++ 10 files changed, 72 insertions(+), 16 deletions(-) create mode 100644 themes/tajian/views/my/createdir.php create mode 100644 www/img/person-add.svg diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index d3764a6..1ce62e8 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -132,4 +132,19 @@ Class MyController extends SiteController { return $this->actionIndex($viewName, $defaultTitle, compact('myDirs', 'myNicks')); } + //添加收藏夹 + public function actionCreatedir() { + $myDirs = $myNicks = array(); + + //VIP身份判断 + $loginedUser = Common::getUserFromSession(); + if (empty($loginedUser['cellphone']) || !in_array($loginedUser['cellphone'], FSC::$app['config']['tajian_vip_user'])) { + throw new Exception('Oops,你还不是VIP,请联系首页底部客服邮箱开通。'); + } + + $defaultTitle = "添加账号"; + $viewName = 'createdir'; + return $this->actionIndex($viewName, $defaultTitle); + } + } \ No newline at end of file diff --git a/themes/tajian/views/my/createdir.php b/themes/tajian/views/my/createdir.php new file mode 100644 index 0000000..f0778ff --- /dev/null +++ b/themes/tajian/views/my/createdir.php @@ -0,0 +1,29 @@ +
+ +
+
+ + +

说明:
最多添加 10 个账号

+
+
+ +
+
+
\ No newline at end of file diff --git a/themes/tajian/views/my/favs.php b/themes/tajian/views/my/favs.php index 722c5c7..8758d25 100644 --- a/themes/tajian/views/my/favs.php +++ b/themes/tajian/views/my/favs.php @@ -29,6 +29,9 @@ $allTags = Html::getTagNames($viewData['tags']); ?>
+

你已收藏 个视频

勾选视频下方的分类,将该视频归类到对应的分类;取消勾选,则将视频从该分类中移除。

diff --git a/themes/tajian/views/my/index.php b/themes/tajian/views/my/index.php index a797dbc..592cd47 100644 --- a/themes/tajian/views/my/index.php +++ b/themes/tajian/views/my/index.php @@ -25,7 +25,8 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
  • favorite 管理收藏
  • collection 管理分类
  • share favorite 分享收藏
  • -
  • share favorite 切换账号
  • +
  • switch directory 切换账号
  • +
  • add directory 添加账号
  • diff --git a/themes/tajian/views/my/setnickname.php b/themes/tajian/views/my/setnickname.php index f5f6e5f..551a409 100644 --- a/themes/tajian/views/my/setnickname.php +++ b/themes/tajian/views/my/setnickname.php @@ -5,6 +5,9 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use $linkPrefix = '/' . FSC::$app['user_id']; } ?>
    +
    @@ -21,10 +24,6 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use 保存
    - - - 返回 -
    \ No newline at end of file diff --git a/themes/tajian/views/my/share.php b/themes/tajian/views/my/share.php index b5b3a7e..a1d8d47 100644 --- a/themes/tajian/views/my/share.php +++ b/themes/tajian/views/my/share.php @@ -7,6 +7,9 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use $shareUrl = "{$linkPrefix}/"; ?>
    +
    @@ -23,10 +26,6 @@ $shareUrl = "{$linkPrefix}/"; 复制
    - - - 返回 -
    diff --git a/themes/tajian/views/my/switchdir.php b/themes/tajian/views/my/switchdir.php index 3a05eee..815683c 100644 --- a/themes/tajian/views/my/switchdir.php +++ b/themes/tajian/views/my/switchdir.php @@ -10,11 +10,14 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use } ?>
    +
    -
    - 点击切换 + +
    + 点击昵称切换:
    -
      +
      @@ -21,10 +24,6 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use 保存
      - - - 返回 -
      \ No newline at end of file diff --git a/themes/tajian/views/my/tags.php b/themes/tajian/views/my/tags.php index d5bcc79..360443c 100644 --- a/themes/tajian/views/my/tags.php +++ b/themes/tajian/views/my/tags.php @@ -5,6 +5,9 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use $linkPrefix = '/' . FSC::$app['user_id']; } ?>
      +
      + + + +