Browse Source

remove top border css

master
filesite 7 months ago
parent
commit
cd774f777a
  1. 2
      themes/tajian/views/my/index.php
  2. 2
      themes/tajian/views/my/setnickname.php
  3. 2
      themes/tajian/views/site/login.php
  4. 2
      themes/tajian/views/site/new.php
  5. 2
      themes/tajian/views/site/register.php
  6. 37
      themes/tajian/views/view/index.php

2
themes/tajian/views/my/index.php

@ -9,7 +9,7 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use @@ -9,7 +9,7 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
$linkPrefix = '/' . FSC::$app['user_id'];
}
?><main class="g_main_lay g_main_border">
?><main class="g_main_lay">
<div class="g_form_style">
<div class="vercenter">
<strong class="nickname"><?=htmlspecialchars($viewData['nickname'], ENT_QUOTES)?></strong>

2
themes/tajian/views/my/setnickname.php

@ -4,7 +4,7 @@ $linkPrefix = ''; @@ -4,7 +4,7 @@ $linkPrefix = '';
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['user_id'])) {
$linkPrefix = '/' . FSC::$app['user_id'];
}
?><main class="g_main_lay g_main_border">
?><main class="g_main_lay">
<form class="add_video_form g_form_style mt65" id="nickname_form" action="" method="POST">
<div class="mb-3 pt20">
<label for="text_input_nickname" class="form-label">昵称</label>

2
themes/tajian/views/site/login.php

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<main class="g_main_lay g_main_border">
<main class="g_main_lay">
<form class="add_video_form g_form_style mt65" id="login_form" action="" method="POST">
<div class="mb-3 pt20">
<label for="text_input_username" class="form-label">手机号码</label>

2
themes/tajian/views/site/new.php

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<main class="g_main_lay g_main_border">
<main class="g_main_lay">
<form class="add_video_form g_form_style" id="add_video_form" action="" method="get">
<div class="">
<label for="text_input_link" class="form-label">视频分享网址/文字</label>

2
themes/tajian/views/site/register.php

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<main class="g_main_lay g_main_border">
<main class="g_main_lay">
<form class="add_video_form g_form_style mt65" id="register_form" action="" method="POST">
<div class="mb-3 pt20 twocol">
<label for="text_input_code" class="form-label">邀请码</label>

37
themes/tajian/views/view/index.php

@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
<?php
$videoUrl = '';
$poster = '';
$imgExts = array('jpg', 'jpeg', 'png', 'gif');
$videoExts = array('mp4', 'm3u8');
if (!empty($viewData['video'])) {
$video = $viewData['video'];
if (!empty($video['directory'])) { //如果是目录,则找出里面第一个mp4作为播放地址
$poster = $video['snapshot'];
if (!empty($video['files'])) {
foreach ($video['files'] as $id => $item) {
if (empty($poster) && in_array($item['extension'], $imgExts)) {
$poster = $item['path'];
}
if (in_array($item['extension'], $videoExts)) {
$videoUrl = $item['path'];
break;
}
}
}
}else {
$videoUrl = $video['path'];
}
}
?><div class="video">
<video class="video-js vjs-big-play-centered vjs-fluid vjs-16-9"
controls
playsinline
data-setup='{"autoplay":"muted"}'
poster="<?php echo !empty($viewData['video']['snapshot']) ? $viewData['video']['snapshot'] : ''; ?>"
id="myvideo">
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
Loading…
Cancel
Save