feat(ip-geo): full-chain IP 归属地 on comments, user home, center, post
This commit is contained in:
@@ -9,7 +9,8 @@ export const featuresSchema = {
|
||||
user_cover_upload: true,
|
||||
user_social_links: true,
|
||||
user_desc_std: '这家伙很懒…',
|
||||
user_city_s: false,
|
||||
user_city_s: true,
|
||||
user_city_type: 'province',
|
||||
user_join_day_my_name: '本站',
|
||||
user_avatar_default: '',
|
||||
user_cover_img: '',
|
||||
@@ -30,7 +31,19 @@ export const featuresSchema = {
|
||||
{ key: 'user_cover_upload', label: '封面上传', type: 'switch', default: true },
|
||||
{ key: 'user_social_links', label: '社交链接', type: 'switch', default: true },
|
||||
{ key: 'user_desc_std', label: '默认签名', type: 'input', default: '这家伙很懒…', help: '用户未设置个人简介时显示的默认文案' },
|
||||
{ key: 'user_city_s', label: '显示城市', type: 'switch', default: false },
|
||||
{ key: 'user_city_s', label: '显示城市(IP 归属地)', type: 'switch', default: true, help: '根据用户登录 IP 在用户主页与用户中心显示归属地;需同时在「扩展 → IP归属地」启用并勾选对应展示位置' },
|
||||
{
|
||||
key: 'user_city_type',
|
||||
label: '位置精度',
|
||||
type: 'radio',
|
||||
default: 'province',
|
||||
options: [
|
||||
{ label: '省份', value: 'province' },
|
||||
{ label: '省份+城市', value: 'province_city' },
|
||||
{ label: '国家+省份', value: 'country_province' },
|
||||
],
|
||||
dependsOn: { key: 'user_city_s', value: true },
|
||||
},
|
||||
{ key: 'user_join_day_my_name', label: '站名', type: 'input', default: '本站', help: '用于「已加入 X 天」显示中的站点名称' },
|
||||
{ key: 'user_avatar_default', label: '默认头像', type: 'media', default: '' },
|
||||
{ key: 'user_cover_img', label: '默认封面', type: 'media', default: '' },
|
||||
|
||||
Reference in New Issue
Block a user