Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uc_card
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhoujun
uc_card
Commits
976414d8
Commit
976414d8
authored
Jun 09, 2021
by
liyadong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
da236b6a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
8 deletions
+34
-8
src/public/static/postcard/css/style.css
src/public/static/postcard/css/style.css
+1
-1
src/public/static/postcard/css/style.less
src/public/static/postcard/css/style.less
+6
-6
src/public/static/postcard/images/body_bg2.jpg
src/public/static/postcard/images/body_bg2.jpg
+0
-0
src/resources/views/card/card.blade.php
src/resources/views/card/card.blade.php
+27
-1
No files found.
src/public/static/postcard/css/style.css
View file @
976414d8
This diff is collapsed.
Click to expand it.
src/public/static/postcard/css/style.less
View file @
976414d8
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
.postcard-container {
.postcard-container {
padding-bottom: 1rem;
padding-bottom: 1rem;
background: url("../images/body_bg2.jpg") no-repeat center top, url("../images/bg.jpg") repeat-y center;
background: url("../images/body_bg2.jpg
?v=20210609
") no-repeat center top, url("../images/bg.jpg") repeat-y center;
background-size: 100% auto;
background-size: 100% auto;
}
}
...
@@ -157,20 +157,20 @@
...
@@ -157,20 +157,20 @@
.right {
.right {
.fr();
.fr();
width: 50%;
width: 50%;
padding-top: .
5
5rem;
padding-top: .
2
5rem;
li {
li {
margin-top: 0;
margin-top: 0;
margin-bottom: .
6
5rem;
margin-bottom: .
4
5rem;
span {
span {
margin-left: .5rem;
margin-left: .5rem;
width: 3rem;
width: 3rem;
}
}
&.role4 {
//
&.role4 {
margin-bottom: .7rem;
//
margin-bottom: .7rem;
}
//
}
}
}
}
}
...
...
src/public/static/postcard/images/body_bg2.jpg
View replaced file @
da236b6a
View file @
976414d8
3.68 MB
|
W:
|
H:
3.69 MB
|
W:
|
H:
2-up
Swipe
Onion skin
src/resources/views/card/card.blade.php
View file @
976414d8
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
reSizeRem
();
reSizeRem
();
}
}
</script>
</script>
<link
rel=
"stylesheet"
href=
"{{ asset('postcard/css/style.css?v=20210609') }}"
>
<link
rel=
"stylesheet"
href=
"{{ asset('postcard/css/style.css?v=20210609
02
') }}"
>
<script
src=
"{{ asset('js/jquery.2.1.3.min.js') }}"
></script>
<script
src=
"{{ asset('js/jquery.2.1.3.min.js') }}"
></script>
<script
src=
"{{ asset('postcard/js/html2canvas.js') }}"
></script>
<script
src=
"{{ asset('postcard/js/html2canvas.js') }}"
></script>
<script
src=
"{{ asset('js/toast.js') }}"
></script>
<script
src=
"{{ asset('js/toast.js') }}"
></script>
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
0
0
@endif
@endif
小时
</span></li>
小时
</span></li>
<li
class=
"role6"
><span>
荣誉称号
</span></li>
</ul>
</ul>
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
...
@@ -200,6 +201,29 @@
...
@@ -200,6 +201,29 @@
renderHtml
(
'
#wq1
'
,
'
{{ $armsStrong }}
'
);
renderHtml
(
'
#wq1
'
,
'
{{ $armsStrong }}
'
);
renderHtml
(
'
#wq2
'
,
'
{{ $armsExciting }}
'
);
renderHtml
(
'
#wq2
'
,
'
{{ $armsExciting }}
'
);
renderHtml
(
'
#wq3
'
,
'
{{ $armsScore }}
'
);
renderHtml
(
'
#wq3
'
,
'
{{ $armsScore }}
'
);
function
beforeUploadPicture
(
file
)
{
// 直播大图
const
width
=
347
const
height
=
115
const
isSize
=
new
Promise
(
function
(
resolve
,
reject
)
{
const
_URL
=
window
.
URL
||
window
.
webkitURL
const
img
=
new
Image
()
img
.
onload
=
function
()
{
console
.
log
(
img
.
width
,
img
.
height
)
const
valid
=
img
.
width
===
width
&&
img
.
height
===
height
valid
?
resolve
()
:
reject
()
}
img
.
src
=
_URL
.
createObjectURL
(
file
)
}).
then
(()
=>
{
return
true
},
()
=>
{
return
false
})
if
(
!
isSize
)
{
this
.
$message
.
error
(
'
请上传尺寸为
'
+
width
+
'
*
'
+
height
+
'
的图片!
'
)
return
Promise
.
reject
()
}
}
// 上传图片
// 上传图片
$
(
document
).
on
(
'
change
'
,
'
#file
'
,
function
(
e
)
{
$
(
document
).
on
(
'
change
'
,
'
#file
'
,
function
(
e
)
{
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
...
@@ -207,6 +231,8 @@
...
@@ -207,6 +231,8 @@
var
acceptFileTypes
=
/^image
\/(
jpe
?
g|png
)
$/i
;
var
acceptFileTypes
=
/^image
\/(
jpe
?
g|png
)
$/i
;
var
roleId
=
getQueryString
(
'
roleId
'
);
var
roleId
=
getQueryString
(
'
roleId
'
);
var
serverId
=
getQueryString
(
'
serverId
'
);
var
serverId
=
getQueryString
(
'
serverId
'
);
beforeUploadPicture
(
file
);
return
false
;
try
{
try
{
//文件类型判断
//文件类型判断
if
(
file
&&
file
.
type
&&
!
acceptFileTypes
.
test
(
file
.
type
))
{
if
(
file
&&
file
.
type
&&
!
acceptFileTypes
.
test
(
file
.
type
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment