龙三郎 1 year ago
parent
commit
a4d32a405a
45 changed files with 17 additions and 17 deletions
  1. 1 1
      dist/assets/CusNavigation-e5cec034.js
  2. 0 0
      dist/assets/Detail-9ee76e63.js
  3. 0 0
      dist/assets/Index-515d0a57.js
  4. 0 0
      dist/assets/Index-569e35aa.js
  5. 0 0
      dist/assets/Index-6758abb1.js
  6. 0 0
      dist/assets/Index-688cc765.js
  7. 0 0
      dist/assets/Index-69a29089.js
  8. 0 0
      dist/assets/Index-78f086cc.js
  9. 0 0
      dist/assets/Index-85bfa53f.js
  10. 0 0
      dist/assets/Index-8eefbec0.js
  11. 0 0
      dist/assets/Index-8f2160bb.js
  12. 0 0
      dist/assets/Index-9c41775a.js
  13. 0 0
      dist/assets/Index-c77dd6b1.js
  14. 0 0
      dist/assets/Index-d982ac6b.js
  15. 0 0
      dist/assets/Index-dd8366cb.js
  16. 1 1
      dist/assets/Index-e1e2c7fb.css
  17. 0 0
      dist/assets/Index-e3aa0a8d.js
  18. 0 0
      dist/assets/Index-f557552c.js
  19. 1 1
      dist/assets/Index1-7e4267d7.js
  20. 0 0
      dist/assets/Location-cfda7ed7.js
  21. 0 0
      dist/assets/Log-4c5a23c7.js
  22. 0 0
      dist/assets/axios-74626246.js
  23. 0 0
      dist/assets/function-call-61f89fb3.js
  24. 0 0
      dist/assets/index-0322c7ee.js
  25. 1 1
      dist/assets/index-07256eba.js
  26. 1 1
      dist/assets/index-12861273.js
  27. 1 1
      dist/assets/index-2c9989bc.js
  28. 0 0
      dist/assets/index-3c8b3307.js
  29. 0 0
      dist/assets/index-4869ce1e.js
  30. 0 0
      dist/assets/index-493eb484.js
  31. 0 0
      dist/assets/index-5e53ad64.js
  32. 0 0
      dist/assets/index-80824ce0.js
  33. 1 1
      dist/assets/index-8b2a5852.js
  34. 1 1
      dist/assets/index-902d71fd.js
  35. 1 1
      dist/assets/index-92dbef8a.js
  36. 1 1
      dist/assets/index-beee1740.js
  37. 0 0
      dist/assets/index-d69ec51f.js
  38. 1 1
      dist/assets/on-popup-reopen-7a2a8515.js
  39. 1 1
      dist/assets/request-01f1d1a1.js
  40. 0 1
      dist/assets/use-expose-a2962fa5.js
  41. 1 0
      dist/assets/use-expose-d86bad54.js
  42. 1 1
      dist/assets/use-placeholder-dfa440b5.js
  43. 0 0
      dist/assets/util-67be4b02.js
  44. 1 1
      dist/index.html
  45. 2 2
      src/components/QR/Index.vue

+ 1 - 1
dist/assets/CusNavigation-e2fcca5e.js → dist/assets/CusNavigation-e5cec034.js

@@ -1 +1 @@
-import{d as f,r as y,u as h,b as a,e as n,c as s,E as r,f as e,x as v,F as b,_ as k}from"./index-0dbf0293.js";import"./index-80824e24.js";import{F as C}from"./index-276b6f3a.js";import{I as S}from"./index-cf256570.js";const F={style:{height:"36px",padding:"0px 0px 0px 0px",display:"flex","align-items":"center"}},V={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"bold","font-size":"1.1rem",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},B={style:{"background-color":"#eee","border-radius":"2.5rem",width:"0px","flex-grow":"1",margin:"0px 5px 0px 5px"}},N=f({__name:"CusNavigation",props:{title:{type:String,default:void 0},gobackabled:{type:Boolean,default:!1},searchabled:{type:Boolean,default:!1}},emits:["onSearch"],setup(t,{emit:d}){const p=d,o=y(""),m=()=>{p("onSearch",o.value)},g=h(),_=i=>{console.log(i),g.go(-1)};return(i,l)=>{const c=S,u=C;return a(),n("div",F,[t.gobackabled?(a(),n("div",{key:0,style:{"line-height":"0px"},class:"cus-goback",onClick:_},[s(c,{name:"static/images/icon-back.png",size:"1.7rem"})])):r("",!0),e("div",V,[e("span",null,v(t.title),1)]),t.searchabled?(a(),n(b,{key:1},[e("div",B,[s(u,{style:{padding:"6px 16px"},modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=x=>o.value=x),size:"normal",clearable:""},null,8,["modelValue"])]),e("div",{style:{"line-height":"0px"},onClick:m},[s(c,{name:"static/images/icon-search-black.png",size:"2rem"})])],64)):r("",!0)])}}});const E=k(N,[["__scopeId","data-v-7d04ed01"]]);export{E as _};
+import{d as f,r as y,u as h,b as a,e as n,c as s,E as r,f as e,x as v,F as b,_ as k}from"./index-4869ce1e.js";import"./index-07256eba.js";import{F as C}from"./index-3c8b3307.js";import{I as S}from"./index-80824ce0.js";const F={style:{height:"36px",padding:"0px 0px 0px 0px",display:"flex","align-items":"center"}},V={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"bold","font-size":"1.1rem",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},B={style:{"background-color":"#eee","border-radius":"2.5rem",width:"0px","flex-grow":"1",margin:"0px 5px 0px 5px"}},N=f({__name:"CusNavigation",props:{title:{type:String,default:void 0},gobackabled:{type:Boolean,default:!1},searchabled:{type:Boolean,default:!1}},emits:["onSearch"],setup(t,{emit:d}){const p=d,o=y(""),m=()=>{p("onSearch",o.value)},g=h(),_=i=>{console.log(i),g.go(-1)};return(i,l)=>{const c=S,u=C;return a(),n("div",F,[t.gobackabled?(a(),n("div",{key:0,style:{"line-height":"0px"},class:"cus-goback",onClick:_},[s(c,{name:"static/images/icon-back.png",size:"1.7rem"})])):r("",!0),e("div",V,[e("span",null,v(t.title),1)]),t.searchabled?(a(),n(b,{key:1},[e("div",B,[s(u,{style:{padding:"6px 16px"},modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=x=>o.value=x),size:"normal",clearable:""},null,8,["modelValue"])]),e("div",{style:{"line-height":"0px"},onClick:m},[s(c,{name:"static/images/icon-search-black.png",size:"2rem"})])],64)):r("",!0)])}}});const E=k(N,[["__scopeId","data-v-7d04ed01"]]);export{E as _};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Detail-9ee76e63.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-515d0a57.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-569e35aa.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-6758abb1.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-688cc765.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-69a29089.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-78f086cc.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-85bfa53f.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-8eefbec0.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-8f2160bb.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-9c41775a.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-c77dd6b1.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-d982ac6b.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-dd8366cb.js


+ 1 - 1
dist/assets/Index-96f84a79.css → dist/assets/Index-e1e2c7fb.css

@@ -1 +1 @@
-#reader[data-v-1bf26fc3]{position:absolute;width:100%;top:40%;left:0;transform:translateY(-50%);border:1px solid #eee;box-sizing:border-box}
+#reader[data-v-f0faa214]{position:absolute;width:100%;top:40%;left:0;transform:translateY(-50%);border:1px solid #eee;box-sizing:border-box}

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-e3aa0a8d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Index-f557552c.js


+ 1 - 1
dist/assets/Index1-319a3802.js → dist/assets/Index1-7e4267d7.js

