diff --git a/changelog.txt b/changelog.txt index 2cf3ff183..1d6f99ba7 100755 --- a/changelog.txt +++ b/changelog.txt @@ -12,7 +12,7 @@ 9.【新增】手机端支持APP(IOS+Android) 10.【新增】手机端支持多语言(中文、繁体、英文、西班牙) 11.【新增】手机端我的中支持门店订单查看和下单自动进入门店订单 -12.【新增】手机端购物车支持优惠明显查看及选择 +12.【新增】手机端购物车支持优惠明细查看及选择 13.【新增】短信对接多平台(腾讯、百度、云片、loginsms) 14.【新增】第三方登录APP支持(微信、QQ、苹果、谷歌、本机号码) 15.【新增】扫码收款和消息通知支持语音播报 diff --git a/public/static/admin/default/css/common.css b/public/static/admin/default/css/common.css index b76f140c5..54b05eb10 100755 --- a/public/static/admin/default/css/common.css +++ b/public/static/admin/default/css/common.css @@ -1198,3 +1198,19 @@ body[class^="admin-plugins-"] .content-right > .content { left: 50%; transform: translateX(-50%); } + + +/** + * 操作可伸缩的提示信息 + */ +.am-operate-stretch-tips { + background-color: var(--color-tips-warm-bg); + border-color:var(--color-tips-warm-br); +} +.am-operate-stretch-tips.am-close-tips { + border-color: var(--color-main); + background-color: var(--color-main-light); +} +.am-operate-stretch-tips.am-close-tips .title { + color: var(--color-main); +} \ No newline at end of file diff --git a/public/static/admin/default/css/pluginsadmin.css b/public/static/admin/default/css/pluginsadmin.css index 0f43f2497..940192aa6 100755 --- a/public/static/admin/default/css/pluginsadmin.css +++ b/public/static/admin/default/css/pluginsadmin.css @@ -150,6 +150,9 @@ background-color: transparent !important; border: 0 !important; } +.plugins-data-list>ul>li .operation button.am-btn-danger { + color: var(--color-red); +} .plugins-data-list>ul>li .operation a i, .plugins-data-list>ul>li .operation button i { diff --git a/public/static/admin/default/js/common.js b/public/static/admin/default/js/common.js index 56a4fbf20..e5a3aa687 100644 --- a/public/static/admin/default/js/common.js +++ b/public/static/admin/default/js/common.js @@ -517,18 +517,6 @@ $(function () { $("[data-key='" + key + "']").addClass('am-active').siblings('.item').removeClass('am-active'); }); - - // 后台顶级提示信息 - $(document).on('click', '.am-operate-stretch-tips .title', function () { - if ($(this).parent().hasClass('am-close-tips')) { - $(this).parent().removeClass('am-close-tips'); - $(this).parent().animate({ height: '100%', width: '100%' }, 500); - } else { - $(this).parent().addClass('am-close-tips'); - $(this).parent().animate({ height: '35px', width: '84px' }, 500); - } - }); - // 点击页面关闭父级的tab右侧工具弹窗 $('body').on('click', function () { if ((parent.IframeCloseNavTabsRightTools || null) != null) { diff --git a/public/static/common/css/common.css b/public/static/common/css/common.css index ac80f84b7..de9886b80 100755 --- a/public/static/common/css/common.css +++ b/public/static/common/css/common.css @@ -3309,8 +3309,8 @@ table.am-table .am-operate-grid .am-btn i { * 操作可伸缩的提示信息 */ .am-operate-stretch-tips { - background-color: var(--color-tips-warm-bg); - border: 0.1rem solid var(--color-tips-warm-br); + background-color: #f1fcff; + border: 0.1rem solid #f1fcff; display: block; width: 100%; height: 100%; @@ -3321,12 +3321,12 @@ table.am-table .am-operate-grid .am-btn i { margin-bottom: 2rem; } .am-operate-stretch-tips.am-close-tips { - border: 0.1rem solid var(--color-main); - background-color: var(--color-main-light); + border: 0.1rem solid #2a94ff; + background-color: #edf4ff; border-radius: var(--border-radius); } .am-operate-stretch-tips.am-close-tips .title { - color: var(--color-main); + color: #2a94ff; } .am-operate-stretch-tips.am-close-tips .contract { diff --git a/public/static/common/js/common.js b/public/static/common/js/common.js index 4346dabf1..2ef4e68f3 100755 --- a/public/static/common/js/common.js +++ b/public/static/common/js/common.js @@ -2591,19 +2591,17 @@ function UrlUseCurrentHostHandle (url) { */ function SelectChosenInit () { if ($('select.chosen-select').length > 0) { - $('select.chosen-select').each(function () { - if ($(this).parent().find('.chosen-container').length > 0) { - $('select.chosen-select').trigger('chosen:updated'); - } else { - $('select.chosen-select').chosen({ - inherit_select_classes: true, - enable_split_word_search: true, - search_contains: true, - no_results_text: window['lang_chosen_select_no_results_text'], - disable_search_threshold: 10 - }); - } - }) + // 已初始化的则更新 + $('select.chosen-select.chosen-init-success').trigger('chosen:updated'); + + // 初始化 + $('select.chosen-select:not(.chosen-init-success)').chosen({ + inherit_select_classes: true, + enable_split_word_search: true, + search_contains: true, + no_results_text: window['lang_chosen_select_no_results_text'], + disable_search_threshold: 10 + }); } } @@ -5619,4 +5617,16 @@ $(function () { var key = $(this).data('key'); $("[data-key='" + key + "']").addClass('am-active').siblings('.item').removeClass('am-active'); }); + + // 顶级提示信息 + $(document).on('click', '.am-operate-stretch-tips .title', function () { + var $parent = $(this).parent(); + if ($parent.hasClass('am-close-tips')) { + $parent.removeClass('am-close-tips'); + $parent.animate({ height: '100%', width: '100%' }, 500); + } else { + $parent.addClass('am-close-tips'); + $parent.animate({ height: '35px', width: '90px' }, 500); + } + }); }); \ No newline at end of file diff --git a/public/static/common/lib/amazeui-chosen/amazeui.chosen.js b/public/static/common/lib/amazeui-chosen/amazeui.chosen.js index 49cc86ed1..387139d6d 100755 --- a/public/static/common/lib/amazeui-chosen/amazeui.chosen.js +++ b/public/static/common/lib/amazeui-chosen/amazeui.chosen.js @@ -590,7 +590,7 @@ This file is generated by `grunt build`, do not edit it by hand. } else { this.container.html('' + this.default_text + '