From f152ba14f8bd047f84abb4df1214c165038e54a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=B0=E9=98=85=E9=83=A8=E8=90=BD?= <43716063+Baiyuetribe@users.noreply.github.com> Date: Thu, 19 Nov 2020 16:41:10 +0800 Subject: [PATCH] =?UTF-8?q?v1.0=E6=AD=A3=E5=BC=8F=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 +++--- dist/index.html | 2 +- ...tyles.d6b0b283.css => styles.fecb7033.css} | 0 ...d6b0b283.css.br => styles.fecb7033.css.br} | Bin ...d6b0b283.css.gz => styles.fecb7033.css.gz} | Bin dist/static/js/app.17f63b6d.js | 1 + dist/static/js/app.17f63b6d.js.br | Bin 0 -> 5169 bytes dist/static/js/app.17f63b6d.js.gz | Bin 0 -> 5910 bytes dist/static/js/app.7d6f03c8.js | 1 - dist/static/js/app.7d6f03c8.js.br | Bin 4716 -> 0 bytes dist/static/js/app.7d6f03c8.js.gz | Bin 5352 -> 0 bytes dist/static/js/manifest.04b3726b.js | 1 + dist/static/js/manifest.04b3726b.js.br | Bin 0 -> 25001 bytes dist/static/js/manifest.04b3726b.js.gz | Bin 0 -> 33428 bytes dist/static/js/manifest.e74ea18b.js | 1 - dist/static/js/manifest.e74ea18b.js.br | Bin 24970 -> 0 bytes dist/static/js/manifest.e74ea18b.js.gz | Bin 33379 -> 0 bytes ...{styles.b557ebca.js => styles.61405570.js} | 0 dist/static/js/vendor.42650e7e.js.br | Bin 245665 -> 0 bytes dist/static/js/vendor.42650e7e.js.gz | Bin 308941 -> 0 bytes ...{vendor.42650e7e.js => vendor.47fe4f66.js} | 36 +++++++++--------- dist/static/js/vendor.47fe4f66.js.br | Bin 0 -> 246769 bytes dist/static/js/vendor.47fe4f66.js.gz | Bin 0 -> 310471 bytes init_mysql.py | 3 +- service/config/config.py | 2 +- 25 files changed, 30 insertions(+), 29 deletions(-) rename dist/static/css/{styles.d6b0b283.css => styles.fecb7033.css} (100%) rename dist/static/css/{styles.d6b0b283.css.br => styles.fecb7033.css.br} (100%) rename dist/static/css/{styles.d6b0b283.css.gz => styles.fecb7033.css.gz} (100%) create mode 100644 dist/static/js/app.17f63b6d.js create mode 100644 dist/static/js/app.17f63b6d.js.br create mode 100644 dist/static/js/app.17f63b6d.js.gz delete mode 100644 dist/static/js/app.7d6f03c8.js delete mode 100644 dist/static/js/app.7d6f03c8.js.br delete mode 100644 dist/static/js/app.7d6f03c8.js.gz create mode 100644 dist/static/js/manifest.04b3726b.js create mode 100644 dist/static/js/manifest.04b3726b.js.br create mode 100644 dist/static/js/manifest.04b3726b.js.gz delete mode 100644 dist/static/js/manifest.e74ea18b.js delete mode 100644 dist/static/js/manifest.e74ea18b.js.br delete mode 100644 dist/static/js/manifest.e74ea18b.js.gz rename dist/static/js/{styles.b557ebca.js => styles.61405570.js} (100%) delete mode 100644 dist/static/js/vendor.42650e7e.js.br delete mode 100644 dist/static/js/vendor.42650e7e.js.gz rename dist/static/js/{vendor.42650e7e.js => vendor.47fe4f66.js} (69%) create mode 100644 dist/static/js/vendor.47fe4f66.js.br create mode 100644 dist/static/js/vendor.47fe4f66.js.gz diff --git a/README.md b/README.md index d1870de..f5d81ca 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,8 @@ Blog

