Commit 1912ce00 authored by zhoujun's avatar zhoujun

Merge branch 'test' of http://gitlab.cccwangluo.com/zhoujun/uc_card into test

parents 81b0d9e1 62be5357
This diff is collapsed.
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
.postcard-container { .postcard-container {
padding-bottom: 1rem; padding-bottom: 1rem;
background: url("../images/body_bg2.jpg?v=20210609") no-repeat center top, url("../images/bg.jpg") repeat-y center; background: url("../images/body_bg3.jpg") no-repeat center top, url("../images/bg.jpg") repeat-y center;
background-size: 100% auto; background-size: 100% auto;
} }
...@@ -105,46 +105,38 @@ ...@@ -105,46 +105,38 @@
} }
li { li {
.lh(.62rem);
.fs(.24rem, @baseColor);
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
margin-top: .5rem; font-size: 0;
padding-top: .15rem;
img{
height: .32rem;
}
span { span {
margin-left: .2rem; margin-left: .2rem;
display: inline-block; display: inline-block;
width: 3.23rem; width: 2.6rem;
.lh(.5rem);
background: url("../images/wn_bg.png") no-repeat center;
background-size: 100% auto;
.ells(); .ells();
.fs(.24rem, @baseColor);
} }
} }
.left { .left {
.fl(); .fl();
width: 50%; width: 50%;
ul{
li { padding-top: .2rem;
.fs(.26rem, @baseColor)
} }
} }
.right { .right {
.fr(); .fr();
width: 50%; width: 50%;
padding-top: .25rem; ul{
padding-top: .2rem;
li {
margin-top: 0;
margin-bottom: .45rem;
span {
margin-left: .5rem;
width: 3rem;
}
//&.role4 {
// margin-bottom: .7rem;
//}
} }
} }
...@@ -301,11 +293,19 @@ ...@@ -301,11 +293,19 @@
background-size: 100% auto; background-size: 100% auto;
.mr { .mr {
.pr();
height: 5.27rem; height: 5.27rem;
width: 8.6rem; width: 8.6rem;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
em{
.pa();
top: 3.1rem;
width: 100%;
text-indent: .2rem;
text-align: center;
.fs(.3rem,#74624e);
}
span { span {
margin: 3.6rem 0 0 3.5rem; margin: 3.6rem 0 0 3.5rem;
display: block; display: block;
......
...@@ -44,22 +44,40 @@ ...@@ -44,22 +44,40 @@
@endif @endif
</div> </div>
<ul> <ul>
<li class="role1"><span>{{ $info->role_name ?? '' }}</span></li> <li class="role1">
<li class="role2"><span>{{ $serverName }}</span></li> <img src="{{ asset('postcard/images/role_img1.png') }}" alt="">
<span>{{ $info->role_name ?? '' }}</span>
</li>
<li class="role2">
<img src="{{ asset('postcard/images/role_img2.png') }}" alt="">
<span>{{ $serverName }}</span>
</li>
</ul> </ul>
</div> </div>
<div class="right"> <div class="right">
<ul> <ul>
<li class="role3"><span>{{ $info->job ?? '' }}</span></li> <li class="role3">
<li class="role4"><span>{{ $info->guild ?? '' }}</span></li> <img src="{{ asset('postcard/images/role_img3.png') }}" alt="">
<li class="role5"><span> <span>{{ $info->job ?? '' }}</span>
@if($info->online_time > 0) </li>
{{ ceil($info->online_time / 3600) }} <li class="role4">
@else <img src="{{ asset('postcard/images/role_img4.png') }}" alt="">
0 <span>{{ $info->guild ?? '' }}</span>
@endif </li>
小时</span></li> <li class="role5">
<li class="role6"><span>{{ $honor }}</span></li> <img src="{{ asset('postcard/images/role_img5.png') }}" alt="">
<span>
@if($info->online_time > 0)
{{ ceil($info->online_time / 3600) }}
@else
0
@endif
小时</span>
</li>
<li class="role6">
<img src="{{ asset('postcard/images/role_img6.png') }}" alt="">
<span>{{ $honor }}</span>
</li>
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment