shoppingmallv2 init...

This commit is contained in:
최준흠 2023-08-10 11:18:09 +09:00
parent 770e8bff8b
commit 3d30a374f7
27 changed files with 157 additions and 95 deletions

View File

@ -3,6 +3,7 @@
namespace App\Controllers\Admin;
use App\Controllers\Trait\UpDownloadTrait;
use App\Entities\CategoryEntity;
use App\Models\CategoryModel;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
@ -65,20 +66,40 @@ class CategoryController extends AdminController
return $this->_viewDatas['fieldDatas'];
}
private function build_leftmenu()
private function write_leftmenu($old_category, array $categorys)
{
foreach ($this->_model->getEntitys(['grpdepth' => 2, 'status' => DEFAULTS['STATUS']]) as $entity) {
$categorys = $this->_model->getSiblingEntitys($entity);
//신규 대분류인경우 기존 카테고리 메뉴 만들기
// $categorys = array_reverse($categorys); //중분류의 경우 나중에 넣은것이 먼저되므로 reverse해서 처리
foreach ($categorys as $category) {
$viewDatas = [
'className' => $this->_model->getClassName(),
'category' => $entity,
'parent_category' => array_shift($categorys),
'category' => $category,
'parent_category' => $old_category,
'sibling_categorys' => $categorys
];
$leftmenu = view($this->_viewPath . '/leftmenu_template', ['viewDatas' => $viewDatas]);
file_put_contents(APPPATH . 'Views' . "/layouts/front/left_menu/leftmenu_{$entity->getPrimaryKey()}.php", $leftmenu);
file_put_contents(APPPATH . 'Views' . "/layouts/front/left_menu/leftmenu_{$category->getPrimaryKey()}.php", $leftmenu);
}
}
private function build_leftmenu()
{
$old_category = null;
$categorys = array();
foreach ($this->_model->getEntitys(['status' => DEFAULTS['STATUS']]) as $entity) {
if ($entity->getHierarchy_Depth() == 1) {
if (is_null($old_category)) {
$old_category = $entity;
} else if ($old_category->getPrimaryKey() != $entity->getPrimaryKey()) {
$this->write_leftmenu($old_category, $categorys);
$old_category = $entity;
$categorys = array();
}
} else {
array_push($categorys, $entity);
}
}
$this->write_leftmenu($old_category, $categorys);
}
//Insert관련
protected function insert_process()

View File

@ -129,7 +129,7 @@ function getFieldIndex_Row_ProductHelper($field, $entity, array $viewDatas): str
case 'name':
return anchor(
current_url() . '/view/' . $entity->getPrimaryKey() . '?category=' . $viewDatas['category']->getPrimaryKey(),
$value ? str_split($value, 66)[0] . "..." : "",
$value,
["target" => "_self"]
);
break;

View File

@ -5,10 +5,10 @@ $roles = [
'director' => '감독자', 'master' => "마스터",
];
return [
'title' => "범주 정보",
'title' => "분류 정보",
'label' => [
'uid' => "번호",
'name' => "범주제목",
'name' => "분류제목",
'linkurl' => "LinkURL",
'photo' => "이미지",
'isaccess' => "접속권한",

View File

@ -58,6 +58,7 @@ class CategoryModel extends BaseHierarchyModel
{
//대분류 부분은 선택이 되지 않게 하기위해 따로 만듬 (form_dropdown의 optgroup 기능)
$old_title = "";
$options = array();
foreach ($this->getEntitys($conditions) as $entity) {
if ($entity->getHierarchy_Depth() == 1) {
$options[$entity->getTitle()] = [];

View File

@ -4,7 +4,6 @@
<div id="content">
<div><?= html_entity_decode($viewDatas['category']->head) ?></div>
<div class="top">
<?= $this->include('templates/front/index_head') ?>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<nav class="nav">
@ -12,11 +11,10 @@
<?= anchor(current_url() . '?category=' . $viewDatas['category']->getPrimaryKey() . '&order_field=view_cnt&order_value=DESC', '인기순', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
</nav>
<nav class="nav justify-content-center"></nav>
<nav class="nav justify-content-end">
<?= anchor(current_url() . '?category=' . $viewDatas['category']->getPrimaryKey() . '&v=_list', 'List', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
</nav>
<nav class="nav justify-content-end"></nav>
</div>
</nav>
<?= $this->include('templates/front/index_head') ?>
</div>
<?php $cnt = 0 ?>
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
@ -27,20 +25,20 @@
<td width="*">
<?= getFieldIndex_Row_ProductHelper('name', $entity, $viewDatas) ?>
<td>
<td width="6%" rowspan="3"><?= getFieldIndex_Row_ProductHelper('user_uid', $entity, $viewDatas) ?></td>
<td width="6%" rowspan="3"><?= getFieldIndex_Column_ProductHelper('user_uid', $viewDatas) ?><BR><?= getFieldIndex_Row_ProductHelper('user_uid', $entity, $viewDatas) ?></td>
</tr>
<tr>
<td>
<b style="font-size:24px;">판매가:<?= getFieldIndex_Row_ProductHelper('price', $entity, $viewDatas) ?>원</b>
<?= getFieldIndex_Column_ProductHelper('price', $viewDatas) ?>:<b style="font-size:24px;"><?= getFieldIndex_Row_ProductHelper('price', $entity, $viewDatas) ?>원</b>
<span>
원가:<?= getFieldIndex_Row_ProductHelper('cost', $entity, $viewDatas) ?>
<?= getFieldIndex_Column_ProductHelper('cost', $viewDatas) ?>:<?= getFieldIndex_Row_ProductHelper('cost', $entity, $viewDatas) ?>원
-
할인가:<?= getFieldIndex_Row_ProductHelper('sale', $entity, $viewDatas) ?>
<?= getFieldIndex_Column_ProductHelper('sale', $viewDatas) ?>:<?= getFieldIndex_Row_ProductHelper('sale', $entity, $viewDatas) ?>원
</span>
</td>
</tr>
<tr>
<td>조회수:<?= getFieldIndex_Row_ProductHelper('view_cnt', $entity, $viewDatas) ?></td>
<td><?= getFieldIndex_Column_ProductHelper('view_cnt', $viewDatas) ?>:<?= getFieldIndex_Row_ProductHelper('view_cnt', $entity, $viewDatas) ?></td>
</tr>
</tbody>
</table>

View File

@ -1,46 +0,0 @@
<?= $this->extend('layouts/front') ?>
<?= $this->section('content') ?>
<link href="/css/front/content.css" media="screen" rel="stylesheet" type="text/css" />
<div id="content">
<div><?= html_entity_decode($viewDatas['category']->head) ?></div>
<div class="top">
<?= $this->include('templates/front/index_head') ?>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<nav class="nav">
<?= anchor(current_url() . '?category=' . $viewDatas['category']->getPrimaryKey() . '&order_field=price&order_value=ASC', '판매가순', ["class" => "btn btn-sm btn-info btn-circle", "target" => "_self"]) ?>
<?= anchor(current_url() . '?category=' . $viewDatas['category']->getPrimaryKey() . '&order_field=view_cnt&order_value=DESC', '인기순', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
</nav>
<nav class="nav justify-content-center"></nav>
<nav class="nav justify-content-end">
<?= anchor(current_url() . '?category=' . $viewDatas['category']->getPrimaryKey(), 'Block', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
</nav>
</div>
</nav>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>번호</th>
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_ProductHelper($field, $viewDatas) ?></th><?php endforeach ?>
</tr>
</thead>
<tbody>
<?php $cnt = 0 ?>
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
<td>
<?= $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt) ?>
</td>
<?php foreach ($viewDatas['fields'] as $field) : ?>
<td nowrap><?= getFieldIndex_Row_ProductHelper($field, $entity, $viewDatas) ?></td>
<?php endforeach ?>
</tr>
<?php $cnt++ ?>
<?php endforeach ?>
</tbody>
</table>
<div class="bottom"><?= $viewDatas['pagination'] ?></div>
<div><?= html_entity_decode($viewDatas['category']->tail) ?></div>
</div>
<?= $this->endSection() ?>

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 3 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 7 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">개인정보</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/user?category=12" target="_self">사용자정보</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 3 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 7 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 4 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 8 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">개인정보</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/user?category=12" target="_self">사용자정보</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 4 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 8 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,7 +1,7 @@
<!-- DEBUG-VIEW START 1 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 5 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">사이트페이지</div>
<div class="title">AboutUS</div>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/sitepage?category=14" target="_self">인사말</a> <span class="play"><i class="bi bi-play-fill"></i></span>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/sitepage?category=15" target="_self">회사소개</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 1 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 5 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,7 +1,7 @@
<!-- DEBUG-VIEW START 2 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 6 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">사이트페이지</div>
<div class="title">AboutUS</div>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/sitepage?category=14" target="_self">인사말</a> <span class="play"><i class="bi bi-play-fill"></i></span>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/sitepage?category=15" target="_self">회사소개</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 2 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 6 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -0,0 +1,13 @@
<!-- DEBUG-VIEW START 3 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Hosting</div>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/sitepage?category=17" target="_self">제품안내</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/sitepage?category=18" target="_self">신청절차</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 3 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -0,0 +1,13 @@
<!-- DEBUG-VIEW START 4 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Hosting</div>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/sitepage?category=17" target="_self">제품안내</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/sitepage?category=18" target="_self">신청절차</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 4 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -0,0 +1,13 @@
<!-- DEBUG-VIEW START 1 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Service</div>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/sitepage?category=20" target="_self">기타서비스</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/sitepage?category=21" target="_self">회선서비스</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 1 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -0,0 +1,13 @@
<!-- DEBUG-VIEW START 2 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Service</div>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/sitepage?category=20" target="_self">기타서비스</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/sitepage?category=21" target="_self">회선서비스</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 2 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 9 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 13 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Support</div>
@ -7,7 +7,7 @@
<a href="http://localhost:8080/front/board?category=3" target="_self">공지사항</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling ">
<a href="http://localhost:8080/front/board?category=4" target="_self">FAQ</a> <span class="play"><i class="bi bi-play-fill"></i></span>
<a href="http://localhost:8080/front/board?category=4" target="_self">자료실</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 9 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 13 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 10 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 14 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">Support</div>
@ -7,7 +7,7 @@
<a href="http://localhost:8080/front/board?category=3" target="_self">공지사항</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<div class="sibling active">
<a href="http://localhost:8080/front/board?category=4" target="_self">FAQ</a> <span class="play"><i class="bi bi-play-fill"></i></span>
<a href="http://localhost:8080/front/board?category=4" target="_self">자료실</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 10 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 14 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 7 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 11 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">네트워크</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/product?category=6" target="_self">판매</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 7 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 11 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 8 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 12 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">네트워크</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/product?category=6" target="_self">판매</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 8 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 12 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 5 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 9 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">서버</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/product?category=9" target="_self">판매</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 5 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 9 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -1,4 +1,4 @@
<!-- DEBUG-VIEW START 6 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW START 10 APPPATH\Views\admin\category\leftmenu_template.php -->
<div class="parent">
<div>-</div>
<div class="title">서버</div>
@ -10,4 +10,4 @@
<a href="http://localhost:8080/front/product?category=9" target="_self">판매</a> <span class="play"><i class="bi bi-play-fill"></i></span>
</div>
<!-- DEBUG-VIEW ENDED 6 APPPATH\Views\admin\category\leftmenu_template.php -->
<!-- DEBUG-VIEW ENDED 10 APPPATH\Views\admin\category\leftmenu_template.php -->

View File

@ -13,11 +13,19 @@
</li>
<li class="nav-item" style="padding-top:10px;">|</li>
<li class=" nav-item">
<?= $this->include($viewDatas['layout']['path'] . '/top_menu/top_menu_hosting'); ?>
</li>
<li class="nav-item" style="padding-top:10px;">|</li>
<li class=" nav-item">
<?= $this->include($viewDatas['layout']['path'] . '/top_menu/top_menu_server'); ?>
</li>
<li class="nav-item" style="padding-top:10px;">|</li>
<li class="nav-item">
<?= $this->include($viewDatas['layout']['path'] . '/top_menu/top_menu_network'); ?>
</li>
<li class="nav-item" style="padding-top:10px;">|</li>
<li class="nav-item">
<?= $this->include($viewDatas['layout']['path'] . '/top_menu/top_menu_server'); ?>
<?= $this->include($viewDatas['layout']['path'] . '/top_menu/top_menu_service'); ?>
</li>
<li class="nav-item" style="padding-top:10px;">|</li>
<li class="nav-item">

View File

@ -0,0 +1,13 @@
<div class="dropdown-center">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Hosting
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 17 ? "active" : "" ?>" href=" /front/sitepage?category=17">제품안내</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 18 ? "active" : "" ?>" href="/front/sitepage?category=18">신청절차</a></li>
</ul>
</li>
</ul>
</div>

View File

@ -6,7 +6,7 @@
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 5 ? "active" : "" ?>" href="/front/product?category=5">월이용권</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 6 ? "active" : "" ?>" href="/front/product?category=6">판매</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 6 ? "active" : "" ?>" href="/front/sitepage?category=6">판매</a></li>
</ul>
</li>
</ul>

View File

@ -0,0 +1,13 @@
<div class="dropdown-center">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Service
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 20 ? "active" : "" ?>" href="/front/sitepage?category=20">기타서비스</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 21 ? "active" : "" ?>" href=" /front/sitepage?category=21">회선서비스</a></li>
</ul>
</li>
</ul>
</div>

View File

@ -6,7 +6,7 @@
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 3 ? "active" : "" ?>" href="/front/board?category=3">공지사항</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 4 ? "active" : "" ?>" href="/front/board?category=4">FAQ</a></li>
<li><a class="dropdown-item <?= $viewDatas['category']->getPrimaryKey() == 4 ? "active" : "" ?>" href="/front/board?category=4">자료실</a></li>
</ul>
</li>
</ul>

View File

@ -1,5 +1,7 @@
div#content{
padding-top:40px;
padding-left:30px;
margin-bottom:20px;
/* border-left:1px solid silver;
border-right:1px solid silver; */
}

View File

@ -23,7 +23,7 @@
/* 메뉴바그룹 */
#top_menu div.dropdown-center ul.navbar-nav li.dropdown {
width:200px;
width:180px;
text-align:center;
/* border:1px solid red; */
}
@ -43,7 +43,7 @@
/* 메뉴바 */
#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li{
width:200px;
width:180px;
height:60px;
padding-top:15px;
/* border:1px solid red; */
@ -53,7 +53,7 @@
font-weight:bold;
text-align:center;
text-decoration:none;
width:200px;
width:180px;
}
#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li a.active{
color:#efefef;
@ -62,7 +62,7 @@
}
/* 메뉴바 over했을시*/
#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li:hover{
width:200px;
width:180px;
background-color:#26417D;
/* border:1px solid red; */
}