|
|
<?php
|
|
|
class TplConst {
|
|
|
|
|
|
const bannerImageAreaType = 'banner_image';
|
|
|
const skusAreaType = 'skus';
|
|
|
const customAreaType = 'custom';
|
|
|
const waitCustomAreaType = 'wait_custom';
|
|
|
const categoryAreaType = 'category';
|
|
|
const posterAreaType = 'poster';
|
|
|
const couponAreaType = 'coupon';
|
|
|
const imageHotMapAreaType = 'image_hot_map';
|
|
|
|
|
|
|
|
|
const fieldSkuWareId = 'skuWareId';
|
|
|
const fieldSkuId = 'skuId';
|
|
|
const fieldSkuIndex = 'skuIndex';
|
|
|
const fieldSkuUrl = 'skuUrl';
|
|
|
const fieldSkuImgUrl = 'skuImgUrl';
|
|
|
const fieldSkuImgUrls = 'skuImgUrls';
|
|
|
const fieldSkuOriImgUrlTpl = 'skuOriImgUrlTpl';
|
|
|
const fieldSkuTitle = 'skuTitle';
|
|
|
const fieldSkuJdPrice = 'skuJdPrice';
|
|
|
const fieldSkuOriginalPrice = 'skuOriginalPrice';
|
|
|
const fieldSkuIconUrl = 'skuIconUrl';
|
|
|
const fieldSkuPromoPrice = 'skuPromoPrice'; //搭配套餐中,SKU促销价格
|
|
|
const fieldSkuMarketPrice = 'skuMarketPrice';
|
|
|
const fieldSkuCount = 'skuCount';
|
|
|
|
|
|
|
|
|
const fieldSkuHtml = '_skusHtml_';
|
|
|
const fieldSkuFixedHtml = '_skusFixedHtml_';
|
|
|
const fieldCouponHtml = '_couponHtml_';
|
|
|
|
|
|
const fieldTplWidth = 'tplWidth';
|
|
|
const fieldTplAlign = 'tplAlign';
|
|
|
const fieldTplMinItems = 'tplMinItems';
|
|
|
const fieldTplMaxItems = 'tplMaxItems';
|
|
|
const fieldTplItemsOfLine = 'tplItemsOfLine';
|
|
|
const fieldTplSkuImgWidth = 'tplSkuImgWidth';
|
|
|
const fieldTplSkuJdTotalPrice = 'tplSkuJdTotalPrice'; //原价套餐总价
|
|
|
const fieldTplSkuPromoTotalPrice = 'tplSkuPromoTotalPrice';//组合套餐总价
|
|
|
const fieldTplPromoComboUrl = 'tplPromoComboUrl';
|
|
|
const fieldTplCategoryTree = 'tplCategoryTree';
|
|
|
const fieldTplSystemPosterGroupId = 'tplSystemPosterGroupId';
|
|
|
const fieldTplSystemPosterId = 'tplSystemPosterId';
|
|
|
const fieldTplUserPosterId = 'tplUserPosterId';
|
|
|
|
|
|
const customKeySort = 'sort';
|
|
|
const customkeyName = 'name';
|
|
|
const customKeyValue = 'value';
|
|
|
const customKeyRequired = 'required';
|
|
|
const customKeyDisplayName = 'displayName';
|
|
|
const customKeySpec = 'spec';
|
|
|
const customKeyWidth = 'width';
|
|
|
const customKeyHeight = 'height';
|
|
|
|
|
|
const customSpecHidden = 'hidden';
|
|
|
const customSpecInput = 'input';
|
|
|
const customSpecLabel = 'label';
|
|
|
const customSpecColor = 'color';
|
|
|
const customSpecUrl = 'url';
|
|
|
const customSpecTextarea = 'textarea';
|
|
|
const customSpecTextareaLabel = 'textareaLabel';
|
|
|
const customSpecMemberSelect = 'memberSelect';
|
|
|
const customSpecReviewText = 'textareaReview';
|
|
|
const customSpecList = 'list';
|
|
|
const customSpecListImages = 'listImages';
|
|
|
|
|
|
const stageInit = 'init';
|
|
|
const stageSave = 'save';
|
|
|
|
|
|
const sourceAutoImport = 'auto_import';
|
|
|
const sourcePoster = 'poster';
|
|
|
const sourceHotMap = 'hot_map';
|
|
|
|
|
|
//模板类型
|
|
|
const tplTypeRec = 'rec';
|
|
|
const tplTypeCustomContent = 'custom_content';
|
|
|
const tplTypeCustomPoster = 'custom_poster';
|
|
|
const tplTypeCustomImageHotMap = 'custom_image_hot_map';
|
|
|
const tplTypeGroup = 'group';
|
|
|
const tplTypeReview = 'review';
|
|
|
const tplTypeCombo = 'combo';
|
|
|
const tplTypeCategory= 'category';
|
|
|
const tplTypeCoupon= 'coupon';
|
|
|
|
|
|
const alignDefault = 'default';
|
|
|
const alignCenter = 'center';
|
|
|
|
|
|
const tplChooseTypeSystem = 'system';
|
|
|
const tplChooseTypeFavorite = 'favorite';
|
|
|
|
|
|
//模板筛选类型
|
|
|
const filterTypeTplTitle = 'tpl_title';
|
|
|
const filterTypeTheme = 'tpl_theme';
|
|
|
const filterTypePoster = 'poster';
|
|
|
const filterTypeBannerImage = 'banner_image';
|
|
|
const filterTypeMobileTheme = 'mobile_tpl_theme';
|
|
|
|
|
|
|
|
|
//模板同步开关状态
|
|
|
const tplRenewSwitchStatusOn = 'on';
|
|
|
const tplRenewSwitchStatusOff = 'off';
|
|
|
const tplRenewStatusSuccess = 'success';
|
|
|
const tplRenewStatusFail = 'fail';
|
|
|
|
|
|
//最后一次编辑的关联摸吧ID
|
|
|
const lastEditWareTemplateId = 'lastEditWareTemplateId';
|
|
|
const lastEditRtTplId = 'lastEditRtTplId';
|
|
|
const lastEditWareTemplateArea = 'lastEditWareTemplateArea';
|
|
|
const lastEditWt2RtTplId = 'lastEditWt2RtTplId';
|
|
|
|
|
|
} |