mirror of
https://gitee.com/niucloud-team/javashop.git
synced 2026-05-28 03:33:44 +00:00
优化 * 平台端 站点端界面改版优化 * 插件支持多选批量升级 * 万能表单 日期组件、时间组件优化 * 万能表单完善语言包 * 微信开放平台管理端优化,增加小程序撤回审核、授权记录 * 插件支持多选批量升级 * 升级框架/插件时,增加是否备份、是否云编译等控制选项 * 操作日志增加清空功能 * 站点端`本地存储`调整为`默认存储`,若无配置,则使用管理端设置的默认存储方式及配置 * 后台提现列表样式优化 * 隐私协议弹框样式优化 * 待付款订单界面优化 * 商品列表 推广支持微信小程序二维码 * 商品分类列表 推广支持微信小程序二维码 * 优惠券列表 推广支持微信小程序二维码 * 重构限时折扣活动,支持添加N个商品,提供扩展性 * 限时折扣增加批量设置减钱、促销价 * 商品搜索页面增加 搜索关键字、排行榜 * 订单退款详情、优惠券领取记录、退款维权详情改为抽屉弹框样式 新增 * 增加升级记录 * 增加备份记录,支持手动备份、恢复等功能 * 增加主题风格,自定义配色功能 * 自定义链接支持扩展,增加万能表单选择 * 自定义页面增加弹窗广告设置 * 平台端增加清理缓存功能 * 增加定时清理计划任务日志数据 * 牛云短信功能 * 会员增加身份证、备注等信息 * 个人资料增加万能表单 * 后台会员列表增加全选所有页/全选当前页,方便批量操作 * 自定义页面增加弹窗广告设置 * 增加定时清理计划任务 * 站点增加初始化操作,用于清空整个站点数据 * 支持第三方云编译服务搭建 * 商品列表,商品分类展示限时折扣标识 * 价格展示逻辑调整,同时参与会员价、限时折扣,优先展示最低价 * 商品榜单列表增加会员价、限时折扣标识 * 商品收藏列表、足迹列表,显示会员价/限时折扣展示 * 同城配送功能新增预约时间设置,支持用户选择具体配送时段,提升配送体验。 * 自定义商品详情 * 增加商品排序设置 * 增加门店自提核销功能 * 优惠券列表增加发劵功能 * 商品列表、商品详情增加副标题展示 * 商品增加视频 * 后台增加`关闭售后`按钮 * 添加/编辑商品,支持选择多个参数模板 * 商品详情左上角返回增加悬浮菜单导航 * 商品品牌支持自定义样式设置 * 商品标签增加复制功能 * 增加商品搜索设置 * 增加商品编码唯一性设置 * 自定义链接增加选择商品、选择商品分类、选择优惠券、选择积分商品 * 满减送列表增加批量关闭、删除功能 * 后台商品列表增加批量操作(商品标签、商品服务、虚拟销量、商品分类、商品品牌、商品海报、是否赠品、配送设置、批量修改库存)
2 lines
6.4 KiB
JavaScript
2 lines
6.4 KiB
JavaScript
import{H as ne,V as le,f as k,B as se,o as A,k as R,C as V,u as f,r as H,p as oe,t as re,y as ie,l as g,E as ue,D as ce,F as de,x as M,L as me,c9 as ve,X as be,ca as pe,au as fe,aR as y,w as v,a7 as ge,m as x,aa as ye,ab as xe,aZ as C,ao as _e,aw as Z,a6 as q,bU as _,aY as D,b3 as F,aM as he,cb as we,j as ke,c as Ce,s as Le,v as $e,__tla as Ae}from"./entry.f22ed627.js";import{E as Ve,a as Be,__tla as Ee}from"./el-tooltip.1e0d1cb9.js";import{__tla as Ie}from"./el-popper.9ae39397.js";import{_ as Se}from"./_plugin-vue_export-helper.c27b6911.js";let U,X,Y,Pe=Promise.all([(()=>{try{return Ae}catch{}})(),(()=>{try{return Ee}catch{}})(),(()=>{try{return Ie}catch{}})()]).then(async()=>{const G=ne({header:{type:String,default:""},bodyStyle:{type:le([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),J=k({name:"ElCard"}),K=k({...J,props:G,setup(a){const e=se("card");return(t,n)=>(A(),R("div",{class:V([f(e).b(),f(e).is(`${t.shadow}-shadow`)])},[t.$slots.header||t.header?(A(),R("div",{key:0,class:V(f(e).e("header"))},[H(t.$slots,"header",{},()=>[oe(re(t.header),1)])],2)):ie("v-if",!0),g("div",{class:V(f(e).e("body")),style:ue(t.bodyStyle)},[H(t.$slots,"default")],6)],2))}});var Q=ce(K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);U=de(Q);function W(a){let e;const t=M(!1),n=me({...a,originalPosition:"",originalOverflow:"",visible:!1});function s(o){n.text=o}function l(){const o=n.parent,r=d.ns;if(!o.vLoadingAddClassList){let i=o.getAttribute("loading-number");i=Number.parseInt(i)-1,i?o.setAttribute("loading-number",i.toString()):(C(o,r.bm("parent","relative")),o.removeAttribute("loading-number")),C(o,r.bm("parent","hidden"))}u(),c.unmount()}function u(){var o,r;(r=(o=d.$el)==null?void 0:o.parentNode)==null||r.removeChild(d.$el)}function m(){var o;a.beforeClose&&!a.beforeClose()||(t.value=!0,clearTimeout(e),e=window.setTimeout(p,400),n.visible=!1,(o=a.closed)==null||o.call(a))}function p(){if(!t.value)return;const o=n.parent;t.value=!1,o.vLoadingAddClassList=void 0,l()}const c=ve(k({name:"ElLoading",setup(o,{expose:r}){const{ns:i}=pe("loading"),ee=fe();return r({ns:i,zIndex:ee}),()=>{const z=n.spinner||n.svg,ae=y("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...z?{innerHTML:z}:{}},[y("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),te=n.text?y("p",{class:i.b("text")},[n.text]):void 0;return y(xe,{name:i.b("fade"),onAfterLeave:p},{default:v(()=>[ge(x("div",{style:{backgroundColor:n.background||""},class:[i.b("mask"),n.customClass,n.fullscreen?"is-fullscreen":""]},[y("div",{class:i.b("spinner")},[ae,te])]),[[ye,n.visible]])])})}}})),d=c.mount(document.createElement("div"));return{...be(n),setText:s,removeElLoadingChild:u,close:m,handleAfterLeave:p,vm:d,get $el(){return d.$el}}}let h,B,E,I,L,w,$,S,b,P,T,N,O,j;B=function(a={}){if(!_e)return;const e=E(a);if(e.fullscreen&&h)return h;const t=W({...e,closed:()=>{var s;(s=e.closed)==null||s.call(e),e.fullscreen&&(h=void 0)}});I(e,e.parent,t),L(e,e.parent,t),e.parent.vLoadingAddClassList=()=>L(e,e.parent,t);let n=e.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",e.parent.setAttribute("loading-number",n),e.parent.appendChild(t.$el),Z(()=>t.visible.value=e.visible),e.fullscreen&&(h=t),t},E=a=>{var e,t,n,s;let l;return q(a.target)?l=(e=document.querySelector(a.target))!=null?e:document.body:l=a.target||document.body,{parent:l===document.body||a.body?document.body:l,background:a.background||"",svg:a.svg||"",svgViewBox:a.svgViewBox||"",spinner:a.spinner||!1,text:a.text||"",fullscreen:l===document.body&&((t=a.fullscreen)!=null?t:!0),lock:(n=a.lock)!=null?n:!1,customClass:a.customClass||"",visible:(s=a.visible)!=null?s:!0,target:l}},I=async(a,e,t)=>{const{nextZIndex:n}=t.vm.zIndex,s={};if(a.fullscreen)t.originalPosition.value=_(document.body,"position"),t.originalOverflow.value=_(document.body,"overflow"),s.zIndex=n();else if(a.parent===document.body){t.originalPosition.value=_(document.body,"position"),await Z();for(const l of["top","left"]){const u=l==="top"?"scrollTop":"scrollLeft";s[l]=`${a.target.getBoundingClientRect()[l]+document.body[u]+document.documentElement[u]-Number.parseInt(_(document.body,`margin-${l}`),10)}px`}for(const l of["height","width"])s[l]=`${a.target.getBoundingClientRect()[l]}px`}else t.originalPosition.value=_(e,"position");for(const[l,u]of Object.entries(s))t.$el.style[l]=u},L=(a,e,t)=>{const n=t.vm.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?C(e,n.bm("parent","relative")):D(e,n.bm("parent","relative")),a.fullscreen&&a.lock?D(e,n.bm("parent","hidden")):C(e,n.bm("parent","hidden"))},w=Symbol("ElLoading"),$=(a,e)=>{var t,n,s,l;const u=e.instance,m=r=>F(e.value)?e.value[r]:void 0,p=r=>{const i=q(r)&&(u==null?void 0:u[r])||r;return i&&M(i)},c=r=>p(m(r)||a.getAttribute(`element-loading-${we(r)}`)),d=(t=m("fullscreen"))!=null?t:e.modifiers.fullscreen,o={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(n=m("target"))!=null?n:d?void 0:a,body:(s=m("body"))!=null?s:e.modifiers.body,lock:(l=m("lock"))!=null?l:e.modifiers.lock};a[w]={options:o,instance:B(o)}},S=(a,e)=>{for(const t of Object.keys(e))he(e[t])&&(e[t].value=a[t])},Y={mounted(a,e){e.value&&$(a,e)},updated(a,e){const t=a[w];e.oldValue!==e.value&&(e.value&&!e.oldValue?$(a,e):e.value&&e.oldValue?F(e.value)&&S(e.value,t.options):t==null||t.instance.close())},unmounted(a){var e;(e=a[w])==null||e.instance.close()}},b=a=>(Le("data-v-7c22fcc5"),a=a(),$e(),a),P=b(()=>g("span",null,"\u6B22\u8FCE\u9875",-1)),T=b(()=>g("span",null,"\u4E2A\u4EBA\u4FE1\u606F",-1)),N=b(()=>g("span",null,"\u6211\u7684\u4F59\u989D",-1)),O=b(()=>g("span",null,"\u6211\u7684\u79EF\u5206",-1)),j=k({__name:"index",setup(a){const e=ke();return(t,n)=>{const s=Ve,l=Be;return A(),Ce(l,{"default-active":f(e).route,ellipsis:!1,router:!0,class:"el-menu-vertical-demo w-[200px]"},{default:v(()=>[x(s,{index:"/member",route:"/member",class:"divide-y"},{default:v(()=>[P]),_:1}),x(s,{index:"/member/center",route:"/member/center",class:"divide-y"},{default:v(()=>[T]),_:1}),x(s,{index:"/member/balance",route:"/member/balance",class:"divide-y"},{default:v(()=>[N]),_:1}),x(s,{index:"/member/point",route:"/member/point",class:"divide-y"},{default:v(()=>[O]),_:1})]),_:1},8,["default-active"])}}}),X=Se(j,[["__scopeId","data-v-7c22fcc5"]])});export{U as E,X as _,Pe as __tla,Y as v};
|