<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Site\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; use Module\Vendor\Provider\SiteTemplate\SiteTemplateProvider; class ConfigController extends Controller { public function setting(AdminConfigBuilder $A2Tuf) { goto H7gTy; KLkvv: $A2Tuf->textarea('siteDescription', '网站描述'); goto EOk3r; cBoE1: $A2Tuf->text('Site_ContactAddress', '地址'); goto ePXK8; WoE16: $A2Tuf->layoutSeparator('备案信息'); goto JvzdP; ePXK8: $A2Tuf->image('Site_ContactQrcode', '联系二维码')->help('可传带二维码的公众号/微信/QQ等，方便用户扫码联系'); goto EzOeU; eXMdv: $A2Tuf->layoutSeparator('网站信息'); goto ihUVT; CcB2K: return $A2Tuf->perform(); goto PHDDl; H7gTy: $A2Tuf->pageTitle('基本设置'); goto eXMdv; LCFhG: $A2Tuf->text('siteBeianGonganLink', '公安备案链接'); goto ltzye; ltzye: $A2Tuf->textarea('Site_CopyrightOthers', '其他备案信息')->help('支持HTML'); goto ilM3d; HyYbv: $A2Tuf->text('Site_ContactEmail', '邮箱'); goto QxWEw; EzOeU: $A2Tuf->formClass('wide'); goto CcB2K; QxWEw: $A2Tuf->text('Site_ContactPhone', '电话'); goto cBoE1; ihUVT: $A2Tuf->image('siteLogo', '网站Logo'); goto E5XOa; nksFo: $A2Tuf->text('siteKeywords', '网站关键词'); goto KLkvv; ilM3d: $A2Tuf->layoutSeparator('联系信息'); goto HyYbv; PEl_2: $A2Tuf->text('siteDomain', '网站域名')->help('如 example.com'); goto OeUSy; JvzdP: $A2Tuf->text('siteBeian', 'ICP备案编号'); goto qjLdi; EOk3r: $A2Tuf->image('siteFavIco', '网站ICO'); goto C8YSm; C8YSm: $A2Tuf->layoutSeparator('模板主题'); goto HUosx; E5XOa: $A2Tuf->text('siteName', '网站名称'); goto CFtMW; RgQyb: $A2Tuf->select('siteTemplate', '网站模板')->options(SiteTemplateProvider::map()); goto WoE16; CFtMW: $A2Tuf->text('siteSlogan', '网站副标题'); goto PEl_2; OeUSy: $A2Tuf->text('siteUrl', '网站地址')->help('如 https://example.com 主要用于后台任务地址转换'); goto nksFo; HUosx: $A2Tuf->color('sitePrimaryColor', '网站主色调'); goto RgQyb; qjLdi: $A2Tuf->text('siteBeianGonganText', '公安备案文字'); goto LCFhG; PHDDl: } }