Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2023-03-16 09:48:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e2b4c6236b4d2ec4ae1ba61cd706834bfed56336
e2b4c623
1 parent
42fb12f9
1.修改用户信息优化
2.新增用户反馈相关接口。 3.新增点赞列表接口。
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
app/Admin/Controllers/VideoTempController.php
resources/views/admin/form/phone.blade.php
app/Admin/Controllers/VideoTempController.php
View file @
e2b4c62
...
...
@@ -114,6 +114,7 @@ class VideoTempController extends AdminController
$form
->
hasMany
(
'components'
,
'组件'
,
function
(
Form\NestedForm
$form
)
{
$form
->
select
(
'name'
,
'组件名称'
)
->
options
([
'one_poem_with_annotate'
=>
'一言带注解组件'
,
'every_poem'
=>
'每日一言组件'
,
'one_poem'
=>
'一言组件'
,
'weather'
=>
'天气组件'
,
...
...
@@ -121,6 +122,9 @@ class VideoTempController extends AdminController
'feel'
=>
'临境有感组件'
,
]);
$form
->
select
(
'position'
,
'组件位置'
)
->
options
(
VideoTemp
::
POSITION_OPTIONS
);
$form
->
switch
(
'fade'
,
'淡入淡出'
)
->
help
(
"开启淡入淡出会使背景色失效"
);
$form
->
number
(
'text_bg_box'
,
'背景厚度'
)
->
default
(
0
)
->
addElementClass
(
'text_bg_box'
)
->
help
(
'设置背景块边缘厚度(用于在背景块边缘用背景色填充一圈),默认为0'
);
$form
->
color
(
'text_bg_color'
,
'背景色'
)
->
default
(
'#5c6bc6'
)
->
addElementClass
(
'text_bg_color'
);
...
...
resources/views/admin/form/phone.blade.php
View file @
e2b4c62
...
...
@@ -40,7 +40,7 @@
}
.poem-title
{
font-size
:
14
px
;
font-size
:
26
px
;
font-weight
:
bold
;
margin
:
10px
;
}
...
...
@@ -51,7 +51,7 @@
}
.poem-content
{
font-size
:
12
px
;
font-size
:
24
px
;
margin
:
0
;
}
...
...
Please
register
or
login
to post a comment