wip
This commit is contained in:
parent
9d195a573a
commit
c45bc8ca29
|
|
@ -60,6 +60,9 @@ class ShopServiceProvider extends ServiceProvider
|
|||
|
||||
protected function loadShareViewData()
|
||||
{
|
||||
|
||||
View::share('design', request('design') == 1);
|
||||
|
||||
View::share('languages', languages());
|
||||
|
||||
$menuCategories = CategoryRepo::getTwoLevelCategories();
|
||||
|
|
|
|||
|
|
@ -784,10 +784,10 @@ body.page-account-address .addresses-wrap .item .address-bottom a, body.page-che
|
|||
.module-item {
|
||||
position: relative;
|
||||
}
|
||||
.module-item:hover .module-edit {
|
||||
.module-item.module-item-design:hover .module-edit {
|
||||
display: flex;
|
||||
}
|
||||
.module-item:hover:after {
|
||||
.module-item.module-item-design:hover:after {
|
||||
display: block;
|
||||
}
|
||||
.module-item:after {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</el-row>
|
||||
</div>
|
||||
<div class="preview-iframe">
|
||||
<iframe src="{{ url('/') }}" frameborder="0" id="preview-iframe" width="100%" height="100%"></iframe>
|
||||
<iframe src="{{ url('/') }}?design=1" frameborder="0" id="preview-iframe" width="100%" height="100%"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,15 @@
|
|||
.module-item {
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
.module-edit {
|
||||
display: flex;
|
||||
}
|
||||
&.module-item-design {
|
||||
&:hover {
|
||||
.module-edit {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&:after {
|
||||
display: block;
|
||||
&:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section class="module-item" id="module-dasuybkdas">
|
||||
@if (true)
|
||||
<section class="module-item {{ $design ? 'module-item-design' : ''}}" id="module-dasuybkdas">
|
||||
@if ($design)
|
||||
<div class="module-edit">
|
||||
<div class="edit-wrap">
|
||||
<div class=""><i class="bi bi-chevron-down"></i></div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue