mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-29 10:29:27 +08:00
v6.2.0
This commit is contained in:
parent
9158ef1925
commit
83641a9a53
@ -53,7 +53,7 @@
|
||||
| Gitee | [https://gitee.com/zongzhige/shopxo](https://gitee.com/zongzhige/shopxo) |
|
||||
| GitHub | [https://github.com/gongfuxiang/shopxo](https://github.com/gongfuxiang/shopxo) |
|
||||
| Coding | [https://zongzhige.coding.net/public/shopxo/shopxo/git](https://zongzhige.coding.net/public/shopxo/shopxo/git) |
|
||||
| GitCode | [https://gitcode.net/zongzhige/shopxo](https://gitcode.net/zongzhige/shopxo) |
|
||||
| GitCode | [https://gitcode.com/zongzhige/shopxo](https://gitcode.com/zongzhige/shopxo) |
|
||||
|
||||
### uniapp端源代码平台
|
||||
| 平台 | 地址 |
|
||||
@ -61,7 +61,7 @@
|
||||
| Gitee | [https://gitee.com/zongzhige/shopxo-uniapp](https://gitee.com/zongzhige/shopxo-uniapp) |
|
||||
| GitHub | [https://github.com/gongfuxiang/shopxo-uniapp](https://github.com/gongfuxiang/shopxo-uniapp) |
|
||||
| Coding | [https://zongzhige.coding.net/public/shopxo/uniapp/git](https://zongzhige.coding.net/public/shopxo/uniapp/git) |
|
||||
| GitCode | [https://gitcode.net/zongzhige/shopxo-uniapp](https://gitcode.net/zongzhige/shopxo-uniapp) |
|
||||
| GitCode | [https://gitcode.com/zongzhige/shopxo-uniapp](https://gitcode.com/zongzhige/shopxo-uniapp) |
|
||||
| uni-app | [https://ext.dcloud.net.cn/plugin?id=6380](https://ext.dcloud.net.cn/plugin?id=6380) |
|
||||
|
||||
### 部分功能特性
|
||||
@ -81,6 +81,7 @@
|
||||
| 客服 | 统一多端在线客服系统、支持(表情/图片/视频/快捷消息)、好友上下线实时通知、实时输入状态、支持网页及小程序直接发起即时咨询、客服离线(短信+邮件实时通知)、支持商品卡片、可打包工作台客服APP |
|
||||
| 进销存ERP | 采购(入库/退货)、销售(发货/退货)、自定义模板打印+导出Excel+PDF、产品excel批量导入+多单位+多仓库仓位、仓库盘点+调拨、其他出入库、客商+会员等级、采销收付款、商城商品与产品双向同步、商城订单自动同步批量发货|
|
||||
| 组合搭配 | 多个商品组合打包一口价或折扣销售、商品套餐组合搭配用户可选2件起下单、商品关联营销、捆绑销售提高成交率,支持多商户 |
|
||||
| 配送员 | 同城自建物流团队配送系统,骑手管理、调度中心(地图方圆画圈批量派单及打印、实时观察订单及骑手位置)、配送员微信小程序端实时定位 |
|
||||
* 更多查看应用商店 ( https://store.shopxo.net/ )
|
||||
|
||||
### 系统特性
|
||||
@ -126,5 +127,5 @@
|
||||
非常欢迎您对ShopXO的开发作出贡献!你可以选择以下方式向ShopXO贡献:
|
||||
- [Github - 发布issue进行问题反馈和建议](https://github.com/gongfuxiang/shopxo/pulls)
|
||||
- [Gitee - 发布issue进行问题反馈和建议](https://gitee.com/zongzhige/shopxo/pulls)
|
||||
- [Gitcode - 发布issue进行问题反馈和建议](https://gitcode.net/zongzhige/shopxo/merge_requests)
|
||||
- [Gitcode - 发布issue进行问题反馈和建议](https://gitcode.com/zongzhige/shopxo/merge_requests)
|
||||
> 通过Pull Request提交修复、完善我们的文档和例子
|
@ -52,13 +52,11 @@ class AppConfig extends Base
|
||||
{
|
||||
$assign = [
|
||||
// 配置数据
|
||||
'data' => ConfigService::ConfigList(),
|
||||
'data' => ConfigService::ConfigList(),
|
||||
// 管理导航
|
||||
'nav_data' => MyLang('appconfig.base_nav_list'),
|
||||
'nav_data' => MyLang('appconfig.base_nav_list'),
|
||||
// 页面导航
|
||||
'nav_type' => $this->nav_type,
|
||||
// 时区
|
||||
'common_user_base_popup_pages_list' => MyConst('common_user_base_popup_pages_list'),
|
||||
'nav_type' => $this->nav_type,
|
||||
];
|
||||
MyViewAssign($assign);
|
||||
return MyView($this->nav_type);
|
||||
|
@ -11,7 +11,7 @@
|
||||
namespace app\admin\controller;
|
||||
|
||||
use app\BaseController;
|
||||
use app\module\FormHandleModule;
|
||||
use app\module\FormTableHandleModule;
|
||||
use app\service\SystemService;
|
||||
use app\service\SystemBaseService;
|
||||
use app\service\AdminService;
|
||||
@ -377,7 +377,7 @@ class Common extends BaseController
|
||||
$site_store_info = StoreService::SiteStoreInfo();
|
||||
if(empty($site_store_info))
|
||||
{
|
||||
$ret = StoreService::SiteStoreAccountsBindHandle();
|
||||
$ret = StoreService::SiteStoreAccountsBindHandle('', '', 'auto');
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
$site_store_info = StoreService::SiteStoreInfo();
|
||||
@ -444,7 +444,7 @@ class Common extends BaseController
|
||||
$assign = [];
|
||||
$params = $this->data_request;
|
||||
$params['system_admin'] = $this->admin;
|
||||
$ret = (new FormHandleModule())->Run($module['module'], $module['action'], $params);
|
||||
$ret = (new FormTableHandleModule())->Run($module['module'], $module['action'], $params);
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
// 表格数据
|
||||
|
@ -55,8 +55,7 @@ class Error extends Common
|
||||
public function Tips()
|
||||
{
|
||||
$msg = empty($this->data_request['msg']) ? MyLang('error') : urldecode(base64_decode($this->data_request['msg']));
|
||||
MyViewAssign('msg', $msg);
|
||||
return MyView('public/tips_error');
|
||||
return MyView('public/tips_error', ['msg'=>$msg]);
|
||||
}
|
||||
}
|
||||
?>
|
@ -17,6 +17,7 @@ use app\service\NavigationService;
|
||||
use app\service\GoodsCategoryService;
|
||||
use app\service\CustomViewService;
|
||||
use app\service\DesignService;
|
||||
use app\service\PluginsService;
|
||||
|
||||
/**
|
||||
* 导航管理
|
||||
@ -66,6 +67,8 @@ class Navigation extends Base
|
||||
'nav_data' => MyLang('navigation.base_nav_list'),
|
||||
// 添加类型列表
|
||||
'add_type_list' => MyLang('navigation.base_add_type_list'),
|
||||
// 插件列表
|
||||
'plugins_list' => PluginsService::PluginsHomeDataList(),
|
||||
];
|
||||
|
||||
// 获取列表
|
||||
|
@ -140,6 +140,15 @@ class UserAddress
|
||||
'where_type' => 'like',
|
||||
],
|
||||
],
|
||||
[
|
||||
'label' => $lang['address_last_code'],
|
||||
'view_type' => 'field',
|
||||
'view_key' => 'address_last_code',
|
||||
'is_sort' => 1,
|
||||
'search_config' => [
|
||||
'form_type' => 'input',
|
||||
],
|
||||
],
|
||||
[
|
||||
'label' => $lang['position'],
|
||||
'view_type' => 'module',
|
||||
|
@ -132,6 +132,7 @@ return [
|
||||
'city_name' => '所屬市',
|
||||
'county_name' => '所屬區/縣',
|
||||
'address' => '詳細地址',
|
||||
'address_last_code' => '地址最後一級編碼',
|
||||
'position' => '經緯度',
|
||||
'idcard_info' => '身份證資訊',
|
||||
'is_default' => '是否默認',
|
||||
@ -472,6 +473,7 @@ return [
|
||||
['name' => '基礎配寘', 'type' => 'index'],
|
||||
['name' => 'APP/小程式', 'type' => 'app'],
|
||||
],
|
||||
'online_service_title' => '線上客服',
|
||||
'user_base_popup_title' => '用戶基礎資訊彈窗提示',
|
||||
'user_onekey_bind_mobile_tips_list' => [
|
||||
'1. 獲取當前小程式平臺帳戶或者本本機的手機號碼一鍵登入綁定,現時僅支持【微信小程式、百度小程式、頭條小程式】',
|
||||
@ -486,6 +488,10 @@ return [
|
||||
'user_base_popup_top_tips_list' => [
|
||||
'1. 現時僅微信小程式平臺自動授權登入後無用戶昵稱和頭像資訊',
|
||||
],
|
||||
'online_service_top_tips_list' => [
|
||||
'1.自定義客服http協定採用webview管道打開',
|
||||
'2.客服優先順序順序【客服系統->自定義客服->企業微信客服(僅app+h5+微信小程式生效)->各端平臺客服->電話客服】',
|
||||
],
|
||||
],
|
||||
|
||||
// 小程序管理
|
||||
@ -722,6 +728,7 @@ return [
|
||||
'customview' => '自定義頁面',
|
||||
'goods_category' => '商品分類',
|
||||
'design' => '頁面設計',
|
||||
'plugins' => '挿件首頁',
|
||||
],
|
||||
// 动态表格
|
||||
'form_table' => [
|
||||
@ -1088,6 +1095,8 @@ return [
|
||||
'data_list_author_title' => '作者',
|
||||
'data_list_author_url_title' => '主頁',
|
||||
'data_list_version_title' => '版本',
|
||||
'data_list_second_domain_title' => '二級功能變數名稱',
|
||||
'data_list_second_domain_tips' => '請在後臺[系統->系統配寘->安全]中配寘好Cookie有效功能變數名稱主功能變數名稱',
|
||||
'uninstall_confirm_tips' => '卸載可能會遺失挿件基礎配寘數據不可恢復、確認操作嗎?',
|
||||
'not_install_divide_title' => '以下挿件未安裝',
|
||||
'delete_plugins_text' => '1.僅删除應用',
|
||||
|
@ -132,6 +132,7 @@ return [
|
||||
'city_name' => 'City',
|
||||
'county_name' => 'County/County',
|
||||
'address' => 'Detail Address',
|
||||
'address_last_code' => 'Address Last Level Encoding',
|
||||
'position' => 'Position',
|
||||
'idcard_info' => 'Idcard Info',
|
||||
'is_default' => 'Default or not',
|
||||
@ -476,6 +477,7 @@ return [
|
||||
['name' => 'BaseConfig', 'type' => 'index'],
|
||||
['name' => 'APP/Applet', 'type' => 'app'],
|
||||
],
|
||||
'online_service_title' => 'Online Service',
|
||||
'user_base_popup_title' => 'Pop up prompt for user basic information',
|
||||
'user_onekey_bind_mobile_tips_list' => [
|
||||
'1. One click login binding for obtaining the current mini program platform account or mobile phone number of this device. Currently, only WeChat mini programs, Baidu mini programs, and Headline mini programs are supported',
|
||||
@ -490,6 +492,10 @@ return [
|
||||
'user_base_popup_top_tips_list' => [
|
||||
'1. Currently, only the WeChat mini program platform automatically authorizes login without user nickname and avatar information',
|
||||
],
|
||||
'online_service_top_tips_list' => [
|
||||
'1. Customize customer service HTTP protocol to open in webview mode',
|
||||
'2. Customer service priority order: [Customer service system ->Custom customer service ->Enterprise WeChat customer service (only effective for app+h5+WeChat mini program) ->Customer service on various platforms ->Telephone customer service]',
|
||||
],
|
||||
],
|
||||
|
||||
// 小程序管理
|
||||
@ -726,6 +732,7 @@ return [
|
||||
'customview' => 'Custom Page',
|
||||
'goods_category' => 'Goods Category',
|
||||
'design' => 'Page Design',
|
||||
'plugins' => 'Plugins Home',
|
||||
],
|
||||
// 表单
|
||||
'form_item_pid' => 'Navigation Level',
|
||||
@ -1106,6 +1113,8 @@ return [
|
||||
'data_list_author_title' => 'Author',
|
||||
'data_list_author_url_title' => 'HomePage',
|
||||
'data_list_version_title' => 'Version',
|
||||
'data_list_second_domain_title' => 'Secondary domain name',
|
||||
'data_list_second_domain_tips' => 'Please configure the valid domain name and primary domain name of the cookie in the backend [System ->System Configuration ->Security]',
|
||||
'uninstall_confirm_tips' => 'Uninstallation may lose the basic configuration data of the plug-in. Is it unrecoverable and confirm the operation?',
|
||||
'not_install_divide_title' => 'The following plugins are not installed',
|
||||
'delete_plugins_text' => '1. Delete apps only',
|
||||
|
@ -132,6 +132,7 @@ return [
|
||||
'city_name' => 'Ciudad a la que pertenece',
|
||||
'county_name' => 'Distrito / condado al que pertenece',
|
||||
'address' => 'Dirección detallada',
|
||||
'address_last_code' => 'El último nivel de Codificación de la dirección',
|
||||
'position' => 'Longitud y latitud',
|
||||
'idcard_info' => 'Información de la tarjeta de identificación',
|
||||
'is_default' => 'Si predeterminado',
|
||||
@ -472,6 +473,7 @@ return [
|
||||
['name' => 'Configuración básica', 'type' => 'index'],
|
||||
['name' => 'APP / applet', 'type' => 'app'],
|
||||
],
|
||||
'online_service_title' => 'Servicio al cliente en línea',
|
||||
'user_base_popup_title' => 'Consejos de ventana emergente de información básica del usuario',
|
||||
'user_onekey_bind_mobile_tips_list' => [
|
||||
'1. Obtenga la cuenta actual de la Plataforma de applets o el número de teléfono móvil de esta máquina para iniciar sesión con un solo clic, y actualmente solo admite [applet de wechat, applet de baidu, applet de titulares]',
|
||||
@ -486,6 +488,10 @@ return [
|
||||
'user_base_popup_top_tips_list' => [
|
||||
'1. En la actualidad, solo la Plataforma de applets de Wechat autoriza automáticamente el inicio de sesión sin apodos de usuario e información de avatar.',
|
||||
],
|
||||
'online_service_top_tips_list' => [
|
||||
'1. el Protocolo https de servicio al cliente personalizado se abre en webview',
|
||||
'2. orden de prioridad del servicio al cliente [sistema de servicio al cliente - > Servicio al cliente personalizado - > Servicio al cliente de Wechat corporativo (solo la aplicación + H5 + applet de Wechat está en vigor) - > Servicio al cliente de cada plataforma final - > Servicio al cliente telefónico]',
|
||||
],
|
||||
],
|
||||
|
||||
// 小程序管理
|
||||
@ -722,6 +728,7 @@ return [
|
||||
'customview' => 'Página personalizada',
|
||||
'goods_category' => 'Clasificación de mercancías',
|
||||
'design' => 'Diseño de página',
|
||||
'plugins' => 'Plug - in de página de inicio',
|
||||
],
|
||||
// 动态表格
|
||||
'form_table' => [
|
||||
@ -1088,6 +1095,8 @@ return [
|
||||
'data_list_author_title' => 'Autor',
|
||||
'data_list_author_url_title' => 'Página principal',
|
||||
'data_list_version_title' => 'Versión',
|
||||
'data_list_second_domain_title' => 'Nombre de dominio secundario',
|
||||
'data_list_second_domain_tips' => 'Por favor, configure el nombre de dominio principal válido de la Cookie en segundo plano [sistema - > configuración del sistema - > seguridad]',
|
||||
'uninstall_confirm_tips' => '¿¿ desinstalar puede perder los datos de configuración básicos del plug - in que no se pueden restaurar y confirmar?',
|
||||
'not_install_divide_title' => 'Los siguientes plug - ins no están instalados',
|
||||
'delete_plugins_text' => '1. eliminar solo la aplicación',
|
||||
|
@ -123,20 +123,21 @@ return [
|
||||
'detail_user_address_idcard_pic' => '照片',
|
||||
// 动态表格
|
||||
'form_table' => [
|
||||
'user' => '用户信息',
|
||||
'user_placeholder' => '请输入用户名/昵称/手机/邮箱',
|
||||
'alias' => '别名',
|
||||
'name' => '联系人',
|
||||
'tel' => '联系电话',
|
||||
'province_name' => '所属省',
|
||||
'city_name' => '所属市',
|
||||
'county_name' => '所属区/县',
|
||||
'address' => '详细地址',
|
||||
'position' => '经纬度',
|
||||
'idcard_info' => '身份证信息',
|
||||
'is_default' => '是否默认',
|
||||
'add_time' => '创建时间',
|
||||
'upd_time' => '更新时间',
|
||||
'user' => '用户信息',
|
||||
'user_placeholder' => '请输入用户名/昵称/手机/邮箱',
|
||||
'alias' => '别名',
|
||||
'name' => '联系人',
|
||||
'tel' => '联系电话',
|
||||
'province_name' => '所属省',
|
||||
'city_name' => '所属市',
|
||||
'county_name' => '所属区/县',
|
||||
'address' => '详细地址',
|
||||
'address_last_code' => '地址最后一级编码',
|
||||
'position' => '经纬度',
|
||||
'idcard_info' => '身份证信息',
|
||||
'is_default' => '是否默认',
|
||||
'add_time' => '创建时间',
|
||||
'upd_time' => '更新时间',
|
||||
],
|
||||
],
|
||||
|
||||
@ -473,6 +474,7 @@ return [
|
||||
['name' => '基础配置', 'type' => 'index'],
|
||||
['name' => 'APP/小程序', 'type' => 'app'],
|
||||
],
|
||||
'online_service_title' => '在线客服',
|
||||
'user_base_popup_title' => '用户基础信息弹窗提示',
|
||||
'user_onekey_bind_mobile_tips_list' => [
|
||||
'1. 获取当前小程序平台账户或者本本机的手机号码一键登录绑定,目前仅支持【微信小程序、百度小程序、头条小程序】',
|
||||
@ -487,6 +489,10 @@ return [
|
||||
'user_base_popup_top_tips_list' => [
|
||||
'1. 目前仅微信小程序平台自动授权登录后无用户昵称和头像信息',
|
||||
],
|
||||
'online_service_top_tips_list' => [
|
||||
'1. 自定义客服http协议采用webview方式打开',
|
||||
'2. 客服优先级顺序【 客服系统 -> 自定义客服 -> 企业微信客服(仅app+h5+微信小程序生效) -> 各端平台客服 -> 电话客服 】',
|
||||
],
|
||||
],
|
||||
|
||||
// 小程序管理
|
||||
@ -723,6 +729,7 @@ return [
|
||||
'customview' => '自定义页面',
|
||||
'goods_category' => '商品分类',
|
||||
'design' => '页面设计',
|
||||
'plugins' => '插件首页',
|
||||
],
|
||||
// 动态表格
|
||||
'form_table' => [
|
||||
@ -1089,6 +1096,8 @@ return [
|
||||
'data_list_author_title' => '作者',
|
||||
'data_list_author_url_title' => '主页',
|
||||
'data_list_version_title' => '版本',
|
||||
'data_list_second_domain_title' => '二级域名',
|
||||
'data_list_second_domain_tips' => '请在后台[ 系统 -> 系统配置 -> 安全 ]中配置好Cookie有效域名主域名',
|
||||
'uninstall_confirm_tips' => '卸载可能会丢失插件基础配置数据不可恢复、确认操作吗?',
|
||||
'not_install_divide_title' => '以下插件未安装',
|
||||
'delete_plugins_text' => '1. 仅删除应用',
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('admin', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/admin/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -41,35 +41,30 @@
|
||||
<div data-tab-panel-0 class="am-tab-panel am-active">
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation-username" method="post" action="{{:MyUrl('admin/admin/login')}}" request-type="ajax-url" request-value="{{:MyUrl('admin/index/index')}}">
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group">
|
||||
<input type="text" name="accounts" class="am-radius" placeholder="{{:MyLang('common_service.admin.form_item_username_placeholder')}}" pattern="{{:MyConst('common_regex_username')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_username_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="password" name="pwd" class="am-radius eye" placeholder="{{:MyLang('common_service.admin.form_item_password_placeholder')}}" pattern="{{:MyConst('common_regex_pwd')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_password_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn eye">
|
||||
<button class="am-btn am-btn-default am-radius am-icon-eye eye-submit" type="button"></button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="password" name="pwd" class="am-radius eye" placeholder="{{:MyLang('common_service.admin.form_item_password_placeholder')}}" pattern="{{:MyConst('common_regex_pwd')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_password_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn eye">
|
||||
<button class="am-btn am-btn-default am-radius am-icon-eye eye-submit" type="button"></button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{if MyC('admin_login_img_verify_state') eq 1}}
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="text" name="verify" class="am-radius" placeholder="{{:MyLang('form_verify_placeholder')}}" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_images_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-img">
|
||||
<span class="am-btn am-radius am-padding-0 form-verify">
|
||||
<img src="{{:MyUrl('admin/admin/adminverifyentry')}}" class="am-radius am-cursor-pointer" id="form-verify-img" onClick="this.src=this.src+'&'+Math.random();" />
|
||||
<a href="javascript:;" class="form-verify-tips" onClick="document.getElementById('form-verify-img').src='{{:MyUrl('admin/admin/adminverifyentry')}}&'+Math.random();">{{:MyLang('form_images_verify_button_text')}}</a>
|
||||
</span>
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="text" name="verify" class="am-radius" placeholder="{{:MyLang('form_verify_placeholder')}}" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_images_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-img">
|
||||
<span class="am-btn am-radius am-padding-0 form-verify">
|
||||
<img src="{{:MyUrl('admin/admin/adminverifyentry')}}" class="am-radius am-cursor-pointer" id="form-verify-img" onClick="this.src=this.src+'&'+Math.random();" />
|
||||
<a href="javascript:;" class="form-verify-tips am-radius" onClick="document.getElementById('form-verify-img').src='{{:MyUrl('admin/admin/adminverifyentry')}}&'+Math.random();">{{:MyLang('form_images_verify_button_text')}}</a>
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group">
|
||||
<input type="hidden" name="type" value="username" />
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('processing_tips')}}'}">{{:MyLang('login_title')}}</button>
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('login_title')}}'}">{{:MyLang('login_title')}}</button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- form end -->
|
||||
@ -79,21 +74,18 @@
|
||||
<div data-tab-panel-1 class="am-tab-panel {{if !in_array('username', $admin_login_type) and !in_array('email', $admin_login_type)}}am-active{{/if}}">
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation-sms" method="post" action="{{:MyUrl('admin/admin/login')}}" request-type="ajax-url" request-value="{{:MyUrl('admin/index/index')}}">
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group">
|
||||
<input type="text" name="accounts" class="am-radius" placeholder="{{:MyLang('common_service.admin.form_item_mobile_placeholder')}}" pattern="{{:MyConst('common_regex_mobile')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_mobile_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group am-form-group-refreshing business-form-block am-margin-top-xs">
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="number" name="verify" class="am-radius sms" placeholder="{{:MyLang('form_verify_placeholder')}}" min="0" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-sms">
|
||||
<button class="am-btn am-btn-default am-radius btn-loading-example verify-submit" type="button" data-am-loading="{spinner:'circle-o-notch', loadingText:'{{:MyLang('send_tips')}}'}" data-url="{{:MyUrl('admin/admin/loginverifysend')}}" data-verify="{{:MyC('common_img_verify_state')}}" data-text="{{:MyLang('form_verify_button_text')}}" data-send-text="{{:MyLang('form_verify_send_text')}}" data-time="{{:MyC('common_verify_interval_time', 30, true)}}" data-form-tag="form.form-validation-sms">{{:MyLang('form_verify_button_text')}}</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="number" name="verify" class="am-radius sms" placeholder="{{:MyLang('form_verify_placeholder')}}" min="0" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-sms">
|
||||
<button class="am-btn am-btn-default am-radius btn-loading-example verify-submit" type="button" data-am-loading="{spinner:'circle-o-notch', loadingText:'{{:MyLang('send_tips')}}'}" data-url="{{:MyUrl('admin/admin/loginverifysend')}}" data-verify="{{:MyC('common_img_verify_state')}}" data-text="{{:MyLang('form_verify_button_text')}}" data-send-text="{{:MyLang('form_verify_send_text')}}" data-time="{{:MyC('common_verify_interval_time', 30, true)}}" data-form-tag="form.form-validation-sms">{{:MyLang('form_verify_button_text')}}</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-form-group am-form-group-refreshing am-margin-top-lg">
|
||||
<div class="am-form-group">
|
||||
<input type="hidden" name="type" value="sms" />
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('processing_tips')}}'}">{{:MyLang('login_title')}}</button>
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('login_title')}}'}">{{:MyLang('login_title')}}</button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- form end -->
|
||||
@ -103,21 +95,18 @@
|
||||
<div data-tab-panel-2 class="am-tab-panel {{if !in_array('username', $admin_login_type)}}am-active{{/if}}">
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation-email" method="post" action="{{:MyUrl('admin/admin/login')}}" request-type="ajax-url" request-value="{{:MyUrl('admin/index/index')}}">
|
||||
<div class="am-form-group am-form-group-refreshing">
|
||||
<div class="am-form-group">
|
||||
<input type="email" name="accounts" class="am-radius" placeholder="{{:MyLang('common_service.admin.form_item_email_placeholder')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_email_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group am-form-group-refreshing business-form-block am-margin-top-xs">
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="number" name="verify" class="am-radius email" placeholder="{{:MyLang('form_verify_placeholder')}}" min="0" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-email">
|
||||
<button class="am-btn am-btn-default am-radius btn-loading-example verify-submit" type="button" data-am-loading="{spinner:'circle-o-notch', loadingText:'{{:MyLang('send_tips')}}'}" data-url="{{:MyUrl('admin/admin/loginverifysend')}}" data-verify="{{:MyC('common_img_verify_state')}}" data-text="{{:MyLang('form_verify_button_text')}}" data-send-text="{{:MyLang('form_verify_send_text')}}" data-time="{{:MyC('common_verify_interval_time', 30, true)}}" data-form-tag="form.form-validation-email">{{:MyLang('form_verify_button_text')}}</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-form-group input-compose">
|
||||
<input type="number" name="verify" class="am-radius email" placeholder="{{:MyLang('form_verify_placeholder')}}" min="0" minlength="4" maxlength="4" data-validation-message="{{:MyLang('form_verify_message')}}" autocomplete="off" data-is-clearout="0" required />
|
||||
<span class="am-input-group-btn verify-email">
|
||||
<button class="am-btn am-btn-default am-radius btn-loading-example verify-submit" type="button" data-am-loading="{spinner:'circle-o-notch', loadingText:'{{:MyLang('send_tips')}}'}" data-url="{{:MyUrl('admin/admin/loginverifysend')}}" data-verify="{{:MyC('common_img_verify_state')}}" data-text="{{:MyLang('form_verify_button_text')}}" data-send-text="{{:MyLang('form_verify_send_text')}}" data-time="{{:MyC('common_verify_interval_time', 30, true)}}" data-form-tag="form.form-validation-email">{{:MyLang('form_verify_button_text')}}</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-form-group am-form-group-refreshing am-margin-top-lg">
|
||||
<div class="am-form-group">
|
||||
<input type="hidden" name="type" value="email" />
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('processing_tips')}}'}">{{:MyLang('login_title')}}</button>
|
||||
<button type="submit" class="am-btn am-btn-primary am-btn-block am-radius am-btn-xs am-btn-sub btn-loading-example" data-am-loading="{loadingText: '{{:MyLang('login_title')}}'}">{{:MyLang('login_title')}}</button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- form end -->
|
||||
|
@ -12,7 +12,7 @@
|
||||
{{/if}}
|
||||
{{if $module_data['id'] neq 1 and $module_data['id'] neq $admin['id']}}
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/admin/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
||||
{{/if}}
|
@ -12,7 +12,7 @@
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation am-form-full-screen am-form-popup-sticky" action="{{:MyUrl('admin/admin/save')}}" method="POST" request-type="ajax-url" request-value="{{:MyUrl('admin/admin/index', $params)}}">
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('common_service.admin.form_item_username')}}{{if empty($data)}}<span class="am-form-group-label-tips-must">*</span>{{/if}}{{if is_array(MyLang('goods.form_item_give_integral_tips'))}}<a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm" data-am-popover="{content: '{{if empty($data)}}{{:MyLang('common_service.admin.form_item_username_created_tips')}}{{else /}}{{:MyLang('common_service.admin.form_item_username_edit_tips')}}{{/if}}', trigger: 'hover focus', theme: 'sm'}"></a>{{/if}}</label>
|
||||
<label>{{:MyLang('common_service.admin.form_item_username')}}{{if empty($data)}}<span class="am-form-group-label-tips-must">*</span>{{/if}}{{if is_array(MyLang('goods.form_item_give_integral_tips'))}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{if empty($data)}}{{:MyLang('common_service.admin.form_item_username_created_tips')}}{{else /}}{{:MyLang('common_service.admin.form_item_username_edit_tips')}}{{/if}}', trigger: 'hover focus', theme: 'sm'}"></a>{{/if}}</label>
|
||||
<input type="text" name="username" placeholder="{{:MyLang('common_service.admin.form_item_username_message')}}" pattern="{{:MyConst('common_regex_username')}}" data-validation-message="{{:MyLang('common_service.admin.form_item_username_message')}}" class="am-radius" {{if !empty($data['username'])}}value="{{$data.username}}" disabled{{/if}} required />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('appcenternav', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/appcenternav/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/appcenternav/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -18,6 +18,10 @@
|
||||
'name' => MyLang('base_config_title'),
|
||||
'key' => 'base-config-title',
|
||||
],
|
||||
[
|
||||
'name' => MyLang('appconfig.online_service_title'),
|
||||
'key' => 'online-service',
|
||||
],
|
||||
[
|
||||
'name' => MyLang('appconfig.user_base_popup_title'),
|
||||
'key' => 'user-base-popup',
|
||||
@ -49,6 +53,39 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_enable_search.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_enable_search.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_enable_search.only_tag}}" data-validation-message="{{$data.common_app_is_enable_search.error_tips}}" required {{if isset($data['common_app_is_enable_search']['value']) and $data['common_app_is_enable_search']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_header_nav_fixed.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_header_nav_fixed.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_header_nav_fixed.only_tag}}" data-validation-message="{{$data.common_app_is_header_nav_fixed.error_tips}}" required {{if isset($data['common_app_is_header_nav_fixed']['value']) and $data['common_app_is_header_nav_fixed']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_head_vice_nav.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_head_vice_nav.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_head_vice_nav.only_tag}}" data-validation-message="{{$data.common_app_is_head_vice_nav.error_tips}}" required {{if isset($data['common_app_is_head_vice_nav']['value']) and $data['common_app_is_head_vice_nav']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_user_onekey_bind_mobile_list.name}}<span class="am-form-group-label-tips">{{$data.common_user_onekey_bind_mobile_list.describe}}</span></label>
|
||||
<div class="am-checkbox-group am-flex am-gap-12">
|
||||
@ -84,29 +121,20 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_enable_search.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_enable_search.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_enable_search.only_tag}}" data-validation-message="{{$data.common_app_is_enable_search.error_tips}}" required {{if isset($data['common_app_is_enable_search']['value']) and $data['common_app_is_enable_search']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
<!-- 在线客服 -->
|
||||
<div class="item" data-key="online-service">
|
||||
{{if is_array(MyLang('appconfig.online_service_top_tips_list'))}}
|
||||
<div class="am-operate-stretch-tips">
|
||||
<div class="title">
|
||||
<i class="iconfont icon-tips"></i>
|
||||
<strong title="{{:MyLang('operate_list_tips_msg')}}">{{:MyLang('operate_list_tips_button_text')}}</strong>
|
||||
<i class="iconfont icon-contract contract" title="{{:MyLang('operate_list_tips_retract_text')}}"></i>
|
||||
</div>
|
||||
<p>{{:implode('</p><p>', MyLang('appconfig.online_service_top_tips_list'))}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_header_nav_fixed.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_header_nav_fixed.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_header_nav_fixed.only_tag}}" data-validation-message="{{$data.common_app_is_header_nav_fixed.error_tips}}" required {{if isset($data['common_app_is_header_nav_fixed']['value']) and $data['common_app_is_header_nav_fixed']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{/if}}
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_online_service.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_online_service.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
@ -117,16 +145,33 @@
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_is_head_vice_nav.name}}<span class="am-form-group-label-tips">{{$data.common_app_is_head_vice_nav.describe}}</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline">
|
||||
<input type="radio" value="{{$v.id}}" name="{{$data.common_app_is_head_vice_nav.only_tag}}" data-validation-message="{{$data.common_app_is_head_vice_nav.error_tips}}" required {{if isset($data['common_app_is_head_vice_nav']['value']) and $data['common_app_is_head_vice_nav']['value'] eq $v['id']}}checked{{/if}} data-am-ucheck>{{$v.name}}
|
||||
</label>
|
||||
<label class="am-block">{{$data.common_app_customer_service_custom.name}}<span class="am-form-group-label-tips">{{$data.common_app_customer_service_custom.describe}}</span></label>
|
||||
<div class="platform-group-url-container">
|
||||
{{foreach :MyConst('common_platform_type') as $v}}
|
||||
{{if !in_array($v['value'], ['pc'])}}
|
||||
<div class="am-input-group am-input-group-sm">
|
||||
<span class="am-input-group-btn">
|
||||
<button type="button" class="am-btn am-btn-default am-radius">{{$v.name}}</button>
|
||||
</span>
|
||||
<input type="text" name="{{$data.common_app_customer_service_custom.only_tag}}[{{$v.value}}]" placeholder="{{$v.name}}" class="am-form-field am-radius" value="{{if !empty($data['common_app_customer_service_custom']['value']) and is_array($data['common_app_customer_service_custom']['value']) and !empty($data['common_app_customer_service_custom']['value'][$v['value']])}}{{$data['common_app_customer_service_custom']['value'][$v['value']]}}{{/if}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{:ModuleInclude('public/custom_to_value_tips')}}
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_customer_service_company_weixin_corpid.name}}</label>
|
||||
<input type="text" name="{{$data.common_app_customer_service_company_weixin_corpid.only_tag}}" placeholder="{{$data.common_app_customer_service_company_weixin_corpid.name}}" data-validation-message="{{$data.common_app_customer_service_company_weixin_corpid.error_tips}}" class="am-radius am-form-field" {{if !empty($data)}}value="{{$data.common_app_customer_service_company_weixin_corpid.value}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{$data.common_app_customer_service_company_weixin_url.name}}</label>
|
||||
<input type="text" name="{{$data.common_app_customer_service_company_weixin_url.only_tag}}" placeholder="{{$data.common_app_customer_service_company_weixin_url.name}}" data-validation-message="{{$data.common_app_customer_service_company_weixin_url.error_tips}}" class="am-radius am-form-field" {{if !empty($data)}}value="{{$data.common_app_customer_service_company_weixin_url.value}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>{{$data.common_app_customer_service_tel.name}}<span class="am-form-group-label-tips">{{$data.common_app_customer_service_tel.describe}}</span></label>
|
||||
<input type="text" name="{{$data.common_app_customer_service_tel.only_tag}}" placeholder="{{$data.common_app_customer_service_tel.name}}" data-validation-message="{{$data.common_app_customer_service_tel.error_tips}}" class="am-radius" {{if !empty($data)}}value="{{$data.common_app_customer_service_tel.value}}"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -26,11 +26,6 @@
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label>{{$data.common_app_customer_service_tel.name}}<span class="am-form-group-label-tips">{{$data.common_app_customer_service_tel.describe}}</span></label>
|
||||
<input type="text" name="{{$data.common_app_customer_service_tel.only_tag}}" placeholder="{{$data.common_app_customer_service_tel.name}}" data-validation-message="{{$data.common_app_customer_service_tel.error_tips}}" class="am-radius" {{if !empty($data)}}value="{{$data.common_app_customer_service_tel.value}}"{{/if}} />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label>{{$data.common_shop_notice.name}}<span class="am-form-group-label-tips">{{$data.common_shop_notice.describe}}</span></label>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('apphomenav', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/apphomenav/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/apphomenav/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -20,10 +20,10 @@
|
||||
<a href="javascript:;" class="am-icon-refresh am-text-danger package-upgrade-event" title="{{:MyLang('update_title')}}" data-type="minitheme" data-name="{{$v.name}}" data-value="{{$v.theme}}" data-terminal="{{$nav_type}}" data-json="{{:urlencode(json_encode($upgrade_info[$v['theme']]))}}"></a>
|
||||
{{/if}}
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
|
||||
<a href="{{:MyUrl('admin/appmini/themedownload', ['id'=>$v['theme'], 'nav_type'=>$nav_type])}}" class="am-icon-trash-o am-icon-download am-margin-left-sm" title="{{:MyLang('download_title')}}"></a>
|
||||
<a href="{{:MyUrl('admin/appmini/themedownload', ['id'=>$v['theme'], 'nav_type'=>$nav_type])}}" class="iconfont icon-delete am-icon-download am-margin-left-sm" title="{{:MyLang('download_title')}}"></a>
|
||||
{{/if}}
|
||||
{{if $v.is_delete eq 1}}
|
||||
<a href="javascript:;" class="am-icon-trash-o submit-delete am-margin-left-sm am-text-warning" title="{{:MyLang('delete_title')}}" data-url="{{:MyUrl('admin/appmini/themedelete', ['nav_type'=>$nav_type])}}" data-id="{{$v.theme}}"></a>
|
||||
<a href="javascript:;" class="iconfont icon-delete submit-delete am-margin-left-sm am-text-warning" title="{{:MyLang('delete_title')}}" data-url="{{:MyUrl('admin/appmini/themedelete', ['nav_type'=>$nav_type])}}" data-id="{{$v.theme}}"></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</h3>
|
||||
|
@ -6,6 +6,6 @@
|
||||
</a>
|
||||
{{/if}}
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/appmini/delete', ['nav_type'=>$nav_type])}}" data-id="{{$module_data.name}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 内容顶部 -->
|
||||
{{block name="form_content_top"}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
||||
|
||||
<!-- 重写数据模块 -->
|
||||
{{block name="detail_data"}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('article', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/article/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/article/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -16,7 +16,7 @@
|
||||
<form class="am-form form-validation am-form-full-screen am-form-popup-sticky" action="{{:MyUrl('admin/article/save')}}" method="POST" request-type="{{if !isset($is_theme_data_admin) or $is_theme_data_admin eq 0}}ajax-url{{else /}}ajax-reload{{/if}}" request-value="{{if !isset($is_theme_data_admin) or $is_theme_data_admin eq 0}}{{:MyUrl('admin/article/index', $params)}}{{else /}}parent{{/if}}">
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('common_service.article.form_item_title')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<div class="am-flex am-flex-items-center am-gap-1">
|
||||
<div class="am-input-group am-input-group-sm am-flex am-gap-1-half am-flex-items-center">
|
||||
<input type="text" name="title" placeholder="{{:MyLang('common_service.article.form_item_title_message')}}" minlength="2" maxlength="60" data-validation-message="{{:MyLang('common_service.article.form_item_title_message')}}" class="am-form-field am-radius" {{if !empty($data['title'])}} value="{{$data.title}}" {{/if}} {{if !empty($data['title_color'])}} style="color:{{$data.title_color}};" {{/if}} required />
|
||||
<div class="colorpicker-container colorpicker-simple">
|
||||
<input type="hidden" name="title_color" value="{{if !empty($data['title_color'])}}{{$data.title_color}}{{/if}}" />
|
||||
@ -36,12 +36,12 @@
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('common_service.article.form_item_jump_url_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.article.form_item_jump_url_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label>{{:MyLang('common_service.article.form_item_jump_url_title')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.article.form_item_jump_url_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="url" name="jump_url" placeholder="{{:MyLang('common_service.article.form_item_jump_url_title')}}" data-validation-message="{{:MyLang('common_service.article.form_item_jump_url_message')}}" class="am-radius" {{if !empty($data['jump_url'])}} value="{{$data.jump_url}}"{{/if}} />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.article.form_item_cover')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.article.form_item_cover_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.article.form_item_cover')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.article.form_item_cover_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view article-cover-view" data-form-name="cover" data-max-number="1" data-dialog-type="images" data-is-eye="1">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.article-cover-view">
|
||||
|
@ -17,11 +17,11 @@
|
||||
<label>{{:MyLang('common_service.articlecategory.form_item_name')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<input type="text" placeholder="{{:MyLang('common_service.articlecategory.form_item_name_message')}}" name="name" minlength="1" maxlength="60" data-validation-message="{{:MyLang('common_service.articlecategory.form_item_name_message')}}" class="am-radius" required />
|
||||
</div>
|
||||
{{:ModuleInclude('lib/sort_row')}}
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/sort', ['is_row'=>1])}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
||||
|
||||
<!-- 重写数据模块 -->
|
||||
{{block name="detail_data"}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('brand', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/brand/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/brand/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -14,7 +14,7 @@
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation am-form-popup-fixed" action="{{:MyUrl('admin/brandcategory/save')}}" method="POST" request-type="ajax-fun" request-value="CardFormSaveBack">
|
||||
<div class="am-form-group row am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.brandcategory.form_item_icon')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.brandcategory.form_item_icon_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.brandcategory.form_item_icon')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.brandcategory.form_item_icon_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view brand-category-icon-images-view" data-form-name="icon" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.brand-category-icon-images-view">
|
||||
@ -27,11 +27,11 @@
|
||||
<label>{{:MyLang('common_service.brandcategory.form_item_name')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<input type="text" placeholder="{{:MyLang('common_service.brandcategory.form_item_name_message')}}" name="name" minlength="1" maxlength="60" data-validation-message="{{:MyLang('common_service.brandcategory.form_item_name_message')}}" class="am-radius" required />
|
||||
</div>
|
||||
{{:ModuleInclude('lib/sort_row')}}
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/sort', ['is_row'=>1])}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -157,7 +157,7 @@
|
||||
<!-- 地图 -->
|
||||
<div class="item" data-key="map">
|
||||
<div class="am-form-group">
|
||||
<label>{{$data.common_map_type.name}}<span class="am-form-group-label-tips">{{$data.common_map_type.describe}}</span><a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('config.map_type_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label>{{$data.common_map_type.name}}<span class="am-form-group-label-tips">{{$data.common_map_type.describe}}</span><a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('config.map_type_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<select name="{{$data.common_map_type.only_tag}}" class="am-radius chosen-select" data-validation-message="{{$data.common_map_type.error_tips}}" required>
|
||||
{{foreach :MyConst('common_map_type_list') as $v}}
|
||||
<option value="{{$v.id}}" {{if isset($data['common_map_type']['value']) and $data['common_map_type']['value'] eq $v['id']}}selected{{/if}}>{{$v.name}}</option>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
||||
|
||||
<!-- 重写数据模块 -->
|
||||
{{block name="detail_data"}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('customview', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/customview/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs" target="_blank">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only"></span>{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/customview/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<div class="am-panel-bd am-padding-vertical-xs">
|
||||
<div class="am-form-group am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.customview.form_logo_name')}}<a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.customview.form_logo_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.customview.form_logo_name')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.customview.form_logo_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view logo-images-view" data-form-name="logo" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.logo-images-view">
|
||||
@ -70,7 +70,7 @@
|
||||
<!-- 操作 -->
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" value="{{if !empty($data['id'])}}{{$data.id}}{{/if}}" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,14 +7,14 @@
|
||||
{{if AdminIsPower('design', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/design/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs" target="_blank">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
<!-- 导入 -->
|
||||
{{if AdminIsPower('design', 'upload')}}
|
||||
<button type="button" class="am-btn am-btn-default-plain am-btn-xs am-radius" data-am-modal="{target: '#popup-design-upload'}">
|
||||
<i class="iconfont icon-upload am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('import_title')}}</span>
|
||||
<span>{{:MyLang('import_title')}}</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
<!-- 父级内容 -->
|
||||
@ -41,15 +41,15 @@
|
||||
<button type="button" class="am-btn am-btn-default am-btn-xl am-radius"><i class="iconfont icon-upload-file"></i></button>
|
||||
<input type="file" name="file" class="file-event" data-tips-tag="#form-payment-tips" data-validation-message="{{:MyLang('form_upload_file_message')}}" accept=".zip" multiple required />
|
||||
<div id="form-payment-tips" class="am-margin-top-xs"></div>
|
||||
<div class="tips am-text-xs am-color-ccc am-margin-top-sm">
|
||||
{{if is_array(MyLang('design.upload_list_tips'))}}
|
||||
{{if is_array(MyLang('design.upload_list_tips'))}}
|
||||
<div class="tips am-text-xs am-color-ccc am-margin-top-sm">
|
||||
<p class="am-margin-top-xs">{{:implode('</p><p class="am-margin-top-xs">', MyLang('design.upload_list_tips'))}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-form-popup-submit">
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/design/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
||||
{{/if}}
|
@ -1,64 +1,57 @@
|
||||
<!-- 基础数据编辑 -->
|
||||
<div class="am-popup popup-not-title" id="popup-saveinfo">
|
||||
<div class="am-popup-inner am-radius">
|
||||
<span data-am-modal-close class="am-close am-close-alt">×</span>
|
||||
<div class="am-popup-bd am-padding-0">
|
||||
<div class="am-popup am-radius" id="popup-saveinfo">
|
||||
<div class="am-popup-inner">
|
||||
<div class="am-popup-hd">
|
||||
<h4 class="am-popup-title">{{:MyLang('form_base_data_title')}}</h4>
|
||||
<span data-am-modal-close class="am-close">×</span>
|
||||
</div>
|
||||
<div class="am-popup-bd">
|
||||
<form class="am-form form-validation am-form-full-screen am-form-popup-fixed" request-type="sync" request-value="FormBackSaveinfoEdit">
|
||||
<div class="am-padding-horizontal-sm">
|
||||
{{:ModuleInclude('public/nav_switch_btn', [
|
||||
'nav_data' => [
|
||||
[
|
||||
'name' => MyLang('form_base_data_title'),
|
||||
'key' => 'base',
|
||||
],
|
||||
[
|
||||
'name' => MyLang('form_seo_data_title'),
|
||||
'key' => 'seo',
|
||||
]
|
||||
]
|
||||
])}}
|
||||
<div class="nav-content">
|
||||
<!-- 基础信息 -->
|
||||
<div class="am-panel am-panel-default am-margin-top-sm">
|
||||
<div class="am-panel-hd">
|
||||
<h3 class="am-panel-title">{{:MyLang('form_base_data_title')}}</h3>
|
||||
<div data-key="base" class="item am-active">
|
||||
<div class="am-form-group row">
|
||||
<label>{{:MyLang('common_service.design.form_item_name')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<input type="text" name="name" placeholder="{{:MyLang('common_service.design.form_item_name_message')}}" maxlength="60" data-validation-message="{{:MyLang('common_service.design.form_item_name_message')}}" class="am-radius" {{if !empty($data['name'])}} value="{{$data.name}}"{{/if}} required />
|
||||
</div>
|
||||
<div class="am-panel-bd am-padding-vertical-xs">
|
||||
<div class="am-cf">
|
||||
<div class="am-u-sm-6 am-padding-horizontal-0">
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('common_service.design.form_item_name')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<input type="text" name="name" placeholder="{{:MyLang('common_service.design.form_item_name_message')}}" maxlength="60" data-validation-message="{{:MyLang('common_service.design.form_item_name_message')}}" class="am-radius" {{if !empty($data['name'])}} value="{{$data.name}}"{{/if}} required />
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-u-sm-6 am-padding-horizontal-0">
|
||||
{{:ModuleInclude('lib/is_enable')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-cf">
|
||||
<div class="am-u-sm-6 am-padding-horizontal-0">
|
||||
<div class="am-form-group am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.design.form_logo_name')}}<a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.design.form_logo_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view logo-images-view" data-form-name="logo" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.logo-images-view">
|
||||
{{if empty($data['logo'])}}
|
||||
<i class="iconfont icon-upload-add"></i>
|
||||
{{else /}}
|
||||
<input type="text" name="logo" value="{{$data.logo}}" />
|
||||
<img src="{{:AttachmentPathViewHandle($data.logo)}}" />
|
||||
<i class="iconfont icon-close"></i>
|
||||
<i class="iconfont icon-eye"></i>
|
||||
{{/if}}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-u-sm-6 am-padding-horizontal-0">
|
||||
{{:ModuleInclude('lib/is_header')}}
|
||||
{{:ModuleInclude('lib/is_footer')}}
|
||||
</div>
|
||||
<div class="am-form-group am-form-file row">
|
||||
<label class="am-block">{{:MyLang('common_service.design.form_logo_name')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.design.form_logo_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view logo-images-view" data-form-name="logo" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.logo-images-view">
|
||||
{{if empty($data['logo'])}}
|
||||
<i class="iconfont icon-upload-add"></i>
|
||||
{{else /}}
|
||||
<input type="text" name="logo" value="{{$data.logo}}" />
|
||||
<img src="{{:AttachmentPathViewHandle($data.logo)}}" />
|
||||
<i class="iconfont icon-close"></i>
|
||||
<i class="iconfont icon-eye"></i>
|
||||
{{/if}}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
{{:ModuleInclude('lib/is_header', ['is_row'=>1])}}
|
||||
{{:ModuleInclude('lib/is_footer', ['is_row'=>1])}}
|
||||
</div>
|
||||
|
||||
<!-- SEO -->
|
||||
<div class="am-panel am-panel-default am-radius">
|
||||
<div class="am-panel-hd">
|
||||
<h3 class="am-panel-title">{{:MyLang('form_seo_data_title')}}</h3>
|
||||
</div>
|
||||
<div class="am-panel-bd am-padding-vertical-xs">
|
||||
{{:ModuleInclude('lib/seo')}}
|
||||
</div>
|
||||
<div data-key="seo" class="item">
|
||||
{{:ModuleInclude('lib/seo', ['is_row'=>1])}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,36 +1,38 @@
|
||||
{{:ModuleInclude('public/header')}}
|
||||
|
||||
{{if !empty($data)}}
|
||||
<legend class="am-padding-horizontal-xs am-padding-bottom-xs">
|
||||
<img src="{{if empty($data['logo'])}}{{:StaticAttachmentUrl('default-images-mini.png')}}{{else /}}{{$data.logo}}{{/if}}" class="am-img-thumbnail am-radius page-top-nav-logo" />
|
||||
<span class="page-top-nav-title">
|
||||
<span class="am-text-xs">{{if !empty($data['name'])}}{{$data.name}}{{/if}}</span>
|
||||
<a href="javascript:;" class="am-icon-edit am-text-xs am-margin-left-xs" data-am-modal="{target: '#popup-saveinfo'}"></a>
|
||||
</span>
|
||||
<a href="{{:MyUrl('index/design/index', ['id'=>$data['id']])}}" target="_blank" class="am-fr am-text-xs am-margin-top-sm">{{:MyLang('view_title')}} >></a>
|
||||
</legend>
|
||||
<div class="am-padding-bottom-sm">
|
||||
<div class="layout-operate-container am-fr" data-save-url="{{:MyUrl('admin/design/save')}}" data-json="{{:urlencode(json_encode($data))}}">
|
||||
<a href="javascript:;" class="am-btn am-btn-warning am-btn-xs am-radius window-close-event" data-msg="{{:MyLang('save_close_page_confirm_tips')}}">
|
||||
<i class="am-icon-close"></i>
|
||||
<span>{{:MyLang('close_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-success am-btn-xs am-radius am-margin-left-sm" data-am-loading="{spinner: 'circle-o-notch', loadingText:'{{:MyLang('save_title')}}'}">
|
||||
<i class="am-icon-save"></i>
|
||||
<span>{{:MyLang('save_title')}}</span>
|
||||
</button>
|
||||
<div class="am-padding-sm am-background-white">
|
||||
{{if !empty($data)}}
|
||||
<legend class="am-padding-horizontal-xs am-padding-bottom-xs">
|
||||
<img src="{{if empty($data['logo'])}}{{:StaticAttachmentUrl('default-images-mini.png')}}{{else /}}{{$data.logo}}{{/if}}" class="am-img-thumbnail am-radius page-top-nav-logo" />
|
||||
<span class="page-top-nav-title">
|
||||
<span class="am-text-xs">{{if !empty($data['name'])}}{{$data.name}}{{/if}}</span>
|
||||
<a href="javascript:;" class="iconfont icon-yiny-bij am-text-xs am-margin-left-xs" data-am-modal="{target: '#popup-saveinfo'}"></a>
|
||||
</span>
|
||||
<a href="{{:MyUrl('index/design/index', ['id'=>$data['id']])}}" target="_blank" class="am-fr am-text-xs am-margin-top-sm">{{:MyLang('view_title')}} >></a>
|
||||
</legend>
|
||||
<div class="am-padding-bottom-sm">
|
||||
<div class="layout-operate-container am-fr" data-save-url="{{:MyUrl('admin/design/save')}}" data-json="{{:urlencode(json_encode($data))}}">
|
||||
<a href="javascript:;" class="am-btn am-btn-warning am-btn-xs am-radius window-close-event" data-msg="{{:MyLang('save_close_page_confirm_tips')}}">
|
||||
<i class="am-icon-close"></i>
|
||||
<span>{{:MyLang('close_title')}}</span>
|
||||
</a>
|
||||
<button type="button" class="am-btn am-btn-success am-btn-xs am-radius am-margin-left-sm" data-am-loading="{spinner: 'circle-o-notch', loadingText:'{{:MyLang('save_title')}}'}">
|
||||
<i class="am-icon-check"></i>
|
||||
<span>{{:MyLang('save_title')}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{:ModuleInclude('../../../layout/view/base')}}
|
||||
</div>
|
||||
{{:ModuleInclude('../../../layout/view/base')}}
|
||||
</div>
|
||||
|
||||
<!-- 页面编辑-->
|
||||
{{:ModuleInclude('design/popup_saveinfo')}}
|
||||
{{else /}}
|
||||
<div class="table-no">
|
||||
<i class="am-icon-skyatlas am-icon-lg"></i>
|
||||
<p>{{:MyLang('no_data')}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
<!-- 页面编辑-->
|
||||
{{:ModuleInclude('design/popup_saveinfo')}}
|
||||
{{else /}}
|
||||
<div class="table-no">
|
||||
<i class="am-icon-skyatlas am-icon-lg"></i>
|
||||
<p>{{:MyLang('no_data')}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<!-- footer start -->
|
||||
{{:ModuleInclude('public/footer')}}
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,11 +1,11 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
<button type="button" class="am-btn am-btn-default-plain am-btn-xs am-radius submit-ajax" data-url="{{:MyUrl('admin/emaillog/alldelete')}}" data-view="reload">
|
||||
<i class="iconfont icon-clear-session am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('delete_all_title')}}</span>
|
||||
<i class="iconfont icon-clear am-show-sm-only"></i>
|
||||
<span>{{:MyLang('delete_all_title')}}</span>
|
||||
</button>
|
||||
|
||||
<!-- 父级内容 -->
|
||||
|
@ -4,6 +4,6 @@
|
||||
<span>{{:MyLang('detail_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/emaillog/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -31,11 +31,11 @@
|
||||
<label>{{:MyLang('common_service.express.form_item_website_url')}}</label>
|
||||
<input type="url" placeholder="{{:MyLang('common_service.express.form_item_website_url_placeholder')}}" name="website_url" data-validation-message="{{:MyLang('common_service.express.form_item_website_url_message')}}" class="am-radius" {{if !empty($data['website_url'])}} value="{{$data.website_url}}"{{/if}} />
|
||||
</div>
|
||||
{{:ModuleInclude('lib/sort_row')}}
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/sort', ['is_row'=>1])}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
||||
|
||||
<!-- 重写数据模块 -->
|
||||
{{block name="detail_data"}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
@ -7,7 +7,7 @@
|
||||
{{if AdminIsPower('goods', 'saveinfo')}}
|
||||
<a href="{{:MyUrl('admin/goods/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
</a>
|
||||
<div class="am-dropdown am-dropdown-down am-btn am-btn-danger am-btn-xs am-radius am-btn-block" data-am-dropdown>
|
||||
<div class="am-dropdown-toggle">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</div>
|
||||
<div class="am-dropdown-content am-padding-sm am-radius">
|
||||
|
@ -60,7 +60,7 @@
|
||||
<div id="goods-nav-base" class="item am-active" data-key="base">
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('common_service.goods.form_item_title')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<div class="am-flex am-flex-items-center am-gap-1">
|
||||
<div class="am-input-group am-input-group-sm am-flex am-gap-1-half am-flex-items-center">
|
||||
<input type="text" name="title" placeholder="{{:MyLang('common_service.goods.form_item_title_message')}}" minlength="2" maxlength="160" data-validation-message="{{:MyLang('common_service.goods.form_item_title_message')}}" class="am-form-field am-radius" {{if !empty($data['title'])}} value="{{$data.title}}" {{/if}} {{if !empty($data['title_color'])}} style="color:{{$data.title_color}};" {{/if}} required />
|
||||
<div class="colorpicker-container colorpicker-simple">
|
||||
<input type="hidden" name="title_color" value="{{if !empty($data['title_color'])}}{{$data.title_color}}{{/if}}" />
|
||||
@ -127,16 +127,25 @@
|
||||
<label>
|
||||
{{:MyLang('common_service.goods.form_item_give_integral')}}
|
||||
{{if is_array(MyLang('common_service.goods.form_item_give_integral_tips'))}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:implode('<br />', MyLang('common_service.goods.form_item_give_integral_tips'))}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:implode('<br />', MyLang('common_service.goods.form_item_give_integral_tips'))}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<input type="number" name="give_integral" placeholder="{{:MyLang('common_service.goods.form_item_give_integral_placeholder')}}(%)" min="0" max="100" data-validation-message="{{:MyLang('common_service.goods.form_item_give_integral_message')}}" class="am-form-field am-radius" {{if !empty($data['give_integral'])}} value="{{$data.give_integral}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>
|
||||
{{:MyLang('common_service.goods.form_item_sort_level')}}
|
||||
{{if is_array(MyLang('common_service.goods.form_item_sort_level_tips'))}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:implode('<br />', MyLang('common_service.goods.form_item_sort_level_tips'))}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<input type="number" name="sort_level" placeholder="{{:MyLang('common_service.goods.form_item_sort_level')}}" min="0" data-validation-message="{{:MyLang('common_service.goods.form_item_sort_level_message')}}" class="am-form-field am-radius" {{if !empty($data['sort_level'])}} value="{{$data.sort_level}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>
|
||||
{{:MyLang('common_service.goods.form_item_site_type')}}
|
||||
{{if is_array(MyLang('common_service.goods.form_item_site_type_tips'))}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:implode('</p><p>', MyLang('common_service.goods.form_item_site_type_tips'))}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:implode('</p><p>', MyLang('common_service.goods.form_item_site_type_tips'))}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<select name="site_type" class="am-radius chosen-select" data-placeholder="{{:MyLang('optional_tips')}}" data-validation-message="{{:MyLang('common_service.goods.form_item_site_type_message')}}">
|
||||
@ -149,7 +158,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="am-form-group am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_images')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_images')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-recommended-images-view" data-form-name="images" data-max-number="1" data-dialog-type="images" data-is-eye="1">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.goods-recommended-images-view">
|
||||
@ -166,11 +175,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_is_deduction_inventory')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_is_deduction_inventory_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_is_deduction_inventory')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_is_deduction_inventory_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input name="is_deduction_inventory" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_deduction_inventory']) and $data['is_deduction_inventory'] eq 1) or empty($data)}}checked="true"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_is_shelves')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_is_shelves_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goods.form_item_is_shelves')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_item_is_shelves_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input name="is_shelves" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_shelves']) and $data['is_shelves'] eq 1) or empty($data)}}checked="true"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
@ -198,7 +207,7 @@
|
||||
<!-- 商品参数 -->
|
||||
<div id="goods-nav-parameters" class="item" data-key="parameters">
|
||||
<div class="am-form-group">
|
||||
<label>选择参数<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_params_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label>选择参数<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_params_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-flex am-flex-items-center am-gap-2">
|
||||
<!-- 通过配置生成商品参数 -->
|
||||
<div class="am-dropdown goods-params" id="parameters-quick-container" data-am-dropdown>
|
||||
@ -228,7 +237,7 @@
|
||||
</span>
|
||||
<!-- 清空操作 -->
|
||||
<span class="business-operations-submit parameters-quick-remove">
|
||||
<i class="iconfont icon-clear"></i>
|
||||
<i class="iconfont icon-shear"></i>
|
||||
<span>{{:MyLang('common_service.goods.form_params_config_empty_title')}}</span>
|
||||
</span>
|
||||
</div>
|
||||
@ -244,7 +253,7 @@
|
||||
<!-- 相册/视频 -->
|
||||
<div class="item" data-key="photo-video">
|
||||
<div id="goods-nav-photo" class="am-form-group am-form-file">
|
||||
<label>{{$goods_nav_list.photo.name}}<span class="am-form-group-label-tips-must">*</span><a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_photo_top_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<label>{{$goods_nav_list.photo.name}}<span class="am-form-group-label-tips-must">*</span><a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_photo_top_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-photo-view" data-form-name="photo[]" data-max-number="30" data-dialog-type="images" data-is-eye="1">
|
||||
@ -266,7 +275,7 @@
|
||||
</div>
|
||||
<!-- 视频 -->
|
||||
<div id="goods-nav-video" class="am-form-group am-form-file">
|
||||
<label>{{$goods_nav_list.video.name}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_video_top_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<label>{{$goods_nav_list.video.name}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_video_top_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view plug-file-upload-view-video goods-video-view" data-form-name="video" data-max-number="1" data-dialog-type="video" data-is-eye="1">
|
||||
@ -371,7 +380,7 @@
|
||||
<!-- 扩展数据 -->
|
||||
<div id="goods-nav-extends" class="item" data-key="extends">
|
||||
<div class="am-form-group">
|
||||
<label>{{$goods_nav_list.extends.name}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('plugins_view_region_config_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label>{{$goods_nav_list.extends.name}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('plugins_view_region_config_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-flex am-flex-col am-gap-32">
|
||||
<!-- 插件扩展数据 start -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
|
||||
|
@ -70,7 +70,7 @@
|
||||
|
||||
<!-- 规格常规操作 -->
|
||||
<div class="am-form-group am-padding-0">
|
||||
<label>批量设置<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goods.form_spec_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label>批量设置<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_spec_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div>
|
||||
<span class="business-operations-submit specifications-nav-title-add">
|
||||
<i class="iconfont icon-add"></i>
|
||||
@ -252,7 +252,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="am-margin-top-sm am-border-bottom-f8">
|
||||
<div class="am-margin-top-sm">
|
||||
<span class="business-operations-submit specifications-line-add am-border-0 am-text-sm">
|
||||
<i class="iconfont icon-add"></i>
|
||||
{{:MyLang('common_service.goods.form_spec_row_add_title')}}
|
||||
@ -357,7 +357,7 @@
|
||||
<div class="am-modal-bd">
|
||||
<div class="am-padding-top am-padding-horizontal-sm">
|
||||
<div class="am-input-group am-input-group-sm">
|
||||
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('common_service.goods.form_spec_all_operate_placeholder')}}" />
|
||||
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('common_service.goods.form_spec_all_operate_placeholder')}}" data-is-clearout="0" />
|
||||
<span class="am-input-group-btn">
|
||||
<button type="button" class="am-btn am-btn-default am-radius">{{:MyLang('confirm_title')}}</button>
|
||||
</span>
|
||||
|
@ -134,7 +134,7 @@
|
||||
{{/foreach}}
|
||||
|
||||
<div class="am-form-popup-submit">
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
@ -4,6 +4,6 @@
|
||||
<span>{{:MyLang('detail_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodsbrowse/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
@ -4,6 +4,6 @@
|
||||
<span>{{:MyLang('detail_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodscart/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -7,7 +7,7 @@
|
||||
<div class="am-flex am-flex-justify-between am-flex-items-center am-gap-2">
|
||||
<button class="am-btn am-btn-primary am-radius am-btn-xs tree-submit-add" data-am-modal="{target: '#data-save-win'}">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- operation end -->
|
||||
@ -23,7 +23,7 @@
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation am-form-full-screen am-form-popup-fixed" action="{{:MyUrl('admin/goodscategory/save')}}" method="POST" request-type="ajax-fun" request-value="TreeFormSaveBack">
|
||||
<div class="am-form-group row am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_icon')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_icon_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_icon')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_icon_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-category-icon-images-view" data-form-name="icon" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.goods-category-icon-images-view">
|
||||
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-form-group row am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_icon_active')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_icon_active_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_icon_active')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_icon_active_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-category-icon-active-images-view" data-form-name="icon_active" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.goods-category-icon-active-images-view">
|
||||
@ -43,7 +43,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-form-group row am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_realistic_images')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_realistic_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_realistic_images')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_realistic_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-category-realistic_images-images-view" data-form-name="realistic_images" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.goods-category-realistic_images-images-view">
|
||||
@ -53,7 +53,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-form-group row am-form-file">
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_big_images')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_big_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_big_images')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodscategory.form_item_big_images_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-file-upload-container">
|
||||
<ul class="plug-file-upload-view goods-category-big_images-images-view" data-form-name="big_images" data-max-number="1" data-dialog-type="images">
|
||||
<li class="plug-file-upload-submit" data-view-tag="ul.goods-category-big_images-images-view">
|
||||
@ -82,19 +82,19 @@
|
||||
<img class="imitate-colorpicker-submit" src="{{:StaticAttachmentUrl('colorpicker.png')}}" width="24" height="24" />
|
||||
</div>
|
||||
</div>
|
||||
{{:ModuleInclude('lib/sort_row')}}
|
||||
{{:ModuleInclude('lib/sort', ['is_row'=>1])}}
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">{{:MyLang('common_service.goodscategory.form_item_is_home_recommended')}}</label>
|
||||
<input name="is_home_recommended" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_home_recommended']) and $data['is_home_recommended'] eq 1) or !isset($data['is_home_recommended'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
|
||||
{{:ModuleInclude('lib/seo_row')}}
|
||||
{{:ModuleInclude('lib/seo', ['is_row'=>1])}}
|
||||
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" />
|
||||
<input type="hidden" name="pid" value="0" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 扩展 -->
|
||||
{{block name="form_extend"}}
|
||||
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" value="" />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -17,6 +17,6 @@
|
||||
{{/if}}
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodscomments/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
@ -4,6 +4,6 @@
|
||||
<span>{{:MyLang('detail_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodsfavor/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -1,5 +1,5 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
||||
|
||||
<!-- 重写数据模块 -->
|
||||
{{block name="detail_data"}}
|
||||
|
@ -1,11 +1,11 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
<button type="button" class="am-btn am-btn-primary am-radius am-btn-xs submit-popup" data-url="{{:MyUrl('admin/goodsparamstemplate/saveinfo')}}" data-title="{{:MyLang('add_title')}}">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</button>
|
||||
<!-- 父级内容 -->
|
||||
{__block__}
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodsparamstemplate/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -14,7 +14,7 @@
|
||||
<label class="am-block">
|
||||
{{:MyLang('common_service.goodsparamstemplate.form_item_category_id')}}
|
||||
<span class="am-form-group-label-tips-must">*</span>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary" data-am-popover="{content: '{{:MyLang('common_service.goodsparamstemplate.form_item_category_id_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodsparamstemplate.form_item_category_id_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<select name="category_id" class="am-radius chosen-select" data-placeholder="{{:MyLang('please_select_tips')}}" data-validation-message="{{:MyLang('common_service.goodsparamstemplate.form_item_category_id_message')}}" required>
|
||||
{{if !empty($goods_category_list)}}
|
||||
@ -25,13 +25,13 @@
|
||||
{{/if}}
|
||||
</select>
|
||||
</div>
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">
|
||||
{{:MyLang('common_service.goodsparamstemplate.form_item_config_title')}}
|
||||
<span class="am-form-group-label-tips-must">*</span>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary" data-am-popover="{content: '{{:MyLang('common_service.goodsparamstemplate.form_item_config_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodsparamstemplate.form_item_config_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<div>
|
||||
<!-- 通过配置生成商品参数 -->
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" {{if !empty($data['id'])}} value="{{$data.id}}"{{/if}} />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,11 +1,11 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
||||
|
||||
<!-- 表单顶部操作栏 -->
|
||||
{{block name="form_operate_top"}}
|
||||
<button type="button" class="am-btn am-btn-primary am-radius am-btn-xs submit-popup" data-url="{{:MyUrl('admin/goodsspectemplate/saveinfo')}}" data-title="{{:MyLang('add_title')}}">
|
||||
<i class="iconfont icon-btn-add am-show-sm-only"></i>
|
||||
<span class="am-hide-sm-only">{{:MyLang('add_title')}}</span>
|
||||
<span>{{:MyLang('add_title')}}</span>
|
||||
</button>
|
||||
<!-- 父级内容 -->
|
||||
{__block__}
|
||||
|
@ -8,6 +8,6 @@
|
||||
<span>{{:MyLang('edit_title')}}</span>
|
||||
</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodsspectemplate/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
|
||||
<i class="am-icon-trash-o"></i>
|
||||
<i class="iconfont icon-delete"></i>
|
||||
<span>{{:MyLang('delete_title')}}</span>
|
||||
</button>
|
@ -13,7 +13,7 @@
|
||||
<label class="am-block">
|
||||
{{:MyLang('common_service.goodsspectemplate.form_item_category_id')}}
|
||||
<span class="am-form-group-label-tips-must">*</span>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary" data-am-popover="{content: '{{:MyLang('common_service.goodsspectemplate.form_item_category_id_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goodsspectemplate.form_item_category_id_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<select name="category_id" class="am-radius chosen-select" data-placeholder="{{:MyLang('please_select_tips')}}" data-validation-message="{{:MyLang('common_service.goodsspectemplate.form_item_category_id_message')}}" required>
|
||||
{{if !empty($goods_category_list)}}
|
||||
@ -31,7 +31,7 @@
|
||||
<input type="text" name="content" placeholder="{{:MyLang('common_service.goodsspectemplate.form_item_content_placeholder')}}" minlength="1" maxlength="1000" data-validation-message="{{:MyLang('common_service.goodsspectemplate.form_item_content_message')}}" class="am-radius" {{if !empty($data['content'])}} value="{{$data.content}}"{{/if}} required data-am-tagsinput />
|
||||
</div>
|
||||
</div>
|
||||
{{:ModuleInclude('lib/is_enable_row')}}
|
||||
{{:ModuleInclude('lib/is_enable', ['is_row'=>1])}}
|
||||
|
||||
<!-- 插件扩展数据 start -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
<div class="am-form-popup-submit">
|
||||
<input type="hidden" name="id" {{if !empty($data['id'])}} value="{{$data.id}}"{{/if}} />
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -33,12 +33,12 @@
|
||||
{{if !empty($site_store_info) and !empty($site_store_info['user'])}}
|
||||
<i class="iconfont icon-admin-store-user am-vertical-align-middle"></i>
|
||||
<span class="am-vertical-align-middle">{{$site_store_info.user.user_name_view}}</span>
|
||||
<a href="javascript:;" class="am-margin-left-xs am-vertical-align-middle store-accounts-event" data-title="{{:MyLang('modify_title')}}">{{:MyLang('modify_title')}}</a>
|
||||
<a href="javascript:;" class="am-margin-left-xs am-vertical-align-middle store-accounts-event">{{:MyLang('modify_title')}}</a>
|
||||
{{else /}}
|
||||
<a href="javascript:;" class="am-margin-left-xs am-vertical-align-middle store-accounts-event" data-title="{{:MyLang('store_bind_accounts_name')}}">{{:MyLang('store_bind_accounts_name')}}</a>
|
||||
<!-- 连接商店错误信息 -->
|
||||
{{if !empty($site_store_error)}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm am-vertical-align-middle" data-am-popover="{content: '{{$site_store_error}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs am-vertical-align-middle" data-am-popover="{content: '{{$site_store_error}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
@ -107,8 +107,8 @@
|
||||
{{if !empty($time_data)}}
|
||||
<div class="quick-time am-flex am-flex-items-center">
|
||||
{{foreach :array_values($time_data) as $k=>$v}}
|
||||
{{if !in_array($k, ['this-month', 'last-month'])}}
|
||||
{{if $k lt 4}}
|
||||
{{if !in_array($v['key'], ['this-month', 'last-month'])}}
|
||||
{{if $k lt 3}}
|
||||
<a href="javascript:;" class="{{if !empty($default_day) and isset($time_data[$default_day]) and isset($time_data[$default_day]['start']) and isset($time_data[$default_day]['end']) and $time_data[$default_day]['start'] eq $v['start'] and $time_data[$default_day]['end'] eq $v['end']}} am-active{{/if}}" data-start="{{$v.start}}" data-end="{{$v.end}}">{{$v.name}}</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
@ -119,10 +119,12 @@
|
||||
<div class="am-dropdown-content am-radius-lg">
|
||||
<div class="am-flex am-flex-warp am-gap-1">
|
||||
{{foreach :array_values($time_data) as $k=>$v}}
|
||||
{{if $k gt 3}}
|
||||
<div class="item">
|
||||
<a href="javascript:;" class="am-inline-block time {{if !empty($default_day) and isset($time_data[$default_day]) and isset($time_data[$default_day]['start']) and isset($time_data[$default_day]['end']) and $time_data[$default_day]['start'] eq $v['start'] and $time_data[$default_day]['end'] eq $v['end']}} am-active{{/if}}" data-start="{{$v.start}}" data-end="{{$v.end}}">{{$v.name}}</a>
|
||||
</div>
|
||||
{{if !in_array($v['key'], ['this-month', 'last-month'])}}
|
||||
{{if $k gt 2}}
|
||||
<div class="item">
|
||||
<a href="javascript:;" class="am-inline-block time {{if !empty($default_day) and isset($time_data[$default_day]) and isset($time_data[$default_day]['start']) and isset($time_data[$default_day]['end']) and $time_data[$default_day]['start'] eq $v['start'] and $time_data[$default_day]['end'] eq $v['end']}} am-active{{/if}}" data-start="{{$v.start}}" data-end="{{$v.end}}">{{$v.name}}</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
<div class="item">
|
||||
@ -762,7 +764,7 @@
|
||||
<form class="am-form am-form-popup-fixed">
|
||||
<div class="upgrade-content"></div>
|
||||
<div class="am-form-popup-submit">
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs btn-loading-example am-margin-right-lg" data-am-modal-close>
|
||||
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-lg" data-am-modal-close>
|
||||
<i class="am-icon-paint-brush"></i>
|
||||
<span>{{:MyLang('cancel_title')}}</span>
|
||||
</button>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<input type="text" autocomplete="off" name="time_start" class="Wdate am-radius" data-is-clearout="0" placeholder="{{:MyLang('form_time_start_title')}}" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="{{if !empty($time_data) and !empty($default_day) and isset($time_data[$default_day])}}{{$time_data[$default_day]['start']}}{{/if}}" />
|
||||
<span class="join">-</span>
|
||||
<input type="text" autocomplete="off" class="Wdate am-radius" data-is-clearout="0" placeholder="{{:MyLang('form_time_end_title')}}" name="time_end" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="{{if !empty($time_data) and !empty($default_day) and isset($time_data[$default_day])}}{{$time_data[$default_day]['end']}}{{/if}}" />
|
||||
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-xs btn-loading-example echarts-where-submit" data-am-loading="{spinner: 'circle-o-notch', loadingText:' {{:MyLang('screen_title')}}'}">
|
||||
<button type="button" class="am-btn am-btn-primary-plain am-radius am-btn-xs btn-loading-example echarts-where-submit" data-am-loading="{spinner: 'circle-o-notch', loadingText:' {{:MyLang('screen_title')}}'}">
|
||||
<i class="iconfont icon-index-shaix"></i>
|
||||
<span>{{:MyLang('screen_title')}}</span>
|
||||
</button>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/detail" /}}
|
||||
{{extend name="../../../module/view/form_table/detail" /}}
|
@ -1,2 +1,2 @@
|
||||
<!-- 继承公共的 form -->
|
||||
{{extend name="../../../module/view/form" /}}
|
||||
{{extend name="../../../module/view/form_table/form" /}}
|
@ -1,5 +1,5 @@
|
||||
<!-- 性别 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_gender_title')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_gender_list') as $v}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否默认 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_default_title')}}</label>
|
||||
<input name="is_default" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_default']) and $data['is_default'] eq 1) or !isset($data['is_default'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,6 +0,0 @@
|
||||
<!-- 是否默认 开始 -->
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">{{:MyLang('form_is_default_title')}}</label>
|
||||
<input name="is_default" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_default']) and $data['is_default'] eq 1) or !isset($data['is_default'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
<!-- 是否默认 结束 -->
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否启用 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_enable_title')}}</label>
|
||||
<input name="is_enable" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_enable']) and $data['is_enable'] eq 1) or !isset($data['is_enable'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,6 +0,0 @@
|
||||
<!-- 是否启用 开始 -->
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">{{:MyLang('form_is_enable_title')}}</label>
|
||||
<input name="is_enable" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_enable']) and $data['is_enable'] eq 1) or !isset($data['is_enable'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
<!-- 是否启用 结束 -->
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否包含尾部 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_footer_title')}}</label>
|
||||
<input name="is_footer" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_footer']) and $data['is_footer'] eq 1) or !isset($data['is_footer'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否满屏 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_full_screen_title')}}</label>
|
||||
<input name="is_full_screen" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_full_screen']) and $data['is_full_screen'] eq 1) or !isset($data['is_full_screen'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否包含头部 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_header_title')}}</label>
|
||||
<input name="is_header" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_header']) and $data['is_header'] eq 1) or !isset($data['is_header'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否新窗口打开 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_new_window_open_title')}}</label>
|
||||
<input name="is_new_window_open" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_new_window_open']) and $data['is_new_window_open'] eq 1) or !isset($data['is_new_window_open'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,6 +0,0 @@
|
||||
<!-- 是否新窗口打开 开始 -->
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">{{:MyLang('form_is_new_window_open_title')}}</label>
|
||||
<input name="is_new_window_open" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_new_window_open']) and $data['is_new_window_open'] eq 1) or !isset($data['is_new_window_open'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
<!-- 是否新窗口打开 结束 -->
|
@ -1,5 +1,5 @@
|
||||
<!-- 是否显示 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('form_is_show_title')}}</label>
|
||||
<input name="is_show" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_show']) and $data['is_show'] eq 1) or !isset($data['is_show'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
|
@ -1,6 +0,0 @@
|
||||
<!-- 是否显示 开始 -->
|
||||
<div class="am-form-group row">
|
||||
<label class="am-block">{{:MyLang('form_is_show_title')}}</label>
|
||||
<input name="is_show" value="1" type="checkbox" data-off-text="{{:MyLang('no_title')}}" data-on-text="{{:MyLang('yes_title')}}" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch {{if (isset($data['is_show']) and $data['is_show'] eq 1) or !isset($data['is_show'])}}checked="true"{{/if}} />
|
||||
</div>
|
||||
<!-- 是否显示 结束 -->
|
@ -8,7 +8,7 @@
|
||||
{{if empty($module_data['user'])}}{{if !empty($module_data['user_name_view'])}}{{$module_data.user_name_view}}{{/if}}{{else /}}{{$module_data.user.user_name_view}}{{/if}}
|
||||
<i class="iconfont icon-angle-down"></i>
|
||||
</a>
|
||||
<div class="user-info-content">
|
||||
<div class="user-info-content" style="display: none;">
|
||||
<div class="am-flex am-gap-1">
|
||||
{{if empty($module_data['user'])}}
|
||||
{{if !empty($module_data['username'])}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="am-form-group region-linkage" data-url="{{:MyUrl('admin/region/node')}}" data-code-url="{{:MyUrl('admin/region/codedata')}}">
|
||||
<div class="am-form-group region-linkage {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}" data-url="{{:MyUrl('admin/region/node')}}" data-code-url="{{:MyUrl('admin/region/codedata')}}">
|
||||
<label class="am-block">
|
||||
<span>
|
||||
{{:MyLang('form_region_title')}}
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="am-cascader-suffix">
|
||||
<div class="am-input-inner input-model"></div>
|
||||
<input type="text" name="province_city_county" readonly="readonly" autocomplete="off" placeholder="请选择省市区"
|
||||
value="{{if isset($data['province_name'])}}{{$data.province_name}}{{/if}} {{if isset($data['city_name'])}}{{$data.city_name}}{{/if}} {{if isset($data['county_name'])}}{{$data.county_name}}{{/if}}"
|
||||
value="{{if !empty($data['province_name'])}}{{$data.province_name}}{{/if}}{{if !empty($data['city_name'])}}-{{$data.city_name}}{{/if}}{{if !empty($data['county_name'])}}-{{$data.county_name}}{{/if}}"
|
||||
class="am-input-inner" {{if isset($is_force_region_choice) and $is_force_region_choice eq 1}}required{{/if}}>
|
||||
<input type="hidden" name="province" value="{{if isset($data['province'])}}{{$data.province}}{{else /}}0{{/if}}">
|
||||
<input type="hidden" name="city" value="{{if isset($data['city'])}}{{$data.city}}{{else /}}0{{/if}}">
|
||||
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-input-group am-input-group-sm region-linkage-code">
|
||||
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('form_region_code_placeholder')}}" />
|
||||
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('form_region_code_placeholder')}}" value="{{if !empty($data['address_last_code'])}}{{$data.address_last_code}}{{/if}}" />
|
||||
<span class="am-input-group-btn">
|
||||
<button type="button" class="am-btn am-btn-xs am-radius">{{:MyLang('form_region_code_button_name')}}</button>
|
||||
</span>
|
||||
|
@ -1,53 +0,0 @@
|
||||
<div class="am-form-group row region-linkage" data-url="{{:MyUrl('admin/region/node')}}" data-code-url="{{:MyUrl('admin/region/codedata')}}">
|
||||
<label class="am-block">
|
||||
<span>
|
||||
{{:MyLang('form_region_title')}}
|
||||
{{if isset($is_force_region_choice) and $is_force_region_choice eq 1}}<span class="am-form-group-label-tips-must">*</span>{{/if}}
|
||||
</span>
|
||||
</label>
|
||||
<div class="am-flex am-gap-1 am-width">
|
||||
<div class="am-cascader">
|
||||
<div class="am-cascader-suffix">
|
||||
<div class="am-input-inner input-model"></div>
|
||||
<input type="text" name="province_city_county" readonly="readonly" autocomplete="off" placeholder="请选择省市区"
|
||||
value="{{if isset($data['province_name'])}}{{$data.province_name}}{{/if}} {{if isset($data['city_name'])}}{{$data.city_name}}{{/if}} {{if isset($data['county_name'])}}{{$data.county_name}}{{/if}}"
|
||||
class="am-input-inner" {{if isset($is_force_region_choice) and $is_force_region_choice eq 1}}required{{/if}}>
|
||||
<input type="hidden" name="province" value="{{if isset($data['province'])}}{{$data.province}}{{else /}}0{{/if}}">
|
||||
<input type="hidden" name="city" value="{{if isset($data['city'])}}{{$data.city}}{{else /}}0{{/if}}">
|
||||
<input type="hidden" name="county" value="{{if isset($data['county'])}}{{$data.county}}{{else /}}0{{/if}}">
|
||||
<span class="am-input-suffix">
|
||||
<i class="iconfont icon-angle-down"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="am-cascader-dropdown">
|
||||
<div class="am-cascader-panel">
|
||||
<div class="am-scrollbar province am-cascader-menu {{if isset($data['province'])}}am-active{{/if}}" data-key="province">
|
||||
<div class="am-cascader-menu-wrap am-scrollbar-wrap am-scrollbar-wrap-hidden-default">
|
||||
<ul class="am-scrollbar-view am-cascader-menu-list">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-scrollbar city am-cascader-menu {{if isset($data['city'])}}am-active{{/if}}" data-key="city">
|
||||
<div class="am-cascader-menu-wrap am-scrollbar-wrap am-scrollbar-wrap-hidden-default">
|
||||
<ul class="am-scrollbar-view am-cascader-menu-list">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-scrollbar county am-cascader-menu {{if isset($data['county'])}}am-active{{else /}}0{{/if}}" data-key="county">
|
||||
<div class="am-cascader-menu-wrap am-scrollbar-wrap am-scrollbar-wrap-hidden-default">
|
||||
<ul class="am-scrollbar-view am-cascader-menu-list">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-popper-arrow"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="am-input-group am-input-group-sm region-linkage-code">
|
||||
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('form_region_code_placeholder')}}" />
|
||||
<span class="am-input-group-btn">
|
||||
<button type="button" class="am-btn am-btn-xs am-radius">{{:MyLang('form_region_code_button_name')}}</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,13 +1,12 @@
|
||||
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('form_seo_title_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_title_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label>{{:MyLang('form_seo_title_title')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('form_seo_title_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="text" name="seo_title" placeholder="{{:MyLang('form_seo_title_title')}}" maxlength="100" data-validation-message="{{:MyLang('form_seo_title_message')}}" class="am-radius" {{if !empty($data['seo_title'])}} value="{{$data.seo_title}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('form_seo_keywords_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_keywords_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label>{{:MyLang('form_seo_keywords_title')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('form_seo_keywords_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="text" name="seo_keywords" placeholder="{{:MyLang('form_seo_keywords_title')}}" maxlength="130" data-validation-message="{{:MyLang('form_seo_keywords_message')}}" class="am-radius" {{if !empty($data['seo_keywords'])}} value="{{$data.seo_keywords}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>{{:MyLang('form_seo_desc_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_desc_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label>{{:MyLang('form_seo_desc_title')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('form_seo_desc_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<textarea rows="4" name="seo_desc" maxlength="230" class="am-radius" placeholder="{{:MyLang('form_seo_desc_title')}}" data-validation-message="{{:MyLang('form_seo_desc_message')}}">{{if !empty($data['seo_desc'])}}{{$data.seo_desc}}{{/if}}</textarea>
|
||||
</div>
|
@ -1,4 +1,3 @@
|
||||
|
||||
<div class="item" data-key="seo-data-title">
|
||||
{{if !empty($data)}}
|
||||
<dl class="dl-content">
|
||||
|
@ -1,13 +0,0 @@
|
||||
|
||||
<div class="am-form-group row">
|
||||
<label>{{:MyLang('form_seo_title_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_title_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="text" name="seo_title" placeholder="{{:MyLang('form_seo_title_title')}}" maxlength="100" data-validation-message="{{:MyLang('form_seo_title_message')}}" class="am-radius" {{if !empty($data['seo_title'])}} value="{{$data.seo_title}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group row">
|
||||
<label>{{:MyLang('form_seo_keywords_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_keywords_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="text" name="seo_keywords" placeholder="{{:MyLang('form_seo_keywords_title')}}" maxlength="130" data-validation-message="{{:MyLang('form_seo_keywords_message')}}" class="am-radius" {{if !empty($data['seo_keywords'])}} value="{{$data.seo_keywords}}"{{/if}} />
|
||||
</div>
|
||||
<div class="am-form-group row">
|
||||
<label>{{:MyLang('form_seo_desc_title')}}<a href="javascript:;" class="am-icon-question-circle am-text-primary am-margin-left-sm" data-am-popover="{content: '{{:MyLang('form_seo_desc_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<textarea rows="4" name="seo_desc" maxlength="230" class="am-radius" placeholder="{{:MyLang('form_seo_desc_title')}}" data-validation-message="{{:MyLang('form_seo_desc_message')}}">{{if !empty($data['seo_desc'])}}{{$data.seo_desc}}{{/if}}</textarea>
|
||||
</div>
|
@ -1,9 +1,6 @@
|
||||
<!-- 排序 开始 -->
|
||||
<div class="am-form-group">
|
||||
<label>
|
||||
{{:MyLang('form_sort_title')}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary" data-am-popover="{content: '{{:MyLang('form_sort_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label>{{:MyLang('form_sort_title')}}<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('form_sort_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
||||
<input type="number" placeholder="{{:MyLang('form_sort_title')}}" name="sort" min="0" max="255" data-validation-message="{{:MyLang('form_sort_message')}}" class="am-radius" value="{{if isset($data['sort'])}}{{$data.sort}}{{else /}}0{{/if}}" required />
|
||||
</div>
|
||||
<!-- 排序 结束 -->
|
@ -1,9 +0,0 @@
|
||||
<!-- 排序 开始 -->
|
||||
<div class="am-form-group row">
|
||||
<label>
|
||||
{{:MyLang('form_sort_title')}}
|
||||
<a href="javascript:;" class="am-icon-question-circle am-text-primary" data-am-popover="{content: '{{:MyLang('form_sort_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a>
|
||||
</label>
|
||||
<input type="number" placeholder="{{:MyLang('form_sort_title')}}" name="sort" min="0" max="255" data-validation-message="{{:MyLang('form_sort_message')}}" class="am-radius" value="{{if isset($data['sort'])}}{{$data.sort}}{{else /}}0{{/if}}" required />
|
||||
</div>
|
||||
<!-- 排序 结束 -->
|
@ -1,5 +1,5 @@
|
||||
<!-- 用户状态 开始 -->
|
||||
<div class="am-form-group">
|
||||
<div class="am-form-group {{if !empty($module_data) and isset($module_data['is_row']) and $module_data['is_row'] eq 1}}row{{/if}}">
|
||||
<label class="am-block">{{:MyLang('common.user_status_title')}}<span class="am-form-group-label-tips-must">*</span></label>
|
||||
<div class="am-radio-group">
|
||||
{{foreach :MyConst('common_user_status_list') as $v}}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user