@@ -1 +1 @@
-import{_ as i,b as d,e as v,Q as e}from"./index-0dbf0293.js";const t={},o={style:{position:"flex",height:"100%",width:"100%","background-color":"#aaa"}},c=e('<div style="display:flex;width:100%;height:100%;align-items:center;justify-content:center;"><div style="height:60%;width:60%;display:flex;flex-direction:column;"><div style="height:200px;background-color:red;">jjj</div><div style="overflow:auto;background-color:#ccc;flex-grow:1;"><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>666666</div></div><div style="height:200px;background-color:red;"></div></div></div>',1),r=[c];function s(n,l){return d(),v("div",o,r)}const h=i(t,[["render",s]]);export{h as default};
+import{_ as i,b as d,e as v,Q as e}from"./index-4869ce1e.js";const t={},o={style:{position:"flex",height:"100%",width:"100%","background-color":"#aaa"}},c=e('<div style="display:flex;width:100%;height:100%;align-items:center;justify-content:center;"><div style="height:60%;width:60%;display:flex;flex-direction:column;"><div style="height:200px;background-color:red;">jjj</div><div style="overflow:auto;background-color:#ccc;flex-grow:1;"><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>123456</div><div>666666</div></div><div style="height:200px;background-color:red;"></div></div></div>',1),r=[c];function s(n,l){return d(),v("div",o,r)}const h=i(t,[["render",s]]);export{h as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Location-cfda7ed7.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/Log-4c5a23c7.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/axios-74626246.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/function-call-61f89fb3.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-0322c7ee.js


+ 1 - 1
dist/assets/index-80824e24.js → dist/assets/index-07256eba.js

@@ -1 +1 @@
-import{c as y,e as L,r as D,a as I,f as B,n as o,t as V,d as u,v as s,I as b,w as _}from"./index-cf256570.js";import{d as q,c as n}from"./index-0dbf0293.js";const[z,r]=y("cell"),A={tag:B("div"),icon:String,size:String,title:o,value:o,label:o,center:Boolean,isLink:Boolean,border:V,iconPrefix:String,valueClass:u,labelClass:u,titleClass:u,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},N=L({},A,D);var R=q({name:z,props:N,setup(e,{slots:l}){const v=I(),g=()=>{if(l.label||s(e.label))return n("div",{class:[r("label"),e.labelClass]},[l.label?l.label():e.label])},h=()=>{var a;if(l.title||s(e.title)){const t=(a=l.title)==null?void 0:a.call(l);return Array.isArray(t)&&t.length===0?void 0:n("div",{class:[r("title"),e.titleClass],style:e.titleStyle},[t||n("span",null,[e.title]),g()])}},m=()=>{const a=l.value||l.default;if(a||s(e.value))return n("div",{class:[r("value"),e.valueClass]},[a?a():n("span",null,[e.value])])},w=()=>{if(l.icon)return l.icon();if(e.icon)return n(b,{name:e.icon,class:r("left-icon"),classPrefix:e.iconPrefix},null)},C=()=>{if(l["right-icon"])return l["right-icon"]();if(e.isLink){const a=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return n(b,{name:a,class:r("right-icon")},null)}};return()=>{var a;const{tag:t,size:i,center:P,border:S,isLink:k,required:x}=e,c=(a=e.clickable)!=null?a:k,d={center:P,required:!!x,clickable:c,borderless:!S};return i&&(d[i]=!!i),n(t,{class:r(d),role:c?"button":void 0,tabindex:c?0:void 0,onClick:v},{default:()=>{var f;return[w(),h(),m(),C(),(f=l.extra)==null?void 0:f.call(l)]}})}}});const j=_(R);export{j as C,A as c};
+import{c as y,e as L,r as D,a as I,f as B,n as o,t as V,d as u,v as s,I as b,w as _}from"./index-80824ce0.js";import{d as q,c as n}from"./index-4869ce1e.js";const[z,r]=y("cell"),A={tag:B("div"),icon:String,size:String,title:o,value:o,label:o,center:Boolean,isLink:Boolean,border:V,iconPrefix:String,valueClass:u,labelClass:u,titleClass:u,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},N=L({},A,D);var R=q({name:z,props:N,setup(e,{slots:l}){const v=I(),g=()=>{if(l.label||s(e.label))return n("div",{class:[r("label"),e.labelClass]},[l.label?l.label():e.label])},h=()=>{var a;if(l.title||s(e.title)){const t=(a=l.title)==null?void 0:a.call(l);return Array.isArray(t)&&t.length===0?void 0:n("div",{class:[r("title"),e.titleClass],style:e.titleStyle},[t||n("span",null,[e.title]),g()])}},m=()=>{const a=l.value||l.default;if(a||s(e.value))return n("div",{class:[r("value"),e.valueClass]},[a?a():n("span",null,[e.value])])},w=()=>{if(l.icon)return l.icon();if(e.icon)return n(b,{name:e.icon,class:r("left-icon"),classPrefix:e.iconPrefix},null)},C=()=>{if(l["right-icon"])return l["right-icon"]();if(e.isLink){const a=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return n(b,{name:a,class:r("right-icon")},null)}};return()=>{var a;const{tag:t,size:i,center:P,border:S,isLink:k,required:x}=e,c=(a=e.clickable)!=null?a:k,d={center:P,required:!!x,clickable:c,borderless:!S};return i&&(d[i]=!!i),n(t,{class:r(d),role:c?"button":void 0,tabindex:c?0:void 0,onClick:v},{default:()=>{var f;return[w(),h(),m(),C(),(f=l.extra)==null?void 0:f.call(l)]}})}}});const j=_(R);export{j as C,A as c};

+ 1 - 1
dist/assets/index-0be7dc41.js → dist/assets/index-12861273.js

@@ -1 +1 @@
-import{c as u,e as d,o as f,n as c,f as m,h as y,w as S}from"./index-cf256570.js";import{c as a,d as p,a as x}from"./index-0dbf0293.js";const[g,r]=u("loading"),v=Array(12).fill(null).map((e,n)=>a("i",{class:r("line",String(n+1))},null)),z=a("svg",{class:r("circular"),viewBox:"25 25 50 50"},[a("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),I={size:c,type:m("circular"),color:String,vertical:Boolean,textSize:c,textColor:String};var C=p({name:g,props:I,setup(e,{slots:n}){const l=x(()=>d({color:e.color},f(e.size))),i=()=>{const t=e.type==="spinner"?v:z;return a("span",{class:r("spinner",e.type),style:l.value},[n.icon?n.icon():t])},o=()=>{var t;if(n.default)return a("span",{class:r("text"),style:{fontSize:y(e.textSize),color:(t=e.textColor)!=null?t:e.color}},[n.default()])};return()=>{const{type:t,vertical:s}=e;return a("div",{class:r([t,{vertical:s}]),"aria-live":"polite","aria-busy":!0},[i(),o()])}}});const _=S(C);export{_ as L};
+import{c as u,e as d,o as f,n as c,f as m,h as y,w as S}from"./index-80824ce0.js";import{c as a,d as p,a as x}from"./index-4869ce1e.js";const[g,r]=u("loading"),v=Array(12).fill(null).map((e,n)=>a("i",{class:r("line",String(n+1))},null)),z=a("svg",{class:r("circular"),viewBox:"25 25 50 50"},[a("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),I={size:c,type:m("circular"),color:String,vertical:Boolean,textSize:c,textColor:String};var C=p({name:g,props:I,setup(e,{slots:n}){const l=x(()=>d({color:e.color},f(e.size))),i=()=>{const t=e.type==="spinner"?v:z;return a("span",{class:r("spinner",e.type),style:l.value},[n.icon?n.icon():t])},o=()=>{var t;if(n.default)return a("span",{class:r("text"),style:{fontSize:y(e.textSize),color:(t=e.textColor)!=null?t:e.color}},[n.default()])};return()=>{const{type:t,vertical:s}=e;return a("div",{class:r([t,{vertical:s}]),"aria-live":"polite","aria-busy":!0},[i(),o()])}}});const _=S(C);export{_ as L};

+ 1 - 1
dist/assets/index-ebcb3688.js → dist/assets/index-2c9989bc.js

@@ -1 +1 @@
-import{d as S,c as t,M as k}from"./index-0dbf0293.js";import{c as x,t as B,f as I,I as P,w as T}from"./index-cf256570.js";import{H as h}from"./constant-eba5e2d8.js";const[p,r]=x("tag"),v={size:String,mark:Boolean,show:B,type:I("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var w=S({name:p,props:v,emits:["close"],setup(o,{slots:n,emit:s}){const c=e=>{e.stopPropagation(),s("close",e)},i=()=>o.plain?{color:o.textColor||o.color,borderColor:o.color}:{color:o.textColor,background:o.color},d=()=>{var e;const{type:m,mark:u,plain:f,round:g,size:a,closeable:C}=o,l={mark:u,plain:f,round:g};a&&(l[a]=a);const b=C&&t(P,{name:"cross",class:[r("close"),h],onClick:c},null);return t("span",{style:i(),class:r([l,m])},[(e=n.default)==null?void 0:e.call(n),b])};return()=>t(k,{name:o.closeable?"van-fade":void 0},{default:()=>[o.show?d():null]})}});const A=T(w);export{A as T};
+import{d as S,c as t,M as k}from"./index-4869ce1e.js";import{c as x,t as B,f as I,I as P,w as T}from"./index-80824ce0.js";import{H as h}from"./constant-eba5e2d8.js";const[p,r]=x("tag"),v={size:String,mark:Boolean,show:B,type:I("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var w=S({name:p,props:v,emits:["close"],setup(o,{slots:n,emit:s}){const c=e=>{e.stopPropagation(),s("close",e)},i=()=>o.plain?{color:o.textColor||o.color,borderColor:o.color}:{color:o.textColor,background:o.color},d=()=>{var e;const{type:m,mark:u,plain:f,round:g,size:a,closeable:C}=o,l={mark:u,plain:f,round:g};a&&(l[a]=a);const b=C&&t(P,{name:"cross",class:[r("close"),h],onClick:c},null);return t("span",{style:i(),class:r([l,m])},[(e=n.default)==null?void 0:e.call(n),b])};return()=>t(k,{name:o.closeable?"van-fade":void 0},{default:()=>[o.show?d():null]})}});const A=T(w);export{A as T};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-3c8b3307.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-4869ce1e.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-493eb484.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-5e53ad64.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-80824ce0.js


+ 1 - 1
dist/assets/index-65691504.js → dist/assets/index-8b2a5852.js

@@ -1 +1 @@
-import{c as V,u as y,n as A,t as h,y as T,w as C}from"./index-cf256570.js";import{u as M}from"./use-expose-a2962fa5.js";import{F as N}from"./constant-eba5e2d8.js";import{d as _,c as q}from"./index-0dbf0293.js";const[x,I]=V("form"),O={colon:Boolean,disabled:Boolean,readonly:Boolean,required:[Boolean,String],showError:Boolean,labelWidth:A,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:h,showErrorMessage:h,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}};var j=_({name:x,props:O,emits:["submit","failed"],setup(i,{emit:s,slots:u}){const{children:a,linkChildren:v}=y(N),l=e=>e?a.filter(t=>e.includes(t.name)):a,p=e=>new Promise((t,n)=>{const r=[];l(e).reduce((w,E)=>w.then(()=>{if(!r.length)return E.validate().then(g=>{g&&r.push(g)})}),Promise.resolve()).then(()=>{r.length?n(r):t()})}),b=e=>new Promise((t,n)=>{const r=l(e);Promise.all(r.map(o=>o.validate())).then(o=>{o=o.filter(Boolean),o.length?n(o):t()})}),B=e=>{const t=a.find(n=>n.name===e);return t?new Promise((n,r)=>{t.validate().then(o=>{o?r(o):n()})}):Promise.reject()},c=e=>typeof e=="string"?B(e):i.validateFirst?p(e):b(e),S=e=>{typeof e=="string"&&(e=[e]),l(e).forEach(n=>{n.resetValidation()})},F=()=>a.reduce((e,t)=>(e[t.name]=t.getValidationStatus(),e),{}),d=(e,t)=>{a.some(n=>n.name===e?(n.$el.scrollIntoView(t),!0):!1)},f=()=>a.reduce((e,t)=>(t.name!==void 0&&(e[t.name]=t.formValue.value),e),{}),m=()=>{const e=f();c().then(()=>s("submit",e)).catch(t=>{s("failed",{values:e,errors:t}),i.scrollToError&&t[0].name&&d(t[0].name)})},P=e=>{T(e),m()};return v({props:i}),M({submit:m,validate:c,getValues:f,scrollToField:d,resetValidation:S,getValidationStatus:F}),()=>{var e;return q("form",{class:I(),onSubmit:P},[(e=u.default)==null?void 0:e.call(u)])}}});const W=C(j);export{W as F};
+import{c as V,u as y,n as A,t as h,y as T,w as C}from"./index-80824ce0.js";import{u as M}from"./use-expose-d86bad54.js";import{F as N}from"./constant-eba5e2d8.js";import{d as _,c as q}from"./index-4869ce1e.js";const[x,I]=V("form"),O={colon:Boolean,disabled:Boolean,readonly:Boolean,required:[Boolean,String],showError:Boolean,labelWidth:A,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:h,showErrorMessage:h,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}};var j=_({name:x,props:O,emits:["submit","failed"],setup(i,{emit:s,slots:u}){const{children:a,linkChildren:v}=y(N),l=e=>e?a.filter(t=>e.includes(t.name)):a,p=e=>new Promise((t,n)=>{const r=[];l(e).reduce((w,E)=>w.then(()=>{if(!r.length)return E.validate().then(g=>{g&&r.push(g)})}),Promise.resolve()).then(()=>{r.length?n(r):t()})}),b=e=>new Promise((t,n)=>{const r=l(e);Promise.all(r.map(o=>o.validate())).then(o=>{o=o.filter(Boolean),o.length?n(o):t()})}),B=e=>{const t=a.find(n=>n.name===e);return t?new Promise((n,r)=>{t.validate().then(o=>{o?r(o):n()})}):Promise.reject()},c=e=>typeof e=="string"?B(e):i.validateFirst?p(e):b(e),S=e=>{typeof e=="string"&&(e=[e]),l(e).forEach(n=>{n.resetValidation()})},F=()=>a.reduce((e,t)=>(e[t.name]=t.getValidationStatus(),e),{}),d=(e,t)=>{a.some(n=>n.name===e?(n.$el.scrollIntoView(t),!0):!1)},f=()=>a.reduce((e,t)=>(t.name!==void 0&&(e[t.name]=t.formValue.value),e),{}),m=()=>{const e=f();c().then(()=>s("submit",e)).catch(t=>{s("failed",{values:e,errors:t}),i.scrollToError&&t[0].name&&d(t[0].name)})},P=e=>{T(e),m()};return v({props:i}),M({submit:m,validate:c,getValues:f,scrollToField:d,resetValidation:S,getValidationStatus:F}),()=>{var e;return q("form",{class:I(),onSubmit:P},[(e=u.default)==null?void 0:e.call(u)])}}});const W=C(j);export{W as F};

+ 1 - 1
dist/assets/index-1c553e30.js → dist/assets/index-902d71fd.js

@@ -1 +1 @@
-import{a as m}from"./axios-339bc245.js";import{q as f,S as u}from"./index-0dbf0293.js";import{s as l}from"./function-call-fce55f02.js";const a=f(),i=m.create({baseURL:"/forward-service",timeout:1e4}),h=function(c,r,s){const{url:o,data:e}=c;i.post(o,e,{headers:{token:a.token}}).then(t=>{const n=t.data;n.code==0?r&&r(n):n.code==3?a.isLogin=!1:s&&s(n.msg)},t=>{s&&s(t.message)}).catch(t=>{console.log(t)})},k=function(c){const{url:r,data:s}=c;return i.post(r,s,{headers:{token:a.token}}).then(o=>{const e=o.data;if(e.code==0)return Promise.resolve(e);if(e.code==3)console.log(e),a.isLogin=!1,l({message:e.msg,onClose:()=>{u()}});else return Promise.reject(e.msg)},o=>Promise.reject(o.message))};export{h as a,k as p};
+import{a as m}from"./axios-74626246.js";import{q as f,S as u}from"./index-4869ce1e.js";import{s as l}from"./function-call-61f89fb3.js";const a=f(),i=m.create({baseURL:"/forward-service",timeout:1e4}),h=function(c,r,s){const{url:o,data:e}=c;i.post(o,e,{headers:{token:a.token}}).then(t=>{const n=t.data;n.code==0?r&&r(n):n.code==3?a.isLogin=!1:s&&s(n.msg)},t=>{s&&s(t.message)}).catch(t=>{console.log(t)})},k=function(c){const{url:r,data:s}=c;return i.post(r,s,{headers:{token:a.token}}).then(o=>{const e=o.data;if(e.code==0)return Promise.resolve(e);if(e.code==3)console.log(e),a.isLogin=!1,l({message:e.msg,onClose:()=>{u()}});else return Promise.reject(e.msg)},o=>Promise.reject(o.message))};export{h as a,k as p};

+ 1 - 1
dist/assets/index-f99de66b.js → dist/assets/index-92dbef8a.js

@@ -1 +1 @@
-import{c as z,e as I,r as R,f as l,n as C,a as p,I as w,y as D,w as L}from"./index-cf256570.js";import{L as N}from"./index-0be7dc41.js";import{e as q}from"./constant-eba5e2d8.js";import{d as O,c as o}from"./index-0dbf0293.js";const[U,a]=z("button"),_=I({},R,{tag:l("button"),text:String,icon:String,type:l("default"),size:l("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:l("button"),loadingSize:C,loadingText:String,loadingType:String,iconPosition:l("left")});var E=O({name:U,props:_,emits:["click"],setup(n,{emit:g,slots:t}){const f=p(),m=()=>t.loading?t.loading():o(N,{size:n.loadingSize,type:n.loadingType,class:a("loading")},null),c=()=>{if(n.loading)return m();if(t.icon)return o("div",{class:a("icon")},[t.icon()]);if(n.icon)return o(w,{name:n.icon,class:a("icon"),classPrefix:n.iconPrefix},null)},b=()=>{let e;if(n.loading?e=n.loadingText:e=t.default?t.default():n.text,e)return o("span",{class:a("text")},[e])},x=()=>{const{color:e,plain:r}=n;if(e){const i={color:r?e:"white"};return r||(i.background=e),e.includes("gradient")?i.border=0:i.borderColor=e,i}},y=e=>{n.loading?D(e):n.disabled||(g("click",e),f())};return()=>{const{tag:e,type:r,size:i,block:S,round:B,plain:P,square:k,loading:T,disabled:s,hairline:d,nativeType:h,iconPosition:u}=n,v=[a([r,i,{plain:P,block:S,round:B,square:k,loading:T,disabled:s,hairline:d}]),{[q]:d}];return o(e,{type:h,class:v,style:x(),disabled:s,onClick:y},{default:()=>[o("div",{class:a("content")},[u==="left"&&c(),b(),u==="right"&&c()])]})}}});const G=L(E);export{G as B};
+import{c as z,e as I,r as R,f as l,n as C,a as p,I as w,y as D,w as L}from"./index-80824ce0.js";import{L as N}from"./index-12861273.js";import{e as q}from"./constant-eba5e2d8.js";import{d as O,c as o}from"./index-4869ce1e.js";const[U,a]=z("button"),_=I({},R,{tag:l("button"),text:String,icon:String,type:l("default"),size:l("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:l("button"),loadingSize:C,loadingText:String,loadingType:String,iconPosition:l("left")});var E=O({name:U,props:_,emits:["click"],setup(n,{emit:g,slots:t}){const f=p(),m=()=>t.loading?t.loading():o(N,{size:n.loadingSize,type:n.loadingType,class:a("loading")},null),c=()=>{if(n.loading)return m();if(t.icon)return o("div",{class:a("icon")},[t.icon()]);if(n.icon)return o(w,{name:n.icon,class:a("icon"),classPrefix:n.iconPrefix},null)},b=()=>{let e;if(n.loading?e=n.loadingText:e=t.default?t.default():n.text,e)return o("span",{class:a("text")},[e])},x=()=>{const{color:e,plain:r}=n;if(e){const i={color:r?e:"white"};return r||(i.background=e),e.includes("gradient")?i.border=0:i.borderColor=e,i}},y=e=>{n.loading?D(e):n.disabled||(g("click",e),f())};return()=>{const{tag:e,type:r,size:i,block:S,round:B,plain:P,square:k,loading:T,disabled:s,hairline:d,nativeType:h,iconPosition:u}=n,v=[a([r,i,{plain:P,block:S,round:B,square:k,loading:T,disabled:s,hairline:d}]),{[q]:d}];return o(e,{type:h,class:v,style:x(),disabled:s,onClick:y},{default:()=>[o("div",{class:a("content")},[u==="left"&&c(),b(),u==="right"&&c()])]})}}});const G=L(E);export{G as B};

+ 1 - 1
dist/assets/index-2ba7997d.js → dist/assets/index-beee1740.js

@@ -1 +1 @@
-import{u as s}from"./axios-339bc245.js";import{c,t as u,w as d}from"./index-cf256570.js";import{d as m,c as r,F as f,m as p}from"./index-0dbf0293.js";import{B as v}from"./constant-eba5e2d8.js";const[g,a]=c("cell-group"),B={title:String,inset:Boolean,border:u};var O=m({name:g,inheritAttrs:!1,props:B,setup(e,{slots:t,attrs:l}){const n=()=>{var i;return r("div",p({class:[a({inset:e.inset}),{[v]:e.border&&!e.inset}]},l,s()),[(i=t.default)==null?void 0:i.call(t)])},o=()=>r("div",{class:a("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(f,null,[o(),n()]):n()}});const h=d(O);export{h as C};
+import{u as s}from"./axios-74626246.js";import{c,t as u,w as d}from"./index-80824ce0.js";import{d as m,c as r,F as f,m as p}from"./index-4869ce1e.js";import{B as v}from"./constant-eba5e2d8.js";const[g,a]=c("cell-group"),B={title:String,inset:Boolean,border:u};var O=m({name:g,inheritAttrs:!1,props:B,setup(e,{slots:t,attrs:l}){const n=()=>{var i;return r("div",p({class:[a({inset:e.inset}),{[v]:e.border&&!e.inset}]},l,s()),[(i=t.default)==null?void 0:i.call(t)])},o=()=>r("div",{class:a("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(f,null,[o(),n()]):n()}});const h=d(O);export{h as C};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-d69ec51f.js


+ 1 - 1
dist/assets/on-popup-reopen-1a0f62a6.js → dist/assets/on-popup-reopen-7a2a8515.js

@@ -1 +1 @@
-import{U as a,j as n}from"./index-cf256570.js";import{W as e,w as r}from"./index-0dbf0293.js";function c(s,{args:t=[],done:o,canceled:i,error:p}){if(s){const f=s.apply(null,t);a(f)?f.then(l=>{l?o():i&&i()}).catch(p||n):f?o():i&&i()}else o()}const u=Symbol();function h(s){const t=e(u,null);t&&r(t,o=>{o&&s()})}export{u as P,c,h as o};
+import{U as a,j as n}from"./index-80824ce0.js";import{W as e,w as r}from"./index-4869ce1e.js";function c(s,{args:t=[],done:o,canceled:i,error:p}){if(s){const f=s.apply(null,t);a(f)?f.then(l=>{l?o():i&&i()}).catch(p||n):f?o():i&&i()}else o()}const u=Symbol();function h(s){const t=e(u,null);t&&r(t,o=>{o&&s()})}export{u as P,c,h as o};

+ 1 - 1
dist/assets/request-9fea3547.js → dist/assets/request-01f1d1a1.js

@@ -1 +1 @@
-import{a as s}from"./axios-339bc245.js";import{N as n}from"./index-0dbf0293.js";const c=n("localStore",{state:()=>({username:"",password:"",rememberPassword:!0,token:""}),persist:{enabled:!0,encryptionKey:"nfgj",storage:localStorage}}),a="https://www.huifutiancai.com/huishou-service",r=c(),t=s.create({baseURL:a,timeout:5e3});t.interceptors.request.use(function(e){return r.token&&(e.headers.accessToken=r.token),e},function(e){return Promise.reject(e)});t.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const p=function(e,o){return t.post(e,o)};export{p,c as u};
+import{a as s}from"./axios-74626246.js";import{N as n}from"./index-4869ce1e.js";const c=n("localStore",{state:()=>({username:"",password:"",rememberPassword:!0,token:""}),persist:{enabled:!0,encryptionKey:"nfgj",storage:localStorage}}),a="https://www.huifutiancai.com/huishou-service",r=c(),t=s.create({baseURL:a,timeout:5e3});t.interceptors.request.use(function(e){return r.token&&(e.headers.accessToken=r.token),e},function(e){return Promise.reject(e)});t.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const p=function(e,o){return t.post(e,o)};export{p,c as u};

+ 0 - 1
dist/assets/use-expose-a2962fa5.js

@@ -1 +0,0 @@
-import{e as n}from"./index-cf256570.js";import{g as o}from"./index-0dbf0293.js";function a(t){const e=o();e&&n(e.proxy,t)}export{a as u};

+ 1 - 0
dist/assets/use-expose-d86bad54.js

@@ -0,0 +1 @@
+import{e as n}from"./index-80824ce0.js";import{g as o}from"./index-4869ce1e.js";function a(t){const e=o();e&&n(e.proxy,t)}export{a as u};

+ 1 - 1
dist/assets/use-placeholder-d75cf742.js → dist/assets/use-placeholder-dfa440b5.js

@@ -1 +1 @@
-import{P as r,N as h,M as n}from"./index-cf256570.js";import{o as u}from"./on-popup-reopen-1a0f62a6.js";import{r as c,o as l,A as a,w as d,c as p}from"./index-0dbf0293.js";const f=(o,s)=>{const t=c(),e=()=>{t.value=n(o).height};return l(()=>{if(a(e),s)for(let i=1;i<=3;i++)setTimeout(e,100*i)}),u(()=>a(e)),d([r,h],e),t};function v(o,s){const t=f(o,!0);return e=>p("div",{class:s("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[e()])}export{v as u};
+import{P as r,N as h,M as n}from"./index-80824ce0.js";import{o as u}from"./on-popup-reopen-7a2a8515.js";import{r as c,o as l,A as a,w as d,c as p}from"./index-4869ce1e.js";const f=(o,s)=>{const t=c(),e=()=>{t.value=n(o).height};return l(()=>{if(a(e),s)for(let i=1;i<=3;i++)setTimeout(e,100*i)}),u(()=>a(e)),d([r,h],e),t};function v(o,s){const t=f(o,!0);return e=>p("div",{class:s("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[e()])}export{v as u};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/util-67be4b02.js


+ 1 - 1
dist/index.html

@@ -7,7 +7,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
     <title>驼人物联网平台</title>
     <script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=r6wmhUcG2BBUmqP4OjRlxLOMbQ3F1Ptn"></script>
-    <script type="module" crossorigin src="/wap/assets/index-0dbf0293.js"></script>
+    <script type="module" crossorigin src="/wap/assets/index-4869ce1e.js"></script>
     <link rel="stylesheet" href="/wap/assets/index-e80b75ce.css">
   </head>
   <body>

+ 2 - 2
src/components/QR/Index.vue

@@ -58,8 +58,8 @@
         fps: 10, // 设置每秒多少帧
         qrbox: { width: 250, height: 250 }, // 设置取景范围
         // focusMode: 'continuous',
-        aspectRatio: 1,
-        disableFlip: true,
+        // aspectRatio: 1,
+        // disableFlip: true,
         // scannable, rest shaded.
       },
       (decodedText: string, decodedResult: Html5QrcodeResult) => {

Some files were not shown because too many files changed in this diff