diff --git a/CoreCms.Net.Configuration/SystemSettingConstVars.cs b/CoreCms.Net.Configuration/SystemSettingConstVars.cs index d1718548..4b3897b2 100644 --- a/CoreCms.Net.Configuration/SystemSettingConstVars.cs +++ b/CoreCms.Net.Configuration/SystemSettingConstVars.cs @@ -534,14 +534,56 @@ namespace CoreCms.Net.Configuration public const string PrivacyPolicy = "privacyPolicy"; /// - /// 显示门店列表 + /// 显示充值功能 + /// + public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch"; + + + /// + /// 显示增值服务板块 + /// + public const string ShowVas = "showVas"; + + /// + /// 显示门店列表按钮 /// public const string ShowStoresSwitch = "showStoresSwitch"; /// - /// 显示充值功能 + /// 显示服务商品按钮 /// - public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch"; + public const string ShowServicePackage = "servicePackage"; + + /// + /// 显示优惠券按钮 + /// + public const string ShowCoupon = "showCoupon"; + + /// + /// 显示拼团按钮 + /// + public const string ShowPinTuan = "showPinTuan"; + + /// + /// 显示秒杀按钮 + /// + public const string ShowSeckill = "showSeckill"; + + /// + /// 显示团购按钮 + /// + public const string ShowGroupBuying = "showGroupBuying"; + + /// + /// 显示接龙按钮 + /// + public const string ShowSolitaire = "showSolitaire"; + + /// + /// 显示签到按钮 + /// + public const string ShowCalendar = "showCalendar"; + //第三方接口============================================================================ /// diff --git a/CoreCms.Net.Configuration/SystemSettingDictionary.cs b/CoreCms.Net.Configuration/SystemSettingDictionary.cs index c77333e2..fb3c1c10 100644 --- a/CoreCms.Net.Configuration/SystemSettingDictionary.cs +++ b/CoreCms.Net.Configuration/SystemSettingDictionary.cs @@ -45,15 +45,28 @@ namespace CoreCms.Net.Configuration di.Add(SystemSettingConstVars.PrivacyPolicyId, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "4" }); di.Add(SystemSettingConstVars.PrivacyPolicy, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "" }); - di.Add(SystemSettingConstVars.ShowStoresSwitch, new DictionaryKeyValues() { sKey = "显示门店列表", sValue = "2" }); + //开关功能 di.Add(SystemSettingConstVars.ShowStoreBalanceRechargeSwitch, new DictionaryKeyValues() { sKey = "显示充值功能", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowVas, new DictionaryKeyValues() { sKey = "显示增值服务板块", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowStoresSwitch, new DictionaryKeyValues() { sKey = "显示门店列表", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowServicePackage, new DictionaryKeyValues() { sKey = "显示服务商品按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowCoupon, new DictionaryKeyValues() { sKey = "显示优惠券按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowPinTuan, new DictionaryKeyValues() { sKey = "显示拼团按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowSeckill, new DictionaryKeyValues() { sKey = "显示秒杀按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowGroupBuying, new DictionaryKeyValues() { sKey = "显示团购按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowSolitaire, new DictionaryKeyValues() { sKey = "显示接龙按钮", sValue = "2" }); + di.Add(SystemSettingConstVars.ShowCalendar, new DictionaryKeyValues() { sKey = "显示签到按钮", sValue = "2" }); + + //搜索发现关键字 di.Add(SystemSettingConstVars.RecommendKeys, new DictionaryKeyValues() { sKey = "搜索发现关键词", sValue = "核心,内容,管理,系统" }); + //分享设置 di.Add(SystemSettingConstVars.ShareImage, new DictionaryKeyValues() { sKey = "分享图片", sValue = "" }); di.Add(SystemSettingConstVars.ShareTitle, new DictionaryKeyValues() { sKey = "分享标题", sValue = "优质好店邀您共享" }); di.Add(SystemSettingConstVars.ShareDesc, new DictionaryKeyValues() { sKey = "分享描述", sValue = "" }); + //会员设置 di.Add(SystemSettingConstVars.ShopMobile, new DictionaryKeyValues() { sKey = "商家手机号", sValue = "" }); //1绑定,2不绑定-第三方的登陆的时候,是否需要绑定手机号码,强烈建议用户开启,除非只在微信小程序内使用 @@ -75,8 +88,6 @@ namespace CoreCms.Net.Configuration di.Add(SystemSettingConstVars.StoreOrderAutomaticDelivery, new DictionaryKeyValues() { sKey = "门店自提自动发货", sValue = "2" }); - - di.Add(SystemSettingConstVars.CommissionChannel, new DictionaryKeyValues() { sKey = "佣金计算通道", sValue = "1" }); //分销功能 @@ -205,7 +216,6 @@ namespace CoreCms.Net.Configuration di.Add(SystemSettingConstVars.FilesStorageAliYunEndpoint, new DictionaryKeyValues() { sKey = "阿里云节点", sValue = "https://oss-cn-shenzhen.aliyuncs.com" }); di.Add(SystemSettingConstVars.FilesStorageAliYunBucketName, new DictionaryKeyValues() { sKey = "阿里云桶名称", sValue = "CoreShop" }); - di.Add(SystemSettingConstVars.FilesStorageQiNiuBucketName, new DictionaryKeyValues() { sKey = "七牛云桶名称", sValue = "CoreShop" }); //短信发送内容模板 diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue b/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue index d6a4c6e6..6832add5 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue @@ -170,7 +170,7 @@ - +