增加分类描述展示

dev
truthhun 11 months ago
parent 3dd3b18b8f
commit d9e3e450bd

@ -47,7 +47,6 @@ type Category struct {
Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"`
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
ShowDescription bool `protobuf:"varint,12,opt,name=show_description,json=showDescription,proto3" json:"show_description,omitempty"`
ShowOnNav bool `protobuf:"varint,13,opt,name=show_on_nav,json=showOnNav,proto3" json:"show_on_nav,omitempty"`
}
func (m *Category) Reset() { *m = Category{} }
@ -167,13 +166,6 @@ func (m *Category) GetShowDescription() bool {
return false
}
func (m *Category) GetShowOnNav() bool {
if m != nil {
return m.ShowOnNav
}
return false
}
// 分类列表请求
type ListCategoryRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
@ -413,52 +405,51 @@ func init() {
func init() { proto.RegisterFile("api/v1/category.proto", fileDescriptor_1f1bb9165c79c987) }
var fileDescriptor_1f1bb9165c79c987 = []byte{
// 708 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x4e, 0xdb, 0x4a,
0x14, 0xc6, 0x36, 0xc9, 0x4d, 0x26, 0xdc, 0x5c, 0x18, 0x08, 0xcc, 0x75, 0x2e, 0xc1, 0xb2, 0xae,
0xd4, 0x14, 0xb5, 0xb6, 0xa0, 0xea, 0x86, 0x2e, 0x2a, 0x7e, 0xaa, 0x0a, 0xa9, 0x6a, 0x91, 0x55,
0x84, 0xd4, 0x4d, 0x34, 0x78, 0x86, 0x74, 0x24, 0xc7, 0x63, 0xec, 0x89, 0x11, 0x5d, 0xf6, 0x09,
0x90, 0xba, 0xe9, 0x23, 0xb1, 0x44, 0xea, 0xa6, 0xab, 0x16, 0x41, 0x9f, 0xa0, 0x4f, 0x50, 0xcd,
0xd8, 0x46, 0xce, 0x0f, 0x52, 0xd5, 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5b, 0xe3, 0x19, 0xdc, 0x80, 0x25, 0x62, 0xe7, 0xe9, 0xe5, 0x4d, 0x47, 0xbb, 0xba, 0xe9,
0x68, 0xd7, 0x37, 0x1d, 0xed, 0xe2, 0xb6, 0x33, 0x73, 0x75, 0xdb, 0x99, 0xf9, 0x7a, 0xdb, 0x99,
0x01, 0xf9, 0x4f, 0xf8, 0x40, 0x7b, 0xb7, 0x30, 0xe0, 0x31, 0x25, 0xdc, 0xcf, 0x19, 0x9e, 0xa5,
0x1b, 0xc7, 0x55, 0x35, 0x9e, 0x27, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0x47, 0xe2, 0xd2,
0xc1, 0x05, 0x00, 0x00,
// 690 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6e, 0xd3, 0x4e,
0x10, 0xae, 0xed, 0x26, 0xbf, 0x64, 0x53, 0xe5, 0xd7, 0x6e, 0x9b, 0xd6, 0x38, 0x34, 0xb5, 0x2c,
0x24, 0x42, 0x05, 0xb6, 0x5a, 0xc4, 0xa5, 0x1c, 0x50, 0xff, 0x20, 0x54, 0x89, 0x43, 0x65, 0x51,
0x55, 0xe2, 0x12, 0x6d, 0xbd, 0xd3, 0xb0, 0x92, 0xe3, 0x75, 0xed, 0x4d, 0xaa, 0x72, 0xe4, 0x09,
0x2a, 0x71, 0xe1, 0x11, 0x78, 0x14, 0x8e, 0x95, 0xb8, 0x70, 0x82, 0xaa, 0xe5, 0x09, 0x78, 0x02,
0xb4, 0x6b, 0xbb, 0xe4, 0x5f, 0x25, 0xc4, 0x6d, 0x66, 0x3c, 0xf3, 0xcd, 0xcc, 0x37, 0xdf, 0x1a,
0x35, 0x48, 0xcc, 0xbc, 0xc1, 0x86, 0x17, 0x10, 0x01, 0x5d, 0x9e, 0x9c, 0xbb, 0x71, 0xc2, 0x05,
0xc7, 0x65, 0x12, 0x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e7, 0x83, 0x8d, 0xe3,
0xb2, 0xa2, 0xe7, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0xb7, 0x49, 0x9f, 0xa1, 0x05,
0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -715,16 +706,6 @@ func (m *Category) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
if m.ShowOnNav {
i--
if m.ShowOnNav {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x68
}
if m.ShowDescription {
i--
if m.ShowDescription {
@ -1068,9 +1049,6 @@ func (m *Category) Size() (n int) {
if m.ShowDescription {
n += 2
}
if m.ShowOnNav {
n += 2
}
return n
}
@ -1506,26 +1484,6 @@ func (m *Category) Unmarshal(dAtA []byte) error {
}
}
m.ShowDescription = bool(v != 0)
case 13:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ShowOnNav", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCategory
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.ShowOnNav = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skipCategory(dAtA[iNdEx:])

@ -29,7 +29,6 @@ message Category {
string icon = 10; //
string description = 11; //
bool show_description = 12; //
bool show_on_nav = 13; //
}
//

@ -18,7 +18,6 @@ type Category struct {
Enable bool `form:"enable" json:"enable,omitempty" gorm:"column:enable;type:tinyint(1);size:1;index:idx_enable;default:1;"`
Description string `form:"description" json:"description,omitempty" gorm:"column:description;type:text;comment:分类描述;"`
ShowDescription bool `form:"show_description" json:"show_description,omitempty" gorm:"column:show_description;type:tinyint(1);size:1;default:0;comment:是否显示描述;"`
ShowOnNav bool `form:"show_on_nav" json:"show_on_nav,omitempty" gorm:"column:show_on_nav;type:tinyint(1);size:1;default:0;comment:是否显示在导航;"`
CreatedAt *time.Time `form:"created_at" json:"created_at,omitempty" gorm:"column:created_at;type:datetime;comment:创建时间;"`
UpdatedAt *time.Time `form:"updated_at" json:"updated_at,omitempty" gorm:"column:updated_at;type:datetime;comment:更新时间;"`
}

@ -101,7 +101,7 @@
></el-input>
</el-form-item>
<el-row :gutter="20">
<el-col :span="8">
<el-col :span="12">
<el-form-item label="是否启用">
<el-switch
v-model="category.enable"
@ -113,20 +113,8 @@
>
</el-switch> </el-form-item
></el-col>
<el-col :span="8">
<el-form-item label="是否显示在导航栏">
<el-switch
v-model="category.show_on_nav"
style="display: block"
active-color="#13ce66"
inactive-color="#ff4949"
active-text="是"
inactive-text="否"
>
</el-switch> </el-form-item
></el-col>
<el-col :span="8">
<el-form-item label="是否显示分类描述">
<el-col :span="12">
<el-form-item label="显示分类描述">
<el-switch
v-model="category.show_description"
style="display: block"

@ -237,15 +237,9 @@ export default {
width: 80,
type: 'bool',
},
{
prop: 'show_on_nav',
label: '',
width: 80,
type: 'bool',
},
{
prop: 'show_description',
label: '',
label: '',
width: 80,
type: 'bool',
},
@ -258,7 +252,7 @@ export default {
{ prop: 'cover', label: '', width: 100, type: 'image' },
{ prop: 'doc_count', label: '', width: 80, type: 'number' },
{ prop: 'id', label: 'ID', width: 80, type: 'number' },
{ prop: 'description', label: '', width: 200 },
{ prop: 'description', label: '', minWidth: 200 },
{ prop: 'created_at', label: '', width: 160, type: 'datetime' },
{ prop: 'updated_at', label: '', width: 160, type: 'datetime' },
]

@ -37,6 +37,15 @@
</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div
v-if="
breadcrumbs.length > 0 &&
breadcrumbs[breadcrumbs.length - 1].show_description
"
class="category-description"
>
{{ breadcrumbs[breadcrumbs.length - 1].description }}
</div>
<div class="item-row" v-if="categoryChildren.length > 0">
<div class="item-name"></div>
<div class="item-content">
@ -444,7 +453,15 @@ export default {
margin-bottom: -20px;
}
}
.category-description {
border: 1px dashed #ddd;
margin-bottom: 20px;
padding: 15px;
border-radius: 4px;
font-size: 14px;
color: #888;
line-height: 180%;
}
.doc-list-data {
min-height: 200px;
.no-data {

@ -33,6 +33,8 @@ export const category = {
'cover',
'doc_count',
'enable',
'description',
'show_description',
],
})
if (res.status === 200) {

Loading…
Cancel
Save