pref: some text modification. (halo-dev/console#78)

pull/3445/head
Ryan Wang 2020-03-02 12:21:29 +08:00 committed by GitHub
parent 46ba7775e3
commit 4cd9a3536f
17 changed files with 39 additions and 33 deletions

View File

@ -20,7 +20,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input <a-input
v-model="queryParam.keyword" v-model="queryParam.keyword"
@keyup.enter="handleQuery()" @keyup.enter="handleQuery()"
@ -31,7 +31,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="存储位置"> <a-form-item label="存储位置">
<a-select <a-select
v-model="queryParam.attachmentType" v-model="queryParam.attachmentType"
@change="handleQuery()" @change="handleQuery()"
@ -50,7 +50,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="文件类型"> <a-form-item label="文件类型">
<a-select <a-select
v-model="queryParam.mediaType" v-model="queryParam.mediaType"
@change="handleQuery()" @change="handleQuery()"

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="附件详情" title="附件详情"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="visible" :visible="visible"
destroyOnClose destroyOnClose

View File

@ -2,7 +2,7 @@
<div> <div>
<a-drawer <a-drawer
title="附件库" title="附件库"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="visible" :visible="visible"
destroyOnClose destroyOnClose

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="评论详情" title="评论详情"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="visible" :visible="visible"
destroyOnClose destroyOnClose

View File

@ -11,7 +11,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input <a-input
v-model="queryParam.keyword" v-model="queryParam.keyword"
@keyup.enter="handleQuery()" @keyup.enter="handleQuery()"
@ -22,7 +22,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="评论状态"> <a-form-item label="评论状态">
<a-select <a-select
v-model="queryParam.status" v-model="queryParam.status"
placeholder="请选择评论状态" placeholder="请选择评论状态"

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="评论列表" title="评论列表"
:width="isMobile() ? '100%' : '460'" :width="isMobile() ? '100%' : '480'"
closable closable
:visible="visible" :visible="visible"
destroyOnClose destroyOnClose

View File

@ -261,7 +261,7 @@
<a-drawer <a-drawer
title="操作日志" title="操作日志"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="logDrawerVisible" :visible="logDrawerVisible"
destroyOnClose destroyOnClose

View File

@ -33,7 +33,7 @@
/> />
</a-form-item> </a-form-item>
<a-form-item <a-form-item
label="封面图" label="封面图"
help="* 在分类页面可展示,需要主题支持" help="* 在分类页面可展示,需要主题支持"
> >
<a-input v-model="categoryToCreate.thumbnail"> <a-input v-model="categoryToCreate.thumbnail">

View File

@ -11,7 +11,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input <a-input
v-model="queryParam.keyword" v-model="queryParam.keyword"
@keyup.enter="handleQuery()" @keyup.enter="handleQuery()"
@ -22,7 +22,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="文章状态"> <a-form-item label="文章状态">
<a-select <a-select
v-model="queryParam.status" v-model="queryParam.status"
placeholder="请选择文章状态" placeholder="请选择文章状态"
@ -40,7 +40,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="分类目录"> <a-form-item label="分类目录">
<a-select <a-select
v-model="queryParam.categoryId" v-model="queryParam.categoryId"
placeholder="请选择分类" placeholder="请选择分类"

View File

@ -21,13 +21,13 @@
<a-input v-model="tagToCreate.name" /> <a-input v-model="tagToCreate.name" />
</a-form-item> </a-form-item>
<a-form-item <a-form-item
label="别名" label="别名"
help="* 一般为单个标签页面的标识,最好为英文" help="* 一般为单个标签页面的标识,最好为英文"
> >
<a-input v-model="tagToCreate.slug" /> <a-input v-model="tagToCreate.slug" />
</a-form-item> </a-form-item>
<a-form-item <a-form-item
label="封面图" label="封面图"
help="* 在标签页面可展示,需要主题支持" help="* 在标签页面可展示,需要主题支持"
> >
<a-input v-model="tagToCreate.thumbnail"> <a-input v-model="tagToCreate.thumbnail">

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="文章设置" title="文章设置"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
placement="right" placement="right"
closable closable
destroyOnClose destroyOnClose
@ -24,7 +24,7 @@
> >
<a-input v-model="selectedPost.title" /> <a-input v-model="selectedPost.title" />
</a-form-item> </a-form-item>
<a-form-item label="文章路径"> <a-form-item label="文章别名">
<template slot="help"> <template slot="help">
<span v-if="options.post_permalink_type === 'DEFAULT'">{{ options.blog_url }}/{{ options.archives_prefix }}/{{ selectedPost.slug?selectedPost.slug:'${slug}' }}{{ options.path_suffix }}</span> <span v-if="options.post_permalink_type === 'DEFAULT'">{{ options.blog_url }}/{{ options.archives_prefix }}/{{ selectedPost.slug?selectedPost.slug:'${slug}' }}{{ options.path_suffix }}</span>
<span v-else-if="options.post_permalink_type === 'DATE'">{{ options.blog_url }}{{ selectedPost.createTime?selectedPost.createTime:new Date() | moment_post_date }}{{ selectedPost.slug?selectedPost.slug:'${slug}' }}{{ options.path_suffix }}</span> <span v-else-if="options.post_permalink_type === 'DATE'">{{ options.blog_url }}{{ selectedPost.createTime?selectedPost.createTime:new Date() | moment_post_date }}{{ selectedPost.slug?selectedPost.slug:'${slug}' }}{{ options.path_suffix }}</span>

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="页面设置" title="页面设置"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
placement="right" placement="right"
closable closable
destroyOnClose destroyOnClose
@ -25,8 +25,8 @@
<a-input v-model="selectedSheet.title" /> <a-input v-model="selectedSheet.title" />
</a-form-item> </a-form-item>
<a-form-item <a-form-item
label="页面路径" label="页面别名"
:help="options.blog_url+'/'+options.sheet_prefix+'/'+ (selectedSheet.slug ? selectedSheet.slug : '{slug}')" :help="options.blog_url+'/'+options.sheet_prefix+'/'+ (selectedSheet.slug ? selectedSheet.slug : '{slug}')+options.path_suffix"
> >
<a-input v-model="selectedSheet.slug" /> <a-input v-model="selectedSheet.slug" />
</a-form-item> </a-form-item>

View File

@ -13,7 +13,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input <a-input
v-model="queryParam.keyword" v-model="queryParam.keyword"
@keyup.enter="handleQuery()" @keyup.enter="handleQuery()"
@ -24,7 +24,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="状态"> <a-form-item label="状态">
<a-select <a-select
placeholder="请选择状态" placeholder="请选择状态"
v-model="queryParam.type" v-model="queryParam.type"

View File

@ -20,7 +20,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input v-model="queryParam.keyword" /> <a-input v-model="queryParam.keyword" />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -28,7 +28,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="分组"> <a-form-item label="分组">
<a-select <a-select
v-model="queryParam.team" v-model="queryParam.team"
@change="handleQuery()" @change="handleQuery()"
@ -151,7 +151,7 @@
</a-modal> </a-modal>
<a-drawer <a-drawer
title="图片详情" title="图片详情"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="drawerVisible" :visible="drawerVisible"
destroyOnClose destroyOnClose

View File

@ -116,12 +116,18 @@
<a-select-option value="visits">点击量</a-select-option> <a-select-option value="visits">点击量</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="首页显示条数:"> <a-form-item label="首页每页条数:">
<a-input <a-input
type="number" type="number"
v-model="options.post_index_page_size" v-model="options.post_index_page_size"
/> />
</a-form-item> </a-form-item>
<a-form-item label="归档每页条数:">
<a-input
type="number"
v-model="options.post_archives_page_size"
/>
</a-form-item>
<a-form-item label="RSS 内容类型:"> <a-form-item label="RSS 内容类型:">
<a-select v-model="options.rss_content_type"> <a-select v-model="options.rss_content_type">
<a-select-option value="full">全文</a-select-option> <a-select-option value="full">全文</a-select-option>
@ -707,19 +713,19 @@
</a-form-item> </a-form-item>
<a-form-item label="友情链接页面前缀:"> <a-form-item label="友情链接页面前缀:">
<template slot="help"> <template slot="help">
<span>{{ options.blog_url }}/{{ options.links_prefix }}</span> <span>{{ options.blog_url }}/{{ options.links_prefix }}{{ options.path_suffix }}</span>
</template> </template>
<a-input v-model="options.links_prefix" /> <a-input v-model="options.links_prefix" />
</a-form-item> </a-form-item>
<a-form-item label="图库页面前缀:"> <a-form-item label="图库页面前缀:">
<template slot="help"> <template slot="help">
<span>{{ options.blog_url }}/{{ options.photos_prefix }}</span> <span>{{ options.blog_url }}/{{ options.photos_prefix }}{{ options.path_suffix }}</span>
</template> </template>
<a-input v-model="options.photos_prefix" /> <a-input v-model="options.photos_prefix" />
</a-form-item> </a-form-item>
<a-form-item label="日志页面前缀:"> <a-form-item label="日志页面前缀:">
<template slot="help"> <template slot="help">
<span>{{ options.blog_url }}/{{ options.journals_prefix }}</span> <span>{{ options.blog_url }}/{{ options.journals_prefix }}{{ options.path_suffix }}</span>
</template> </template>
<a-input v-model="options.journals_prefix" /> <a-input v-model="options.journals_prefix" />
</a-form-item> </a-form-item>

View File

@ -1,7 +1,7 @@
<template> <template>
<a-drawer <a-drawer
title="博客备份" title="博客备份"
:width="isMobile()?'100%':'460'" :width="isMobile()?'100%':'480'"
closable closable
:visible="visible" :visible="visible"
destroyOnClose destroyOnClose

View File

@ -11,7 +11,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input <a-input
v-model="queryParam.keyword" v-model="queryParam.keyword"
@keyup.enter="handleQuery()" @keyup.enter="handleQuery()"
@ -22,7 +22,7 @@
:md="6" :md="6"
:sm="24" :sm="24"
> >
<a-form-item label="类型"> <a-form-item label="类型">
<a-select <a-select
v-model="queryParam.type" v-model="queryParam.type"
placeholder="请选择类型" placeholder="请选择类型"