diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index b0cb12a..57826be 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -14,7 +14,7 @@ Class MyController extends SiteController { if (empty($loginedUser['username'])) { return $this->redirect('/site/login/'); }else if (!empty(FSC::$app['config']['multipleUserUriParse']) && FSC::$app['user_id'] != $loginedUser['username']) { - $shareUrl = "/{$loginedUser['username']}/my/"; + $shareUrl = "/{$loginedUser['username']}/my/" . FSC::$app['action']; return $this->redirect($shareUrl); } diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index fbb6973..c926365 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -93,14 +93,16 @@ Class SiteController extends Controller { //显示TA荐首页 protected function renderTajianIndex() { - $pageTitle = "Ta荐:好用的视频收藏夹,帮你整理不同平台的好视频,轻松分享给朋友!"; + $loginedUser = Common::getUserFromSession(); + + $pageTitle = "Ta荐:你的聚宝盆,帮你收纳不同平台的有价值视频,轻松分享!"; $stats = TajianStats::init(); $this->layout = 'index'; $viewName = 'tajian'; $params = compact( - 'pageTitle', 'stats' + 'pageTitle', 'stats', 'loginedUser' ); return $this->render($viewName, $params, $pageTitle); } @@ -404,7 +406,13 @@ Class SiteController extends Controller { //判断是否已经登录 $loginedUser = Common::getUserFromSession(); if (!empty($loginedUser['username'])) { - $shareUrl = "/{$loginedUser['username']}/my/share/"; + $shareUrl = "/{$loginedUser['username']}/my/"; + + $goUrl = $this->get('go', ''); + if (!empty($goUrl) && preg_match("/^\/.+$/", urldecode($goUrl))) { + $shareUrl = urldecode($goUrl); + } + return $this->redirect($shareUrl); } diff --git a/themes/tajian/views/layout/index.php b/themes/tajian/views/layout/index.php index 32f6d51..12e87fd 100644 --- a/themes/tajian/views/layout/index.php +++ b/themes/tajian/views/layout/index.php @@ -24,7 +24,7 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use - TaJian.tv
- 下载Machete源码下载源码 + 用户登录登录
@@ -37,11 +37,11 @@ if (!empty($viewFile) && file_exists($viewFile)) {

谁在用?

-

使用方法

+

使用步骤

- 1. 从各大视频App、网站复制视频的分享链接 + 1. 从各视频App、网站复制视频的分享链接
- 2. 在“添加”里粘贴后保存 + 2. 登录后在“添加收藏”里粘贴保存
3. 分享你的专属链接给朋友 没注册?

- 点上面“创建专属收藏夹”, -
用手机号码 + 邀请码(朋友手机号码末6位)去注册 + 用手机号码 + 邀请码(邀请者手机号末 6 位) + 去注册 - 还可以加客服微信索要注册邀请码 + 还可以加客服微信获取注册邀请码 Ta荐客服微信二维码

-

已有账号

-

去登录

-

支持的视频App/网站

-

其它App和网站将陆续增加。。。

+

更多App和网站将陆续增加。。。

Ta荐核心数据

diff --git a/www/css/tajian.css b/www/css/tajian.css index 85ae789..f16dde1 100644 --- a/www/css/tajian.css +++ b/www/css/tajian.css @@ -237,7 +237,8 @@ a:link{text-decoration:none;} /* TaJian首页 */ .tajian_index{max-width:640px;margin:0 auto;padding:10px} -.tajian_index .h1title{font-size:17px;color:#444} +.tajian_index .h1title{font-size:24px;color:#444} +.tajian_index .h1title small{font-size:67%} .tajian_index .h3title{margin-top:30px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #DDD} .tajian_index .ulist{margin-top:10px} .tajian_index .ulist li{list-style:circle;margin-left:26px;padding-left:8px;line-height:1.8} diff --git a/www/tajian/README.md b/www/tajian/README.md index e963904..18fc677 100644 --- a/www/tajian/README.md +++ b/www/tajian/README.md @@ -1,5 +1,5 @@ -发邮件告诉我们你对Machete的看法和它的趣事吧: +发邮件告诉我们你对Ta荐的看法和它的趣事吧: ``` machete#filesite.io(用@替换#) ``` diff --git a/www/tajian/README_title.txt b/www/tajian/README_title.txt index f666297..52981b9 100644 --- a/www/tajian/README_title.txt +++ b/www/tajian/README_title.txt @@ -1 +1 @@ -Ta荐:好用的视频收藏夹,帮你整理不同平台的好视频,轻松分享给朋友! \ No newline at end of file +Ta荐:你的聚宝盆,帮你收纳不同平台的有价值视频,轻松分享! \ No newline at end of file