wip
This commit is contained in:
parent
33f843cc1f
commit
26e79c0e92
|
|
@ -469,7 +469,7 @@ body.page-cart .total-wrap .list-group li .total-price {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
body.page-checkout .module-title {
|
||||
body.page-checkout .checkout-title {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
padding-bottom: 16px;
|
||||
margin-bottom: 16px;
|
||||
|
|
|
|||
|
|
@ -100,6 +100,8 @@
|
|||
|
||||
rules: {
|
||||
name: [{required: true,message: '请输入用户名',trigger: 'blur'}, ],
|
||||
email: [{required: true,message: '请输入邮箱',trigger: 'blur'}, ],
|
||||
password: [{required: true,message: '请输入密码',trigger: 'blur'}, ],
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<div id="category-app" class="card">
|
||||
<div id="plugins-app" class="card">
|
||||
<div class="card-body">
|
||||
<a href="{{ admin_route('categories.create') }}" class="btn btn-primary">创建插件</a>
|
||||
<div class="mt-4" style="">
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
@foreach ($plugins as $plugin)
|
||||
<tr>
|
||||
<tr v-for="plugin, index in plugins" :key="index" v-if="plugins.length">
|
||||
<td>{{ $plugin->code }}</td>
|
||||
<td>{{ $plugin->type }}</td>
|
||||
<td>
|
||||
|
|
@ -53,6 +53,24 @@
|
|||
|
||||
@push('footer')
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#plugins-app',
|
||||
|
||||
data: {
|
||||
plugins: @json($plugins ?? []),
|
||||
},
|
||||
|
||||
beforeMount() {
|
||||
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
{{-- <script>
|
||||
$('.form-switch input[type="checkbox"]').change(function(event) {
|
||||
const $input = $(this);
|
||||
const checked = $(this).prop('checked') ? 1 : 0;
|
||||
|
|
@ -69,5 +87,5 @@
|
|||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
</script> --}}
|
||||
@endpush
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
body.page-checkout {
|
||||
.module-title {
|
||||
.checkout-title {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
padding-bottom: 16px;
|
||||
margin-bottom: 16px;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<div class="col-12 col-md-8">
|
||||
<form action="">
|
||||
<div class="checkout-address">
|
||||
<h4 class="module-title">地址</h4>
|
||||
<h5 class="checkout-title">地址</h5>
|
||||
<div class="addresses-wrap">
|
||||
<div class="row">
|
||||
<div class="col-4" v-for="address, index in source.addresses" :key="index" v-if="source.addresses.length">
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="module-title">支付方式</h4>
|
||||
<h5 class="checkout-title">支付方式</h5>
|
||||
<div class="row mb-3">
|
||||
<div class="mb-4">
|
||||
<input type="radio" class="btn-check" name="options-outlined" id="success-outlined" autocomplete="off" checked>
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="module-title">配送方式</h4>
|
||||
<h5 class="checkout-title">配送方式</h5>
|
||||
<div class="row mb-3">
|
||||
<div class="mb-4">
|
||||
<input type="radio" class="btn-check" name="peisong_name" id="peisong-1" autocomplete="off" checked>
|
||||
|
|
|
|||
Loading…
Reference in New Issue