是否显示文档摘要信息等

dev
truthhun 1 year ago
parent 4d43bd818c
commit 388c996d37

@ -561,10 +561,11 @@ func (m *ConfigFooter) GetFeedback() string {
}
type ConfigDisplay struct {
ShowRegisterUserCount bool `protobuf:"varint,1,opt,name=show_register_user_count,json=showRegisterUserCount,proto3" json:"show_register_user_count,omitempty"`
ShowIndexCategories bool `protobuf:"varint,2,opt,name=show_index_categories,json=showIndexCategories,proto3" json:"show_index_categories,omitempty"`
PagesPerRead int32 `protobuf:"varint,3,opt,name=pages_per_read,json=pagesPerRead,proto3" json:"pages_per_read,omitempty"`
CopyrightStatement string `protobuf:"bytes,4,opt,name=copyright_statement,json=copyrightStatement,proto3" json:"copyright_statement,omitempty"`
ShowRegisterUserCount bool `protobuf:"varint,1,opt,name=show_register_user_count,json=showRegisterUserCount,proto3" json:"show_register_user_count,omitempty"`
ShowIndexCategories bool `protobuf:"varint,2,opt,name=show_index_categories,json=showIndexCategories,proto3" json:"show_index_categories,omitempty"`
PagesPerRead int32 `protobuf:"varint,3,opt,name=pages_per_read,json=pagesPerRead,proto3" json:"pages_per_read,omitempty"`
CopyrightStatement string `protobuf:"bytes,4,opt,name=copyright_statement,json=copyrightStatement,proto3" json:"copyright_statement,omitempty"`
ShowDocumentDescriptions bool `protobuf:"varint,5,opt,name=show_document_descriptions,json=showDocumentDescriptions,proto3" json:"show_document_descriptions,omitempty"`
}
func (m *ConfigDisplay) Reset() { *m = ConfigDisplay{} }
@ -628,6 +629,13 @@ func (m *ConfigDisplay) GetCopyrightStatement() string {
return ""
}
func (m *ConfigDisplay) GetShowDocumentDescriptions() bool {
if m != nil {
return m.ShowDocumentDescriptions
}
return false
}
// 安全配置
type ConfigSecurity struct {
IsClose bool `protobuf:"varint,1,opt,name=is_close,json=isClose,proto3" json:"is_close,omitempty"`
@ -1395,123 +1403,124 @@ func init() {
func init() { proto.RegisterFile("api/v1/config.proto", fileDescriptor_321614cd6c9c1b8a) }
var fileDescriptor_321614cd6c9c1b8a = []byte{
// 1846 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcd, 0x6e, 0x1b, 0xc9,
0x11, 0x36, 0xff, 0x44, 0xb2, 0x48, 0x51, 0x72, 0x4b, 0x96, 0x69, 0xd9, 0x91, 0xe5, 0xc9, 0x6e,
0xa2, 0x35, 0x02, 0x71, 0xad, 0xfc, 0x01, 0xc9, 0x61, 0x21, 0x4b, 0x5a, 0x47, 0xc0, 0x66, 0xa1,
0x8c, 0x56, 0xc8, 0xcf, 0x65, 0xd0, 0x9a, 0x29, 0x91, 0x1d, 0x0d, 0xa7, 0x67, 0xbb, 0x9b, 0xb4,
0xe8, 0x4b, 0x90, 0x3d, 0xe5, 0xb8, 0x40, 0x80, 0xe4, 0x95, 0x12, 0xe4, 0xb2, 0xc0, 0x5e, 0x72,
0x4b, 0x60, 0x27, 0x0f, 0x90, 0x27, 0x48, 0xd0, 0xd5, 0x3d, 0x23, 0x52, 0x82, 0x80, 0x05, 0x72,
0xeb, 0xaa, 0xfa, 0xba, 0xba, 0xba, 0xea, 0xab, 0xea, 0x21, 0x61, 0x8d, 0xe7, 0x62, 0x30, 0x7d,
0x31, 0x88, 0x65, 0x76, 0x21, 0x86, 0xbb, 0xb9, 0x92, 0x46, 0xb2, 0x25, 0x9e, 0x8b, 0xdd, 0xe9,
0x8b, 0xcd, 0xa7, 0x43, 0x29, 0x87, 0x29, 0x0e, 0x48, 0x7b, 0x3e, 0xb9, 0x18, 0x18, 0x31, 0x46,
0x6d, 0xf8, 0x38, 0x77, 0xc0, 0xcd, 0xf5, 0xa1, 0x1c, 0x4a, 0x5a, 0x0e, 0xec, 0xca, 0x6b, 0x9f,
0xf8, 0x6d, 0xd6, 0x35, 0xcf, 0x32, 0x69, 0xb8, 0x11, 0x32, 0xd3, 0xde, 0xfa, 0xf8, 0xa6, 0x53,
0x1c, 0xe7, 0x66, 0xe6, 0x8c, 0xc1, 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, 0x4c, 0x15,
0x06, 0x24, 0x51, 0x10, 0x00, 0x00,
// 1870 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x6f, 0x1b, 0xb9,
0x11, 0x8f, 0xbe, 0x2c, 0x69, 0x24, 0x4b, 0x0e, 0xfd, 0x11, 0x45, 0x49, 0x1d, 0x67, 0x7b, 0xd7,
0xf3, 0x05, 0x85, 0x75, 0x71, 0xbf, 0x80, 0xb6, 0xc0, 0xc1, 0xb1, 0x7d, 0xa9, 0x81, 0xeb, 0xc1,
0xa5, 0xcf, 0xe8, 0xc7, 0xcb, 0x82, 0xde, 0xa5, 0x25, 0xd6, 0xab, 0xe5, 0x1e, 0x49, 0x29, 0x56,
0x5e, 0x8a, 0xde, 0x53, 0x1f, 0xaf, 0x28, 0xd0, 0xfe, 0x4b, 0x2d, 0xfa, 0x72, 0x40, 0x5f, 0xfa,
0xd6, 0x22, 0x69, 0xff, 0x80, 0xfe, 0x05, 0x2d, 0x38, 0xe4, 0xae, 0x24, 0x1b, 0x06, 0x02, 0xf4,
0x8d, 0x33, 0xf3, 0xe3, 0x70, 0x38, 0xf3, 0xe3, 0x90, 0xbb, 0xb0, 0xce, 0x32, 0x31, 0x98, 0x3e,
0x1f, 0x44, 0x32, 0xbd, 0x14, 0xc3, 0xbd, 0x4c, 0x49, 0x23, 0xc9, 0x0a, 0xcb, 0xc4, 0xde, 0xf4,
0x79, 0xff, 0xc9, 0x50, 0xca, 0x61, 0xc2, 0x07, 0xa8, 0xbd, 0x98, 0x5c, 0x0e, 0x8c, 0x18, 0x73,
0x6d, 0xd8, 0x38, 0x73, 0xc0, 0xfe, 0xc6, 0x50, 0x0e, 0x25, 0x0e, 0x07, 0x76, 0xe4, 0xb5, 0x8f,
0xfd, 0x34, 0xeb, 0x9a, 0xa5, 0xa9, 0x34, 0xcc, 0x08, 0x99, 0x6a, 0x6f, 0x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, 0xfe, 0xfe, 0x76, 0xfb, 0x1e, 0xf8, 0x9f, 0x0a, 0xa7, 0xa5, 0x5f, 0xdd,
0x1f, 0x4b, 0xc5, 0x63, 0x19, 0xf9, 0xa9, 0x3f, 0x9a, 0x3e, 0xbf, 0x58, 0xc1, 0x25, 0xbf, 0xf3,
0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x79, 0xb7, 0x26, 0x50, 0x8f, 0x10, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -2257,6 +2266,16 @@ func (m *ConfigDisplay) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
if m.ShowDocumentDescriptions {
i--
if m.ShowDocumentDescriptions {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x28
}
if len(m.CopyrightStatement) > 0 {
i -= len(m.CopyrightStatement)
copy(dAtA[i:], m.CopyrightStatement)
@ -3141,6 +3160,9 @@ func (m *ConfigDisplay) Size() (n int) {
if l > 0 {
n += 1 + l + sovConfig(uint64(l))
}
if m.ShowDocumentDescriptions {
n += 2
}
return n
}
@ -4995,6 +5017,26 @@ func (m *ConfigDisplay) Unmarshal(dAtA []byte) error {
}
m.CopyrightStatement = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ShowDocumentDescriptions", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowConfig
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.ShowDocumentDescriptions = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skipConfig(dAtA[iNdEx:])

@ -76,10 +76,11 @@ message ConfigFooter {
}
message ConfigDisplay {
bool show_register_user_count = 1; //
bool show_index_categories = 2; //
int32 pages_per_read = 3; //
string copyright_statement = 4; //
bool show_register_user_count = 1; //
bool show_index_categories = 2; //
int32 pages_per_read = 3; //
string copyright_statement = 4; //
bool show_document_descriptions = 5; //
}
//

@ -384,21 +384,23 @@ type ConfigScore struct {
}
const (
ConfigDisplayShowRegisterUserCount = "show_register_user_count" // 是否显示注册用户数量
ConfigDisplayVirtualRegisterCount = "virtual_register_count" // 虚拟注册用户数量
ConfigDisplayShowIndexCategories = "show_index_categories" // 是否显示首页分类
ConfigDisplayPagesPerRead = "pages_per_read" // 每次阅读的页数
ConfigDisplayCopyrightStatement = "copyright_statement" // 在页面最底部的版权声明
ConfigDisplayMaxSearchPages = "max_search_pages" // 搜索结果最大页数
ConfigDisplayShowRegisterUserCount = "show_register_user_count" // 是否显示注册用户数量
ConfigDisplayShowDocumentDescriptions = "show_document_descriptions" // 是否在文档页显示文档摘要
ConfigDisplayVirtualRegisterCount = "virtual_register_count" // 虚拟注册用户数量
ConfigDisplayShowIndexCategories = "show_index_categories" // 是否显示首页分类
ConfigDisplayPagesPerRead = "pages_per_read" // 每次阅读的页数
ConfigDisplayCopyrightStatement = "copyright_statement" // 在页面最底部的版权声明
ConfigDisplayMaxSearchPages = "max_search_pages" // 搜索结果最大页数
)
type ConfigDisplay struct {
ShowRegisterUserCount bool `json:"show_register_user_count"` // 是否显示注册用户数量
VirtualRegisterCount int64 `json:"virtual_register_count"` // 虚拟注册用户数量
ShowIndexCategories bool `json:"show_index_categories"` // 是否显示首页分类
PagesPerRead int32 `json:"pages_per_read"` // 每次阅读的页数
MaxSearchPages int32 `json:"max_search_pages"` // 搜索结果最大页数
CopyrightStatement string `json:"copyright_statement"` // 在页面最底部的版权声明
ShowRegisterUserCount bool `json:"show_register_user_count"` // 是否显示注册用户数量
ShowDocumentDescriptions bool `json:"show_document_descriptions"` // 是否在文档页显示文档摘要
VirtualRegisterCount int64 `json:"virtual_register_count"` // 虚拟注册用户数量
ShowIndexCategories bool `json:"show_index_categories"` // 是否显示首页分类
PagesPerRead int32 `json:"pages_per_read"` // 每次阅读的页数
MaxSearchPages int32 `json:"max_search_pages"` // 搜索结果最大页数
CopyrightStatement string `json:"copyright_statement"` // 在页面最底部的版权声明
}
func (m *DBModel) GetConfigOfDisplay(name ...string) (config ConfigDisplay) {
@ -731,6 +733,7 @@ func (m *DBModel) initConfig() (err error) {
// 展示配置
{Category: ConfigCategoryDisplay, Name: ConfigDisplayShowRegisterUserCount, Label: "是否显示注册用户数", Value: "true", Placeholder: "网站首页,是否显示注册用户数", InputType: InputTypeSwitch, Sort: 10, Options: ""},
{Category: ConfigCategoryDisplay, Name: ConfigDisplayVirtualRegisterCount, Label: "网站虚拟注册用户数", Value: "0", Placeholder: "网站首页显示的用户数=真实注册用户数+虚拟注册用户数,用以避免网站初期用户注册数过少的尴尬窘境", InputType: InputTypeNumber, Sort: 20, Options: ""},
{Category: ConfigCategoryDisplay, Name: ConfigDisplayShowDocumentDescriptions, Label: "是否显示文档摘要", Value: "true", Placeholder: "文档阅读页面,是否显示文档摘要等信息", InputType: InputTypeSwitch, Sort: 21, Options: ""},
{Category: ConfigCategoryDisplay, Name: ConfigDisplayShowIndexCategories, Label: "是否显示横栏分类", Value: "true", Placeholder: "网站首页中间横栏位置,是否显示分类", InputType: InputTypeSwitch, Sort: 30, Options: ""},
{Category: ConfigCategoryDisplay, Name: ConfigDisplayPagesPerRead, Label: "文档【继续阅读】的页数", Value: "5", Placeholder: "用户阅读文档每次点击继续阅读按钮时阅读的页数默认为5表示5页", InputType: InputTypeNumber, Sort: 40, Options: ""},
{Category: ConfigCategoryDisplay, Name: ConfigDisplayMaxSearchPages, Label: "文档搜索结果最大页数", Value: "100", Placeholder: "搜索结果默认最大展示100页0表示不限制", InputType: InputTypeNumber, Sort: 50, Options: ""},

@ -75,7 +75,7 @@
><i class="el-icon-star-off"></i>
{{ document.favorite_count || 0 }} </span
>
<span
<span v-if="!settings.display.show_document_descriptions"
><el-rate
v-model="document.score"
disabled
@ -83,8 +83,8 @@
text-color="#ff9900"
score-template="{value}"
>
</el-rate
></span>
</el-rate></span
>
</div>
</div>
<template v-if="tips">
@ -98,6 +98,35 @@
</el-alert>
<div class="mgt-20px"></div>
</template>
<el-descriptions
v-if="settings.display.show_document_descriptions"
class="document-descriptions"
:column="isMobile ? 1 : 3"
border
>
<el-descriptions-item
v-for="item in descriptions"
:key="'desc-' + item.label"
:span="item.name == 'description' ? 2 : 1"
label-class-name="descriptions-label"
>
<template slot="label">
<i :class="item.icon"></i>
{{ item.label }}
</template>
<span v-if="item.name === 'score'"
><el-rate
v-model="item.value"
disabled
show-score
text-color="#ff9900"
score-template="{value}"
>
</el-rate
></span>
<div v-else>{{ item.value }}</div>
</el-descriptions-item>
</el-descriptions>
<div ref="docPages" class="doc-pages" @contextmenu.prevent>
<div v-if="isMobile" v-viewer>
<el-image
@ -437,6 +466,7 @@ export default {
cardWidth: 0,
cardOffsetTop: 0,
tips: '',
descriptions: [],
}
},
head() {
@ -573,6 +603,34 @@ export default {
}
})
}
this.descriptions = [
{
label: '',
value: doc.user.username,
icon: 'el-icon-user',
name: 'username',
},
{
label: '',
value: doc.ext,
icon: 'el-icon-document',
name: 'ext',
},
{
label: '',
value: doc.score,
icon: 'el-icon-star-on',
name: 'score',
},
{
label: '',
value: doc.description,
icon: 'el-icon-document',
name: 'description',
},
]
this.genQrcode()
},
handleResize() {
@ -1035,6 +1093,13 @@ export default {
margin-right: 10px;
color: #565656;
}
.document-descriptions {
margin-bottom: 20px;
}
.descriptions-label {
width: 80px;
}
}
@media screen and (max-width: $mobile-width) {

Loading…
Cancel
Save