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=[];djb)}ilc)Z=P}Ko9B06>AO;1+C&zg)P}reBKN8q#y+6bFHSb+|vdnZtiV<|jR6Blj
zgfGG-ZnS6_>t&JXrAE0RN&+f3D#<04R=EkvXkK*XHo3%#f-JWw2(Kj7a;sdHMG=?V
z6a|~hdxrZ~t4jKMwdB8lt!w;0P&@G_%J(q((`0;>X(?j=@`Gd?vOt(5&BiE%S=con
z|D`&m@hW6NgbSU 支持格式png、jpg\\jpeg、gif 支付Logo规则:png格式,XX大小 商品主图:推荐300X300px 内链地址:网站设置后台,图片栏可填写该参数 外链地址:公网访问地址 1.官方帮助文档: https://kmfaka.baklib.com 2.开源项目地址:https://github.com/Baiyuetribe/kamiFaka 3.项目QQ群:853791822 cmbe_HVc1!)_}7^sP!r;
zKmWv*zlK+})nI* IYgZ?`>F@9pNWox{$4)p;KL=_z$
zj9NCmqMonBQ|DVbzd4IJs?8y3*T=@QUwA>Kc(~>~cwZ@|0?RcnH?eJb7HuUP)^pCW
z!^pp^zp )tTve12VN%n@I1tk++8TG8SNIn>0aNqwJ%
zkQCqZutzIivf(Uf{HCF4g@MhQRC2>6;UvMjYsV
z{~_PRoT*i2x
使用须知
统计信息
使用须知:
如果项目帮助到了你,请给项目点个赞(Star),感谢支持! 去GitHub点赞
',4),h={setup:function(){return{web_name:Object(a.n)("configs").web_name}},render:function(t,e,c,n,s,o){return Object(a.u)(),Object(a.f)("div",null,[Object(a.j)("nav",O,[Object(a.j)("a",f,Object(a.F)(n.web_name),1),p])])}},m=Object(a.S)("data-v-14be5db3");Object(a.x)("data-v-14be5db3");var v=Object(a.j)("div",{class:"mobile-height"},null,-1),g={class:"main-footer",style:{"padding-left":"30px"}},k={class:"footer-left"},w=Object(a.j)("div",{class:"bullet"},null,-1),y=Object(a.i)(" Power By "),_=Object(a.j)("a",{href:"https://github.com/Baiyuetribe/kamiFaka"},"kamiFaka",-1),x={class:"footer-right"},C=Object(a.j)("div",{class:"mobile-height"},null,-1),M=Object(a.j)("div",{class:"row text-center mobile_footer d-md-none d-lg-none d-xl-none"},[Object(a.j)("div",{class:"col"},[Object(a.j)("a",{href:"#/"},[Object(a.j)("svg",{width:"30",height:"30",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:"M9 18V42H39V18L24 6L9 18Z",fill:"#fafafa"}),Object(a.j)("path",{d:"M9 42V18L4 22L24 6L44 22L39 18V42H9Z",stroke:"#353535","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M19 29V42H29V29H19Z",fill:"#fafafa",stroke:"#353535","stroke-width":"3","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M9 42H39",stroke:"#353535","stroke-width":"3","stroke-linecap":"round"})]),Object(a.j)("br")])]),Object(a.j)("div",{class:"col"},[Object(a.j)("a",{href:"#/search"},[Object(a.j)("svg",{width:"30",height:"30",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:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:"#fafafa",stroke:"#353535","stroke-width":"3","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M26.6568 14.3431C25.2091 12.8954 23.2091 12 21 12C18.7909 12 16.7909 12.8954 15.3431 14.3431",stroke:"#353535","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M33.2218 33.2218L41.7071 41.7071",stroke:"#353535","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})]),Object(a.j)("br")])]),Object(a.j)("div",{class:"col"},[Object(a.j)("a",{href:"#/contact"},[Object(a.j)("svg",{width:"30",height:"30",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",{"fill-rule":"evenodd","clip-rule":"evenodd",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",stroke:"#353535","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M24 23C26.7614 23 29 20.7614 29 18C29 15.2386 26.7614 13 24 13C21.2386 13 19 15.2386 19 18C19 20.7614 21.2386 23 24 23Z",fill:"#fafafa",stroke:"#353535","stroke-width":"3","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M10.022 38.332C10.3657 33.1206 14.7016 29 20 29H28C33.2914 29 37.6229 33.1097 37.9767 38.3113",stroke:"#353535","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})]),Object(a.j)("br")])])],-1);Object(a.v)();var L=m((function(t,e,c,n,s,o){return Object(a.u)(),Object(a.f)("div",null,[v,Object(a.j)("footer",g,[Object(a.j)("div",k,[Object(a.i)(" Copyright © "+Object(a.F)(t.year)+" ",1),w,y,_]),Object(a.j)("div",x,Object(a.F)(n.kamiFaka_v),1),C]),M])})),F={data:function(){return{year:(new Date).getFullYear()}},setup:function(){return{kamiFaka_v:Object(a.n)("configs").kamiFaka_v}}};c("e229"),F.render=L,F.__scopeId="data-v-14be5db3";var V=F,H=c("f96b"),z={name:"App",components:{MainWrapper:l,MainContent:u,HeaderNav:h,FooterCustom:V},setup:function(){var t=Object(a.y)({web_name:"KAMIFAKA",web_keyword:"",description:"xxx",contact_us:"",top_notice:"",modal_notice:"",toast_notice:"",web_bg_url:"",login_captcha:"",kamiFaka_v:"x.x"});return Object(a.s)((function(){H.a.getSystemCustom().then((function(e){t.web_name=e.web_name.info,t.web_keyword=e.web_keyword.info,t.description=e.description.info,t.contact_us=e.contact_us.info,t.top_notice=e.top_notice.info,t.toast_notice=e.toast_notice.info,t.web_bg_url=e.web_bg_url.info,t.kamiFaka_v=e.kamiFaka_v.info,document.title=t.web_name;var c=document.createElement("meta");c.name="keywords",c.content=t.web_keyword;var a=document.createElement("meta");a.name="description",a.content=t.description,document.head.appendChild(c),document.head.appendChild(a)}))})),Object(a.w)("configs",Object(s.a)({},Object(a.H)(t))),Object(s.a)({},Object(a.H)(t))}};c("aaca"),z.render=function(t,e,c,s,o,l){var i=Object(a.C)("header-nav"),r=Object(a.C)("router-view"),d=Object(a.C)("main-content"),j=Object(a.C)("footer-custom"),b=Object(a.C)("main-wrapper");return Object(a.u)(),Object(a.f)(b,{class:"container"},{default:Object(a.P)((function(){return[Object(a.j)(i,{class:"container"}),Object(a.j)(d,null,{default:Object(a.P)((function(){return[Object(a.j)(a.b,{name:"fade"},{default:Object(a.P)((function(){return[Object(a.j)(r)]})),_:1})]})),_:1}),Object(a.j)(j),Object(a.j)("img",{src:t.web_bg_url,class:"bg_img"},null,8,["src"]),n]})),_:1})},e.default=z},"817f":function(t,e,c){"use strict";c("8434")},8434:function(t,e,c){},"8d6c":function(t,e,c){t.exports=c.p+"static/img/avatar-1.e3973b64.png"},"92d9":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"},"SMTP邮箱设置",-1),l=Object(a.j)("p",{class:"section-lead"}," 搜索相关邮箱的SMTP设置教程,按下面提示输入参数接口 ",-1),i={class:"row"},r={class:"col"},d={class:"card"},j={class:"card-body"},b={class:"form-group row"},u=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"发件人邮箱",-1),O={class:"col-sm-9"},f={class:"form-group row"},p=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"发件人昵称",-1),h={class:"col-sm-9"},m={class:"form-group row"},v=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"SMTP服务器地址",-1),g={class:"col-sm-9"},k={class:"form-group row"},w=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"端口",-1),y={class:"col-sm-9"},_={class:"form-group row"},x=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"邮箱密码",-1),C={class:"col-sm-9"},M={class:"card-footer"},L=Object(a.j)("h2",{class:"section-title"},"测试邮箱是否正常发送邮件",-1),F=Object(a.j)("p",{class:"section-lead"}," 如果没收到邮件,请检查收件箱的垃圾箱 ",-1),V={class:"row"},H={class:"col"},z={class:"card"},U={class:"card-header"},B=Object(a.j)("h4",null,"邮箱测试",-1),Q={class:"card-header-action"},Z=Object(a.i)("发送 "),S=Object(a.j)("i",{class:"fas fa-chevron-right"},null,-1),A={class:"card-body"},P={class:"form-group"},E=Object(a.j)("label",null,"接收邮箱:",-1),I={class:"form-group"},D=Object(a.j)("label",null,"测试内容:",-1);c("4d63"),c("ac1f"),c("25f0");var T=c("5530"),R=c("f96b"),J=c("6c42"),N={setup:function(){var t=Object(a.y)({smtp:{config:{}},email:"",message:""}),e=Object(J.b)(),c=function(){R.a.getEmail().then((function(e){t.smtp=e}))};return Object(a.s)((function(){c()})),Object(T.a)(Object(T.a)({},Object(a.H)(t)),{},{test:function(){new RegExp("(^[\\w.\\-]+@(?:[a-z0-9]+(?:-[a-z0-9]+)*\\.)+[a-z]{2,3}$)").test(t.email)?(e.success("请求已发,请查收您的邮箱!"),R.a.testEmail({email:t.email,data:t.smtp,message:t.message}).then((function(){e.success("服务端邮箱发送成功")}))):e.error("请输入正确的邮箱!")},save:function(){R.a.updateEmial({data:t.smtp}).then((function(){e.success("修改成功")})).catch((function(){e.error("啊呀呀,出错了!"),c()}))}})},render:function(t,e,c,T,R,J){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,[Object(a.j)("div",b,[u,Object(a.j)("div",O,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.smtp.config.sendmail=e})},null,512),[[a.M,t.smtp.config.sendmail]])])]),Object(a.j)("div",f,[p,Object(a.j)("div",h,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.smtp.config.sendname=e})},null,512),[[a.M,t.smtp.config.sendname]])])]),Object(a.j)("div",m,[v,Object(a.j)("div",g,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.smtp.config.smtp_address=e})},null,512),[[a.M,t.smtp.config.smtp_address]])])]),Object(a.j)("div",k,[w,Object(a.j)("div",y,[Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control","onUpdate:modelValue":e[4]||(e[4]=function(e){return t.smtp.config.smtp_port=e})},null,512),[[a.M,t.smtp.config.smtp_port]])])]),Object(a.j)("div",_,[x,Object(a.j)("div",C,[Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control","onUpdate:modelValue":e[5]||(e[5]=function(e){return t.smtp.config.smtp_pwd=e})},null,512),[[a.M,t.smtp.config.smtp_pwd]])])])]),Object(a.j)("div",M,[Object(a.j)("button",{onClick:e[6]||(e[6]=function(){return T.save.apply(T,arguments)}),type:"submit",class:"btn btn-primary"},"保存")])])])]),L,F,Object(a.j)("div",V,[Object(a.j)("div",H,[Object(a.j)("div",z,[Object(a.j)("div",U,[B,Object(a.j)("div",Q,[Object(a.j)("a",{class:"btn btn-success",onClick:e[7]||(e[7]=function(t){return T.test()})},[Z,S])])]),Object(a.j)("div",A,[Object(a.j)("div",P,[E,Object(a.Q)(Object(a.j)("input",{type:"text",class:"form-control mx-sm-3","onUpdate:modelValue":e[8]||(e[8]=function(e){return t.email=e})},null,512),[[a.M,t.email]])]),Object(a.j)("div",I,[D,Object(a.Q)(Object(a.j)("textarea",{class:"form-control",spellcheck:"false","onUpdate:modelValue":e[9]||(e[9]=function(e){return t.message=e})},null,512),[[a.M,t.message]])])])])])])])])}};e.default=N},"9bf9":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={class:"card-header"},b=Object(a.j)("h4",null,"订单列表",-1),u={class:"card-header-action"},O=Object(a.i)("Nothing "),f=Object(a.j)("i",{class:"fas fa-chevron-right"},null,-1),p={class:"card-body"},h={class:"table-responsive table-invoice"},m={class:"table table-striped table-sm"},v=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,"时间"),Object(a.j)("th",null,"操作")],-1),g={class:"font-weight-600"},k={class:"font-weight-600"},w={class:"font-weight-600"},y={class:"font-weight-600"},_={class:"font-weight-600"},x={class:"font-weight-600"},C={class:"font-weight-600"},M={class:"font-weight-600"},L=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),F={class:"card-footer text-center"},V={class:"d-inline-block"},H={class:"pagination mb-0"},z={class:"page-item"},U={class:"page-item"},B={class:"page-item"},Q={class:"page-item"},Z=c("5530"),S=c("f96b"),A=c("6c42"),P={setup:function(){var t=Object(a.y)({orders:[],page:1,max_page:2}),e=Object(A.b)(),c=function(e){S.a.getOrderlist({page:e}).then((function(e){t.orders=e}))};return Object(a.s)((function(){c(1),S.a.getOrderlistPages().then((function(e){t.max_page=e}))})),Object(a.O)((function(){c(t.page)})),Object(Z.a)(Object(Z.a)({},Object(a.H)(t)),{},{del:function(){e.success("后期考虑开发中")},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,Z,S,A){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",{class:"btn btn-danger",onClick:e[1]||(e[1]=function(t){return Z.del()})},[O,f])])]),Object(a.j)("div",p,[Object(a.j)("div",h,[Object(a.j)("table",m,[Object(a.j)("tbody",null,[v,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.orders,(function(t){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",g,Object(a.F)(t.out_order_id),1),Object(a.j)("td",k,Object(a.F)(t.name),1),Object(a.j)("td",w,Object(a.F)(t.payment),1),Object(a.j)("td",y,Object(a.F)(t.contact),1),Object(a.j)("td",_,Object(a.F)(t.contact_txt),1),Object(a.j)("td",x,Object(a.F)(t.num),1),Object(a.j)("td",C,Object(a.F)(t.total_price),1),Object(a.j)("td",M,Object(a.F)(t.updatetime),1),Object(a.j)("td",null,[Object(a.j)("a",{onClick:e[2]||(e[2]=function(t){return Z.del()}),class:"btn btn-danger ",style:{"line-height":"0px"}},[L])])])})),128))])])])]),Object(a.j)("div",F,[Object(a.j)("nav",V,[Object(a.j)("ul",H,[Object(a.j)("li",z,"总共"+Object(a.F)(t.max_page)+"页,当前第"+Object(a.F)(t.page)+"页",1),Object(a.j)("li",U,[Object(a.j)("a",{class:"page-link",onClick:e[3]||(e[3]=function(){return Z.sub_page.apply(Z,arguments)})},"上一页")]),Object(a.j)("li",B,[Object(a.Q)(Object(a.j)("input",{type:"number",min:"1",max:t.max_page,"onUpdate:modelValue":e[4]||(e[4]=function(e){return t.page=e}),style:{width:"50px"}},null,8,["max"]),[[a.M,t.page]])]),Object(a.j)("li",Q,[Object(a.j)("button",{class:"page-link",onClick:e[5]||(e[5]=function(){return Z.add_page.apply(Z,arguments)})},"下一页")])])])])])])])])])}};e.default=P},"9dd4":function(t,e,c){"use strict";c.r(e),c("a4d3"),c("e01a"),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"},[Object(a.i)(" 已完善非常重要的几个设置,标注"),Object(a.j)("code",null,"【计划中】"),Object(a.i)("的代表未来会逐步完善,其余都可用。公告和联系页面支持html文本 ")],-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={class:"card-body p-0"},p={class:"table-responsive table-invoice"},h={class:"table table-striped"},m=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),v={href:"#"},g={class:"font-weight-600"},k={class:"font-weight-600"},w={class:"font-weight-600"},y=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),_={class:"modal fade",id:"edit",tabindex:"-1",role:"dialog","data-backdrop":"false","aria-labelledby":"edit","aria-hidden":"true"},x={class:"modal-dialog",role:"document"},C={class:"modal-content"},M={class:"modal-header"},L={class:"modal-title",id:"exampleModalLabel"},F=Object(a.j)("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[Object(a.j)("span",{"aria-hidden":"true"},"×")],-1),V={class:"modal-body"},H={class:"form-group"},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)({configs:[{name:"",id:"",info:"",description:""}],edit_config:{name:"111",id:"1",info:"11",description:"11"}}),e=Object(Z.b)(),c=function(){Q.a.getSystem().then((function(e){t.configs=e}))};return Object(a.s)((function(){c()})),Object(B.a)(Object(B.a)({},Object(a.H)(t)),{},{edit:function(e){t.edit_config=t.configs[e]},edit_save:function(){Q.a.postSystem({data:t.edit_config}).then((function(){e.success("修改成功"),c()})).catch((function(){e.error("啊呀呀,出错了!")}))}})},render:function(t,e,c,B,Q,Z){var S=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,[Object(a.j)("div",j,[b,Object(a.j)("div",u,[Object(a.j)(S,{to:{name:"edit"},class:"btn btn-success"},{default:Object(a.P)((function(){return[O]})),_:1})])]),Object(a.j)("div",f,[Object(a.j)("div",p,[Object(a.j)("table",h,[Object(a.j)("tbody",null,[m,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.configs,(function(t,e){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,[Object(a.j)("a",v,Object(a.F)(t.id),1)]),Object(a.j)("td",g,Object(a.F)(t.name),1),Object(a.j)("td",k,Object(a.F)(t.info),1),Object(a.j)("td",w,Object(a.F)(t.description),1),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"},[y],8,["onClick"])])])})),128))])])])])])])])]),Object(a.j)("div",_,[Object(a.j)("div",x,[Object(a.j)("div",C,[Object(a.j)("div",M,[Object(a.j)("h5",L,Object(a.F)(t.edit_config.name)+"编辑",1),F]),Object(a.j)("div",V,[Object(a.j)("div",H,[Object(a.j)("label",null,Object(a.F)(t.edit_config.description)+": ",1),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_config.info=e})},null,512),[[a.M,t.edit_config.info]])])]),Object(a.j)("div",z,[U,Object(a.j)("button",{onClick:e[2]||(e[2]=function(t){return B.edit_save()}),type:"button",class:"btn btn-primary","data-dismiss":"modal"},"Save changes")])])])])])}};e.default=S},"9dee":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=Object(a.j)("div",{class:"badge badge-warning"},"此页面未开发",-1),o={class:"section-body"},l=Object(a.j)("h2",{class:"section-title"},"未完成",-1),i=Object(a.j)("p",{class:"section-lead"}," 欢迎推荐可用的短信厂商,前提要求:请确认好,在没有备案域名和没营业执照的情况下,是否可以发自定义消息,如果能发,欢迎提交开发文档地址 ",-1),r={class:"row"},d={class:"col"},j={class:"card"},b={class:"card-body"},u=Object(a.j)("div",{class:"form-group row"},[Object(a.j)("label",{f:"",class:"col-sm-3 col-form-label"},"Secrect"),Object(a.j)("div",{class:"col-sm-9"},[Object(a.j)("input",{type:"email",class:"form-control",placeholder:"XXXXXXXXXX"})])],-1),O=Object(a.j)("div",{class:"form-group row"},[Object(a.j)("label",{f:"",class:"col-sm-3 col-form-label"},"uid"),Object(a.j)("div",{class:"col-sm-9"},[Object(a.j)("input",{type:"email",class:"form-control",placeholder:"YYYYYYYY"})])],-1),f=Object(a.j)("label",{class:"col-sm-3 col-form-label"},"是否启用",-1),p=Object(a.j)("div",{class:"col-sm-9"},[Object(a.j)("input",{class:"custom-switch-input",type:"checkbox"}),Object(a.j)("label",{class:"custom-switch-indicator"})],-1),h=Object(a.j)("div",{class:"card-footer"},[Object(a.j)("button",{type:"submit",class:"btn btn-primary"},"保存")],-1);const m={render:function(t,e,c,m,v,g){var k=Object(a.C)("dvi");return Object(a.u)(),Object(a.f)("div",null,[n,s,Object(a.j)("div",o,[l,i,Object(a.j)("div",r,[Object(a.j)("div",d,[Object(a.j)("div",j,[Object(a.j)("div",b,[u,O,Object(a.j)(k,{class:"form-group row"},{default:Object(a.P)((function(){return[f,p]})),_:1})]),h])])])])])}};e.default=m},aaca:function(t,e,c){"use strict";c("0955")},b26c: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-12 col-md-6 col-lg-6"},d=Object(a.j)("div",{class:"card"},[Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"使用须知:")]),Object(a.j)("div",{class:"card-body"},[Object(a.j)("code",null,"服务器备份:"),Object(a.i)("最终会在服务器"),Object(a.j)("code",null,"/opt/kamifak/backups"),Object(a.i)("目录下生成备份文件。 "),Object(a.j)("br"),Object(a.j)("code",null,"本地备份:"),Object(a.i)("相当于浏览器导出备份信息为txt文本 ")])],-1),j={class:"card"},b=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"服务器备份")],-1),u=Object(a.j)("div",{class:"card-body"},[Object(a.i)(" 每次提交都会备份一次,具体备份路径在"),Object(a.j)("code",null,"/opt/kamifak/backups"),Object(a.i)("目录下。主要内容包括图片信息、网站配置信息和商品及卡密信息。 ")],-1),O={class:"card-footer text-right"},f={class:"col-12 col-md-6 col-lg-6"},p={class:"card"},h=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,"本地备份")],-1),m={class:"card-body"},v=Object(a.j)("p",null,"点击按钮可以直接导出备份信息",-1),g={class:"buttons"},k=Object(a.j)("div",{class:"card-footer text-right"},null,-1),w=c("f96b"),y=c("6c42"),_={setup:function(){var t=Object(y.b)(),e=null;return{backup:function(){t.info("已提交备份操作,可以去备份文件夹查看"),w.a.Backup().then((function(){t.success("服务器备份成功")})).catch((function(){t.error("服务器备份出错了!")}))},local_back:function(t){switch(console.log(t),t){case 1:e="支付邮箱等系统信息导出";break;case 2:e="商品及卡密导出";break;case 3:e="订单导出";break;default:e="空白"}w.a.LocalBackup({types:t}).then((function(t){!function(t,e){var c=document.createElement("a");c.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),c.setAttribute("download",e),c.style.display="none",document.body.appendChild(c),c.click(),document.body.removeChild(c)}(t.msg,e)}))}}},render:function(t,e,c,w,y,_){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,[d,Object(a.j)("div",j,[b,u,Object(a.j)("div",O,[Object(a.j)("button",{onClick:e[1]||(e[1]=function(){return w.backup.apply(w,arguments)}),class:"btn btn-primary"},"点我备份一次")])])]),Object(a.j)("div",f,[Object(a.j)("div",p,[h,Object(a.j)("div",m,[v,Object(a.j)("div",g,[Object(a.j)("a",{onClick:e[2]||(e[2]=function(t){return w.local_back(1)}),class:"btn btn-primary"},"① 支付邮箱等系统信息导出"),Object(a.j)("a",{onClick:e[3]||(e[3]=function(t){return w.local_back(2)}),class:"btn btn-warning"},"② 商品及卡密导出"),Object(a.j)("a",{onClick:e[4]||(e[4]=function(t){return w.local_back(3)}),class:"btn btn-info"},"③ 订单导出")])]),k])])])])])}};e.default=_},b432: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"}," 下面开关可多开。选项框填写管理员接收账号;微信暂时不开放,可联系开发者获取token;Tg使用@kamiFaka_bot机器人,如需使用,订阅该机器人,然后选项框填写个人CHAT_ID;短信开发中 ",-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.i)("管理员通知"),Object(a.j)("small",{class:"ml-2 text-dark"},"【仅接收订单通知或系统异常信息提示】")])],-1),b={class:"card-body"},u={class:"form-group row"},O=Object(a.j)("label",{for:"custom-switch",class:"col-sm-2 col-form-label"},"邮箱通知",-1),f={class:"col-sm-6"},p={class:"col-sm-2 "},h={class:"custom-switch mt-2"},m=Object(a.i)("开关: "),v=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),g={class:"form-group row"},k=Object(a.j)("label",{for:"inputEmail2",class:"col-sm-2 col-form-label"},"微信通知",-1),w={class:"col-sm-6"},y={class:"col-sm-2 "},_={class:"custom-switch mt-2"},x=Object(a.i)("开关: "),C=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),M={class:"form-group row"},L=Object(a.j)("label",{for:"inputEmail3",class:"col-sm-2 col-form-label"},"TG通知",-1),F={class:"col-sm-6"},V={class:"col-sm-2 "},H={class:"custom-switch mt-2"},z=Object(a.i)("开关: "),U=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),B={class:"form-group row"},Q=Object(a.j)("label",{for:"inputEmail3",class:"col-sm-2 col-form-label"},"短信通知",-1),Z={class:"col-sm-6"},S={class:"col-sm-2 "},A={class:"custom-switch mt-2"},P=Object(a.i)("开关: "),E=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),I=Object(a.j)("hr",null,null,-1),D=Object(a.j)("div",{class:"card-header"},[Object(a.j)("h4",null,[Object(a.i)("用户通知"),Object(a.j)("small",{class:"ml-2 text-dark"},"【开启后,通过短信或邮箱接收卡密信息;根据用户下单时填写的手机号或邮箱自动区分】")])],-1),T={class:"card-body"},R={class:"form-group row"},J=Object(a.j)("label",{for:"inputEmail",class:"col-sm-2 col-form-label"},"邮箱通知",-1),N={class:"col-sm-2 "},Y={class:"custom-switch mt-2"},$=Object(a.i)("开关: "),q=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),X={class:"form-group row"},K=Object(a.j)("label",{for:"inputEmail3",class:"col-sm-2 col-form-label"},"短信通知",-1),G={class:"col-sm-2 "},W={class:"custom-switch mt-2"},tt=Object(a.i)("开关: "),et=Object(a.j)("span",{class:"custom-switch-indicator"},null,-1),ct={class:"card-footer"};c("4d63"),c("ac1f"),c("25f0");var at=c("5530"),nt=c("f96b"),st=c("6c42"),ot={setup:function(){var t=Object(a.y)({notices:[{admin_account:"",admin_switch:!1,config:{},id:""},{admin_account:"",admin_switch:!1,config:{},id:""},{admin_account:"",admin_switch:!1,config:{},id:""},{admin_account:"",admin_switch:!1,config:{},id:""}],message:""}),e=Object(st.b)(),c=function(){nt.a.getNotice().then((function(e){t.notices=e}))};return Object(a.s)((function(){c()})),Object(at.a)(Object(at.a)({},Object(a.H)(t)),{},{test:function(){new RegExp("(^[\\w.\\-]+@(?:[a-z0-9]+(?:-[a-z0-9]+)*\\.)+[a-z]{2,3}$)").test(t.email)?(e.success("测试邮件已发送,请查收"),nt.a.testEmail({email:t.email,data:t.smtp,message:t.message}).then((function(){e.success("服务端邮箱发送成功"),t.cag_id=null})).catch((function(){e.warning("服务端邮箱发送失败")}))):e.error("请输入正确的邮箱!")},save:function(){new RegExp("(^[\\w.\\-]+@(?:[a-z0-9]+(?:-[a-z0-9]+)*\\.)+[a-z]{2,3}$)").test(t.notices[0].admin_account)?new RegExp("(^1[3|4|5|8]\\d{9}$)").test(t.notices[3].admin_account)?nt.a.updateNotice({data:t.notices}).then((function(){e.success("修改成功")})).catch((function(){e.error("啊呀呀,出错了!"),c()})):e.error("请输入正确的手机号!"):e.error("请输入正确的邮箱!")},get_data:c})},render:function(t,e,c,at,nt,st){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,[O,Object(a.j)("div",f,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control",id:"inputEmail1","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.notices[0].admin_account=e})},null,512),[[a.M,t.notices[0].admin_account]])]),Object(a.j)("div",p,[Object(a.j)("label",h,[m,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.notices[0].admin_switch=e})},null,512),[[a.J,t.notices[0].admin_switch]]),v])])]),Object(a.j)("div",g,[k,Object(a.j)("div",w,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.notices[1].admin_account=e})},null,512),[[a.M,t.notices[1].admin_account]])]),Object(a.j)("div",y,[Object(a.j)("label",_,[x,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[4]||(e[4]=function(e){return t.notices[1].admin_switch=e})},null,512),[[a.J,t.notices[1].admin_switch]]),C])])]),Object(a.j)("div",M,[L,Object(a.j)("div",F,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[5]||(e[5]=function(e){return t.notices[2].admin_account=e})},null,512),[[a.M,t.notices[2].admin_account]])]),Object(a.j)("div",V,[Object(a.j)("label",H,[z,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[6]||(e[6]=function(e){return t.notices[2].admin_switch=e})},null,512),[[a.J,t.notices[2].admin_switch]]),U])])]),Object(a.j)("div",B,[Q,Object(a.j)("div",Z,[Object(a.Q)(Object(a.j)("input",{type:"email",class:"form-control","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.notices[3].admin_account=e})},null,512),[[a.M,t.notices[3].admin_account]])]),Object(a.j)("div",S,[Object(a.j)("label",A,[P,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[8]||(e[8]=function(e){return t.notices[3].admin_switch=e})},null,512),[[a.J,t.notices[3].admin_switch]]),E])])])]),I,D,Object(a.j)("div",T,[Object(a.j)("div",R,[J,Object(a.j)("div",N,[Object(a.j)("label",Y,[$,Object(a.Q)(Object(a.j)("input",{type:"checkbox",name:"custom-switch-checkbox",class:"custom-switch-input","onUpdate:modelValue":e[9]||(e[9]=function(e){return t.notices[0].user_switch=e})},null,512),[[a.J,t.notices[0].user_switch]]),q])])]),Object(a.j)("div",X,[K,Object(a.j)("div",G,[Object(a.j)("label",W,[tt,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.notices[3].user_switch=e})},null,512),[[a.J,t.notices[3].user_switch]]),et])])])]),Object(a.j)("div",ct,[Object(a.j)("button",{onClick:e[11]||(e[11]=function(){return at.save.apply(at,arguments)}),class:"btn btn-primary"},"保存")])])])])])])}};e.default=ot},b8bf:function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n={class:"main-wrapper"};var s={render:function(t,e,c,s,o,l){return Object(a.u)(),Object(a.f)("div",n,[Object(a.B)(t.$slots,"default")])}},o={class:"main-content"},l={class:"section"};var i={render:function(t,e,c,n,s,i){return Object(a.u)(),Object(a.f)("div",o,[Object(a.j)("section",l,[Object(a.B)(t.$slots,"default")])])}},r=c("8d6c"),d=c.n(r),j=Object(a.S)("data-v-ee5b1312");Object(a.x)("data-v-ee5b1312");var b=Object(a.j)("div",{class:"navbar-bg "},null,-1),u={class:"navbar navbar-expand-lg main-navbar"},O=Object(a.j)("form",{class:"form-inline mr-auto"},null,-1),f={class:"navbar-nav navbar-right"},p=Object(a.j)("i",null,[Object(a.j)("svg",{width:"37",height:"37",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:"M8 11H40",stroke:"#fff","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M8 24H42",stroke:"#fff","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M8 37H40",stroke:"#fff","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M36.3433 29.6569L42.0001 24L36.3433 18.3431",stroke:"#fff","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),h=Object(a.j)("li",{class:"dropdown"},[Object(a.j)("a",{href:"#","data-toggle":"dropdown",class:"nav-link dropdown-toggle nav-link-lg nav-link-user"},[Object(a.j)("img",{alt:"image",src:d.a,class:"rounded-circle mr-1"})]),Object(a.j)("div",{class:"dropdown-menu dropdown-menu-right"},[Object(a.j)("a",{href:"#",class:"dropdown-item has-icon text-danger"}," Logout ")])],-1);Object(a.v)();var m=j((function(t,e,c,n,s,o){return Object(a.u)(),Object(a.f)("div",null,[b,Object(a.j)("nav",u,[O,Object(a.j)("ul",f,[Object(a.j)("li",null,[Object(a.j)("a",{onClick:e[1]||(e[1]=function(t){return n.slider()}),class:"mobile_display"},[p])]),h])])])})),v={setup:function(){return{slider:function(){document.getElementsByTagName("body")[0].className="sidebar-show"}}}};c("f5bc"),v.render=m,v.__scopeId="data-v-ee5b1312";var g=v,k={class:"main-sidebar sidebar-style-2"},w={id:"sidebar-wrapper"},y={class:"sidebar-brand"},_=Object(a.i)("KaMiFaKa"),x={class:"sidebar-brand sidebar-brand-sm"},C=Object(a.i)("KaMiFaKa"),M={class:"sidebar-menu"},L=Object(a.j)("div",{key:"1"},[Object(a.j)("li",{class:"menu-header"},"DASHBOARD"),Object(a.j)("li",{class:"nav-item"},[Object(a.j)("a",{href:"#/admin",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M9 18V42H39V18L24 6L9 18Z",fill:"#333"}),Object(a.j)("path",{d:"M9 42V18L4 22L24 6L44 22L39 18V42H9Z",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M19 29V42H29V29H19Z",fill:"#FFF",stroke:"#FFF","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M9 42H39",stroke:"#333","stroke-width":"4","stroke-linecap":"round"})])]),Object(a.j)("span",null,"首页")])])],-1),F=Object(a.j)("div",{key:"2"},[Object(a.j)("li",{class:"menu-header"},"SHOP"),Object(a.j)("li",{class:"nav-item"},[Object(a.j)("a",{href:"#/admin/classfily",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M26.8286 37.1716L37.1718 26.8284",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M21.1718 26.8284L10.8286 37.1716",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M26.8286 21.1716L37.1718 10.8284",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M10.8286 21.1716L21.1718 10.8284",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M28 8C28 10.2091 26.2091 12 24 12C21.7909 12 20 10.2091 20 8C20 5.79086 21.7909 4 24 4C26.2091 4 28 5.79086 28 8Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M44 8C44 10.2091 42.2091 12 40 12C37.7909 12 36 10.2091 36 8C36 5.79086 37.7909 4 40 4C42.2091 4 44 5.79086 44 8Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M44 24C44 26.2091 42.2091 28 40 28C37.7909 28 36 26.2091 36 24C36 21.7909 37.7909 20 40 20C42.2091 20 44 21.7909 44 24Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M44 40C44 42.2091 42.2091 44 40 44C37.7909 44 36 42.2091 36 40C36 37.7909 37.7909 36 40 36C42.2091 36 44 37.7909 44 40Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M28 40C28 42.2091 26.2091 44 24 44C21.7909 44 20 42.2091 20 40C20 37.7909 21.7909 36 24 36C26.2091 36 28 37.7909 28 40Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M12 40C12 42.2091 10.2091 44 8 44C5.79086 44 4 42.2091 4 40C4 37.7909 5.79086 36 8 36C10.2091 36 12 37.7909 12 40Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M12 24C12 26.2091 10.2091 28 8 28C5.79086 28 4 26.2091 4 24C4 21.7909 5.79086 20 8 20C10.2091 20 12 21.7909 12 24Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M28 24C28 26.2091 26.2091 28 24 28C21.7909 28 20 26.2091 20 24C20 21.7909 21.7909 20 24 20C26.2091 20 28 21.7909 28 24Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"分类列表")]),Object(a.j)("a",{href:"#/admin/shop",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("g",null,[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01","stroke-linejoin":"round","stroke-width":"4",stroke:"none","fill-rule":"evenodd"}),Object(a.j)("g",{transform:"translate(4.000000, 8.000000)"},[Object(a.j)("path",{d:"M0,11.3129605 L0,0 L40,0 L40,11.3129605 C37.8814684,12.0679939 36.3636364,14.1052655 36.3636364,16.5 C36.3636364,18.8947345 37.8814684,20.9320061 40,21.6870395 L40,33 L0,33 L0,21.6870395 C2.11853159,20.9320061 3.63636364,18.8947345 3.63636364,16.5 C3.63636364,14.1052655 2.11853159,12.0679939 3.33066907e-16,11.3129605 Z",stroke:"#333",fill:"#333","fill-rule":"nonzero","stroke-linejoin":"round","stroke-width":"4"}),Object(a.j)("polyline",{stroke:"#FFF","stroke-linecap":"round",points:"14.5454545 6.41666667 20 11.9166667 25.4545455 6.41666667","stroke-linejoin":"round","stroke-width":"4",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M13.6363636,13.75 L26.3636364,13.75",stroke:"#FFF","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M13.6363636,20.1666667 L26.3636364,20.1666667",stroke:"#FFF","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M20,13.75 L20,26.5833333",stroke:"#FFF","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",fill:"none","fill-rule":"evenodd"})])])])]),Object(a.j)("span",null,"商品列表")]),Object(a.j)("a",{href:"#/admin/card",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M44 7.00012H4V39.0001H44V7.00012Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M12 19.0001H14",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M21 19.0001H23",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M29 19.0001H36",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M12 28.0001H36",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"卡密列表")])])],-1),V=Object(a.j)("div",{key:"3"},[Object(a.j)("li",{class:"menu-header"},"ORDER"),Object(a.j)("li",{class:"nav-item"},[Object(a.j)("a",{href:"#/admin/orderlist",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M20 9H42",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M20 19H42",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M20 29H42",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M20 39H42",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M6 29H12L6 39H12",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M11 8.9999L7 9L6.3 16H11.7L11 8.9999Z",fill:"#333"}),Object(a.j)("path",{d:"M6 19L6.3 16M12 19L11.7 16M11.7 16L11 8.9999L7 9L6.3 16M11.7 16H6.3",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"订单列表")])])],-1),H=Object(a.j)("div",{key:"4"},[Object(a.j)("li",{class:"menu-header"},"SETTING"),Object(a.j)("li",{class:"nav-item"},[Object(a.j)("a",{href:"#/admin/system",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M36.686 15.171C37.9364 16.9643 38.8163 19.0352 39.2147 21.2727H44V26.7273H39.2147C38.8163 28.9648 37.9364 31.0357 36.686 32.829L40.0706 36.2137L36.2137 40.0706L32.829 36.686C31.0357 37.9364 28.9648 38.8163 26.7273 39.2147V44H21.2727V39.2147C19.0352 38.8163 16.9643 37.9364 15.171 36.686L11.7863 40.0706L7.92939 36.2137L11.314 32.829C10.0636 31.0357 9.18372 28.9648 8.78533 26.7273H4V21.2727H8.78533C9.18372 19.0352 10.0636 16.9643 11.314 15.171L7.92939 11.7863L11.7863 7.92939L15.171 11.314C16.9643 10.0636 19.0352 9.18372 21.2727 8.78533V4H26.7273V8.78533C28.9648 9.18372 31.0357 10.0636 32.829 11.314L36.2137 7.92939L40.0706 11.7863L36.686 15.171Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:"#FFF",stroke:"#FFF","stroke-width":"4","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"网站设置")]),Object(a.j)("a",{href:"#/admin/payment",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0ZM24 4.36364C13.1551 4.36364 4.36364 13.1551 4.36364 24C4.36364 34.8449 13.1551 43.6364 24 43.6364C30.7379 43.6364 36.6832 40.2427 40.2199 35.0715C38.7865 34.647 36.4967 33.9121 33.537 32.6689C32.3002 32.1494 30.4531 31.3299 27.9958 30.2104C25.0556 33.1735 20.769 36 16.1742 36C12.9855 35.9844 7.63636 34.3728 7.63636 29.3458C7.63636 24.3188 12.5923 23.1225 15.8076 23.1225C17.7535 23.1225 21.1973 24.1964 26.1389 26.3443L26.2149 26.3741C27.5413 24.7514 28.4513 22.867 28.9459 20.7208L29.0455 20.2571L20.3944 20.2571C19.0841 20.257 17.6773 20.2569 16.1742 20.2568V17.9371L22.032 17.9367V15.0371L13.8306 15.0375V13.2977L22.032 13.2971L22.033 9.81818H26.72L26.7196 13.2971L36.0941 13.2977V15.0375L26.7196 15.0371V17.9367L34.2059 17.9371C34.0959 18.661 33.9722 19.3186 33.8347 19.91L33.7506 20.2568C33.4061 21.5023 32.6313 23.3162 31.4262 25.6986C31.1062 26.3312 30.6437 27.0626 30.0599 27.838C31.904 28.5215 33.771 29.1844 35.6605 29.8275C38.1068 30.6601 40.2216 31.3339 42.005 31.8487C43.0543 29.445 43.6364 26.7905 43.6364 24C43.6364 13.1551 34.8449 4.36364 24 4.36364ZM10.3154 28.5436C10.3154 31.7418 17.0047 33.0159 22.4246 29.6497C23.0347 29.2707 23.6048 28.8664 24.1348 28.4369L24.1166 28.4286L23.69 28.1665C20.308 26.1089 17.6806 24.9932 15.8076 24.8194C14.0892 24.66 10.3154 25.3455 10.3154 28.5436ZM29.0455 20.2568L29.0455 20.2571L31.2536 20.2574L29.0455 20.2568Z",fill:"#333"})])]),Object(a.j)("span",null,"支付设置")]),Object(a.j)("a",{href:"#/admin/smtp",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("g",null,[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01","stroke-linejoin":"round","stroke-width":"4",stroke:"none","fill-rule":"evenodd"}),Object(a.j)("g",{transform:"translate(4.000000, 4.000000)"},[Object(a.j)("path",{d:"M40,14 L40,35.8181818 C40,37.0231667 39.1045695,38 38,38 L2,38 C0.8954305,38 0,37.0231667 0,35.8181818 L0,14 L20,27 L40,14 Z",fill:"#333","fill-rule":"nonzero","stroke-linejoin":"round","stroke-width":"4",stroke:"#333"}),Object(a.j)("polyline",{"stroke-linecap":"round",points:"-3.55271368e-15 13.7839098 20 -2.48689958e-14 40 13.7839098","stroke-linejoin":"round","stroke-width":"4",stroke:"#333",fill:"none","fill-rule":"evenodd"})])])])]),Object(a.j)("span",null,"邮箱设置")]),Object(a.j)("a",{href:"#/admin/sms",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M0 0H48V48H0V0Z",fill:"white","fill-opacity":"0.01"}),Object(a.j)("path",{d:"M4 39H44V24V9H24H4V24V39Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M4 9L24 24L44 9",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M24 9H4V24",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M44 24V9H24",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"短信设置")]),Object(a.j)("a",{href:"#/admin/password",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M22.8682 24.298C25.4105 26.7933 26.4138 30.4523 25.4971 33.886C24.5805 37.3198 21.8844 40.016 18.4325 40.9135C14.9806 41.8253 11.3022 40.8273 8.79375 38.2984C5.02208 34.4138 5.07602 28.2392 8.91499 24.4204C12.754 20.6016 18.9613 20.548 22.8664 24.2998L22.8682 24.298Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M30.3054 16.9L35.7339 22.3L42.0673 16L36.6387 10.6L30.3054 16.9Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M41.6682 8.41794C42.4513 7.63895 42.4547 6.37263 41.6757 5.58952C40.8967 4.80642 39.6304 4.80308 38.8473 5.58206L41.6682 8.41794ZM35.2282 9.18206C34.4451 9.96105 34.4418 11.2274 35.2208 12.0105C35.9997 12.7936 37.2661 12.7969 38.0492 12.0179L35.2282 9.18206ZM21.4577 22.8801C20.6746 23.6591 20.6713 24.9254 21.4503 25.7085C22.2293 26.4916 23.4956 26.4949 24.2787 25.7159L21.4577 22.8801ZM31.7158 18.3179C32.499 17.539 32.5023 16.2726 31.7233 15.4895C30.9443 14.7064 29.678 14.7031 28.8949 15.4821L31.7158 18.3179ZM28.8949 15.4821C28.1118 16.261 28.1084 17.5274 28.8874 18.3105C29.6664 19.0936 30.9327 19.0969 31.7158 18.3179L28.8949 15.4821ZM38.0492 12.0179C38.8323 11.239 38.8356 9.97263 38.0566 9.18952C37.2777 8.40642 36.0113 8.40308 35.2282 9.18206L38.0492 12.0179ZM38.8473 5.58206L35.2282 9.18206L38.0492 12.0179L41.6682 8.41794L38.8473 5.58206ZM38.0492 12.0179L41.6682 8.41794L38.8473 5.58206L35.2282 9.18206L38.0492 12.0179ZM24.2787 25.7159L31.7158 18.3179L28.8949 15.4821L21.4577 22.8801L24.2787 25.7159ZM28.8949 15.4821L21.4577 22.8801L24.2787 25.7159L31.7158 18.3179L28.8949 15.4821ZM31.7158 18.3179L38.0492 12.0179L35.2282 9.18206L28.8949 15.4821L31.7158 18.3179ZM35.2282 9.18206L28.8949 15.4821L31.7158 18.3179L38.0492 12.0179L35.2282 9.18206Z",fill:"#333"})])]),Object(a.j)("span",null,"账户修改")]),Object(a.j)("a",{href:"#/admin/notice",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M4 6H44V36H29L24 41L19 36H4V6Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M23 21H25.0025",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round"}),Object(a.j)("path",{d:"M33.0011 21H35",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round"}),Object(a.j)("path",{d:"M13.001 21H14.9999",stroke:"#FFF","stroke-width":"4","stroke-linecap":"round"})])]),Object(a.j)("span",null,"消息通知")])])],-1),z=Object(a.j)("div",{key:"5"},[Object(a.j)("li",{class:"menu-header"},"OTHERS"),Object(a.j)("li",{class:"nav-item"},[Object(a.j)("a",{href:"#/admin/images",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Object(a.j)("g",null,[Object(a.j)("rect",{width:"48",height:"48",fill:"white","fill-opacity":"0.01","stroke-linejoin":"round","stroke-width":"3",stroke:"none","fill-rule":"evenodd"}),Object(a.j)("g",{transform:"translate(5.000000, 8.000000)"},[Object(a.j)("path",{d:"M2,0 L36,0 C37.1045695,-2.02906125e-16 38,0.8954305 38,2 L38,30 C38,31.1045695 37.1045695,32 36,32 L2,32 C0.8954305,32 1.3527075e-16,31.1045695 0,30 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 Z","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",stroke:"#333333",fill:"none","fill-rule":"evenodd"}),Object(a.j)("circle",{"stroke-width":"3","stroke-linecap":"round",cx:"9.5",cy:"8.5",r:"1.5","stroke-linejoin":"round",stroke:"#333333",fill:"none","fill-rule":"evenodd"}),Object(a.j)("path",{d:"M10,16 L15,20 L21,13 L38,26 L38,30 C38,31.1045695 37.1045695,32 36,32 L2,32 C0.8954305,32 2.27508946e-13,31.1045695 2.27373675e-13,30 L2.27373675e-13,26 L10,16 Z","stroke-width":"3",fill:"#FFF","fill-rule":"nonzero","stroke-linejoin":"round",stroke:"#333333"})])])])]),Object(a.j)("span",null,"图片管理")]),Object(a.j)("a",{href:"#/",class:"nav-link"},[Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:"#333",stroke:"#333","stroke-width":"4","stroke-linejoin":"round"})])]),Object(a.j)("span",null,"返回商店")])])],-1),U={class:""},B=Object(a.j)("i",null,[Object(a.j)("svg",{width:"19",height:"19",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:"M23.9917 6L6 6L6 42H24",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M33 33L42 24L33 15",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M16 23.9917H42",stroke:"#333","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),Q=Object(a.j)("span",null,"注销登录",-1),Z=c("6c02"),S=Object(a.k)({name:"SideBar",setup:function(){var t=Object(Z.c)();return{logout:function(){localStorage.removeItem("access_token"),t.push({name:"home"})}}}});S.render=function(t,e,c,n,s,o){var l=Object(a.C)("router-link");return Object(a.u)(),Object(a.f)("div",k,[Object(a.j)("aside",w,[Object(a.j)("div",y,[Object(a.j)(l,{to:"/"},{default:Object(a.P)((function(){return[_]})),_:1})]),Object(a.j)("div",x,[Object(a.j)(l,{to:"/"},{default:Object(a.P)((function(){return[C]})),_:1})]),Object(a.j)("div",M,[L,F,V,H,z,Object(a.j)("li",U,[Object(a.j)("a",{onClick:e[1]||(e[1]=function(){return t.logout.apply(t,arguments)}),class:" btn btn-warning text-left"},[B,Q])])])])])};var A=S,P={class:"main-footer"},E={class:"footer-left"},I=Object(a.j)("div",{class:"footer-right"},[Object(a.i)("Power By "),Object(a.j)("a",{href:"http://baiyue.one"},"佰阅")],-1),D={data:function(){return{year:(new Date).getFullYear()}}};c("602d"),D.render=function(t,e,c,n,s,o){return Object(a.u)(),Object(a.f)("footer",P,[Object(a.j)("div",E,"Copyright © "+Object(a.F)(t.year),1),I])};var T={name:"Admin_index",components:{MainWrapper:s,MainContent:i,TopBar:g,SideBar:A,FooterComponent:D},setup:function(){document.title="KAMIFAKA"},render:function(t,e,c,n,s,o){var l=Object(a.C)("top-bar"),i=Object(a.C)("side-bar"),r=Object(a.C)("router-view"),d=Object(a.C)("main-content"),j=Object(a.C)("footer-component"),b=Object(a.C)("main-wrapper");return Object(a.u)(),Object(a.f)(b,null,{default:Object(a.P)((function(){return[Object(a.j)(l),Object(a.j)(i),Object(a.j)(d,null,{default:Object(a.P)((function(){return[Object(a.j)(a.b,{name:"fade"},{default:Object(a.P)((function(){return[Object(a.j)(r)]})),_:1})]})),_:1}),Object(a.j)(j)]})),_:1})}};e.default=T},c2e5:function(t,e,c){"use strict";c.r(e),c("b0c0");var a=c("7a23"),n=Object(a.S)("data-v-7e421ef9");Object(a.x)("data-v-7e421ef9");var s={class:"section-body"},o={class:"card",style:{padding:"15px 22px"}},l=Object(a.j)("h2",{class:"section-title",style:{margin:"0px"}},"公告:",-1),i=Object(a.j)("br",null,null,-1),r={class:"col"},d={class:"card"},j={class:"shop-header"},b=Object(a.j)("svg",{width:"20",height:"20",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:"M40.0393 22V42H8.03931V22",stroke:"#666666","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M5.84231 13.7766C4.31276 17.7377 7.26307 22 11.5092 22C14.8229 22 17.5276 19.3137 17.5276 16C17.5276 19.3137 20.2139 22 23.5276 22H24.546C27.8597 22 30.546 19.3137 30.546 16C30.546 19.3137 33.2518 22 36.5655 22C40.8139 22 43.767 17.7352 42.2362 13.7723L39.2337 6H8.84523L5.84231 13.7766Z",fill:"#666666",stroke:"#666666","stroke-width":"4","stroke-linejoin":"round"})],-1),u={class:"card-body p-0"},O={class:"table table-invoice"},f={class:"table table-striped"},p=Object(a.j)("tr",null,[Object(a.j)("th",null,"商品名称"),Object(a.j)("th",{class:"d-none d-sm-table-cell"},"发货模式"),Object(a.j)("th",null,"单价"),Object(a.j)("th",{class:"d-none d-sm-table-cell"},"库存"),Object(a.j)("th",null,"操作")],-1),h={class:"d-none d-sm-table-cell"},m={class:"d-none d-sm-table-cell"},v={key:0},g=Object(a.j)("svg",{width:"16",height:"16",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:"M39 32H13L8 12H44L39 32Z",fill:"#ffffff"}),Object(a.j)("path",{d:"M3 6H6.5L8 12M8 12L13 32H39L44 12H8Z",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("circle",{cx:"13",cy:"39",r:"3",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("circle",{cx:"39",cy:"39",r:"3",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M22 22H30",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M26 26V18",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})],-1),k={key:1},w=Object(a.j)("svg",{width:"16",height:"16",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:"M39 32H13L8 12H44L39 32Z",fill:"#ffffff"}),Object(a.j)("path",{d:"M3 6H6.5L8 12M8 12L13 32H39L44 12H8Z",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("circle",{cx:"13",cy:"39",r:"3",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("circle",{cx:"39",cy:"39",r:"3",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M22 22H30",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}),Object(a.j)("path",{d:"M26 26V18",stroke:"#ffffff","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"})],-1);Object(a.v)();var y=n((function(t,e,c,y,_,x){var C=Object(a.C)("router-link");return Object(a.u)(),Object(a.f)("div",s,[Object(a.j)("div",o,[l,i,Object(a.j)("div",{class:"section-lead",innerHTML:y.top_notice},null,8,["innerHTML"])]),(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.goods,(function(t){return Object(a.u)(),Object(a.f)("div",{key:t.id,class:"row"},[Object(a.j)("div",r,[Object(a.j)("div",d,[Object(a.j)("div",j,[Object(a.j)("h6",null,[b,Object(a.i)(" "+Object(a.F)(t.cag_name),1)])]),Object(a.j)("div",u,[Object(a.j)("div",O,[Object(a.j)("table",f,[Object(a.j)("tbody",null,[p,(Object(a.u)(!0),Object(a.f)(a.a,null,Object(a.A)(t.shops,(function(t){return Object(a.u)(),Object(a.f)("tr",{key:t.id},[Object(a.j)("td",null,Object(a.F)(t.name),1),Object(a.j)("td",h,[Object(a.j)("div",{class:["badge",1==t.auto?"badge-success":"badge-primary"]},Object(a.F)(1==t.auto?"自动发货":"手动发货"),3)]),Object(a.j)("td",null,Object(a.F)(t.price),1),Object(a.j)("td",m,Object(a.F)(t.stock),1),"缺货"!=t.stock?(Object(a.u)(),Object(a.f)("td",v,[Object(a.j)(C,{class:"btn btn-warning btn-action mr-1",to:{name:"detail",params:{id:t.prod_id}}},{default:n((function(){return[g]})),_:2},1032,["to"])])):(Object(a.u)(),Object(a.f)("td",k,[Object(a.j)("button",{class:"btn btn-secondary btn-action mr-1",onClick:e[1]||(e[1]=function(t){return y.out_of_stock()})},[w])]))])})),128))])])])])])])])})),128))])})),_=c("5530"),x=c("f96b"),C=c("6c42"),M={setup:function(){var t=Object(a.y)({goods:[{cag:"分类",shops:[{name:"DEMO",isauto:!1,price:8.9,stock:"少量"}]}]});x.a.getShopList().then((function(e){t.goods=e.shops}));var e=Object(a.n)("configs"),c=e.top_notice,n=e.toast_notice,s=Object(C.b)();return Object(a.N)(n,(function(){null==n.value&&""==n.value||s.success(n)})),Object(_.a)(Object(_.a)({},Object(a.H)(t)),{},{top_notice:c,out_of_stock:function(){s.warning("哈哈来晚了,该商品已缺货")}})}};c("51c5"),M.render=y,M.__scopeId="data-v-7e421ef9",e.default=M},d59b:function(t,e,c){},e229:function(t,e,c){"use strict";c("d59b")},edaf:function(t,e,c){},f38b:function(t,e,c){},f5bc:function(t,e,c){"use strict";c("2c4e")},f96b:function(t,e,c){"use strict";c("b0c0"),c("d3b7");var a=c("bc3a"),n=c.n(a),s=c("323e"),o=c.n(s),l=(c("a5d8"),n.a.create({baseURL:"api/v4",timeout:1e4,headers:{"Content-Type":"application/json"}}));l.interceptors.request.use((function(t){o.a.start();var e=window.localStorage.getItem("access_token");return e&&(t.headers.Authorization="Bearer "+e),t.headers["Content-Type"]="application/json",t}),(function(t){return o.a.done(),console.log(t),Promise.reject(t)})),l.interceptors.response.use((function(t){return o.a.done(),t.data}),(function(t){if(o.a.done(),t.response&&t.response.status){var e=t.response.status;400===e&&console.log(t.response.data),401===e&&(console.log(t.response.data),localStorage.removeItem("access_token"),window.location.href="#/login"),403===e&&alert("没有权限"),404===e&&console.log(t.response.data),500===e&&alert("服务器出错"),503===e&&alert("服务器在维护")}return Promise.reject(t.response.data)}));var i=l,r=n.a.create({baseURL:"api/v2",timeout:1e4,headers:{"Content-Type":"application/json"}});r.interceptors.request.use((function(t){return o.a.start(),t}),(function(t){return o.a.done(),console.log(t),Promise.reject(t)})),r.interceptors.response.use((function(t){return o.a.done(),t.data}),(function(t){if(o.a.done(),t.response&&t.response.status){var e=t.response.status;400===e&&console.log(t.response.data),401===e&&(console.log(t.response.data),localStorage.removeItem("access_token"),window.location.href="#/login"),403===e&&alert("没有权限"),404===e&&console.log(t.response.data),500===e&&alert("服务器出错"),503===e&&alert("服务器在维护")}return Promise.reject(t.response.data)}));var d=r;e.a={postlogin:function(t){var e=t.email,c=t.password;return i.post("/login",{email:e,password:c})},getShopList:function(){return d.get("theme_list")},getDetail:function(t){var e=t.prod_id;return d.get("/detail/".concat(e))},getOrder:function(t){var e=t.contact;return d.post("/get_order",{contact:e})},getPayList:function(){return d.get("/get_pay_list")},getSystemCustom:function(){return d.get("/get_system")},getCag:function(){return i.get("/get_class")},postCag:function(t){var e=t.id,c=t.name,a=t.info,n=t.sort,s=t.methord;return i.post("/update_class",{id:e,name:c,info:a,sort:n,methord:s})},getShop:function(){return i.get("/get_shop")},getShopEdit:function(t){var e=t.id;return i.post("/get_shop_edit",{id:e})},postShop:function(t){var e=t.id,c=t.cag_name,a=t.name,n=t.info,s=t.img_url,o=t.sort,l=t.discription,r=t.price,d=t.price_wholesale,j=t.auto,b=t.sales,u=t.tag,O=t.isactive,f=t.methord;return i.post("/update_shop",{id:e,cag_name:c,name:a,info:n,img_url:s,sort:o,discription:l,price:r,price_wholesale:d,auto:j,sales:b,tag:u,isactive:O,methord:f})},getCard:function(t){var e=t.page;return i.post("/get_card",{page:e})},getCardPages:function(){return i.get("/get_card_pages")},postCard:function(t){var e=t.id,c=t.prod_name,a=t.card,n=t.methord,s=t.isused,o=t.reuse;return i.post("/update_card",{id:e,prod_name:c,card:a,isused:s,methord:n,reuse:o})},getOrderlist:function(t){var e=t.page;return i.post("/get_orders",{page:e})},getOrderlistPages:function(){return i.get("/get_orders_pages")},postPayUrl:function(t){var e=t.out_order_id,c=t.name,a=t.total_price,n=t.payment;return d.post("/get_pay_url",{out_order_id:e,name:c,total_price:a,payment:n})},postCheckPay:function(t){var e=t.out_order_id,c=t.methord,a=t.payment,n=t.payjs_order_id,s=t.name,o=t.contact,l=t.contact_txt,i=t.price,r=t.num,j=t.total_price;return d.post("/check_pay",{out_order_id:e,methord:c,payment:a,payjs_order_id:n,name:s,contact:o,contact_txt:l,price:i,num:r,total_price:j})},getPay:function(){return i.get("/get_pays")},getPayDetail:function(t){var e=t.id;return i.get("/update_pays?id=".concat(e))},postPay:function(t){var e=t.data;return i.post("/update_pays",{data:e})},getCardByid:function(t){var e=t.out_order_id;return d.post("/get_card",{out_order_id:e})},getAdminAcount:function(){return i.post("/get_admin_account")},updateAdminAcount:function(t){var e=t.email,c=t.password;return i.post("/update_admin_account",{email:e,password:c})},getEmail:function(){return i.get("/get_smtp")},updateEmial:function(t){var e=t.data;return i.post("/update_smtp",{data:e})},testEmail:function(t){var e=t.email,c=t.data,a=t.message;return i.post("/test_smtp",{email:e,data:c,message:a})},getNotice:function(){return i.get("/get_notice")},updateNotice:function(t){var e=t.data;return i.post("/update_notice",{data:e})},getDashBoard:function(){return i.get("/dashboard")},getSystem:function(){return i.post("/get_system")},postSystem:function(t){var e=t.data;return i.post("/update_system",{data:e})},postImgaes:function(t){var e=t.file;return i.post("/upload",{file:e})},Backup:function(){return i.post("/backups")},LocalBackup:function(t){var e=t.types;return i.post("/local_backup",{types:e})}}},ff59:function(t,e,c){"use strict";c.r(e);var a=c("7a23"),n=Object(a.h)('关于我们
本系统基于开源KAMIFAKA程序搭建。
?XCKte
zI