feat(creator-studio): centered paper layout and scheduled publishing
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
384d2b7aa0
commit
7bdf7cf018
20 files changed
+549
-308
No files matched your search
@@ -123,11 +123,11 @@ test('PHP submit section 默认值对齐参考主题', () => {
|
||||
assert.match(submitPhp, /'post_article_s',\s*'label'\s*=>\s*'启用前台投稿',\s*'type'\s*=>\s*'switcher',\s*'default'\s*=>\s*true/);
|
||||
assert.match(submitPhp, /'post_article_btn_txte',\s*'label'\s*=>\s*'按钮文字',\s*'type'\s*=>\s*'input',\s*'default'\s*=>\s*'发布文章'/);
|
||||
assert.match(submitPhp, /'post_article_user',\s*'label'\s*=>\s*'免登陆投稿发布用户',\s*'type'\s*=>\s*'user_select',\s*'default'\s*=>\s*1/);
|
||||
assert.match(submitPhp, /'post_article_title_strlen_limit',\s*'label'\s*=>\s*'标题字数限制',\s*'type'\s*=>\s*'between_number',\s*'default'\s*=>\s*\['min'\s*=>\s*5,\s*'max'\s*=>\s*30\]/);
|
||||
assert.match(submitPhp, /'post_article_title_strlen_limit',\s*'label'\s*=>\s*'标题字数限制',\s*'type'\s*=>\s*'between_number',\s*'default'\s*=>\s*\['min'\s*=>\s*5,\s*'max'\s*=>\s*100\]/);
|
||||
assert.match(submitPhp, /'post_article_pay_vip_1_discount',\s*'label'\s*=>\s*'一级会员折扣',\s*'type'\s*=>\s*'number',\s*'default'\s*=>\s*100/);
|
||||
assert.match(submitPhp, /'post_article_pay_vip_2_discount',\s*'label'\s*=>\s*'二级会员折扣',\s*'type'\s*=>\s*'number',\s*'default'\s*=>\s*100/);
|
||||
assert.match(submitPhp, /'post_t_placeholder',\s*'label'\s*=>\s*'投稿标题占位符',\s*'type'\s*=>\s*'input',\s*'default'\s*=>\s*'请输入标题'/);
|
||||
assert.match(submitPhp, /'post_c_placeholder',\s*'label'\s*=>\s*'投稿内容占位符',\s*'type'\s*=>\s*'input',\s*'default'\s*=>\s*'请输入内容'/);
|
||||
assert.match(submitPhp, /'post_t_placeholder',\s*'label'\s*=>\s*'投稿标题占位符',\s*'type'\s*=>\s*'input',\s*'default'\s*=>\s*'请输入标题(最多 100 个字)'/);
|
||||
assert.match(submitPhp, /'post_c_placeholder',\s*'label'\s*=>\s*'投稿内容占位符',\s*'type'\s*=>\s*'input',\s*'default'\s*=>\s*'请输入正文'/);
|
||||
assert.match(submitPhp, /'price',\s*'label'\s*=>\s*'现金金额限制'/);
|
||||
assert.match(submitPhp, /'points',\s*'label'\s*=>\s*'积分金额限制'/);
|
||||
});
|
||||
@@ -164,8 +164,8 @@ test('JS schema 默认值对齐参考主题', () => {
|
||||
assert.match(js, /post_article_user:\s*1\b/);
|
||||
assert.match(js, /post_article_pay_vip_1_discount:\s*100\b/);
|
||||
assert.match(js, /post_article_pay_vip_2_discount:\s*100\b/);
|
||||
assert.match(js, /post_t_placeholder:\s*'请输入标题'/);
|
||||
assert.match(js, /post_c_placeholder:\s*'请输入内容'/);
|
||||
assert.match(js, /post_t_placeholder:\s*'请输入标题(最多 100 个字)'/);
|
||||
assert.match(js, /post_c_placeholder:\s*'请输入正文'/);
|
||||
assert.match(js, /price:\s*\{\s*min:\s*0,\s*max:\s*99999\s*\}/);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user