插件列表

This commit is contained in:
pushuo 2022-06-29 19:39:23 +08:00
parent fa48875dde
commit fdc8053259
10 changed files with 7253 additions and 5901 deletions

View File

@ -15,6 +15,6 @@ class PluginController extends Controller
{
public function index()
{
return view('admin::pages.plugins.index', []);
}
}

View File

@ -303,7 +303,6 @@ hr.horizontal.dark {
table.table thead th {
background-color: #f9fbfd;
color: #74859e;
font-size: 0.825rem;
border-top-width: 0;
border-bottom: none;

File diff suppressed because it is too large Load Diff

View File

@ -41,10 +41,10 @@ $(document).ready(function ($) {
/***/ }),
/***/ "./resources/beike/css/bootstrap/bootstrap.scss":
/*!******************************************************!*\
!*** ./resources/beike/css/bootstrap/bootstrap.scss ***!
\******************************************************/
/***/ "./resources/beike/admin/css/bootstrap/bootstrap.scss":
/*!************************************************************!*\
!*** ./resources/beike/admin/css/bootstrap/bootstrap.scss ***!
\************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
@ -234,7 +234,7 @@ __webpack_require__.r(__webpack_exports__);
/******/ // Load entry module and return exports
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
/******/ __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/shop/default/js/app.js")))
/******/ __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/css/bootstrap/bootstrap.scss")))
/******/ __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/admin/css/bootstrap/bootstrap.scss")))
/******/ __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/admin/css/app.scss")))
/******/ __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/shop/default/css/bootstrap/bootstrap.scss")))
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["build/beike/shop/default/css/app","build/beike/shop/default/css/bootstrap","build/beike/css/admin","build/beike/css/bootstrap"], () => (__webpack_require__("./resources/beike/shop/default/css/app.scss")))

View File

@ -49,7 +49,7 @@ table.table {
thead {
th {
background-color: #f9fbfd;
color: #74859e;
// color: #74859e;
font-size: .825rem;
border-top-width: 0;
border-bottom: none;

View File

@ -9,5 +9,17 @@
//
$primary: #fd560f;
$border-radius: 0;
$form-check-input-width: 1.2em;
$form-switch-width: 2.6em;
@import '../../../../node_modules/bootstrap/scss/bootstrap';
@import 'node_modules/bootstrap-5.1.3/scss/bootstrap';
// @import 'node_modules/bootstrap/scss/bootstrap';
.table > :not(:first-child) {
border-top: none;
}
.btn-primary {
color: #fff;
}

View File

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<script src="{{ asset('vendor/vue/2.6.12/vue.js') }}"></script>
<script src="{{ asset('vendor/element-ui/2.6.2/js.js') }}"></script>
<script src="{{ asset('vendor/jquery/jquery-3.6.0.min.js') }}"></script>
{{-- <script src="{{ asset('vendor/jquery/3.6.0/jquery.min.js') }}"></script>
<script src="{{ asset('vendor/axios/0.21.1/axios.min.js') }}"></script>
<script src="{{ asset('vendor/layer/3.5.1/layer.js') }}"></script>

View File

@ -0,0 +1,70 @@
@extends('admin::layouts.master')
@section('title', '插件列表')
@section('content')
<div id="category-app" class="card">
<div class="card-body">
<a href="{{ admin_route('categories.create') }}" class="btn btn-primary">创建插件</a>
<div class="mt-4" style="">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>插件类型</th>
<th width="60%">插件描述</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Mark</td>
<td>
<div class="plugin-describe d-flex align-items-center">
<div class="me-2" style="width: 50px;"><img src="http://dummyimage.com/100x100" class="img-fluid"></div>
<div>
<h6>插件名称</h6>
<div class="">插件详细描述,插件详细描述,插件详细描述插件详细描述插件详细描述插件详细描述</div>
</div>
</div>
</td>
<td>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="switch-1" checked>
<label class="form-check-label" for="switch-1"></label>
</div>
</td>
<td>
<button class="btn btn-outline-secondary btn-sm">编辑</button>
</td>
</tr>
<tr>
<td>1</td>
<td>Mark</td>
<td>Mark</td>
<td>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="switch-2">
<label class="form-check-label" for="switch-2" checked></label>
</div>
</td>
<td>
<button class="btn btn-outline-secondary btn-sm">编辑</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
@endsection
@push('footer')
<script>
$('.form-switch input[type="checkbox"]').change(function(event) {
console.log($(this).prop('checked'))
});
</script>
@endpush

2
webpack.mix.js vendored
View File

@ -17,7 +17,7 @@ const mix = require('laravel-mix');
// ]);
// mix.sass('resources/css/app.scss', 'public/build/css');
mix.sass('resources/beike/css/bootstrap/bootstrap.scss', 'public/build/beike/css/bootstrap.css');
mix.sass('resources/beike/admin/css/bootstrap/bootstrap.scss', 'public/build/beike/css/bootstrap.css');
mix.sass('resources/beike/admin/css/app.scss', 'public/build/beike/css/admin.css');