-最新版预览地址: http://107.148.243.178:8000 +正式版DEMO演示: http://107.148.243.178:8000 -内测BUG反馈QQ群:853791822 ## 适用场景: 适用于各种电商、优惠卷、论坛邀请码、充值卡、激活码、注册码、腾讯爱奇艺积分CDK等,支持手工和全自动发货,还有类似1688的分层批发模式。 @@ -48,7 +47,6 @@ ## 部署方法: - ### 1. 正式环境【线上部署】 [如何使用宝塔面板Docker管理器一键部署佰阅发卡](https://baiyue.one/archives/1703.html) @@ -71,7 +69,7 @@ docker run --name kmfaka -itd -p 8000:8000 baiyuetribe/kamifaka:latest docker rm -f kmfaka && docker rmi -f baiyuetribe/kamifaka:latest ``` -### 3. 开发环境 +### 3. 开发环境【如需修改或自定义,可查看该文档】 开发环境:[开发环境安装教程](开发环境安装教程.md) @@ -82,13 +80,12 @@ docker rm -f kmfaka && docker rmi -f baiyuetribe/kamifaka:latest ![](https://cdn.jsdelivr.net/gh/Baiyuetribe/yyycode@dev/img/20/yyycode_comPc后台端演示.gif) ## 当前开发计划: -发布第一个正式版-->撰写帮助文档 +撰写帮助文档 当前任务:写文档 - ### 项目依赖 - 前端UI:Stisla --> https://github.com/stisla/stisla - 前端交互程序:vue3.0 --> https://github.com/vuejs/vue-next @@ -98,8 +95,11 @@ docker rm -f kmfaka && docker rmi -f baiyuetribe/kamifaka:latest ## 如何参与该开源项目? [查看可参与的任务](查看可参与的任务.md) + 内测BUG反馈QQ群:853791822 +官方帮助文档:[https://kmfaka.baklib.com](https://kmfaka.baklib.com) + ## License 本程序使用MIT协议,您可以免费使用,复制或修改软件,但是请保留底部作者信息和License许可声明。 diff --git a/dist/index.html b/dist/index.html index 89c91ab..85eb018 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dist/static/css/styles.d6b0b283.css b/dist/static/css/styles.fecb7033.css similarity index 100% rename from dist/static/css/styles.d6b0b283.css rename to dist/static/css/styles.fecb7033.css diff --git a/dist/static/css/styles.d6b0b283.css.br b/dist/static/css/styles.fecb7033.css.br similarity index 100% rename from dist/static/css/styles.d6b0b283.css.br rename to dist/static/css/styles.fecb7033.css.br diff --git a/dist/static/css/styles.d6b0b283.css.gz b/dist/static/css/styles.fecb7033.css.gz similarity index 100% rename from dist/static/css/styles.d6b0b283.css.gz rename to dist/static/css/styles.fecb7033.css.gz diff --git a/dist/static/js/app.17f63b6d.js b/dist/static/js/app.17f63b6d.js new file mode 100644 index 0000000..36a7e58 --- /dev/null +++ b/dist/static/js/app.17f63b6d.js @@ -0,0 +1 @@ +!function(_){function e(e){for(var r,t,i=e[0],l=e[1],s=e[2],d=0,c=[];d .dropdown-menu").slideUp(500,(function(){return update_sidebar_nicescroll(),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu li.active").removeClass("active"),1==e?(_.parent().removeClass("active"),_.parent().find("> .dropdown-menu").slideUp(500,(function(){return update_sidebar_nicescroll(),!1}))):(_.parent().addClass("active"),_.parent().find("> .dropdown-menu").slideDown(500,(function(){return update_sidebar_nicescroll(),!1}))),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu li.active > .dropdown-menu").slideDown(500,(function(){return update_sidebar_nicescroll(),!1})))};sidebar_dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()("#top-5-scroll").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()("#top-5-scroll").css({height:315}).niceScroll(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-content").css({minHeight:jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).outerHeight()-108}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".nav-collapse-toggle").click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).parent().find(".navbar-nav").toggleClass("show"),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(document).on("click",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".nav-collapse .navbar-nav").removeClass("show")}));var toggle_sidebar_mini=function(_){var e=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");_?(e.addClass("sidebar-mini"),e.removeClass("sidebar-show"),sidebar_nicescroll.remove(),sidebar_nicescroll=null,jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.find("> .dropdown-menu").length?(_.find("> .dropdown-menu").hide(),_.find("> .dropdown-menu").prepend('")):(_.find("> a").attr("data-toggle","tooltip"),_.find("> a").attr("data-original-title",_.find("> a").text()),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='tooltip']").tooltip({placement:"right"}))}))):(e.removeClass("sidebar-mini"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").css({overflow:"hidden"}),setTimeout((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").getNiceScroll()}),500),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > ul .dropdown-title").remove(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("data-toggle"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("data-original-title"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("title"))};jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='sidebar']").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");return jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).outerWidth()<=1024?(_.removeClass("search-show search-gone"),_.hasClass("sidebar-gone")?(_.removeClass("sidebar-gone"),_.addClass("sidebar-show")):(_.addClass("sidebar-gone"),_.removeClass("sidebar-show")),update_sidebar_nicescroll()):(_.removeClass("search-show search-gone"),_.hasClass("sidebar-mini")?toggle_sidebar_mini(!1):toggle_sidebar_mini(!0)),!1}));var toggleLayout=function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(window),e=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").attr("class")||"",a=e.trim().length>0?e.split(" "):"";if(a.length>0&&a.forEach((function(_){-1!=_.indexOf("layout-")&&(now_layout_class=_)})),_.outerWidth()<=1024){if(jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").hasClass("sidebar-mini")&&(toggle_sidebar_mini(!1),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").getNiceScroll()),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("sidebar-gone"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("layout-2 layout-3 sidebar-mini sidebar-show"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").off("click touchend").on("click touchend",(function(_){(jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.target).hasClass("sidebar-show")||jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.target).hasClass("search-show"))&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("sidebar-show"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("sidebar-gone"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("search-show"),update_sidebar_nicescroll())})),update_sidebar_nicescroll(),"layout-3"==now_layout_class){var r=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary").attr("class"),t=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary");t.attr("data-nav-classes",r),t.removeAttr("class"),t.addClass("main-sidebar");var n=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar");n.find(".container").addClass("sidebar-wrapper").removeClass("container"),n.find(".navbar-nav").addClass("sidebar-menu").removeClass("navbar-nav"),n.find(".sidebar-menu .nav-item.dropdown.show a").click(),n.find(".sidebar-brand").remove(),n.find(".sidebar-menu").before(jquery__WEBPACK_IMPORTED_MODULE_7___default()("
",{class:"sidebar-brand"}).append(jquery__WEBPACK_IMPORTED_MODULE_7___default()("",{href:jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-brand").attr("href")}).html(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-brand").html()))),setTimeout((function(){sidebar_nicescroll=n.niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=n.getNiceScroll()}),700),sidebar_dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-wrapper").removeClass("container")}}else{jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("sidebar-gone sidebar-show"),now_layout_class&&jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass(now_layout_class);var o=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").attr("data-nav-classes"),i=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar");if("layout-3"==now_layout_class&&i.hasClass("main-sidebar")){i.find(".sidebar-menu li a.has-dropdown").off("click"),i.find(".sidebar-brand").remove(),i.removeAttr("class"),i.addClass(o);var l=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary");l.find(".sidebar-wrapper").addClass("container").removeClass("sidebar-wrapper"),l.find(".sidebar-menu").addClass("navbar-nav").removeClass("sidebar-menu"),l.find(".dropdown-menu").hide(),l.removeAttr("style"),l.removeAttr("tabindex"),l.removeAttr("data-nav-classes"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-wrapper").addClass("container")}else"layout-2"==now_layout_class?jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("layout-2"):update_sidebar_nicescroll()}};toggleLayout(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).resize(toggleLayout),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='search']").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");_.hasClass("search-gone")?(_.addClass("search-gone"),_.removeClass("search-show")):(_.removeClass("search-gone"),_.addClass("search-show"))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='tooltip']").tooltip(),jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-toggle="popover"]').popover({container:"body"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()().select2&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".select2").select2(),jquery__WEBPACK_IMPORTED_MODULE_7___default()().selectric&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".selectric").selectric({disableOnMobile:!1,nativeOnMobile:!1}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".notification-toggle").dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".notification-toggle").parent().on("shown.bs.dropdown",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".dropdown-list-icons").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8,cursorwidth:7})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".message-toggle").dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".message-toggle").parent().on("shown.bs.dropdown",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".dropdown-list-message").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8,cursorwidth:7})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").length&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").getNiceScroll(0).doScrollTop(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").height())),jquery__WEBPACK_IMPORTED_MODULE_7___default()().summernote&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".summernote").summernote({dialogsInBody:!0,minHeight:250}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".summernote-simple").summernote({dialogsInBody:!0,minHeight:150,toolbar:[["style",["bold","italic","underline","clear"]],["font",["strikethrough"]],["para",["paragraph"]]]})),window.CodeMirror&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".codeeditor").each((function(){window.CodeMirror.fromTextArea(this,{lineNumbers:!0,theme:"duotone-dark",mode:"javascript",height:200}).setSize("100%",200)})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".follow-btn, .following-btn").each((function(){var me=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),follow_text="Follow",unfollow_text="Following";me.click((function(){return me.hasClass("following-btn")?(me.removeClass("btn-danger"),me.removeClass("following-btn"),me.addClass("btn-primary"),me.html(follow_text),eval(me.data("unfollow-action"))):(me.removeClass("btn-primary"),me.addClass("btn-danger"),me.addClass("following-btn"),me.html(unfollow_text),eval(me.data("follow-action"))),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-dismiss]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),e=_.data("dismiss");_.click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).fadeOut((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).remove()})),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-collapse]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),e=_.data("collapse");_.click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).collapse("toggle"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).on("shown.bs.collapse",(function(e){e.stopPropagation(),_.html('')})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).on("hidden.bs.collapse",(function(e){e.stopPropagation(),_.html('')})),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".gallery .gallery-item").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.attr("href",_.data("image")),_.attr("title",_.data("title")),_.parent().hasClass("gallery-fw")&&(_.css({height:_.parent().data("item-height")}),_.find("div").css({lineHeight:_.parent().data("item-height")+"px"})),_.css({backgroundImage:'url("'+_.data("image")+'")'})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()().Chocolat&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".gallery").Chocolat({className:"gallery",imageSelector:".gallery-item"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-background]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.css({backgroundImage:"url("+_.data("background")+")"})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-tab]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.click((function(){if(!_.hasClass("active")){var e=jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-tab-group="'+_.data("tab")+'"].active'),a=jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.attr("href"));jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-tab="'+_.data("tab")+'"]').removeClass("active"),_.addClass("active"),a.addClass("active"),e.removeClass("active")}return!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".needs-validation").submit((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);!1===_[0].checkValidity()&&(event.preventDefault(),event.stopPropagation()),_.addClass("was-validated")})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".alert-dismissible").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.find(".close").click((function(){_.alert("close")}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-crop-image]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({overflow:"hidden",position:"relative",height:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("crop-image")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle-slide]").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("toggle-slide");return jquery__WEBPACK_IMPORTED_MODULE_7___default()(_).slideToggle(),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-dismiss=modal]").click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).closest(".modal").modal("hide"),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-width]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({width:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("width")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-height]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({height:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("height")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chocolat-parent").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()().Chocolat&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chocolat-parent").Chocolat(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".sortable-card").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()().sortable&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".sortable-card").sortable({handle:".card-header",opacity:.8,tolerance:"pointer"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()().daterangepicker&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datepicker").daterangepicker({locale:{format:"YYYY-MM-DD"},singleDatePicker:!0}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datetimepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datetimepicker").daterangepicker({locale:{format:"YYYY-MM-DD hh:mm"},singleDatePicker:!0,timePicker:!0,timePicker24Hour:!0}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".daterange").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".daterange").daterangepicker({locale:{format:"YYYY-MM-DD"},drops:"down",opens:"right"})),jquery__WEBPACK_IMPORTED_MODULE_7___default()().timepicker&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".timepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".timepicker").timepicker({icons:{up:"fas fa-chevron-up",down:"fas fa-chevron-down"}})}))},"56d7":function(_,e,a){"use strict";a.r(e),a("e260"),a("e6cf"),a("cca6"),a("a79d");var r=a("7a23"),t=(a("ab8b"),a("6672"),a("8ae5"),a("3e48"),a("4bde"),a("38c8"),a("6c42")),n=(a("da96"),a("45fc"),a("d3b7"),a("6c02")),o=[{path:"",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"7557"))},children:[{path:"",name:"home",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"c2e5"))}},{path:":id/detail",name:"detail",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"637f"))}},{path:":id/pay",name:"pay",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"4b5d"))}},{path:"search",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"16ee"))}},{path:"contact",component:function(){return a.e("manifest").then(a.bind(null,"487d"))}},{path:"about",component:function(){return a.e("manifest").then(a.bind(null,"ff59"))}}]},{path:"/login",name:"login",meta:{title:"Login"},component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5c1a"))}},{path:"/admin",component:function(){return a.e("manifest").then(a.bind(null,"b8bf"))},meta:{requiresAuth:!0},children:[{path:"",name:"admin",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5ace"))}},{path:"classfily",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"225a"))}},{path:"shop",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"3bc9"))}},{path:"card",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5de8"))}},{path:"orderlist",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"9bf9"))}},{path:"smtp",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"92d9"))}},{path:"sms",component:function(){return a.e("manifest").then(a.bind(null,"9dee"))}},{path:"payment",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"22b6"))}},{path:"password",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"624c"))}},{path:"notice",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"b432"))}},{path:"system",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"9dd4"))}},{path:"images",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"4d95"))}},{path:"backup",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"b26c"))}},{path:"edit",name:"edit",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"3965"))}}]}],i=new n.a({history:Object(n.b)(),routes:o});i.beforeEach((function(_,e,a){if(_.matched.some((function(_){return _.meta.requiresAuth}))){if(!localStorage.getItem("access_token"))return a({name:"login"});a()}else a()}));var l=i;var s={render:function(_,e,a,t,n,o){var i=Object(r.C)("router-view");return Object(r.u)(),Object(r.f)(r.b,{name:"fade"},{default:Object(r.P)((function(){return[Object(r.j)(i)]})),_:1})}};console.log("%c欢迎使用:KAMIFAKA","background: rgba(252,234,187,1);background: -moz-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%,rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252,234,187,1)), color-stop(12%, rgba(175,250,77,1)), color-stop(28%, rgba(0,247,49,1)), color-stop(39%, rgba(0,210,247,1)), color-stop(51%, rgba(0,189,247,1)), color-stop(64%, rgba(133,108,217,1)), color-stop(78%, rgba(177,0,247,1)), color-stop(87%, rgba(247,0,189,1)), color-stop(100%, rgba(245,22,52,1)));background: -webkit-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -o-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -ms-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: linear-gradient(to right, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#f51634', GradientType=1 );font-size:3em"),console.log(" 当前版本:V1.0\n 如果项目给您创造了价值,欢迎点赞Star或Fork:https://github.com/Baiyuetribe/kamiFaka\n"),Object(r.e)(s).use(l).use(t.a).mount("#app")}}); \ No newline at end of file diff --git a/dist/static/js/app.17f63b6d.js.br b/dist/static/js/app.17f63b6d.js.br new file mode 100644 index 0000000000000000000000000000000000000000..6add8b452653a5ef55fff0b544c7b74a9fab63cf GIT binary patch literal 5169 zcmV-16wd1#)@o6dP}QRX(5k>DGUvg1LAN2)9lc7pfGaEG;rpu@<@*oU5RZ{e3k^dE zMMg+6YpP04YkZ5XR4JwV)0VLjgw25fEe4c45r3L$y}sHxKpw&*UDBD%me#ZeK}lm< zi9`w%mGsB&cjbA1?x)KBrlZ`wtq%hOGzuuFChK~E{&k{=t^tWpxmm;hbBmDCG*CK? zC9llW^<*Je6YN2@naxC@DEL2{W~&g}K`QgoaY@ht`Kr$U|Cz}xDb`BXd$M$>Lk!UD z%z8#-ln+oL=B@|qpsY3kP^KskQm>amB)F}$4O@+F-RHb|Pg@!S1PEV1G*|#nK@ykh z*@7Z2bRIS2luA<6Z*8X9dL#9E)=3qrA^nd%Pqbmn6P?qk_$MvSm1w6mdW-9=8$Mk4 z>B<8Wy#RJO#h&|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NgbSUK|GW)T_CPlAPLR2ero-+uYaZ@&83AAj;MU;p>teEpmM`sOFU{h#0dZ9LI_ z_vNqu@SneU3FLnJ)jxeG!b@`?L$S&FE sc&;*=*14`lx-pKp=EpzMV7O;E#=j==9vhAD@}=JWU$TZ8b=PVD0AlHZGynhq literal 0 HcmV?d00001 diff --git a/dist/static/js/app.7d6f03c8.js b/dist/static/js/app.7d6f03c8.js deleted file mode 100644 index ec4902b..0000000 --- a/dist/static/js/app.7d6f03c8.js +++ /dev/null @@ -1 +0,0 @@ -!function(_){function e(e){for(var t,r,i=e[0],l=e[1],s=e[2],d=0,c=[];d .dropdown-menu").slideUp(500,(function(){return update_sidebar_nicescroll(),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu li.active").removeClass("active"),1==e?(_.parent().removeClass("active"),_.parent().find("> .dropdown-menu").slideUp(500,(function(){return update_sidebar_nicescroll(),!1}))):(_.parent().addClass("active"),_.parent().find("> .dropdown-menu").slideDown(500,(function(){return update_sidebar_nicescroll(),!1}))),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu li.active > .dropdown-menu").slideDown(500,(function(){return update_sidebar_nicescroll(),!1})))};sidebar_dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()("#top-5-scroll").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()("#top-5-scroll").css({height:315}).niceScroll(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-content").css({minHeight:jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).outerHeight()-108}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".nav-collapse-toggle").click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).parent().find(".navbar-nav").toggleClass("show"),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(document).on("click",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".nav-collapse .navbar-nav").removeClass("show")}));var toggle_sidebar_mini=function(_){var e=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");_?(e.addClass("sidebar-mini"),e.removeClass("sidebar-show"),sidebar_nicescroll.remove(),sidebar_nicescroll=null,jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.find("> .dropdown-menu").length?(_.find("> .dropdown-menu").hide(),_.find("> .dropdown-menu").prepend('")):(_.find("> a").attr("data-toggle","tooltip"),_.find("> a").attr("data-original-title",_.find("> a").text()),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='tooltip']").tooltip({placement:"right"}))}))):(e.removeClass("sidebar-mini"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").css({overflow:"hidden"}),setTimeout((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").getNiceScroll()}),500),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > ul .dropdown-title").remove(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("data-toggle"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("data-original-title"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar .sidebar-menu > li > a").removeAttr("title"))};jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='sidebar']").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");return jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).outerWidth()<=1024?(_.removeClass("search-show search-gone"),_.hasClass("sidebar-gone")?(_.removeClass("sidebar-gone"),_.addClass("sidebar-show")):(_.addClass("sidebar-gone"),_.removeClass("sidebar-show")),update_sidebar_nicescroll()):(_.removeClass("search-show search-gone"),_.hasClass("sidebar-mini")?toggle_sidebar_mini(!1):toggle_sidebar_mini(!0)),!1}));var toggleLayout=function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(window),e=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").attr("class")||"",a=e.trim().length>0?e.split(" "):"";if(a.length>0&&a.forEach((function(_){-1!=_.indexOf("layout-")&&(now_layout_class=_)})),_.outerWidth()<=1024){if(jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").hasClass("sidebar-mini")&&(toggle_sidebar_mini(!1),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").getNiceScroll()),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("sidebar-gone"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("layout-2 layout-3 sidebar-mini sidebar-show"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").off("click touchend").on("click touchend",(function(_){(jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.target).hasClass("sidebar-show")||jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.target).hasClass("search-show"))&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("sidebar-show"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("sidebar-gone"),jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("search-show"),update_sidebar_nicescroll())})),update_sidebar_nicescroll(),"layout-3"==now_layout_class){var t=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary").attr("class"),r=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary");r.attr("data-nav-classes",t),r.removeAttr("class"),r.addClass("main-sidebar");var n=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar");n.find(".container").addClass("sidebar-wrapper").removeClass("container"),n.find(".navbar-nav").addClass("sidebar-menu").removeClass("navbar-nav"),n.find(".sidebar-menu .nav-item.dropdown.show a").click(),n.find(".sidebar-brand").remove(),n.find(".sidebar-menu").before(jquery__WEBPACK_IMPORTED_MODULE_7___default()("
",{class:"sidebar-brand"}).append(jquery__WEBPACK_IMPORTED_MODULE_7___default()("",{href:jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-brand").attr("href")}).html(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-brand").html()))),setTimeout((function(){sidebar_nicescroll=n.niceScroll(sidebar_nicescroll_opts),sidebar_nicescroll=n.getNiceScroll()}),700),sidebar_dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-wrapper").removeClass("container")}}else{jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").removeClass("sidebar-gone sidebar-show"),now_layout_class&&jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass(now_layout_class);var o=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar").attr("data-nav-classes"),i=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-sidebar");if("layout-3"==now_layout_class&&i.hasClass("main-sidebar")){i.find(".sidebar-menu li a.has-dropdown").off("click"),i.find(".sidebar-brand").remove(),i.removeAttr("class"),i.addClass(o);var l=jquery__WEBPACK_IMPORTED_MODULE_7___default()(".navbar-secondary");l.find(".sidebar-wrapper").addClass("container").removeClass("sidebar-wrapper"),l.find(".sidebar-menu").addClass("navbar-nav").removeClass("sidebar-menu"),l.find(".dropdown-menu").hide(),l.removeAttr("style"),l.removeAttr("tabindex"),l.removeAttr("data-nav-classes"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".main-wrapper").addClass("container")}else"layout-2"==now_layout_class?jquery__WEBPACK_IMPORTED_MODULE_7___default()("body").addClass("layout-2"):update_sidebar_nicescroll()}};toggleLayout(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(window).resize(toggleLayout),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='search']").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()("body");_.hasClass("search-gone")?(_.addClass("search-gone"),_.removeClass("search-show")):(_.removeClass("search-gone"),_.addClass("search-show"))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle='tooltip']").tooltip(),jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-toggle="popover"]').popover({container:"body"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()().select2&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".select2").select2(),jquery__WEBPACK_IMPORTED_MODULE_7___default()().selectric&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".selectric").selectric({disableOnMobile:!1,nativeOnMobile:!1}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".notification-toggle").dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".notification-toggle").parent().on("shown.bs.dropdown",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".dropdown-list-icons").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8,cursorwidth:7})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".message-toggle").dropdown(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".message-toggle").parent().on("shown.bs.dropdown",(function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(".dropdown-list-message").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8,cursorwidth:7})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").length&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").niceScroll({cursoropacitymin:.3,cursoropacitymax:.8}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").getNiceScroll(0).doScrollTop(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chat-content").height())),jquery__WEBPACK_IMPORTED_MODULE_7___default()().summernote&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".summernote").summernote({dialogsInBody:!0,minHeight:250}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".summernote-simple").summernote({dialogsInBody:!0,minHeight:150,toolbar:[["style",["bold","italic","underline","clear"]],["font",["strikethrough"]],["para",["paragraph"]]]})),window.CodeMirror&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".codeeditor").each((function(){window.CodeMirror.fromTextArea(this,{lineNumbers:!0,theme:"duotone-dark",mode:"javascript",height:200}).setSize("100%",200)})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".follow-btn, .following-btn").each((function(){var me=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),follow_text="Follow",unfollow_text="Following";me.click((function(){return me.hasClass("following-btn")?(me.removeClass("btn-danger"),me.removeClass("following-btn"),me.addClass("btn-primary"),me.html(follow_text),eval(me.data("unfollow-action"))):(me.removeClass("btn-primary"),me.addClass("btn-danger"),me.addClass("following-btn"),me.html(unfollow_text),eval(me.data("follow-action"))),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-dismiss]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),e=_.data("dismiss");_.click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).fadeOut((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).remove()})),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-collapse]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this),e=_.data("collapse");_.click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).collapse("toggle"),jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).on("shown.bs.collapse",(function(e){e.stopPropagation(),_.html('')})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(e).on("hidden.bs.collapse",(function(e){e.stopPropagation(),_.html('')})),!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".gallery .gallery-item").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.attr("href",_.data("image")),_.attr("title",_.data("title")),_.parent().hasClass("gallery-fw")&&(_.css({height:_.parent().data("item-height")}),_.find("div").css({lineHeight:_.parent().data("item-height")+"px"})),_.css({backgroundImage:'url("'+_.data("image")+'")'})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()().Chocolat&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".gallery").Chocolat({className:"gallery",imageSelector:".gallery-item"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-background]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.css({backgroundImage:"url("+_.data("background")+")"})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-tab]").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.click((function(){if(!_.hasClass("active")){var e=jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-tab-group="'+_.data("tab")+'"].active'),a=jquery__WEBPACK_IMPORTED_MODULE_7___default()(_.attr("href"));jquery__WEBPACK_IMPORTED_MODULE_7___default()('[data-tab="'+_.data("tab")+'"]').removeClass("active"),_.addClass("active"),a.addClass("active"),e.removeClass("active")}return!1}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".needs-validation").submit((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);!1===_[0].checkValidity()&&(event.preventDefault(),event.stopPropagation()),_.addClass("was-validated")})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".alert-dismissible").each((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this);_.find(".close").click((function(){_.alert("close")}))})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-crop-image]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({overflow:"hidden",position:"relative",height:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("crop-image")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-toggle-slide]").click((function(){var _=jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("toggle-slide");return jquery__WEBPACK_IMPORTED_MODULE_7___default()(_).slideToggle(),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-dismiss=modal]").click((function(){return jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).closest(".modal").modal("hide"),!1})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-width]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({width:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("width")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()("[data-height]").each((function(){jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).css({height:jquery__WEBPACK_IMPORTED_MODULE_7___default()(this).data("height")})})),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chocolat-parent").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()().Chocolat&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".chocolat-parent").Chocolat(),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".sortable-card").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()().sortable&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".sortable-card").sortable({handle:".card-header",opacity:.8,tolerance:"pointer"}),jquery__WEBPACK_IMPORTED_MODULE_7___default()().daterangepicker&&(jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datepicker").daterangepicker({locale:{format:"YYYY-MM-DD"},singleDatePicker:!0}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datetimepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".datetimepicker").daterangepicker({locale:{format:"YYYY-MM-DD hh:mm"},singleDatePicker:!0,timePicker:!0,timePicker24Hour:!0}),jquery__WEBPACK_IMPORTED_MODULE_7___default()(".daterange").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".daterange").daterangepicker({locale:{format:"YYYY-MM-DD"},drops:"down",opens:"right"})),jquery__WEBPACK_IMPORTED_MODULE_7___default()().timepicker&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".timepicker").length&&jquery__WEBPACK_IMPORTED_MODULE_7___default()(".timepicker").timepicker({icons:{up:"fas fa-chevron-up",down:"fas fa-chevron-down"}})}))},"56d7":function(_,e,a){"use strict";a.r(e),a("e260"),a("e6cf"),a("cca6"),a("a79d");var t=a("7a23"),r=(a("ab8b"),a("6672"),a("8ae5"),a("3e48"),a("4bde"),a("38c8"),a("6c42")),n=(a("da96"),a("45fc"),a("d3b7"),a("6c02")),o=[{path:"",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"7557"))},children:[{path:"",name:"home",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"c2e5"))}},{path:":id/detail",name:"detail",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"637f"))}},{path:":id/pay",name:"pay",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"4b5d"))}},{path:"search",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"16ee"))}},{path:"contact",component:function(){return a.e("manifest").then(a.bind(null,"487d"))}},{path:"about",component:function(){return a.e("manifest").then(a.bind(null,"ff59"))}}]},{path:"/login",name:"login",meta:{title:"Login"},component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5c1a"))}},{path:"/admin",component:function(){return a.e("manifest").then(a.bind(null,"b8bf"))},meta:{requiresAuth:!0},children:[{path:"",name:"admin",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5ace"))}},{path:"classfily",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"225a"))}},{path:"shop",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"3bc9"))}},{path:"card",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"5de8"))}},{path:"orderlist",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"9bf9"))}},{path:"smtp",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"92d9"))}},{path:"sms",component:function(){return a.e("manifest").then(a.bind(null,"9dee"))}},{path:"payment",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"22b6"))}},{path:"password",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"624c"))}},{path:"notice",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"b432"))}},{path:"system",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"9dd4"))}},{path:"images",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"4d95"))}},{path:"backup",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"b26c"))}},{path:"edit",name:"edit",component:function(){return Promise.all([a.e("vendor"),a.e("manifest")]).then(a.bind(null,"3965"))}}]}],i=new n.a({history:Object(n.b)(),routes:o});i.beforeEach((function(_,e,a){if(_.matched.some((function(_){return _.meta.requiresAuth}))){if(!localStorage.getItem("access_token"))return a({name:"login"});a()}else a()}));var l=i;var s={render:function(_,e,a,r,n,o){var i=Object(t.C)("router-view");return Object(t.u)(),Object(t.f)(t.b,{name:"fade"},{default:Object(t.Q)((function(){return[Object(t.j)(i)]})),_:1})}};Object(t.e)(s).use(l).use(r.a).mount("#app")}}); \ No newline at end of file diff --git a/dist/static/js/app.7d6f03c8.js.br b/dist/static/js/app.7d6f03c8.js.br deleted file mode 100644 index ee6213f826fd221509b8df67b78264a8d88a634b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4716 zcmV-y5|iy431a}91=(GFnSi!UJq)zI~o7jD5Dp#b0ao*&GlU$CAJS)q1sHcshUkb zAofg8xM(X z9Z^K>*aqomt~iRR1*F}vzzN&v>T))7*#Q|-yr&Q2vOg)5&vMq`j*-d4#Lr>sndCYx zGaOXTdBvKdZ9 zANTnDF_PtWhYAy|>#hBdx&LS;iUa$Ept#k@D1S2nz;=$|CufX|>f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K-~* zr#Q*Fbt;28)laXz*~Ka+>Ty5Cq;hMs6|!AUDuNJKr|lH; zx^fpzUb~js1@yY69maQDp89P4N!WBDT5^PO;NJ9mN}G^SOUd{ih|4w76NbofHAmdC zF}Z_TNabquQo4u25zHsCv8FS$DOg zYbU<#^f8!kC5LRXYe5T2jz8V?GaE}Tsv+oFdQHnzW-KQ6Wa?$E3yBqsXSf_ATjU#~ ugMATtNIx@@IS*7+FFJrsagsWm;k~BlW6x;+T{5&2Q!2g*9=NW9FF6WQmKS~i diff --git a/dist/static/js/app.7d6f03c8.js.gz b/dist/static/js/app.7d6f03c8.js.gz deleted file mode 100644 index dc3b1b54dbc5b42c15f9c00bbd7db4c57f32ba75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5352 zcmVvmeW|a_kg!3VoDQ$)tlZ)ThbIvm zcPws68q>hxH{Br(;iosG3HJi3*Wfq!yh#!hhK59#O8H||Mm z77Hol!;D)KmVCaC{)okl$MV7QSQr`+jm>sDx`~JFwr9=e$;7}1KxR@bINbr#AzMMz z3e9JM4569}Gd0 z$HyC>gBj*B7Y#h*l5r^q`uIzc!Q{Yw{*^i6h7YN9j=D5u111OE zBgctuLXd$0)qCbrLP=Q3EDSv8i%y63OzJv;5m*Vd0O6R+lw^0Q`p8)<0m%X=x4TOk zOZB2u&x!bb z3;KQq)(_HU$&gV9_As zKarXBF$WDsoc_;fRxpXS7)`jpM)(}D8;X4YY4Xi7Ei0sW1u0(4ndB)oncToofgz{N zCG{*cdWT5Vs2S)tR>qc!PkgVeP(mTo@R%}) z3yj2EDs8wEf#2%FXrX-$^jXGnStEt9KtMK0`h%%g=w$P&rmPcEg=i?yaS!kiEEqDZYV>Sx8 z4MQ8!%9aXtT+ur+k92FF9689N7`MJWOh*D7wEnfE_ySrS-GVW<+nX@1*QKBp;T&Z4 zN%(W{)F7u#jfv~>B(0V;JL+n3WrcmEaJ@Ea8par|Y0|4U&m6Xkig|`#iBPCO5mTPr zb{qd$1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CYsV z{~_PRoT*i2xdeD=Hk9Hk`ZmC4?%Q`&zsiOr@YbrG!5Iu6=jF~O+64g zk7{1y!K%TOZ{932<)w&ih341BbY%eF z_qyYPa>q^SP2sDMd`~-txM_`<&p+?9tj~*_d%3d^v%NnDlVXNo&tlBLLaN+s!JV&! zMLC_Nu!x%rZY5I8@R%XHWtwJO3`J!>ewlBX8MCA{X1IbgPspp6FM?Oc4Z0*HN$&#L z7frLUN>WpGv2IxyLW5RTQ1i?C-tAPHgr%7Vfp5alQYEUT{RjE?Y&!z2-DjLpJHA)T zoo;2vW2r@o3wY}2k80n4w*SZv?y~JVI9UGnoaQHF_JiofT-9*IyzjRV6h!_9+M8<$}qWo5RpoW6fg`uQI9t)*qIOsRWyE4X{LZ=yQ&Mz zhCZke%y8fOR4aI*1fR>j_>6sKlI0Hb9&EIK7S?=bFgA|dnyvKB_FW$5q<2sXGpD4I z@KPz{Fx?-0Y*OZIyQW)SSlRZ#Q$buUS;w3A!`JLjXLT=mJ%sf7gvQ=7f|xw%K>QQ< zOvgKrg^Z?w+>>4$^&H1>@y-)(!oBbRg@_;rHPm^EJG>KO7OUTPSwpH{uMHhlVcoNw zYVMOptTXTkGKO%DYTx8AH=8d~SMLLXrKo4@xFW<))WZ-CD6}`dfhH(%c)?6F^=MpWG?~i7iuStiuVPGgHJNLF#h-!G#$&(- z*2>Yv3eqIG7YEjpi~gBc!HQe2yu%LEqqEa~waXq7Tq!uHn)v=%1*e+*N)9^|``6Wg z1lJVihc$;$|DxKTxCtcl=(>DJKX-j`o(`=;8mQ}^Ba1f{;a;64`mR|1fLj zAaC-|-%KMg)z%^xuMt}=2l*#%8i{E^nq!3eC$<>QJI?U}@?Y3&h6gyz!T$kP_2`fa GV*mhil~pzX diff --git a/dist/static/js/manifest.04b3726b.js b/dist/static/js/manifest.04b3726b.js new file mode 100644 index 0000000..92258a6 --- /dev/null +++ b/dist/static/js/manifest.04b3726b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["manifest"],{"0955":function(t,e,c){},"16ee":function(t,e,c){"use strict";c.r(e),c("ac1f"),c("841c");var a=c("7a23"),n={class:"section-body"},s=Object(a.j)("div",{class:"card",style:{padding:"15px 22px"}},[Object(a.j)("h2",{class:"section-title",style:{margin:"0px"}},"订单查询")],-1),o={class:"row"},l={class:"col"},i={class:"card"},r=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"输入手机号或邮箱")],-1),d={class:"card-body"},j={class:"row"},b={class:"col-sm-10"},u={class:"card-footer text-center",style:{"margin-top":"-22px"}},O={key:0},f={class:"col"},p={class:"card"},h={class:"card-header"},m=Object(a.j)("h4",null,"订单详情",-1),v={class:"card-header-action"},g=Object(a.i)("导出卡密"),k=Object(a.j)("i",{class:"fas fa-chevron-right"},null,-1),w={class:"card-body"},y={class:"form-group block mb-0"},_={class:"row"},x={class:"col-6"},C={class:"col-6"},M=Object(a.j)("p",{"mt-0":""},"卡密信息:",-1);c("4d63"),c("25f0");var L=c("5530"),F=c("f96b"),V=c("6c42"),H={setup:function(){var t=Object(V.b)(),e=Object(a.z)(""),c=Object(a.y)({orderlist:[]});return Object(L.a)(Object(L.a)({email:e,search:function(){null!=e.value&&""!=e.value?new RegExp("(^[\\w.\\-]+@(?:[a-z0-9]+(?:-[a-z0-9]+)*\\.)+[a-z]{2,3}$)|(^1[3|4|5|8]\\d{9}$)").test(e.value)?F.a.getOrder({contact:e.value}).then((function(e){e.length<1?t.warning("订单不存在或已过期"):c.orderlist=e})).catch((function(){t.error("您操作太频繁了,待会再来尝试")})):t.error("请输入正确的邮箱或手机号!"):t.info("请输入下单时的邮箱或手机号")}},Object(a.H)(c)),{},{txt:function(t){var e=document.createElement("a");e.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),e.setAttribute("download","卡密"),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}})},render:function(t,e,c,L,F,V){var H=Object(a.C)("v-html");return Object(a.u)(),Object(a.f)("div",n,[s,Object(a.j)("div",o,[Object(a.j)("div",l,[Object(a.j)("div",i,[r,Object(a.j)("div",d,[Object(a.j)("div",j,[Object(a.j)("div",b,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[1]||(e[1]=function(t){return L.email=t}),id:"inputEmail1",placeholder:"demo@gmail.com"},null,512),[[a.M,L.email]])])])]),Object(a.j)("div",u,[Object(a.j)("button",{type:"submit",class:"btn btn-primary",onClick:e[2]||(e[2]=function(){return L.search.apply(L,arguments)})},"查询")])])])]),t.orderlist.length>0?(Object(a.u)(),Object(a.f)("div",O,[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.orderlist,(function(t){return Object(a.u)(),Object(a.f)("div",{class:"row",key:t.id},[Object(a.j)("div",f,[Object(a.j)("div",p,[Object(a.j)("div",h,[m,Object(a.j)("div",v,[Object(a.j)("a",{onClick:function(e){return L.txt(t.card)},class:"btn btn-success"},[g,k],8,["onClick"])])]),Object(a.j)("div",w,[Object(a.j)("h6",null,"订单号:"+Object(a.F)(t.serial_id),1),Object(a.j)("div",y,[Object(a.j)("div",_,[Object(a.j)("p",x,"交易时间:"+Object(a.F)(t.updatetime),1),Object(a.j)("p",C,"联系方式:"+Object(a.F)(t.contact),1)])]),M,Object(a.j)(H,null,{default:Object(a.P)((function(){return[Object(a.i)(Object(a.F)(t.card),1)]})),_:2},1024)])])])])})),128))])):Object(a.g)("",!0)])}};e.default=H},"21fa":function(t,e,c){t.exports=c.p+"static/img/stisla-fill.3084ac12.svg"},"225a":function(t,e,c){"use strict";c.r(e),c("b0c0");var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"商品分类")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 商品分类最终可在访客首页显示 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"商品分类"),Object(a.j)("div",{class:"card-header-action"},[Object(a.j)("a",{class:"btn btn-danger","data-toggle":"modal","data-target":"#add"},[Object(a.i)("新增 "),Object(a.j)("i",{class:"fas fa-chevron-right"})])])],-1),b={class:"card-body p-0"},u={class:"table-responsive table-invoice"},O={class:"table table-striped"},f=Object(a.j)("tr",null,[Object(a.j)("th",null,"ID"),Object(a.j)("th",null,"名称"),Object(a.j)("th",null,"描述"),Object(a.j)("th",null,"排序"),Object(a.j)("th",null,"操作")],-1),p={class:"font-weight-600"},h={class:"font-weight-600"},m={class:"font-weight-600"},v=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])],-1),g=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:"#fc544b",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M16 24L32 24",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),k={class:"modal fade",id:"add",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"add","aria-hidden":"true"},w={class:"modal-dialog",role:"document"},y={class:"modal-content"},_=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"新增分类"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),x={class:"modal-body"},C={class:"form-group"},M=Object(a.j)("label",null,"分类名称",-1),L=Object(a.j)("label",null,[Object(a.i)("分类描述 "),Object(a.j)("code",null,"【一句话描述或备注】")],-1),F=Object(a.j)("label",null,[Object(a.i)("分类排序 "),Object(a.j)("code",null,"【用于商品分类展示排序,取值1~1000】")],-1),V={class:"modal-footer"},H=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1),z={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},U={class:"modal-dialog",role:"document"},B={class:"modal-content"},Q=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"编辑分类"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),Z={class:"modal-body"},S={class:"form-group"},A=Object(a.j)("label",null,"分类名称",-1),P=Object(a.j)("label",null,[Object(a.i)("分类描述 "),Object(a.j)("code",null,"【一句话描述或备注】")],-1),E=Object(a.j)("label",null,[Object(a.i)("分类排序 "),Object(a.j)("code",null,"【用于商品分类展示排序,取值1~1000】")],-1),I={class:"modal-footer"},D=c("5530"),T=c("f96b"),R=c("6c42"),J={setup:function(){var t=Object(a.y)({cags:[],edit_cag:{},edit_cag_new:{},cag_id:null,add_cag:{name:"",info:"",sort:100}}),e=Object(R.b)(),c=function(){T.a.getCag().then((function(e){t.cags=e}))};return Object(a.s)((function(){c()})),Object(D.a)(Object(D.a)({},Object(a.H)(t)),{},{del:function(a){t.cag_id=t.cags[a].id,T.a.postCag({id:t.cag_id,methord:"delete"}).then((function(){e.success("删除成功"),c(),t.cag_id=null})).catch((function(){e.warning("删除失败")}))},edit:function(e){t.edit_cag=t.cags[e]},add:function(a){T.a.postCag({name:a.name,info:a.info,sort:a.sort,methord:"add"}).then((function(){e.success("新增分类成功"),c(),t.add_cag={name:"",info:"",sort:100}})).catch((function(t){e.error("请检查是否重复分类"+t)}))},edit_save:function(){t.edit_cag.methord="update",T.a.postCag(t.edit_cag).then((function(){e.success("修改成功")})).catch((function(){e.error("啊呀呀,出错了!"),c()}))},get_data:c})},render:function(t,e,c,D,T,R){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("table",O,[Object(a.j)("tbody",null,[f,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.cags,(function(t,e){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,Object(a.F)(t.id),1),Object(a.j)("td",p,Object(a.F)(t.name),1),Object(a.j)("td",h,Object(a.F)(t.info),1),Object(a.j)("td",m,Object(a.F)(t.sort),1),Object(a.j)("td",null,[Object(a.j)("a",{onClick:function(t){return D.edit(e)},class:"btn btn-primary btn-action mr-1","data-toggle":"modal",title:"","data-original-title":"Edit","data-target":"#edit"},[v],8,["onClick"]),Object(a.j)("a",{onClick:function(t){return D.del(e)},class:"btn btn-danger btn-action "},[g],8,["onClick"])])])})),128))])])])])])])])]),Object(a.j)("div",k,[Object(a.j)("div",w,[Object(a.j)("div",y,[_,Object(a.j)("div",x,[Object(a.j)("div",C,[M,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.add_cag.name=e})},null,512),[[a.M,t.add_cag.name]]),L,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.add_cag.info=e})},null,512),[[a.M,t.add_cag.info]]),F,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.add_cag.sort=e}),placeholder:t.add_cag.sort},null,8,["placeholder"]),[[a.M,t.add_cag.sort]])])]),Object(a.j)("div",V,[H,Object(a.j)("button",{onClick:e[4]||(e[4]=function(e){return D.add(t.add_cag)}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])]),Object(a.j)("div",z,[Object(a.j)("div",U,[Object(a.j)("div",B,[Q,Object(a.j)("div",Z,[Object(a.j)("div",S,[A,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[5]||(e[5]=function(e){return t.edit_cag.name=e})},null,512),[[a.M,t.edit_cag.name]]),P,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[6]||(e[6]=function(e){return t.edit_cag.info=e})},null,512),[[a.M,t.edit_cag.info]]),E,Object(a.Q)(Object(a.j)("input",{type:"number",class:"form-control form-control-sm","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.edit_cag.sort=e})},null,512),[[a.M,t.edit_cag.sort]])])]),Object(a.j)("div",I,[Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal",onClick:e[8]||(e[8]=function(t){return D.get_data()})},"Close"),Object(a.j)("button",{type:"button",class:"btn btn-primary","data-dismiss":"modal",onClick:e[9]||(e[9]=function(t){return D.edit_save()})},"Save changes")])])])])])}};e.default=J},"22b6":function(t,e,c){"use strict";c.r(e),c("b0c0");var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"支付设置")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 正确配置相关参数,然后即可启用。 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"支付接口设置"),Object(a.j)("div",{class:"card-header-action"},[Object(a.j)("a",{class:"btn btn-success","data-toggle":"modal","data-target":"#add"},[Object(a.i)("新增卡密 "),Object(a.j)("i",{class:"fas fa-chevron-right"})])])],-1),b={class:"card-body p-0"},u={class:"table-responsive table-invoice"},O={class:"table table-striped"},f=Object(a.j)("tr",null,[Object(a.j)("th",null,"ID"),Object(a.j)("th",null,"名称"),Object(a.j)("th",null,"状态"),Object(a.j)("th",null,"操作")],-1),p={href:"#"},h={class:"font-weight-600"},m=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])],-1),v={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},g={class:"modal-dialog",role:"document"},k={class:"modal-content"},w={class:"modal-header"},y={class:"modal-title",id:"exampleModalLabel"},_=Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")],-1),x={class:"modal-body"},C={class:"form-group"},M={class:"form-group"},L=Object(a.j)("label",null,"支付渠道: ",-1),F={class:"form-group"},V=Object(a.i)("是否启用:: "),H=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),z={class:"modal-footer"},U=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1),B=c("5530"),Q=c("f96b"),Z=c("6c42"),S={setup:function(){var t=Object(a.y)({pays:[],edit_pay:{},pay_id:null,add_pay:{name:"",info:"",sort:100}}),e=Object(Z.b)(),c=function(){Q.a.getPay().then((function(e){t.pays=e}))};return Object(a.s)((function(){c()})),Object(B.a)(Object(B.a)({},Object(a.H)(t)),{},{del:function(a){t.pay_id=t.pays[a].id,Q.a.postCag({id:t.pay_id,methord:"delete"}).then((function(){e.success("删除成功"),c(),t.pay_id=null})).catch((function(){e.warning("删除失败")}))},edit:function(e){Q.a.getPayDetail({id:t.pays[e].id}).then((function(e){t.edit_pay=e}))},add:function(a){Q.a.postCag({name:a.name,info:a.info,sort:a.sort,methord:"add"}).then((function(){e.success("新增分类成功"),c(),t.add_cag={name:"",info:"",sort:100}})).catch((function(t){e.error("请检查是否重复分类"+t)}))},edit_save:function(){Q.a.postPay({data:t.edit_pay}).then((function(){e.success("修改成功"),c()})).catch((function(){e.error("啊呀呀,出错了!")}))},get_data:c})},render:function(t,e,c,B,Q,Z){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("table",O,[Object(a.j)("tbody",null,[f,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.pays,(function(t,e){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,[Object(a.j)("a",p,Object(a.F)(t.id),1)]),Object(a.j)("td",h,Object(a.F)(t.name),1),Object(a.j)("td",null,[Object(a.j)("div",{class:["badge",t.isactive?"badge-success":"badge-secondary"]},Object(a.F)(t.isactive?"已开启":"已关闭"),3)]),Object(a.j)("td",null,[Object(a.j)("a",{onClick:function(t){return B.edit(e)},class:"btn btn-primary btn-action mr-1","data-toggle":"modal",title:"","data-original-title":"Edit","data-target":"#edit"},[m],8,["onClick"])])])})),128))])])])])])])])]),Object(a.j)("div",v,[Object(a.j)("div",g,[Object(a.j)("div",k,[Object(a.j)("div",w,[Object(a.j)("h5",y,Object(a.F)(t.edit_pay.name)+"编辑",1),_]),Object(a.j)("div",x,[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.edit_pay.config,(function(e,c){return Object(a.u)(),Object(a.f)("div",{key:e.id},[Object(a.j)("div",C,[Object(a.j)("label",null,Object(a.F)(c)+": ",1),Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":function(e){return t.edit_pay.config[c]=e}},null,8,["onUpdate:modelValue"]),[[a.M,t.edit_pay.config[c]]])])])})),128)),Object(a.j)("div",M,[L,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.edit_pay.icon=e})},null,512),[[a.M,t.edit_pay.icon]])]),Object(a.j)("div",F,[Object(a.j)("label",null,[V,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.edit_pay.isactive=e}),value:t.edit_pay.isactive},null,8,["value"]),[[a.J,t.edit_pay.isactive]]),H])])]),Object(a.j)("div",z,[U,Object(a.j)("button",{onClick:e[3]||(e[3]=function(t){return B.edit_save()}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])])])}};e.default=S},"242c":function(t,e,c){},"2c4e":function(t,e,c){},3965:function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"Summernote编辑器")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 编辑完文章后,请复制文章代码到商品详情页面里,然后保存即可。 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j={class:"card-header"},b=Object(a.j)("h4",null,"富文本编辑器",-1),u={class:"card-header-action"},O=Object(a.i)("复制文章代码 "),f=Object(a.j)("i",{class:"fas fa-chevron-right"},null,-1),p={class:"card-body"};c("c4df"),c("b178");var h=c("6c42"),m=c("6c02"),v=c("1157"),g=c.n(v),k=Object(a.k)({name:"Edit",setup:function(){var t=Object(h.b)(),e=Object(m.c)();Object(a.s)((function(){g()("#summernote").summernote({dialogsInBody:!0,minHeight:300,lang:"zh-CN"}),c()}));var c=function(){console.log(e);var t=e.currentRoute.value.params.content;console.log(t),g()(".summernote").summernote("code",t)};return{getContent:function(){var e=g()(".summernote").summernote("code"),c=document.createElement("input");c.value=e,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c),t.success("代码已复制")},setContent:c}}});k.render=function(t,e,c,h,m,v){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[Object(a.j)("div",j,[b,Object(a.j)("div",u,[Object(a.j)("a",{onClick:e[1]||(e[1]=function(){return t.getContent.apply(t,arguments)}),class:"btn btn-success"},[O,f])])]),Object(a.j)("div",p,[Object(a.Q)(Object(a.j)("textarea",{type:"text",id:"summernote",class:"summernote","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.words=e})},null,512),[[a.M,t.words]])])])])])])])},e.default=k},"3bc9":function(t,e,c){"use strict";c.r(e),c("b0c0");var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"商品列表")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 状态代表是否上架. ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"商品列表"),Object(a.j)("div",{class:"card-header-action"},[Object(a.j)("a",{class:"btn btn-danger","data-toggle":"modal","data-target":"#add"},[Object(a.i)("新增 "),Object(a.j)("i",{class:"fas fa-chevron-right"})])])],-1),b={class:"card-body p-0"},u={class:"table-responsive table-invoice"},O={class:"table table-striped"},f=Object(a.j)("tr",null,[Object(a.j)("th",null,"ID"),Object(a.j)("th",null,"名称"),Object(a.j)("th",null,"分类"),Object(a.j)("th",null,"价格"),Object(a.j)("th",null,"发货模式"),Object(a.j)("th",null,"库存"),Object(a.j)("th",null,"状态"),Object(a.j)("th",null,"操作")],-1),p={class:"font-weight-600"},h={class:"font-weight-600"},m={class:"font-weight-600"},v=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])],-1),g=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:"#fc544b",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M16 24L32 24",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),k={class:"modal fade",id:"add",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"add","aria-hidden":"true"},w={class:"modal-dialog",role:"document"},y={class:"modal-content"},_=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"新增商品"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),x={class:"modal-body"},C={class:"form-group"},M=Object(a.j)("label",null,[Object(a.i)("选择分类"),Object(a.j)("code",null,"【如果没有分类,请先去创建商品分类】")],-1),L=Object(a.j)("label",null,"商品名称 ",-1),F=Object(a.j)("label",null,[Object(a.i)("商品信息 "),Object(a.j)("code",null,"【一句话描述或备注】")],-1),V=Object(a.j)("label",null,[Object(a.i)("图片上传 "),Object(a.j)("code",null,"【用于商品分类展示排序,取值1~1000】")],-1),H=Object(a.j)("label",null,[Object(a.i)("商品排序 "),Object(a.j)("code",null,"【用于商品展示先后排序,取值1~1000】")],-1),z=Object(a.j)("label",null,[Object(a.i)("详细介绍 "),Object(a.j)("code")],-1),U=Object(a.j)("label",null,[Object(a.i)("价格 "),Object(a.j)("code")],-1),B=Object(a.j)("label",null,[Object(a.i)("批发价格 "),Object(a.j)("code",null,"格式参考[数量区间#价格]:两层9#9.9,8.8三层9,100#9.9,8.8,7.7四层9,100,500#9.9,8.8,7.7,6.6")],-1),Q=Object(a.j)("label",null,[Object(a.i)("标签设置 "),Object(a.j)("code")],-1),Z={class:"custom-switch mt-2"},S=Object(a.i)("发货模式【开启==》自动发货;关闭==》手动发货】 : "),A=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),P={class:"custom-switch mt-2"},E=Object(a.i)("是否上架 : "),I=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),D={class:"modal-footer"},T=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1),R={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},J={class:"modal-dialog",role:"document"},N={class:"modal-content"},Y=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"编辑商品"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),$={class:"modal-body"},q={class:"form-group"},X=Object(a.j)("label",null,"商品名称 ",-1),K=Object(a.j)("label",null,[Object(a.i)("商品信息 "),Object(a.j)("code",null,"【一句话描述或备注】")],-1),G=Object(a.j)("label",null,"选择分类",-1),W=Object(a.j)("label",null,[Object(a.i)("商品展示图 "),Object(a.j)("code",null,"【推荐PNG格式300*300px】")],-1),tt=Object(a.j)("label",null,[Object(a.i)("商品排序 "),Object(a.j)("code",null,"【用于商品展示先后排序,取值1~1000】")],-1),et=Object(a.i)("详细介绍 "),ct=Object(a.i)("完整编辑"),at=Object(a.j)("label",null,[Object(a.i)("价格"),Object(a.j)("code",null,"(当设置批发价后此处失效)")],-1),nt=Object(a.j)("label",null,[Object(a.i)("批发价格 "),Object(a.j)("code",null,"格式参考[数量区间#价格]:两层9#9.9,8.8三层9,100#9.9,8.8,7.7四层9,100,500#9.9,8.8,7.7,6.6")],-1),st={class:"custom-switch mt-2"},ot=Object(a.i)("发货模式 : "),lt=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),it=Object(a.i)("是否上架 : "),rt=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),dt=Object(a.j)("br",null,null,-1),jt=Object(a.j)("code",null,"批发价:空白时前端为正常价格,设置后,前端显示批发价",-1),bt={class:"modal-footer"},ut=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1);c("4160"),c("159b");var Ot=c("5530"),ft=c("f96b"),pt=c("6c42"),ht={setup:function(){var t=Object(a.y)({shops:[],edit_shop:{},shop_id:null,add_shop:{name:"",info:"",sort:100},cags:[]}),e=Object(pt.b)(),c=function(){ft.a.getShop().then((function(e){t.shops=e}))};return Object(a.s)((function(){c(),ft.a.getCag().then((function(e){e.forEach((function(e){t.cags.push(e.name)}))}))})),Object(Ot.a)(Object(Ot.a)({},Object(a.H)(t)),{},{del:function(a){t.shop_id=t.shops[a].prod_id,ft.a.postShop({id:t.shop_id,methord:"delete"}).then((function(){e.success("删除成功"),c(),t.shop_id=null})).catch((function(){e.warning("删除失败")}))},edit:function(e){t.shop_id=t.shops[e].prod_id,ft.a.getShopEdit({id:t.shop_id}).then((function(e){t.edit_shop=e}))},add:function(){t.add_shop.methord="add",ft.a.postShop(t.add_shop).then((function(){e.success("新增分类成功"),c(),t.add_shop={name:"",info:"",sort:100}})).catch((function(t){e.error("请检查是否重复分类"+t)}))},edit_save:function(){t.edit_shop.methord="update",ft.a.postShop(t.edit_shop).then((function(){e.success("修改成功"),c()})).catch((function(){e.error("啊呀呀,出错了!")}))}})},render:function(t,e,c,Ot,ft,pt){var ht=Object(a.C)("router-link");return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("table",O,[Object(a.j)("tbody",null,[f,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.shops,(function(t,e){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,Object(a.F)(t.prod_id),1),Object(a.j)("td",null,Object(a.F)(t.name),1),Object(a.j)("td",p,Object(a.F)(t.cag_name),1),Object(a.j)("td",h,Object(a.F)(t.price),1),Object(a.j)("td",null,[Object(a.j)("div",{class:["badge",t.auto?"badge-success":"badge-primary"]},Object(a.F)(1==t.auto?"自动":"手动"),3)]),Object(a.j)("td",m,Object(a.F)(t.stock),1),Object(a.j)("td",null,[Object(a.j)("div",{class:["badge",t.isactive?"badge-success":"badge-secondary"]},Object(a.F)(t.isactive?"On":"Off"),3)]),Object(a.j)("td",null,[Object(a.j)("a",{onClick:function(t){return Ot.edit(e)},class:"btn btn-primary btn-action mr-1","data-toggle":"modal",title:"","data-original-title":"Edit","data-target":"#edit"},[v],8,["onClick"]),Object(a.j)("a",{onClick:function(t){return Ot.del(e)},class:"btn btn-danger btn-action "},[g],8,["onClick"])])])})),128))])])])])])])])]),Object(a.j)("div",k,[Object(a.j)("div",w,[Object(a.j)("div",y,[_,Object(a.j)("div",x,[Object(a.j)("div",C,[M,Object(a.Q)(Object(a.j)("select",{class:"form-control","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.add_shop.cag_name=e})},[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.cags,(function(t){return Object(a.u)(),Object(a.f)("option",{key:t.id},Object(a.F)(t),1)})),128))],512),[[a.L,t.add_shop.cag_name]]),L,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.add_shop.name=e})},null,512),[[a.M,t.add_shop.name]]),F,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.add_shop.info=e})},null,512),[[a.M,t.add_shop.info]]),V,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[4]||(e[4]=function(e){return t.add_shop.img_url=e})},null,512),[[a.M,t.add_shop.img_url]]),H,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[5]||(e[5]=function(e){return t.add_shop.sort=e})},null,512),[[a.M,t.add_shop.sort]]),z,Object(a.Q)(Object(a.j)("textarea",{class:"form-control form-control-alternative",style:{height:"150px"},placeholder:"Write a large text here ...","onUpdate:modelValue":e[6]||(e[6]=function(e){return t.add_shop.discription=e})},null,512),[[a.M,t.add_shop.discription]]),U,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.add_shop.price=e})},null,512),[[a.M,t.add_shop.price]]),B,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[8]||(e[8]=function(e){return t.add_shop.price_wholesale=e})},null,512),[[a.M,t.add_shop.price_wholesale]]),Q,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[9]||(e[9]=function(e){return t.add_shop.tag=e})},null,512),[[a.M,t.add_shop.tag]]),Object(a.j)("label",Z,[S,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[10]||(e[10]=function(e){return t.add_shop.auto=e})},null,512),[[a.J,t.add_shop.auto]]),A]),Object(a.j)("label",P,[E,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[11]||(e[11]=function(e){return t.add_shop.isactive=e})},null,512),[[a.J,t.add_shop.isactive]]),I])])]),Object(a.j)("div",D,[T,Object(a.j)("button",{onClick:e[12]||(e[12]=function(t){return Ot.add()}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])]),Object(a.j)("div",R,[Object(a.j)("div",J,[Object(a.j)("div",N,[Y,Object(a.j)("div",$,[Object(a.j)("div",q,[X,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[13]||(e[13]=function(e){return t.edit_shop.name=e})},null,512),[[a.M,t.edit_shop.name]]),K,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[14]||(e[14]=function(e){return t.edit_shop.info=e})},null,512),[[a.M,t.edit_shop.info]]),G,Object(a.Q)(Object(a.j)("select",{class:"form-control","onUpdate:modelValue":e[15]||(e[15]=function(e){return t.edit_shop.cag_name=e})},[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.edit_shop.cags,(function(t){return Object(a.u)(),Object(a.f)("option",{key:t.id},Object(a.F)(t),1)})),128))],512),[[a.L,t.edit_shop.cag_name]]),W,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[16]||(e[16]=function(e){return t.edit_shop.img_url=e})},null,512),[[a.M,t.edit_shop.img_url]]),tt,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[17]||(e[17]=function(e){return t.edit_shop.sort=e})},null,512),[[a.M,t.edit_shop.sort]]),Object(a.j)("label",null,[et,Object(a.j)("code",null,[Object(a.j)(ht,{class:"badge badge-primary",to:{name:"edit",params:{content:t.edit_shop.discription}}},{default:Object(a.P)((function(){return[ct]})),_:1},8,["to"])])]),Object(a.Q)(Object(a.j)("textarea",{class:"form-control form-control-alternative",style:{height:"150px"},placeholder:"Write a large text here ...","onUpdate:modelValue":e[18]||(e[18]=function(e){return t.edit_shop.discription=e})},null,512),[[a.M,t.edit_shop.discription]]),at,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[19]||(e[19]=function(e){return t.edit_shop.price=e})},null,512),[[a.M,t.edit_shop.price]]),nt,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[20]||(e[20]=function(e){return t.edit_shop.price_wholesale=e})},null,512),[[a.M,t.edit_shop.price_wholesale]]),Object(a.j)("label",st,[ot,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[21]||(e[21]=function(e){return t.edit_shop.auto=e}),value:t.edit_shop.auto},null,8,["value"]),[[a.J,t.edit_shop.auto]]),lt]),Object(a.j)("label",null,[it,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[22]||(e[22]=function(e){return t.edit_shop.isactive=e}),value:t.edit_shop.isactive},null,8,["value"]),[[a.J,t.edit_shop.isactive]]),rt]),dt,jt])]),Object(a.j)("div",bt,[ut,Object(a.j)("button",{onClick:e[23]||(e[23]=function(e){return Ot.edit_save(t.edit_shop.id)}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])])])}};e.default=ht},4386:function(t,e,c){},4678:function(t,e,c){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df48","./fa.js":"8df48","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b46","./gd.js":"f6b46","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function n(t){var e=s(t);return c(e)}function s(t){if(!c.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=s,t.exports=n,n.id="4678"},"487d":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.j)("div",{class:"card",style:{padding:"15px 22px"}},[Object(a.j)("h2",{class:"section-title",style:{margin:"0px"}},"联系我们")],-1),s={class:"row"},o={class:"col"},l={class:"card"},i={class:"card-body"},r={setup:function(){return{contact_us:Object(a.n)("configs").contact_us}},render:function(t,e,c,r,d,j){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[Object(a.j)("div",o,[Object(a.j)("div",l,[Object(a.j)("div",i,[Object(a.j)("div",{innerHTML:r.contact_us},null,8,["innerHTML"])])])])])])}};e.default=r},"4b5d":function(t,e,c){"use strict";c.r(e),c("b0c0");var a=c("7a23"),n=Object(a.j)("div",{class:"card",style:{padding:"15px 22px"}},[Object(a.j)("h2",{class:"section-title",style:{margin:"0px"}},"支付")],-1),s={class:"row"},o={class:"col-12"},l={class:"card"},i=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"购物信息")],-1),r={class:"card-body"},d={class:"row mt-4"},j={class:"col"},b={class:"wizard-steps"},u={class:"wizard-step-icon"},O={class:"wizard-step-label"},f={key:0,class:"wizard-content mt-2"},p={class:"wizard-pane"},h={class:"form-group row align-items-center"},m=Object(a.j)("label",{class:"col-md-4 text-md-right text-left"},"邮箱或手机号:",-1),v={class:"col-lg-4 col-md-6"},g={class:"form-group row"},k=Object(a.j)("label",{class:"col-md-4 text-md-right text-left mt-2"},"备注信息:",-1),w={class:"col-lg-4 col-md-6"},y={class:"form-group row"},_=Object(a.j)("label",{class:"col-md-4 text-md-right text-left mt-2"},"支付方式:",-1),x={class:"col-lg-4 col-md-6"},C={class:"selectgroup w-100"},M={class:"selectgroup-button"},L={class:"form-group row"},F=Object(a.j)("div",{class:"col-md-4"},null,-1),V={class:"col-lg-4 col-md-6 text-right"},H=Object(a.i)("下一步"),z=Object(a.j)("i",{class:"fas fa-arrow-right"},null,-1),U={key:1,class:"wizard-content "},B={class:"wizard-pane"},Q={class:"invoice pt-0"},Z={class:"invoice-print"},S={class:"row"},A={class:"col-lg-12"},P=Object(a.j)("hr",null,null,-1),E={class:"row"},I={class:"col-md-6"},D=Object(a.j)("strong",null,"收货信息:",-1),T=Object(a.j)("br",null,null,-1),R=Object(a.j)("br",null,null,-1),J={class:"col-md-6 text-md-right"},N=Object(a.j)("strong",null,"订单日期:",-1),Y=Object(a.j)("br",null,null,-1),$=Object(a.j)("br",null,null,-1),q=Object(a.j)("br",null,null,-1),X={class:"row"},K={class:"col-md-12"},G=Object(a.j)("div",{class:"section-title text-uppercase"},"订单信息",-1),W={class:"table-responsive"},tt={class:"table table-striped table-hover table-md"},et=Object(a.j)("tr",null,[Object(a.j)("th",{class:"d-none d-sm-table-cell"},"#"),Object(a.j)("th",null,"名称"),Object(a.j)("th",{class:"text-center d-none d-sm-table-cell"},"单价"),Object(a.j)("th",{class:"text-center"},"数量"),Object(a.j)("th",{class:"text-right"},"总价")],-1),ct=Object(a.j)("td",{class:"d-none d-sm-table-cell"},"1",-1),at={class:"text-center d-none d-sm-table-cell"},nt={class:"text-center"},st={class:"text-right"},ot={class:"row"},lt={class:"col-lg-8"},it=Object(a.j)("div",{class:"section-title"},"扫码支付",-1),rt={class:"d-flex"},dt={class:"col-lg-4 text-right"},jt=Object(a.j)("hr",{class:"mt-2 mb-2"},null,-1),bt={class:"invoice-detail-item"},ut=Object(a.j)("div",{class:"invoice-detail-name"},"总计",-1),Ot={class:"invoice-detail-value invoice-detail-value-lg"},ft=Object(a.j)("hr",null,null,-1),pt={class:"text-md-right"},ht={class:"float-lg-left mb-lg-0 mb-3"},mt=Object(a.j)("i",{class:"fas fa-times"},null,-1),vt=Object(a.i)(" 取消订单"),gt={key:2,class:"wizard-content"},kt={class:"wizard-pane"},wt={class:"row"},yt={class:"col"},_t={class:"card"},xt={class:"card-header"},Ct=Object(a.j)("h4",null,"订单详情",-1),Mt={class:"card-header-action"},Lt=Object(a.i)("导出卡密"),Ft=Object(a.j)("i",{class:"fas fa-chevron-right"},null,-1),Vt={class:"card-body"},Ht={class:"form-group block mb-0"},zt={class:"row"},Ut={class:"col-6"},Bt={class:"col-6"},Qt=Object(a.j)("p",{"mt-0":""},"卡密信息:",-1);c("fb6a"),c("b680"),c("d3b7"),c("4d63"),c("ac1f"),c("25f0"),c("5319");var Zt=c("5530"),St=c("6c42"),At=c("d055"),Pt=c.n(At),Et=c("f96b"),It=c("6c02"),Dt={setup:function(){var t=Object(St.b)(),e=Object(a.y)({wizard_step:[{title:"创建订单",icon:"icon iconfont icon-tubiao_xiadan",isactive:!0},{title:"支付订单",icon:"icon iconfont icon-fangxinjiaoyi",isactive:!1},{title:"卡密查看",icon:"icon iconfont icon-qiapianshuliang",isactive:!1}],payment:{},order:{date:"",num:"",price:"",pay_url:"",card:"",pay_qrcode:""},shop:{}}),c=Object(It.c)(),n=c.currentRoute.value.params.id,s=c.currentRoute.value.params.nums,o=c.currentRoute.value.params.price;Object(a.s)((function(){Et.a.getDetail({prod_id:n}).then((function(t){e.order=t,e.order.num=s,e.order.price=o})),Et.a.getPayList().then((function(t){e.payment=t})).catch((function(){t.info("暂未发现支付接口,请联系网站管理员设置支付接口")}))})),Date.prototype.Format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var c in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+c+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[c]:("00"+e[c]).substr((""+e[c]).length)));return t};var l=function(){Et.a.postCheckPay({out_order_id:e.order.out_order_id,methord:"cancel"}).then((function(){t.info("您已取消当前订单"),history.back(),history.back(),location.reload()}))},i=function(){t.success("订单支付成功666"),Et.a.getCardByid({out_order_id:e.order.out_order_id}).then((function(c){e.order.card=c.card,t.success("卡密查询成功")})).catch((function(){t.warning("卡密信息获取失败")})),e.wizard_step[1].isactive=!1,e.wizard_step[2].isactive=!0};return Object(Zt.a)(Object(Zt.a)({},Object(a.H)(e)),{},{second:function(){if(""!=e.order.contact&&null!=e.order.contact)if(new RegExp("(^[\\w.\\-]+@(?:[a-z0-9]+(?:-[a-z0-9]+)*\\.)+[a-z]{2,3}$)|(^1[3|4|5|8]\\d{9}$)").test(e.order.contact))if(""!=e.order.payment&&null!=e.order.payment){if(e.wizard_step[0].isactive=!1,e.wizard_step[1].isactive=!0,e.order.date=(new Date).Format("yyyy-MM-dd"),e.order.out_order_id="Order_"+(new Date).getTime()+Math.random().toString(36).slice(-8),e.order.total_price=(e.order.price*e.order.num).toFixed(2),"NaN"==e.order.total_price)return t.error("订单已过期,请重新下单"),void history.back();switch(Et.a.postPayUrl(e.order).then((function(c){e.order.pay_url=c.qr_code,"PAYJS支付宝"!=e.order.payment&&"PAYJS微信"!=e.order.payment||(e.order.payjs_order_id=c.payjs_order_id),Pt.a.toDataURL(c.qr_code).then((function(c){e.order.pay_qrcode=c;var a=0,n=setInterval((function(){a+=4,"PAYJS支付宝"!=e.order.payment&&"PAYJS微信"!=e.order.payment?Et.a.postCheckPay({out_order_id:e.order.out_order_id,methord:"check",payment:e.order.payment,name:e.order.name,contact:e.order.contact,contact_txt:e.order.contact_txt,price:e.order.price,num:e.order.num,total_price:e.order.total_price}).then((function(e){"success"==e.msg&&(clearInterval(n),t.success("^_^订单支付成功!"),i())})):(console.log("payjs支付"),Et.a.postCheckPay({payjs_order_id:e.order.payjs_order_id,out_order_id:e.order.out_order_id,methord:"check",payment:e.order.payment,name:e.order.name,contact:e.order.contact,contact_txt:e.order.contact_txt,price:e.order.price,num:e.order.num,total_price:e.order.total_price}).then((function(e){"success"==e.msg&&(clearInterval(n),t.success("^_^订单支付成功!"),i())}))),console.log("支付等待"+a+"s"),16==a&&t.info("请尽快支付,否则订单超时会自动取消"),a>90&&(clearInterval(n),t.info("订单已超时,如已支付,请联系客服"),l())}),4e3)}))})).catch((function(){t.warning("二维码调用失败,请网站管理设置正确的支付接口")})),e.order.payment){case"支付宝当面付":case"虎皮椒支付宝":t.success("请使用手机支付宝扫码支付");break;case"虎皮椒微信":t.success("请使用手机微信扫码支付");break;case"PAYJS支付宝":t.success("请使用手机支付宝扫码支付");break;case"PAYJS微信":t.success("请使用手机微信扫码支付");break;case"码支付支付宝":t.success("请使用手机支付宝扫码支付");break;case"码支付微信":t.success("请使用手机微信扫码支付");break;case"码支付QQ":t.success("请使用手机QQ扫码支付");break;default:t.error("未知付款渠道")}}else t.info("请选择一种支付方式");else t.error("请输入正确的邮箱或手机号!");else t.info("请输入有效的手机号或邮箱")},back_first:function(){e.wizard_step[0].isactive=!0,e.wizard_step[1].isactive=!1,c.push({name:"detail"})},third:i,cancel_order:l,print:function(){window.print()},txt:function(t){var e=document.createElement("a");e.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),e.setAttribute("download","卡密"),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}})}};c("6f5d"),Dt.render=function(t,e,c,Zt,St,At){var Pt=Object(a.C)("router-link");return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[Object(a.j)("div",o,[Object(a.j)("div",l,[i,Object(a.j)("div",r,[Object(a.j)("div",d,[Object(a.j)("div",j,[Object(a.j)("div",b,[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.wizard_step,(function(t){return Object(a.u)(),Object(a.f)("div",{class:["wizard-step ",t.isactive?"wizard-step-active":""],key:t.id},[Object(a.j)("div",u,[Object(a.j)("i",{class:t.icon},null,2)]),Object(a.j)("div",O,Object(a.F)(t.title),1)],2)})),128))])])]),t.wizard_step[0].isactive?(Object(a.u)(),Object(a.f)("form",f,[Object(a.j)("div",p,[Object(a.j)("div",h,[m,Object(a.j)("div",v,[Object(a.Q)(Object(a.j)("input",{type:"email",name:"email",class:"form-control",placeholder:"(用于接收卡密信息)","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.order.contact=e})},null,512),[[a.M,t.order.contact]])])]),Object(a.j)("div",g,[k,Object(a.j)("div",w,[Object(a.Q)(Object(a.j)("textarea",{class:"form-control",name:"address",placeholder:"(此处可留空)","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.order.contact_txt=e})},null,512),[[a.M,t.order.contact_txt]])])]),Object(a.j)("div",y,[_,Object(a.j)("div",x,[Object(a.j)("div",C,[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.payment,(function(c){return Object(a.u)(),Object(a.f)("label",{class:"selectgroup-item",key:c.id},[Object(a.Q)(Object(a.j)("input",{type:"radio",name:"value",value:c.name,class:"selectgroup-input","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.order.payment=e})},null,8,["value"]),[[a.K,t.order.payment]]),Object(a.j)("span",M,Object(a.F)(c.icon),1)])})),128))])])]),Object(a.j)("div",L,[F,Object(a.j)("div",V,[Object(a.j)("a",{onClick:e[4]||(e[4]=function(t){return Zt.second()}),class:"btn btn-icon icon-right btn-primary"},[H,z])])])])])):Object(a.g)("",!0),t.wizard_step[1].isactive?(Object(a.u)(),Object(a.f)("form",U,[Object(a.j)("div",B,[Object(a.j)("div",Q,[Object(a.j)("div",Z,[Object(a.j)("div",S,[Object(a.j)("div",A,[P,Object(a.j)("div",E,[Object(a.j)("div",I,[Object(a.j)("address",null,[D,T,Object(a.i)(" 联系方式:"+Object(a.F)(t.order.contact),1),R,Object(a.i)(" "+Object(a.F)(t.order.contact_txt?"备注:"+t.order.contact_txt:""),1)])]),Object(a.j)("div",J,[Object(a.j)("address",null,[N,Y,Object(a.i)(" "+Object(a.F)(t.order.date),1),$,q])])])])]),Object(a.j)("div",X,[Object(a.j)("div",K,[G,Object(a.j)("div",W,[Object(a.j)("table",tt,[et,Object(a.j)("tr",null,[ct,Object(a.j)("td",null,Object(a.F)(t.order.name),1),Object(a.j)("td",at,"¥"+Object(a.F)(t.order.price),1),Object(a.j)("td",nt,Object(a.F)(t.order.num),1),Object(a.j)("td",st,Object(a.F)(t.order.total_price),1)])])]),Object(a.j)("div",ot,[Object(a.j)("div",lt,[it,Object(a.j)("div",rt,[Object(a.j)("a",{href:t.order.pay_url},[Object(a.j)("img",{src:t.order.pay_qrcode},null,8,["src"])],8,["href"])])]),Object(a.j)("div",dt,[jt,Object(a.j)("div",bt,[ut,Object(a.j)("div",Ot,"¥"+Object(a.F)(t.order.total_price),1)])])])])])]),ft,Object(a.j)("div",pt,[Object(a.j)("div",ht,[Object(a.j)(Pt,{to:{name:"detail"},onClick:e[5]||(e[5]=function(t){return Zt.cancel_order()}),class:"btn btn-danger btn-icon icon-left"},{default:Object(a.P)((function(){return[mt,vt]})),_:1})])])])])])):Object(a.g)("",!0),t.wizard_step[2].isactive?(Object(a.u)(),Object(a.f)("form",gt,[Object(a.j)("div",kt,[Object(a.j)("div",wt,[Object(a.j)("div",yt,[Object(a.j)("div",_t,[Object(a.j)("div",xt,[Ct,Object(a.j)("div",Mt,[Object(a.j)("a",{onClick:e[6]||(e[6]=function(e){return Zt.txt(t.order.card)}),class:"btn btn-success"},[Lt,Ft])])]),Object(a.j)("div",Vt,[Object(a.j)("h6",null,"订单号:"+Object(a.F)(t.order.out_order_id),1),Object(a.j)("div",Ht,[Object(a.j)("div",zt,[Object(a.j)("p",Ut,"交易时间:"+Object(a.F)(t.order.date),1),Object(a.j)("p",Bt,"联系方式:"+Object(a.F)(t.order.contact),1)])]),Qt,Object(a.j)("p",null,Object(a.F)(t.order.card),1)])])])])])])):Object(a.g)("",!0)])])])])])},e.default=Dt},"4d95":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"图片管理")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 简易图床,如果能用CDN外链图床,请尽量外链。 ",-1),i={class:"row"},r={class:"col-6"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"图片上传")],-1),b={class:"card-body"},u={class:"form-group"},O={key:0},f=Object(a.j)("p",{class:"badge badge-success"},"上传成功 -- 点击可复制url地址",-1),p=Object(a.j)("br",null,null,-1),h=Object(a.j)("br",null,null,-1),m={class:"card-footer"},v=Object(a.h)('

使用须知

支持格式png、jpg\\jpeg、gif

支付Logo规则:png格式,XX大小

商品主图:推荐300X300px

内链地址:网站设置后台,图片栏可填写该参数

外链地址:公网访问地址

',1),g=c("5530"),k=c("6c42"),w=c("bc3a"),y=c.n(w),_={setup:function(){var t=Object(a.y)({file:null,url:"",o_url:""}),e=Object(k.b)();return Object(g.a)(Object(g.a)({},Object(a.H)(t)),{},{save:function(){if(null!=t.file){e.info("开始上传图片");var c=new FormData;c.append("file",t.file);var a={headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer "+window.localStorage.getItem("access_token")}};y.a.post("api/v4/upload",c,a).then((function(c){console.log(c.data),e.success("图片上传成功!"),t.url="images/"+c.data.info,t.o_url=window.location.origin+"/"+t.url,t.file=null})).catch((function(t){console.log(t)}))}else e.error("请先选择上传文件")},handleFileUpload:function(e){t.file=e.target.files[0]},copy:function(t){var c=document.createElement("input");c.value=t,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c),e.success("图片地址已复制")}})},render:function(t,e,c,g,k,w){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("input",{onChange:e[1]||(e[1]=function(){return g.handleFileUpload.apply(g,arguments)}),type:"file",accept:".png,.jpg,.jpeg,.gif",class:"form-control"},null,32)]),t.url?(Object(a.u)(),Object(a.f)("div",O,[f,p,Object(a.j)("p",{onClick:e[2]||(e[2]=function(e){return g.copy(t.url)}),class:"badge badge-primary"},"内链地址:"+Object(a.F)(t.url),1),h,Object(a.j)("p",{onClick:e[3]||(e[3]=function(e){return g.copy(t.o_url)}),class:"badge badge-info"},"外链地址:"+Object(a.F)(t.o_url),1)])):Object(a.g)("",!0)]),Object(a.j)("div",m,[Object(a.j)("button",{onClick:e[4]||(e[4]=function(){return g.save.apply(g,arguments)}),type:"submit",class:"btn btn-primary"},"上传图片")])])]),v])])])}};e.default=_},"51c5":function(t,e,c){"use strict";c("f38b")},"524b":function(t,e,c){"use strict";c("edaf")},"5ace":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n={class:"row"},s={class:"col-lg-4 col-md-4 col-sm-12"},o={class:"card card-statistic-2"},l={class:"card-stats"},i=Object(a.j)("div",{class:"card-stats-title"},[Object(a.i)("Order Statistics - "),Object(a.j)("div",{class:"dropdown d-inline"})],-1),r={class:"card-stats-items"},d={class:"card-stats-item"},j={class:"card-stats-item-count"},b=Object(a.j)("div",{class:"card-stats-item-label"},"分类",-1),u={class:"card-stats-item"},O={class:"card-stats-item-count"},f=Object(a.j)("div",{class:"card-stats-item-label"},"商品",-1),p={class:"card-stats-item"},h={class:"card-stats-item-count"},m=Object(a.j)("div",{class:"card-stats-item-label"},"卡密",-1),v=Object(a.j)("div",{class:"card-icon shadow-primary bg-primary"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"28",height:"28",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("g",null,[Object(a.j)("g",null,[Object(a.j)("rect",{"fill-opacity":"0.01",fill:"#FFFFFF",x:"0",y:"0",width:"48",height:"48","stroke-width":"4",stroke:"none","fill-rule":"evenodd"}),Object(a.j)("rect",{stroke:"#ffffff","stroke-width":"4",fill:"#6777ef","fill-rule":"nonzero","stroke-linejoin":"round",x:"4",y:"6",width:"40",height:"36",rx:"2"}),Object(a.j)("path",{d:"M4,18 L44,18",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M17.5,18 L17.5,42",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M30.5,18 L30.5,42",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M4,30 L44,30",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M44,8 L44,40 C44,41.1045695 43.1045695,42 42,42 L6,42 C4.8954305,42 4,41.1045695 4,40 L4,8",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",fill:"none","fill-rule":"evenodd"})])])])])],-1),g={class:"card-wrap"},k=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"总订单")],-1),w={class:"card-body"},y={class:"col-lg-4 col-md-4 col-sm-12"},_={class:"card card-statistic-2"},x=Object(a.h)('
',1),C=Object(a.j)("div",{class:"card-icon shadow-primary bg-primary"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"28",height:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M18 22H30",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M18 28H30",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M24.0083 22V34",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M30 15L24 21L18 15",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])])],-1),M={class:"card-wrap"},L=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"总收益")],-1),F={class:"card-body"},V={class:"col-lg-4 col-md-4 col-sm-12"},H={class:"card card-statistic-2"},z=Object(a.h)('
',1),U=Object(a.j)("div",{class:"card-icon shadow-primary bg-primary"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"28",height:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M6 6V42H42",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])])],-1),B={class:"card-wrap"},Q=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"销售数量")],-1),Z={class:"card-body"},S=Object(a.h)('
',1),A=c("5530"),P=c("f96b"),E=c("6c42"),I=c("30ef"),D=c.n(I),T={setup:function(){var t=Object(a.y)({data:{cag_num:4,shop_num:5,card_num:10,order_num:12,total_income:99.99,total_num:152,history_date:[],history_price:[]},balance_chart:{type:"line",data:{labels:["16-07-2018","17-07-2018","18-07-2018","19-07-2018","20-07-2018","21-07-2018","22-07-2018","23-07-2018","24-07-2018","25-07-2018","26-07-2018","27-07-2018","28-07-2018","29-07-2018","30-07-2018","31-07-2018"],datasets:[{label:"Balance",data:[50,61,80,50,72,52,60,41,30,45,70,40,93,63,50,62],backgroundColor:"#fff",borderWidth:3,borderColor:"rgba(63,82,227,1)",pointBorderWidth:0,pointBorderColor:"transparent",pointRadius:3,pointBackgroundColor:"transparent",pointHoverBackgroundColor:"rgba(63,82,227,1)"}]},options:{layout:{padding:{bottom:-1,left:-1}},legend:{display:!1},scales:{yAxes:[{gridLines:{display:!1,drawBorder:!1},ticks:{beginAtZero:!0,display:!1}}],xAxes:[{gridLines:{drawBorder:!1,display:!1},ticks:{display:!1}}]}}},date_price:{type:"line",data:{labels:[1,2,3,4,5,6,7],datasets:[{label:"Statistics",data:[460,458,330,502,430,610,488],backgroundColor:"#6777ef",borderColor:"#6777ef",borderWidth:2.5,pointBackgroundColor:"#ffffff",pointRadius:4}]},options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},scales:{yAxes:[{gridLines:{drawBorder:!1,color:"#f2f2f2"},ticks:{beginAtZero:!0,stepSize:150}}],xAxes:[{ticks:{display:!1},gridLines:{display:!1}}]}}}}),e=Object(E.b)(),c=function(){P.a.getDashBoard().then((function(e){t.data=e,t.date_price.data.labels=t.data.history_date,t.date_price.data.datasets[0].data=t.data.history_price,n()})).catch((function(){e.warning("数据获取异常")}))},n=function(){var e=document.getElementById("date_price").getContext("2d");new D.a(e,Object(A.a)({},t.date_price))};return Object(a.s)((function(){var e,a;c(),e=document.getElementById("balance-chart").getContext("2d"),new D.a(e,Object(A.a)({},t.balance_chart)),a=document.getElementById("sales-chart").getContext("2d"),new D.a(a,Object(A.a)({},t.balance_chart))})),Object(A.a)(Object(A.a)({},Object(a.H)(t)),{},{get_data:c})},render:function(t,e,c,A,P,E){return Object(a.u)(),Object(a.f)("div",null,[Object(a.j)("div",n,[Object(a.j)("div",s,[Object(a.j)("div",o,[Object(a.j)("div",l,[i,Object(a.j)("div",r,[Object(a.j)("div",d,[Object(a.j)("div",j,Object(a.F)(t.data.cag_num),1),b]),Object(a.j)("div",u,[Object(a.j)("div",O,Object(a.F)(t.data.shop_num),1),f]),Object(a.j)("div",p,[Object(a.j)("div",h,Object(a.F)(t.data.card_num),1),m])])]),v,Object(a.j)("div",g,[k,Object(a.j)("div",w,Object(a.F)(t.data.order_num),1)])])]),Object(a.j)("div",y,[Object(a.j)("div",_,[x,C,Object(a.j)("div",M,[L,Object(a.j)("div",F," ¥"+Object(a.F)(t.data.total_income),1)])])]),Object(a.j)("div",V,[Object(a.j)("div",H,[z,U,Object(a.j)("div",B,[Q,Object(a.j)("div",Z,Object(a.F)(t.data.total_num),1)])])])]),S])}};e.default=T},"5c1a":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=c("21fa"),s=c.n(n),o={class:"section"},l={class:"d-flex flex-wrap align-items-stretch"},i={class:"col-lg-4 col-md-6 col-12 order-lg-1 min-vh-100 order-2 bg-white"},r={class:"p-4 m-3"},d=Object(a.j)("img",{src:s.a,alt:"logo",width:"80",class:"shadow-light rounded-circle mb-5 mt-2"},null,-1),j=Object(a.j)("h4",{class:"text-dark font-weight-normal"},"Welcome to Back!",-1),b=Object(a.j)("br",null,null,-1),u={class:"needs-validation"},O={class:"form-group"},f=Object(a.j)("label",{for:"email"},"邮箱:",-1),p=Object(a.j)("div",{class:"invalid-feedback"}," Please fill in your email ",-1),h={class:"form-group"},m=Object(a.j)("div",{class:"d-block"},[Object(a.j)("label",{for:"password",class:"control-label"},"密码:")],-1),v=Object(a.j)("div",{class:"invalid-feedback"}," please fill in your password ",-1),g={class:"form-group text-center"},k=Object(a.j)("div",{class:"text-center mt-5 text-small"}," Copyright 2020©Power by 💙 BaiYue ",-1),w=Object(a.h)('

Good Morning

Bali, Indonesia
Photo by
',1),y=c("5530"),_=c("f96b"),x=c("6c42"),C=c("6c02"),M={setup:function(){var t=Object(a.y)({email:"",password:""}),e=Object(x.b)(),c=Object(C.c)();return Object(y.a)(Object(y.a)({},Object(a.H)(t)),{},{postLogin:function(){""!=t.email&&""!=t.password?_.a.postlogin({email:t.email,password:t.password}).then((function(t){localStorage.setItem("access_token",t.access_token),c.push({name:"admin"})})).catch((function(t){t.length>14?e.error("您操作的太频繁了,待会再来"):e.warning("账号或密码不正确")})):e.info("请填写账号或密码")}})},render:function(t,e,c,n,s,y){return Object(a.u)(),Object(a.f)("section",o,[Object(a.j)("div",l,[Object(a.j)("div",i,[Object(a.j)("div",r,[d,j,b,Object(a.j)("form",u,[Object(a.j)("div",O,[f,Object(a.Q)(Object(a.j)("input",{"onUpdate:modelValue":e[1]||(e[1]=function(e){return t.email=e}),type:"email",class:"form-control",name:"email",tabindex:"1",required:"",autofocus:""},null,512),[[a.M,t.email]]),p]),Object(a.j)("div",h,[m,Object(a.Q)(Object(a.j)("input",{"onUpdate:modelValue":e[2]||(e[2]=function(e){return t.password=e}),type:"password",class:"form-control",name:"password",tabindex:"2",required:""},null,512),[[a.M,t.password]]),v]),Object(a.j)("div",g,[Object(a.j)("a",{type:"",class:"btn btn-primary btn-lg btn-icon icon-right",onClick:e[3]||(e[3]=function(){return n.postLogin.apply(n,arguments)})}," 登录 ")])]),k])]),w])])}};e.default=M},"5de8":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"卡密列表")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 卡密可以单独导入,也可以批量导入,仅有单独卡密可支持重复发送,若单个商品下有多个卡密,则不支持重复发送 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"卡密详情"),Object(a.j)("div",{class:"card-header-action"},[Object(a.j)("a",{class:"btn btn-success","data-toggle":"modal","data-target":"#add"},[Object(a.i)("新增卡密 "),Object(a.j)("i",{class:"fas fa-chevron-right"})])])],-1),b={class:"card-body"},u={class:"table-responsive table-invoice"},O={class:"table table-striped table-sm"},f=Object(a.j)("tr",null,[Object(a.j)("th",null,"ID"),Object(a.j)("th",null,"商品名称"),Object(a.j)("th",null,"卡密信息"),Object(a.j)("th",null,"状态"),Object(a.j)("th",null,"重复"),Object(a.j)("th",null,"操作")],-1),p={class:"font-weight-600"},h={class:"font-weight-600"},m=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])],-1),v=Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:"#fc544b",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M16 24L32 24",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),g={class:"card-footer text-center"},k={class:"d-inline-block"},w={class:"pagination mb-0"},y={class:"page-item"},_={class:"page-item"},x={class:"page-item"},C={class:"page-item"},M={class:"modal fade",id:"add",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"add","aria-hidden":"true"},L={class:"modal-dialog",role:"document"},F={class:"modal-content"},V=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"新增卡密"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),H={class:"modal-body"},z={class:"form-group"},U=Object(a.j)("label",null,"选择商品 ",-1),B=Object(a.j)("label",null,[Object(a.i)("卡密信息 "),Object(a.j)("code",null,"【单独插入】")],-1),Q=Object(a.j)("label",null,[Object(a.i)("批量导入卡密信息 "),Object(a.j)("code",null,"【要求每行一条卡密信息】")],-1),Z={class:"custom-switch mt-2"},S=Object(a.i)("是否重复使用该卡密: "),A=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),P={class:"modal-footer"},E=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1),I={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},D={class:"modal-dialog",role:"document"},T={class:"modal-content"},R=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"编辑卡密"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),J={class:"modal-body"},N={class:"form-group"},Y=Object(a.j)("label",null,"商品名称 ",-1),$=Object(a.j)("label",null,"卡密信息 ",-1),q={class:"custom-switch mt-2"},X=Object(a.i)("是否重复使用该卡密: "),K=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),G={class:"modal-footer"},W=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1);c("4160"),c("b0c0"),c("b64b"),c("159b");var tt=c("5530"),et=c("f96b"),ct=c("6c42"),at={setup:function(){var t=Object(a.y)({cards:[],edit_card:{},edit_card_new:{},card_id:null,add_card:{card:"",cards:"",data:""},shops:[],page:1,max_page:1}),e=Object(ct.b)(),c=function(e){et.a.getCard({page:e}).then((function(e){t.cards=e}))},n=function(){et.a.getCardPages().then((function(e){t.max_page=e}))};return Object(a.s)((function(){c(1),n(),et.a.getShop().then((function(e){e.forEach((function(e){t.shops.push(e.name)}))}))})),Object(a.O)((function(){c(t.page)})),Object(tt.a)(Object(tt.a)({},Object(a.H)(t)),{},{del:function(a){t.card_id=t.cards[a].id,et.a.postCard({id:t.card_id,methord:"delete"}).then((function(){e.success("删除成功"),c(t.page),t.card_id=null})).catch((function(){e.warning("删除失败")}))},edit:function(e){t.edit_card=t.cards[e]},add:function(){0!=Object.keys(t.add_card).length?""!=t.add_card.card||""!=t.add_card.cards?(""!=t.add_card.card?t.add_card.data=t.add_card.card:t.add_card.data=t.add_card.cards,et.a.postCard({prod_name:t.add_card.prod_name,card:t.add_card.data,methord:"add",reuse:t.add_card.reuse}).then((function(a){e.success(a),t.add_card={card:"",cards:"",data:""},c(t.page)})).catch((function(){e.error("呀!导入异常")})),n()):e.warning("请填写至少一个卡密信息"):e.warning("请填写正确的参数")},edit_save:function(){t.edit_card.methord="update",et.a.postCard(t.edit_card).then((function(){e.success("修改成功")})).catch((function(){e.error("啊呀呀,出错了!"),c()}))},add_page:function(){var c=t.page+1;c>t.max_page?e.info("当前已经是最后一页了"):t.page=c},sub_page:function(){var c=t.page-1;c<1?e.info("当前已经是第一页了"):t.page=c}})},render:function(t,e,c,tt,et,ct){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("table",O,[Object(a.j)("tbody",null,[f,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.cards,(function(t,e){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,Object(a.F)(t.id),1),Object(a.j)("td",p,Object(a.F)(t.prod_name),1),Object(a.j)("td",h,Object(a.F)(t.card),1),Object(a.j)("td",null,[Object(a.j)("div",{class:["badge",0==t.isused?"badge-info":"badge-secondary"]},Object(a.F)(0==t.isused?"有效":"已使用"),3)]),Object(a.j)("td",null,[Object(a.j)("div",{class:["badge",t.reuse?"badge-info":"badge-secondary"]},Object(a.F)(1==t.reuse?"Yes":"No"),3)]),Object(a.j)("td",null,[Object(a.j)("a",{onClick:function(t){return tt.edit(e)},class:"btn btn-primary mr-1",style:{"line-height":"0px"},"data-toggle":"modal",title:"","data-original-title":"Edit","data-target":"#edit"},[m],8,["onClick"]),Object(a.j)("a",{onClick:function(t){return tt.del(e)},class:"btn btn-danger ",style:{"line-height":"0px"}},[v],8,["onClick"])])])})),128))])])])]),Object(a.j)("div",g,[Object(a.j)("nav",k,[Object(a.j)("ul",w,[Object(a.j)("li",y,"总共"+Object(a.F)(t.max_page)+"页,当前第"+Object(a.F)(t.page)+"页",1),Object(a.j)("li",_,[Object(a.j)("a",{class:"page-link",onClick:e[1]||(e[1]=function(){return tt.sub_page.apply(tt,arguments)})},"上一页")]),Object(a.j)("li",x,[Object(a.Q)(Object(a.j)("input",{type:"number",min:"1",max:t.max_page,"onUpdate:modelValue":e[2]||(e[2]=function(e){return t.page=e}),style:{width:"50px"}},null,8,["max"]),[[a.M,t.page]])]),Object(a.j)("li",C,[Object(a.j)("button",{class:"page-link",onClick:e[3]||(e[3]=function(){return tt.add_page.apply(tt,arguments)})},"下一页")])])])])])])])]),Object(a.j)("div",M,[Object(a.j)("div",L,[Object(a.j)("div",F,[V,Object(a.j)("div",H,[Object(a.j)("div",z,[U,Object(a.Q)(Object(a.j)("select",{class:"form-control","onUpdate:modelValue":e[4]||(e[4]=function(e){return t.add_card.prod_name=e})},[(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.shops,(function(t){return Object(a.u)(),Object(a.f)("option",{key:t.id},Object(a.F)(t),1)})),128))],512),[[a.L,t.add_card.prod_name]]),B,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[5]||(e[5]=function(e){return t.add_card.card=e})},null,512),[[a.M,t.add_card.card]]),Q,Object(a.Q)(Object(a.j)("textarea",{class:"form-control form-control-alternative",style:{height:"150px"},placeholder:"Write a large text here ...","onUpdate:modelValue":e[6]||(e[6]=function(e){return t.add_card.cards=e})},null,512),[[a.M,t.add_card.cards]]),Object(a.j)("label",Z,[S,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.add_card.reuse=e})},null,512),[[a.J,t.add_card.reuse]]),A])])]),Object(a.j)("div",P,[E,Object(a.j)("button",{onClick:e[8]||(e[8]=function(t){return tt.add()}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])]),Object(a.j)("div",I,[Object(a.j)("div",D,[Object(a.j)("div",T,[R,Object(a.j)("div",J,[Object(a.j)("div",N,[Y,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[9]||(e[9]=function(e){return t.edit_card.prod_name=e})},null,512),[[a.M,t.edit_card.prod_name]]),$,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[10]||(e[10]=function(e){return t.edit_card.card=e})},null,512),[[a.M,t.edit_card.card]]),Object(a.j)("label",q,[X,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[11]||(e[11]=function(e){return t.edit_card.reuse=e})},null,512),[[a.J,t.edit_card.reuse]]),K])])]),Object(a.j)("div",G,[W,Object(a.j)("button",{onClick:e[12]||(e[12]=function(t){return tt.edit_save()}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])])])}};e.default=at},"602d":function(t,e,c){"use strict";c("242c")},"624c":function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.j)("div",{class:"section-header"},[Object(a.j)("h1",null,"账户修改")],-1),s={class:"section-body"},o=Object(a.j)("h2",{class:"section-title"},"Tips",-1),l=Object(a.j)("p",{class:"section-lead"}," 请务必牢记新密码,暂时不支持账号密码重置 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"登录管理")],-1),b={class:"card-body p-0"},u={class:"table-responsive table-invoice"},O={class:"table table-striped"},f=Object(a.j)("tr",null,[Object(a.j)("th",null,"ID"),Object(a.j)("th",null,"管理员账号"),Object(a.j)("th",null,"操作")],-1),p=Object(a.j)("td",null,[Object(a.j)("a",{href:"#"},"1")],-1),h={class:"font-weight-600"},m=Object(a.j)("td",null,[Object(a.j)("a",{class:"btn btn-primary btn-action mr-1","data-toggle":"modal",title:"","data-original-title":"Edit","data-target":"#edit"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:"#6777ef",stroke:"#ffffff","stroke-width":"4","stroke-linejoin":"round"})])])])],-1),v={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},g={class:"modal-dialog",role:"document"},k={class:"modal-content"},w=Object(a.j)("div",{class:"modal-header"},[Object(a.j)("h5",{class:"modal-title",id:"exampleModalLabel"},"编辑账号"),Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")])],-1),y={class:"modal-body"},_={class:"form-group"},x=Object(a.j)("label",null,"账号: ",-1),C=Object(a.j)("label",null,"密码: ",-1),M={class:"modal-footer"},L=Object(a.j)("button",{type:"button",class:"btn btn-secondary","data-dismiss":"modal"},"Close",-1),F=c("5530"),V=c("f96b"),H=c("6c42"),z={setup:function(){var t=Object(a.y)({user:{},edit_user:{}}),e=Object(H.b)(),c=function(){V.a.getAdminAcount().then((function(e){t.user=e}))};return Object(a.s)((function(){c()})),Object(F.a)(Object(F.a)({},Object(a.H)(t)),{},{edit_save:function(){""!=t.user.email&&""!=t.user.password?V.a.updateAdminAcount({email:t.user.email,password:t.user.password}).then((function(){e.success("修改成功"),e.warning("正在跳转登录页面"),localStorage.removeItem("access_token"),window.location.href="#/login"})).catch((function(){e.error("啊呀呀,出错了!"),c()})):e.warning("请填写账号或密码")}})},render:function(t,e,c,F,V,H){return Object(a.u)(),Object(a.f)("div",null,[n,Object(a.j)("div",s,[o,l,Object(a.j)("div",i,[Object(a.j)("div",r,[Object(a.j)("div",d,[j,Object(a.j)("div",b,[Object(a.j)("div",u,[Object(a.j)("table",O,[Object(a.j)("tbody",null,[f,Object(a.j)("tr",null,[p,Object(a.j)("td",h,Object(a.F)(t.user.email),1),m])])])])])])])])]),Object(a.j)("div",v,[Object(a.j)("div",g,[Object(a.j)("div",k,[w,Object(a.j)("div",y,[Object(a.j)("div",_,[x,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control form-control-sm","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.user.email=e})},null,512),[[a.M,t.user.email]]),C,Object(a.Q)(Object(a.j)("input",{type:"password",class:"form-control form-control-sm","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.user.password=e})},null,512),[[a.M,t.user.password]])])]),Object(a.j)("div",M,[L,Object(a.j)("button",{onClick:e[3]||(e[3]=function(){return F.edit_save.apply(F,arguments)}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])])])}};e.default=z},"637f":function(t,e,c){"use strict";c.r(e),c("b0c0"),c("4c53");var a=c("7a23"),n={class:"section-body"},s=Object(a.j)("div",{class:"card",style:{padding:"15px 22px"}},[Object(a.j)("h2",{class:"section-title",style:{margin:"0px"}},"产品详情")],-1),o={class:"row"},l={class:"col"},i={class:"card"},r=Object(a.j)("div",{class:"card-header"},null,-1),d={class:"card-body"},j={class:"row "},b={class:"col-md-6 col-sm-12 text-center"},u={class:"col-md-6 col-sm-12 text-left"},O={class:"mt-2"},f={class:"card-body p-0"},p={class:"table"},h={key:0},m={class:"table table-striped table-md"},v={class:"text-warning"},g=Object(a.j)("th",null,"价格",-1),k=Object(a.j)("td",null,"起批数量",-1),w={key:1},y=Object(a.j)("table",{class:"table table-striped table-md"},[Object(a.j)("tbody",null,[Object(a.j)("tr",{class:"text-warning"},[Object(a.j)("th",null,"价格"),Object(a.j)("th",null,"¥9.9")])])],-1),_={class:"form-group"},x={class:"input-group mb-3"},C={class:"input-group-prepend"},M={class:"input-group-append"},L={class:"row d-flex justify-content-center align-items-center"},F={class:"col-8 bg-light text-center"},V={style:{margin:"8px"}},H=Object(a.i)("数量:"),z={class:"text-danger"},U=Object(a.i)(" 个 | 价格:"),B={class:"text-danger"},Q={class:"col-4 text-right"},Z=Object(a.i)("立即购买"),S=Object(a.j)("hr",null,null,-1),A=Object(a.j)("h5",null,"产品描述:",-1),P={class:"row card-body"};c("fb6a"),c("b680");var E=c("5530"),I=c("f96b"),D=c("6c02"),T={setup:function(){var t=Object(a.y)({shop:{price:1},pifa:!1,nums:1,total_price:null}),e=Object(D.c)().currentRoute.value.params.id;Object(a.s)((function(){I.a.getDetail({prod_id:e}).then((function(e){t.shop=e,c()}))}));var c=function(){""!=t.shop.price_wholesale&&null!=t.shop.price_wholesale&&t.shop.price_wholesale.length>4&&(t.pifa=!0)};return Object(a.O)((function(){if(t.pifa)switch(t.nums<0&&(t.nums=1),t.shop.pifa.nums.length){case 2:t.nums>t.shop.pifa.slice[0]?t.shop.price=t.shop.pifa.prices[1]:t.shop.price=t.shop.pifa.prices[0];break;case 3:t.numst.shop.pifa.slice[1]?t.shop.price=t.shop.pifa.prices[2]:t.shop.price=t.shop.pifa.prices[1];break;case 4:t.numst.shop.pifa.slice[0]&&t.numst.shop.pifa.slice[1]&&t.nums