个性页面样式

This commit is contained in:
Anyon 2020-09-18 23:31:17 +08:00
parent 715a6ed1df
commit ca2e97225f
6 changed files with 42 additions and 27 deletions

View File

@ -10,7 +10,7 @@
{/block}
{block name='content'}
<div class="think-box-shadow">
<div class="think-box-shadow inline-block">
<p class=" margin-bottom-15">
演示接口文档:<a target="_blank" href="http://www.docway.net/project/1WkI0ZyQ7M1/share/1Wld0z7b1zE">http://www.docway.net/project/1WkI0ZyQ7M1/share/1Wld0z7b1zE</a>
</p>

View File

@ -63,7 +63,9 @@
</div>
</td>
<td class="text-left">
{notempty name='vo.mark'}{foreach $vo.mark as $mark}<span class="notselect margin-right-5 layui-badge layui-bg-cyan">{$mark}</span>{/foreach}{/notempty}
{notempty name='vo.mark'}{foreach $vo.mark as $mark}
<span class="notselect nowrap margin-right-5 layui-badge layui-bg-cyan">{$mark}</span>
{/foreach}{/notempty}
</td>
<td class='nowrap'>
销售状态:{eq name='vo.status' value='0'}<span class="layui-badge">已下架</span>{else}<span class="layui-badge layui-bg-green">销售中</span>{/eq}<br>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -101,6 +101,7 @@
padding: 0;
border: none;
line-height: 45px;
background: #eaedf1;
+ a {
padding-right: 35px
@ -120,11 +121,15 @@
color: #333
}
dd {
background: #fff;
}
dd a {
padding: 0;
color: #333;
margin-top: 1px;
text-align: center;
border-top: 1px solid #eaedf1
}
}
}

View File

@ -10,6 +10,30 @@ fieldset {
}
}
.layui-btn {
border: 1px solid #009688;
}
.layui-btn-warm {
border: 1px solid #FFB800;
}
.layui-btn-danger {
border: 1px solid #FF5722;
}
.layui-btn-normal {
border: 1px solid #1E9FFF;
}
.layui-btn-disabled {
border: 1px solid #e6e6e6;
}
.layui-btn-group .layui-btn-primary:hover {
border-color: #009688;
}
/*! 搜索表单样式 */
.form-search {
.layui-btn {
@ -23,7 +47,7 @@ fieldset {
width: auto !important;
height: 32px;
padding: 0 8px;
line-height: 30px
line-height: 32px
}
.layui-input-inline {
@ -32,8 +56,8 @@ fieldset {
input, select {
width: 100%;
height: 32px;
padding: 2px 8px;
line-height: 1em
padding: 0 8px;
line-height: 32px
}
}
@ -44,10 +68,6 @@ fieldset {
}
.layui-form {
input.layui-input, select.layui-select {
line-height: 1em;
}
&.layui-card {
box-shadow: none
}
@ -119,7 +139,7 @@ label.think-checkbox, label.think-radio {
cursor: pointer;
margin-top: 10px;
font-weight: 400;
line-height: 17px;
line-height: 18px;
}
.think-checkbox input[type=checkbox] {
@ -180,7 +200,6 @@ label.think-checkbox, label.think-radio {
}
}
.layui-layer-content .layui-form.layui-card .layui-card-body {
padding: 30px 40px 0 0
}
@ -202,11 +221,10 @@ label.think-checkbox, label.think-radio {
.layui-btn-group {
> .layui-btn {
border-right: 0 !important;
border-radius: 0 !important;
border-left: 1px solid #C9C9C9 !important;
border-left: 1px solid #009688 !important;
&:last-child {
border-right: 1px solid #C9C9C9 !important;
border-right: 1px solid #009688 !important;
}
&.layui-btn-active {
@ -220,16 +238,6 @@ label.think-checkbox, label.think-radio {
}
}
.layui-btn-primary {
&.layui-btn-xs {
line-height: 20px
}
&.layui-btn-sm {
line-height: 28px
}
}
.layui-table {
td, th {