zhaogongxue il y a 8 mois
Parent
commit
f704c6329e
88 fichiers modifiés avec 63 ajouts et 45 suppressions
  1. 4 4
      .env.development
  2. 2 2
      .env.production
  3. BIN
      dist.zip
  4. 0 0
      dist/assets/Footer.60e7ba0b.js
  5. 0 0
      dist/assets/Routers.a195e5a8.js
  6. 1 1
      dist/assets/address.0db53c11.js
  7. 0 0
      dist/assets/address.1e75f4b2.js
  8. 1 1
      dist/assets/article.40915119.js
  9. 0 0
      dist/assets/chat.41645f31.js
  10. 1 1
      dist/assets/comment.d2512b67.js
  11. 0 0
      dist/assets/commonProblem.e17fb6fc.js
  12. 0 0
      dist/assets/content.7efd5841.js
  13. 0 0
      dist/assets/conversion.7b92788c.js
  14. 0 0
      dist/assets/date-picker.0676bebd.js
  15. 0 0
      dist/assets/debounce.4bbd8ef3.js
  16. 0 0
      dist/assets/details.83cae1b4.js
  17. 0 0
      dist/assets/discount.faca045d.js
  18. 0 0
      dist/assets/draft.1cbd46a4.js
  19. 0 0
      dist/assets/edit.25e2ef94.js
  20. 0 0
      dist/assets/editor.8b123e9c.js
  21. 0 0
      dist/assets/editor.99e9deaa.js
  22. 1 1
      dist/assets/flatten.d1681386.js
  23. 0 0
      dist/assets/follow.2d647508.js
  24. 0 0
      dist/assets/foot.21bf9e73.js
  25. 1 1
      dist/assets/formatTime.20e70339.js
  26. 1 1
      dist/assets/forum.9af4d846.js
  27. 1 1
      dist/assets/gather.afe72849.js
  28. 0 0
      dist/assets/index.01636b27.js
  29. 0 0
      dist/assets/index.50fb9e59.js
  30. 0 0
      dist/assets/index.55c812ef.js
  31. 1 1
      dist/assets/index.563e12b2.js
  32. 0 0
      dist/assets/index.59ed6639.js
  33. 0 0
      dist/assets/index.67d7e2c1.js
  34. 0 0
      dist/assets/index.72c8ddae.js
  35. 1 1
      dist/assets/index.835c7c2c.js
  36. 1 1
      dist/assets/index.8e9f0a35.js
  37. 1 1
      dist/assets/index.8f606c47.js
  38. 0 0
      dist/assets/index.9572e65d.js
  39. 0 0
      dist/assets/index.a323b81c.js
  40. 1 1
      dist/assets/index.bf9618b5.js
  41. 0 0
      dist/assets/index.c3d314d9.js
  42. 0 0
      dist/assets/index.cbe0ee08.js
  43. 1 1
      dist/assets/index.d5824784.js
  44. 1 1
      dist/assets/index.dec355a2.js
  45. 0 0
      dist/assets/index.ee68e91a.js
  46. 0 0
      dist/assets/index.esm.bef530dd.js
  47. 0 0
      dist/assets/index.f1022687.js
  48. 0 0
      dist/assets/index.f174ee91.js
  49. 0 0
      dist/assets/index.f94708a4.js
  50. 0 0
      dist/assets/index.fa73485f.js
  51. 0 0
      dist/assets/index.vue_vue_type_style_index_1_scoped_true_lang.b2846ebe.css
  52. 1 1
      dist/assets/invite.41240048.js
  53. 0 0
      dist/assets/inviteinfo.0471d5a0.js
  54. 1 1
      dist/assets/jifen.afc31506.js
  55. 1 1
      dist/assets/join.9b4a96c0.js
  56. 0 0
      dist/assets/localeData.5cf53d1c.js
  57. 0 0
      dist/assets/make.051e94d3.js
  58. 0 0
      dist/assets/message-box.46f658e8.js
  59. 0 0
      dist/assets/more.569d18e3.js
  60. 1 1
      dist/assets/news.dc4514a9.js
  61. 1 1
      dist/assets/outshoping.fa0d43a8.js
  62. 0 0
      dist/assets/pagination.c972d005.js
  63. 0 0
      dist/assets/placeOrder.ef1e3645.js
  64. 0 0
      dist/assets/postDetail.2a7f7ac7.js
  65. 1 1
      dist/assets/private.739a04d9.js
  66. 1 1
      dist/assets/rest.c6b659f7.js
  67. 0 0
      dist/assets/search.e1dacaf7.js
  68. 0 0
      dist/assets/setting.06b66536.js
  69. 0 0
      dist/assets/sign.9a6133cc.js
  70. 1 1
      dist/assets/text.7e8ddaf4.js
  71. 1 1
      dist/assets/throttle.e60da1c7.js
  72. 0 0
      dist/assets/topic.0ac2a760.js
  73. 1 1
      dist/assets/topic.875b6163.js
  74. 1 1
      dist/assets/useForum.30b11d93.js
  75. 0 0
      dist/assets/usePost.09a3299e.js
  76. 0 0
      dist/assets/usePost.620bea16.js
  77. 0 0
      dist/assets/useScrollEvent.e7822471.js
  78. 1 1
      dist/assets/useUpimages.e87b8ac1.js
  79. 1 1
      dist/assets/video.0b8edbc7.js
  80. 1 1
      dist/assets/video.8f225e6f.js
  81. 0 0
      dist/assets/wallect.af4dcb99.js
  82. 1 1
      dist/assets/zixun.648eefb2.js
  83. 1 1
      dist/index.html
  84. 2 0
      src/components/MomentLayout/index.vue
  85. 7 2
      src/components/MomentLayout/videoContent.vue
  86. 14 6
      src/useHook/usePost.js
  87. 3 0
      src/useHook/usepuy.js
  88. 1 1
      vite.config.js

+ 4 - 4
.env.development

@@ -1,10 +1,10 @@
 
 NODE_ENV = 'development'
 
-# VUE_APP_BASE_API = "https://www.yixiangvr.com/api"
-# VITE_AP_BASE_API = "https://www.yixiangvr.com/api"
-VITE_AP_BASE_API = "https://vr-new.hdlkeji.com/api"
-VUE_APP_BASE_API = "https://vr-new.hdlkeji.com/api"
+VUE_APP_BASE_API = "https://www.yixiangvr.com/api"
+VITE_AP_BASE_API = "https://www.yixiangvr.com/api"
+# VITE_AP_BASE_API = "https://vr-new.hdlkeji.com/api"
+# VUE_APP_BASE_API = "https://vr-new.hdlkeji.com/api"
 
 
 # VUE_APP_BASE_API = "https://vr.hdlkeji.com/api"

+ 2 - 2
.env.production

@@ -1,4 +1,4 @@
 NODE_ENV = 'production'
 
-VUE_APP_BASE_API = "https://vr-new.hdlkeji.com/api"
-# VUE_APP_BASE_API = "https://www.yixiangvr.com/api"
+# VUE_APP_BASE_API = "https://vr-new.hdlkeji.com/api"
+VUE_APP_BASE_API = "https://www.yixiangvr.com/api"

BIN
dist.zip


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/Footer.60e7ba0b.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/Routers.a195e5a8.js


+ 1 - 1
dist/assets/address.2879e4b1.js → dist/assets/address.0db53c11.js

@@ -1 +1 @@
-import{Q as d}from"./index.bec96d93.js";const e=s=>d({params:s,method:"GET",url:"area"}),o=s=>d({params:s,method:"GET",url:"address"}),r=s=>d({params:s,method:"GET",url:`address/${s.id}`}),a=s=>d({data:s,method:"POST",url:"address"}),l=s=>d({params:s,method:"PUT",url:`address/${s.id}`}),i=s=>d({data:s,method:"DELETE",url:`address/${s.id}`});export{e as a,i as d,r as i,o as l,a as m,l as p};
+import{Q as d}from"./index.fa73485f.js";const e=s=>d({params:s,method:"GET",url:"area"}),o=s=>d({params:s,method:"GET",url:"address"}),r=s=>d({params:s,method:"GET",url:`address/${s.id}`}),a=s=>d({data:s,method:"POST",url:"address"}),l=s=>d({params:s,method:"PUT",url:`address/${s.id}`}),i=s=>d({data:s,method:"DELETE",url:`address/${s.id}`});export{e as a,i as d,r as i,o as l,a as m,l as p};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/address.1e75f4b2.js


+ 1 - 1
dist/assets/article.b43b625e.js → dist/assets/article.40915119.js

@@ -1 +1 @@
-import{Q as o}from"./index.bec96d93.js";const i=t=>o({params:t,method:"GET",url:"article"}),l=t=>o({data:t,method:"POST",url:"article"}),r=t=>o({data:t,method:"PUT",url:`article/${t.id}`}),s=t=>o({params:t,method:"GET",url:`article/${t.id}`}),c=t=>o({method:"DELETE",url:`article/${t.id}`});export{r as a,c as d,s as i,i as l,l as p};
+import{Q as o}from"./index.fa73485f.js";const i=t=>o({params:t,method:"GET",url:"article"}),l=t=>o({data:t,method:"POST",url:"article"}),r=t=>o({data:t,method:"PUT",url:`article/${t.id}`}),s=t=>o({params:t,method:"GET",url:`article/${t.id}`}),c=t=>o({method:"DELETE",url:`article/${t.id}`});export{r as a,c as d,s as i,i as l,l as p};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/chat.41645f31.js


+ 1 - 1
dist/assets/comment.26f8cd17.js → dist/assets/comment.d2512b67.js

@@ -1 +1 @@
-import{Q as m}from"./index.bec96d93.js";const s=t=>m({params:t,method:"GET",url:"comment"}),c=t=>m({params:t,method:"GET",url:"comment/my-list"}),e=t=>m({data:t,method:"POST",url:"comment"});export{e as c,s as l,c as m};
+import{Q as m}from"./index.fa73485f.js";const s=t=>m({params:t,method:"GET",url:"comment"}),c=t=>m({params:t,method:"GET",url:"comment/my-list"}),e=t=>m({data:t,method:"POST",url:"comment"});export{e as c,s as l,c as m};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/commonProblem.e17fb6fc.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/content.7efd5841.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/conversion.7b92788c.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/date-picker.0676bebd.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/debounce.4bbd8ef3.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/details.83cae1b4.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/discount.faca045d.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/draft.1cbd46a4.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/edit.25e2ef94.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/editor.8b123e9c.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/editor.99e9deaa.js


+ 1 - 1
dist/assets/flatten.0469df9e.js → dist/assets/flatten.d1681386.js

@@ -1 +1 @@
-import{e3 as t,e4 as h,e5 as m,e6 as r}from"./index.bec96d93.js";var b=t?t.isConcatSpreadable:void 0;function x(n){return h(n)||m(n)||!!(b&&n&&n[b])}function g(n,f,i,s,e){var a=-1,l=n.length;for(i||(i=x),e||(e=[]);++a<l;){var o=n[a];f>0&&i(o)?f>1?g(o,f-1,i,s,e):r(e,o):s||(e[e.length]=o)}return e}function F(n){var f=n==null?0:n.length;return f?g(n,1):[]}export{g as b,F as f};
+import{e3 as t,e4 as h,e5 as m,e6 as r}from"./index.fa73485f.js";var b=t?t.isConcatSpreadable:void 0;function x(n){return h(n)||m(n)||!!(b&&n&&n[b])}function g(n,f,i,s,e){var a=-1,l=n.length;for(i||(i=x),e||(e=[]);++a<l;){var o=n[a];f>0&&i(o)?f>1?g(o,f-1,i,s,e):r(e,o):s||(e[e.length]=o)}return e}function F(n){var f=n==null?0:n.length;return f?g(n,1):[]}export{g as b,F as f};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/follow.2d647508.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/foot.21bf9e73.js


+ 1 - 1
dist/assets/formatTime.529a6f14.js → dist/assets/formatTime.20e70339.js

@@ -1 +1 @@
-import{Y as B,Z as m}from"./index.bec96d93.js";var $={exports:{}};(function(s,k){(function(a,l){s.exports=l()})(B,function(){return function(a,l,d){a=a||{};var e=l.prototype,T={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function g(r,t,i,h){return e.fromToBase(r,t,i,h)}d.en.relativeTime=T,e.fromToBase=function(r,t,i,h,w){for(var c,f,v,p=i.$locale().relativeTime||T,y=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],j=y.length,u=0;u<j;u+=1){var o=y[u];o.d&&(c=h?d(r).diff(i,o.d,!0):i.diff(r,o.d,!0));var n=(a.rounding||Math.round)(Math.abs(c));if(v=c>0,n<=o.r||!o.r){n<=1&&u>0&&(o=y[u-1]);var M=p[o.l];w&&(n=w(""+n)),f=typeof M=="string"?M.replace("%d",n):M(n,t,o.l,v);break}}if(t)return f;var x=v?p.future:p.past;return typeof x=="function"?x(f):x.replace("%s",f)},e.to=function(r,t){return g(r,t,this,!0)},e.from=function(r,t){return g(r,t,this)};var b=function(r){return r.$u?d.utc():d()};e.toNow=function(r){return this.to(b(this),r)},e.fromNow=function(r){return this.from(b(this),r)}}})})($);var N=$.exports;m.locale("zh-cn");const A=s=>s?(m.extend(N),m().to(m(s))):"1\u5206\u949F\u524D";export{A as t};
+import{Y as B,Z as m}from"./index.fa73485f.js";var $={exports:{}};(function(s,k){(function(a,l){s.exports=l()})(B,function(){return function(a,l,d){a=a||{};var e=l.prototype,T={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function g(r,t,i,h){return e.fromToBase(r,t,i,h)}d.en.relativeTime=T,e.fromToBase=function(r,t,i,h,w){for(var c,f,v,p=i.$locale().relativeTime||T,y=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],j=y.length,u=0;u<j;u+=1){var o=y[u];o.d&&(c=h?d(r).diff(i,o.d,!0):i.diff(r,o.d,!0));var n=(a.rounding||Math.round)(Math.abs(c));if(v=c>0,n<=o.r||!o.r){n<=1&&u>0&&(o=y[u-1]);var M=p[o.l];w&&(n=w(""+n)),f=typeof M=="string"?M.replace("%d",n):M(n,t,o.l,v);break}}if(t)return f;var x=v?p.future:p.past;return typeof x=="function"?x(f):x.replace("%s",f)},e.to=function(r,t){return g(r,t,this,!0)},e.from=function(r,t){return g(r,t,this)};var b=function(r){return r.$u?d.utc():d()};e.toNow=function(r){return this.to(b(this),r)},e.fromNow=function(r){return this.from(b(this),r)}}})})($);var N=$.exports;m.locale("zh-cn");const A=s=>s?(m.extend(N),m().to(m(s))):"1\u5206\u949F\u524D";export{A as t};

+ 1 - 1
dist/assets/forum.184c447c.js → dist/assets/forum.9af4d846.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const d=o=>t({params:o,method:"GET",url:"post"}),e=o=>t({data:o,method:"POST",url:"post"}),p=o=>t({data:o,method:"PUT",url:`post/${o.id}`}),i=o=>t({params:o,method:"GET",url:`post/${o.id}`}),l=o=>t({method:"DELETE",url:`post/${o.id}`});export{p as a,l as d,i,d as l,e as p};
+import{Q as t}from"./index.fa73485f.js";const d=o=>t({params:o,method:"GET",url:"post"}),e=o=>t({data:o,method:"POST",url:"post"}),p=o=>t({data:o,method:"PUT",url:`post/${o.id}`}),i=o=>t({params:o,method:"GET",url:`post/${o.id}`}),l=o=>t({method:"DELETE",url:`post/${o.id}`});export{p as a,l as d,i,d as l,e as p};

+ 1 - 1
dist/assets/gather.f348b503.js → dist/assets/gather.afe72849.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const o=s=>t({params:s,method:"GET",url:"summary"}),r=s=>t({data:s,method:"POST",url:"like"}),c=s=>t({data:s,method:"POST",url:"collect"}),l=s=>t({data:s,method:"POST",url:"share"}),m=s=>t({params:s,method:"GET",url:"draft"}),a=s=>t({data:s,method:"DELETE",url:`comment/${s.id}`});export{o as a,m as b,c,a as d,r as l,l as s};
+import{Q as t}from"./index.fa73485f.js";const o=s=>t({params:s,method:"GET",url:"summary"}),r=s=>t({data:s,method:"POST",url:"like"}),c=s=>t({data:s,method:"POST",url:"collect"}),l=s=>t({data:s,method:"POST",url:"share"}),m=s=>t({params:s,method:"GET",url:"draft"}),a=s=>t({data:s,method:"DELETE",url:`comment/${s.id}`});export{o as a,m as b,c,a as d,r as l,l as s};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.01636b27.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.50fb9e59.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.55c812ef.js


+ 1 - 1
dist/assets/index.b28a8f45.js → dist/assets/index.563e12b2.js

@@ -1 +1 @@
-import{_ as d,r as c,o as f,d as n,e as l,f as y,w as i,F as g,j as h,x as v,g as x,P as k,m as w}from"./index.bec96d93.js";/* empty css                      *//* empty css                                                           */import{E as B,a as E}from"./index.035289de.js";const C={class:"banner-container"},b=["src","alt","onClick"],N={__name:"index",props:{type:{type:String,require:!0},limit:{type:Number,default:5}},setup(_){const p=c(420),s=_,o=c([]);f(async()=>{try{const{msg:a,data:e}=await k({type:s.type,limit:s.limit});e&&Array.isArray(e)&&(o.value=e)}catch{}});const u=a=>{const{jump_type:e,jump_url:r}=a;e=="external"||e=="internal"?window.open(r):w.error("\u9519\u8BEF\u7684\u56FE\u7247")};return(a,e)=>{const r=B,m=E;return n(),l("div",C,[y(m,{height:`${p.value}px`},{default:i(()=>[(n(!0),l(g,null,h(o.value,t=>(n(),v(r,{key:t},{default:i(()=>[x("img",{src:t.image,alt:t.image,onClick:A=>t.is_jump?u(t):null},null,8,b)]),_:2},1024))),128))]),_:1},8,["height"])])}}};var M=d(N,[["__scopeId","data-v-3142c606"]]);export{M as B};
+import{_ as d,r as c,o as f,d as n,e as l,f as y,w as i,F as g,j as h,x as v,g as x,P as k,m as w}from"./index.fa73485f.js";/* empty css                      *//* empty css                                                           */import{E as B,a as E}from"./index.55c812ef.js";const C={class:"banner-container"},b=["src","alt","onClick"],N={__name:"index",props:{type:{type:String,require:!0},limit:{type:Number,default:5}},setup(_){const p=c(420),s=_,o=c([]);f(async()=>{try{const{msg:a,data:e}=await k({type:s.type,limit:s.limit});e&&Array.isArray(e)&&(o.value=e)}catch{}});const u=a=>{const{jump_type:e,jump_url:r}=a;e=="external"||e=="internal"?window.open(r):w.error("\u9519\u8BEF\u7684\u56FE\u7247")};return(a,e)=>{const r=B,m=E;return n(),l("div",C,[y(m,{height:`${p.value}px`},{default:i(()=>[(n(!0),l(g,null,h(o.value,t=>(n(),v(r,{key:t},{default:i(()=>[x("img",{src:t.image,alt:t.image,onClick:A=>t.is_jump?u(t):null},null,8,b)]),_:2},1024))),128))]),_:1},8,["height"])])}}};var M=d(N,[["__scopeId","data-v-3142c606"]]);export{M as B};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.59ed6639.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.67d7e2c1.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.72c8ddae.js


+ 1 - 1
dist/assets/index.646b7f34.js → dist/assets/index.835c7c2c.js

@@ -1 +1 @@
-import{bm as o,b as u,h as s,bq as i,br as l}from"./index.bec96d93.js";function f(e){return i()?(l(e),!0):!1}function y(e){return typeof e=="function"?e():s(e)}function d(e){if(!o(e))return u(e);const a=new Proxy({},{get(n,t,r){return s(Reflect.get(e.value,t,r))},set(n,t,r){return o(e.value[t])&&!o(r)?e.value[t].value=r:e.value[t]=r,!0},deleteProperty(n,t){return Reflect.deleteProperty(e.value,t)},has(n,t){return Reflect.has(e.value,t)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return u(a)}const g=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const c=Object.prototype.toString,v=e=>c.call(e)==="[object Object]",b=()=>{};export{y as a,v as b,f as c,g as i,b as n,d as t};
+import{bm as o,b as u,h as s,bq as i,br as l}from"./index.fa73485f.js";function f(e){return i()?(l(e),!0):!1}function y(e){return typeof e=="function"?e():s(e)}function d(e){if(!o(e))return u(e);const a=new Proxy({},{get(n,t,r){return s(Reflect.get(e.value,t,r))},set(n,t,r){return o(e.value[t])&&!o(r)?e.value[t].value=r:e.value[t]=r,!0},deleteProperty(n,t){return Reflect.deleteProperty(e.value,t)},has(n,t){return Reflect.has(e.value,t)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return u(a)}const g=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const c=Object.prototype.toString,v=e=>c.call(e)==="[object Object]",b=()=>{};export{y as a,v as b,f as c,g as i,b as n,d as t};

+ 1 - 1
dist/assets/index.94ae5265.js → dist/assets/index.8e9f0a35.js

@@ -1 +1 @@
-import{_ as f,d as s,e as o,g as i,v as m,f as a,w as x,h as _,z as p,k as u,n as v,A as h,B as I}from"./index.bec96d93.js";/* empty css                                                          */const w=e=>(h("data-v-689fd769"),e=e(),I(),e),k={class:"index-title-container flex-row flex-aic flex-jc-sb"},S={class:"title"},g=w(()=>i("span",null,"\u67E5\u770B\u66F4\u591A",-1)),B={__name:"index",props:{title:{type:String,default:"\u9ED8\u8BA4\u6807\u9898"}},emits:["seeMore"],setup(e,{emit:c}){const n=e,l=c,r=()=>{l("seeMore",n.title)};return(y,t)=>{const d=v;return s(),o("div",k,[i("div",S,m(e.title),1),e.title=="\u7CBE\u9009\u89C6\u9891"||e.title=="\u7CBE\u9009\u6587\u7AE0"||e.title=="\u7CBE\u9009\u8D44\u8BAF"||e.title=="\u5927\u5BB6\u5728\u804A"?(s(),o("div",{key:0,class:"more flex-row flex-aic",onClick:t[0]||(t[0]=C=>r())},[g,a(d,{class:"icon",size:12},{default:x(()=>[a(_(p))]),_:1})])):u("",!0)])}}};var N=f(B,[["__scopeId","data-v-689fd769"]]);export{N as I};
+import{_ as f,d as s,e as o,g as i,v as m,f as a,w as x,h as _,z as p,k as u,n as v,A as h,B as I}from"./index.fa73485f.js";/* empty css                                                          */const w=e=>(h("data-v-689fd769"),e=e(),I(),e),k={class:"index-title-container flex-row flex-aic flex-jc-sb"},S={class:"title"},g=w(()=>i("span",null,"\u67E5\u770B\u66F4\u591A",-1)),B={__name:"index",props:{title:{type:String,default:"\u9ED8\u8BA4\u6807\u9898"}},emits:["seeMore"],setup(e,{emit:c}){const n=e,l=c,r=()=>{l("seeMore",n.title)};return(y,t)=>{const d=v;return s(),o("div",k,[i("div",S,m(e.title),1),e.title=="\u7CBE\u9009\u89C6\u9891"||e.title=="\u7CBE\u9009\u6587\u7AE0"||e.title=="\u7CBE\u9009\u8D44\u8BAF"||e.title=="\u5927\u5BB6\u5728\u804A"?(s(),o("div",{key:0,class:"more flex-row flex-aic",onClick:t[0]||(t[0]=C=>r())},[g,a(d,{class:"icon",size:12},{default:x(()=>[a(_(p))]),_:1})])):u("",!0)])}}};var N=f(B,[["__scopeId","data-v-689fd769"]]);export{N as I};

+ 1 - 1
dist/assets/index.b1356415.js → dist/assets/index.8f606c47.js

@@ -1 +1 @@
-import{t as a}from"./formatTime.529a6f14.js";import{_ as c,d as m,e as r,g as e,v as i,h as d,i as _}from"./index.bec96d93.js";const u={class:"imgbox",style:{"margin-bottom":"10px"}},g=["src","alt"],p={class:"content"},x={class:"title ellipsis-two"},f={class:"footer flex-row flex-aic flex-jc-sb"},v={__name:"index",props:{image:{type:String,default:"https://dummyimage.com/279x155/e3e3e3/fff"},title:{type:String},timeAgo:{type:String},likeCount:{type:Number},commentCount:{type:Number},is_like:String,is_collect:String},emits:["todetails"],setup(t,{emit:s}){const n=a,o=s,l=()=>{o("update")};return(y,h)=>(m(),r("div",{class:"index-news-container",style:{cursor:"pointer"},onClick:l},[e("div",u,[e("img",{src:t.image,alt:t.title},null,8,g)]),e("div",p,[e("div",x,i(t.title),1),e("div",f,[e("span",null,i(d(n)(t.timeAgo)),1),e("div",null,[e("span",null,i(t.likeCount)+"\u559C\u6B22",1),_("\xB7"),e("span",null,i(t.commentCount)+"\u8BC4\u8BBA",1)])])])]))}};var b=c(v,[["__scopeId","data-v-6156e418"]]);export{b as _};
+import{t as a}from"./formatTime.20e70339.js";import{_ as c,d as m,e as r,g as e,v as i,h as d,i as _}from"./index.fa73485f.js";const u={class:"imgbox",style:{"margin-bottom":"10px"}},g=["src","alt"],p={class:"content"},x={class:"title ellipsis-two"},f={class:"footer flex-row flex-aic flex-jc-sb"},v={__name:"index",props:{image:{type:String,default:"https://dummyimage.com/279x155/e3e3e3/fff"},title:{type:String},timeAgo:{type:String},likeCount:{type:Number},commentCount:{type:Number},is_like:String,is_collect:String},emits:["todetails"],setup(t,{emit:s}){const n=a,o=s,l=()=>{o("update")};return(y,h)=>(m(),r("div",{class:"index-news-container",style:{cursor:"pointer"},onClick:l},[e("div",u,[e("img",{src:t.image,alt:t.title},null,8,g)]),e("div",p,[e("div",x,i(t.title),1),e("div",f,[e("span",null,i(d(n)(t.timeAgo)),1),e("div",null,[e("span",null,i(t.likeCount)+"\u559C\u6B22",1),_("\xB7"),e("span",null,i(t.commentCount)+"\u8BC4\u8BBA",1)])])])]))}};var b=c(v,[["__scopeId","data-v-6156e418"]]);export{b as _};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.9572e65d.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.a323b81c.js


+ 1 - 1
dist/assets/index.95f4c07f.js → dist/assets/index.bf9618b5.js

@@ -1,4 +1,4 @@
-import{ar as Fe,$ as z,as as b,ad as j,ae as q,a3 as S,at as Le,au as ce,av as Re,aw as pe,ax as fe,U as ve,a4 as ee,d as g,e as E,t as m,h as e,g as N,D as A,aj as R,v as W,k,x as D,w as _,ay as _e,n as M,ak as H,ao as me,V as x,az as ye,aA as ge,aB as Q,aC as P,aD as Te,aE as V,r as he,F as Ue,j as De,aF as be,af as K,f as B,aG as Oe,aH as Be,aI as Ne,aJ as je,al as Ae,a6 as Y,aK as te,aL as Me,aM as Ie,aN as qe,a5 as se,aO as Ke,a8 as ze,a9 as He,aP as We,aQ as ae,aR as ne}from"./index.bec96d93.js";var Ve=1,Ge=4;function oe(a){return Fe(a,Ve|Ge)}const Xe=z({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:a=>a>=0&&a<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:b(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:b([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:b(Function),default:a=>`${a}%`}}),Je=["aria-valuenow"],Qe={viewBox:"0 0 100 100"},Ye=["d","stroke","stroke-linecap","stroke-width"],Ze=["d","stroke","opacity","stroke-linecap","stroke-width"],xe={key:0},et=j({name:"ElProgress"}),tt=j({...et,props:Xe,setup(a){const t=a,s={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},u=q("progress"),f=S(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:F(t.percentage)})),c=S(()=>(t.strokeWidth/t.width*100).toFixed(1)),y=S(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(c.value)/2}`,10):0),C=S(()=>{const r=y.value,L=t.type==="dashboard";return`
+import{ar as Fe,$ as z,as as b,ad as j,ae as q,a3 as S,at as Le,au as ce,av as Re,aw as pe,ax as fe,U as ve,a4 as ee,d as g,e as E,t as m,h as e,g as N,D as A,aj as R,v as W,k,x as D,w as _,ay as _e,n as M,ak as H,ao as me,V as x,az as ye,aA as ge,aB as Q,aC as P,aD as Te,aE as V,r as he,F as Ue,j as De,aF as be,af as K,f as B,aG as Oe,aH as Be,aI as Ne,aJ as je,al as Ae,a6 as Y,aK as te,aL as Me,aM as Ie,aN as qe,a5 as se,aO as Ke,a8 as ze,a9 as He,aP as We,aQ as ae,aR as ne}from"./index.fa73485f.js";var Ve=1,Ge=4;function oe(a){return Fe(a,Ve|Ge)}const Xe=z({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:a=>a>=0&&a<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:b(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:b([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:b(Function),default:a=>`${a}%`}}),Je=["aria-valuenow"],Qe={viewBox:"0 0 100 100"},Ye=["d","stroke","stroke-linecap","stroke-width"],Ze=["d","stroke","opacity","stroke-linecap","stroke-width"],xe={key:0},et=j({name:"ElProgress"}),tt=j({...et,props:Xe,setup(a){const t=a,s={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},u=q("progress"),f=S(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:F(t.percentage)})),c=S(()=>(t.strokeWidth/t.width*100).toFixed(1)),y=S(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(c.value)/2}`,10):0),C=S(()=>{const r=y.value,L=t.type==="dashboard";return`
           M 50 50
           m 0 ${L?"":"-"}${r}
           a ${r} ${r} 0 1 1 0 ${L?"-":""}${r*2}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.c3d314d9.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.cbe0ee08.js


+ 1 - 1
dist/assets/index.5caa99e5.js → dist/assets/index.d5824784.js

@@ -1 +1 @@
-import{U as r}from"./index.bec96d93.js";const u=100,v=600,m={beforeMount(l,s){const e=s.value,{interval:i=u,delay:c=v}=r(e)?{}:e;let t,n;const o=()=>r(e)?e():e.handler(),a=()=>{n&&(clearTimeout(n),n=void 0),t&&(clearInterval(t),t=void 0)};l.addEventListener("mousedown",d=>{d.button===0&&(a(),o(),document.addEventListener("mouseup",()=>a(),{once:!0}),n=setTimeout(()=>{t=setInterval(()=>{o()},i)},c))})}};export{m as v};
+import{U as r}from"./index.fa73485f.js";const u=100,v=600,m={beforeMount(l,s){const e=s.value,{interval:i=u,delay:c=v}=r(e)?{}:e;let t,n;const o=()=>r(e)?e():e.handler(),a=()=>{n&&(clearTimeout(n),n=void 0),t&&(clearInterval(t),t=void 0)};l.addEventListener("mousedown",d=>{d.button===0&&(a(),o(),document.addEventListener("mouseup",()=>a(),{once:!0}),n=setTimeout(()=>{t=setInterval(()=>{o()},i)},c))})}};export{m as v};

+ 1 - 1
dist/assets/index.f0e79a79.js → dist/assets/index.dec355a2.js

@@ -1 +1 @@
-import{_,bC as r,r as c,o as s,d as u,e as d,dU as i}from"./index.bec96d93.js";const l=["innerHTML"],p={__name:"index",setup(m){const t=r();console.log("router",t.query);const n=c("");return s(async()=>{try{const{data:e}=await i({code:t.query.type});if(e){const{name:a="",content:o=""}=e;document.title=a,n.value=o}}catch{}}),(e,a)=>(u(),d("div",{class:"argument-container",innerHTML:n.value},null,8,l))}};var x=_(p,[["__scopeId","data-v-01fec042"]]);export{x as default};
+import{_,bC as r,r as c,o as s,d as u,e as d,dU as i}from"./index.fa73485f.js";const l=["innerHTML"],p={__name:"index",setup(m){const t=r();console.log("router",t.query);const n=c("");return s(async()=>{try{const{data:e}=await i({code:t.query.type});if(e){const{name:a="",content:o=""}=e;document.title=a,n.value=o}}catch{}}),(e,a)=>(u(),d("div",{class:"argument-container",innerHTML:n.value},null,8,l))}};var x=_(p,[["__scopeId","data-v-01fec042"]]);export{x as default};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.ee68e91a.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.esm.bef530dd.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.f1022687.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.f174ee91.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.f94708a4.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.fa73485f.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/index.vue_vue_type_style_index_1_scoped_true_lang.b2846ebe.css


+ 1 - 1
dist/assets/invite.9437a6ba.js → dist/assets/invite.41240048.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const e=o=>t({params:o,method:"GET",url:"job"}),r=o=>t({params:o,method:"GET",url:`job/${o.id}`});export{r as j,e as l};
+import{Q as t}from"./index.fa73485f.js";const e=o=>t({params:o,method:"GET",url:"job"}),r=o=>t({params:o,method:"GET",url:`job/${o.id}`});export{r as j,e as l};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/inviteinfo.0471d5a0.js


+ 1 - 1
dist/assets/jifen.3ebd612a.js → dist/assets/jifen.afc31506.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const r=o=>t({params:o,method:"GET",url:"integral/goods"}),l=o=>t({params:o,method:"GET",url:`integral/goods/${o.id}`}),s=o=>t({data:o,method:"POST",url:`integral/goods/${o.id}/collect`}),d=o=>t({data:o,method:"POST",url:"integral/order/calculate"}),c=o=>t({data:o,method:"POST",url:"integral/order"}),a=o=>t({params:o,method:"GET",url:"integral/order"});export{d as a,a as b,s as c,l as d,r as l,c as o};
+import{Q as t}from"./index.fa73485f.js";const r=o=>t({params:o,method:"GET",url:"integral/goods"}),l=o=>t({params:o,method:"GET",url:`integral/goods/${o.id}`}),s=o=>t({data:o,method:"POST",url:`integral/goods/${o.id}/collect`}),d=o=>t({data:o,method:"POST",url:"integral/order/calculate"}),c=o=>t({data:o,method:"POST",url:"integral/order"}),a=o=>t({params:o,method:"GET",url:"integral/order"});export{d as a,a as b,s as c,l as d,r as l,c as o};

+ 1 - 1
dist/assets/join.12ef5bc7.js → dist/assets/join.9b4a96c0.js

@@ -1 +1 @@
-import{E as y,R as f}from"./Routers.bae89a5a.js";import{l as x}from"./invite.9437a6ba.js";import{_ as m,u as g,r as _,o as l,d as i,e as n,g as s,F as w,j as b,h as j,f as r,v as t,A as k,B}from"./index.bec96d93.js";/* empty css                                                            */const d=o=>(k("data-v-33c29a9e"),o=o(),B(),o),I={class:"personal-container",style:{display:"flex"}},S={style:{width:"842px"}},C={style:{display:"flex","flex-wrap":"wrap","justify-content":"space-between"}},E=["onClick"],R={style:{display:"flex","justify-content":"space-between"}},F={class:"title"},L={class:"money"},N={style:{"margin-top":"14px",display:"flex"}},V={class:"back"},q={class:"back"},A={class:"phone"},D=d(()=>s("div",null,null,-1)),K={style:{"margin-left":"16px"},class:"personal-main flex-row flex-jc-sb"},M={class:"pm-side"},$=d(()=>s("div",{class:"gap"},null,-1)),z={__name:"join",setup(o){const p=g();let u=_("1"),c=_([]);l(async()=>{try{const{data:a}=await x({is_page:1,page:u.value,limit:8});c.value=a.list}catch{}});const v=a=>{p.push({path:"/invite",query:{id:a}})};return l(()=>{}),(a,H)=>(i(),n("div",I,[s("div",S,[s("div",C,[(i(!0),n(w,null,b(j(c),(e,h)=>(i(),n("div",{class:"box",key:h,onClick:J=>v(e.id)},[s("div",R,[s("div",F,t(e.title),1),s("div",L,t(e.salary_min)+"-"+t(e.salary_max)+"K\xB7"+t(e.salary_month)+"\u85AA ",1)]),s("div",N,[s("div",V,t(e.education),1),s("div",q,t(e.experience_min)+"-"+t(e.experience_max)+"\u5E74 ",1)]),s("div",A,t(e.name)+" "+t(e.mobile),1)],8,E))),128))]),D]),s("div",K,[s("div",M,[r(y),$,r(f)])])]))}};var U=m(z,[["__scopeId","data-v-33c29a9e"]]);export{U as default};
+import{E as y,R as f}from"./Routers.a195e5a8.js";import{l as x}from"./invite.41240048.js";import{_ as m,u as g,r as _,o as l,d as i,e as n,g as s,F as w,j as b,h as j,f as r,v as t,A as k,B}from"./index.fa73485f.js";/* empty css                                                            */const d=o=>(k("data-v-33c29a9e"),o=o(),B(),o),I={class:"personal-container",style:{display:"flex"}},S={style:{width:"842px"}},C={style:{display:"flex","flex-wrap":"wrap","justify-content":"space-between"}},E=["onClick"],R={style:{display:"flex","justify-content":"space-between"}},F={class:"title"},L={class:"money"},N={style:{"margin-top":"14px",display:"flex"}},V={class:"back"},q={class:"back"},A={class:"phone"},D=d(()=>s("div",null,null,-1)),K={style:{"margin-left":"16px"},class:"personal-main flex-row flex-jc-sb"},M={class:"pm-side"},$=d(()=>s("div",{class:"gap"},null,-1)),z={__name:"join",setup(o){const p=g();let u=_("1"),c=_([]);l(async()=>{try{const{data:a}=await x({is_page:1,page:u.value,limit:8});c.value=a.list}catch{}});const v=a=>{p.push({path:"/invite",query:{id:a}})};return l(()=>{}),(a,H)=>(i(),n("div",I,[s("div",S,[s("div",C,[(i(!0),n(w,null,b(j(c),(e,h)=>(i(),n("div",{class:"box",key:h,onClick:J=>v(e.id)},[s("div",R,[s("div",F,t(e.title),1),s("div",L,t(e.salary_min)+"-"+t(e.salary_max)+"K\xB7"+t(e.salary_month)+"\u85AA ",1)]),s("div",N,[s("div",V,t(e.education),1),s("div",q,t(e.experience_min)+"-"+t(e.experience_max)+"\u5E74 ",1)]),s("div",A,t(e.name)+" "+t(e.mobile),1)],8,E))),128))]),D]),s("div",K,[s("div",M,[r(y),$,r(f)])])]))}};var U=m(z,[["__scopeId","data-v-33c29a9e"]]);export{U as default};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/localeData.5cf53d1c.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/make.051e94d3.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/message-box.46f658e8.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/more.569d18e3.js


+ 1 - 1
dist/assets/news.72259ab5.js → dist/assets/news.dc4514a9.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const s=o=>t({params:o,method:"GET",url:"info"}),n=o=>t({data:o,method:"POST",url:"info"}),d=o=>t({data:o,method:"PUT",url:`info/${o.id}`}),e=o=>t({params:o,method:"GET",url:`info/${o.id}`}),l=o=>t({method:"DELETE",url:`info/${o.id}`});export{d as a,l as d,e as i,s as l,n as p};
+import{Q as t}from"./index.fa73485f.js";const s=o=>t({params:o,method:"GET",url:"info"}),n=o=>t({data:o,method:"POST",url:"info"}),d=o=>t({data:o,method:"PUT",url:`info/${o.id}`}),e=o=>t({params:o,method:"GET",url:`info/${o.id}`}),l=o=>t({method:"DELETE",url:`info/${o.id}`});export{d as a,l as d,e as i,s as l,n as p};

+ 1 - 1
dist/assets/outshoping.5a5f5b54.js → dist/assets/outshoping.fa0d43a8.js

@@ -1 +1 @@
-import{_ as l,r as c,o as u,d as o,e as a,g as e,F as h,j as v,h as g,f as m,w as f,i as w,M as x,p as y,A as B,B as k}from"./index.bec96d93.js";const C=s=>(B("data-v-b04864ea"),s=s(),k(),s),I={class:"out-shop-container"},b=C(()=>e("div",{class:"out-shop__header"},[e("div",{class:"title"},"\u5373\u5C06\u524D\u5F80\u5916\u90E8\u94FE\u63A5"),e("div",{class:"tips"},"\u8BF7\u6CE8\u610F\u4E2A\u4EBA\u8D26\u53F7\u4E0E\u8D22\u4EA7\u5B89\u5168")],-1)),N={class:"out-shop__main"},S=["src"],V={class:"out-shop__footer"},E={__name:"outshoping",setup(s){let _=c([]);const n=c();u(async()=>{try{const{data:t}=await x({module:"shop"});_.value=t.shop_images,n.value=t.shop_url}catch{}});const r=()=>{window.open(n.value)};return(t,M)=>{const i=y;return o(),a("div",I,[b,e("div",N,[(o(!0),a(h,null,v(g(_),(d,p)=>(o(),a("img",{key:p,src:d,style:{width:"140px",height:"140px"}},null,8,S))),128))]),e("div",V,[m(i,{type:"primary",size:"large",onClick:r},{default:f(()=>[w("\u7EE7\u7EED\u8DF3\u8F6C")]),_:1})])])}}};var z=l(E,[["__scopeId","data-v-b04864ea"]]);export{z as default};
+import{_ as l,r as c,o as u,d as o,e as a,g as e,F as h,j as v,h as g,f as m,w as f,i as w,M as x,p as y,A as B,B as k}from"./index.fa73485f.js";const C=s=>(B("data-v-b04864ea"),s=s(),k(),s),I={class:"out-shop-container"},b=C(()=>e("div",{class:"out-shop__header"},[e("div",{class:"title"},"\u5373\u5C06\u524D\u5F80\u5916\u90E8\u94FE\u63A5"),e("div",{class:"tips"},"\u8BF7\u6CE8\u610F\u4E2A\u4EBA\u8D26\u53F7\u4E0E\u8D22\u4EA7\u5B89\u5168")],-1)),N={class:"out-shop__main"},S=["src"],V={class:"out-shop__footer"},E={__name:"outshoping",setup(s){let _=c([]);const n=c();u(async()=>{try{const{data:t}=await x({module:"shop"});_.value=t.shop_images,n.value=t.shop_url}catch{}});const r=()=>{window.open(n.value)};return(t,M)=>{const i=y;return o(),a("div",I,[b,e("div",N,[(o(!0),a(h,null,v(g(_),(d,p)=>(o(),a("img",{key:p,src:d,style:{width:"140px",height:"140px"}},null,8,S))),128))]),e("div",V,[m(i,{type:"primary",size:"large",onClick:r},{default:f(()=>[w("\u7EE7\u7EED\u8DF3\u8F6C")]),_:1})])])}}};var z=l(E,[["__scopeId","data-v-b04864ea"]]);export{z as default};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/pagination.c972d005.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/placeOrder.ef1e3645.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/postDetail.2a7f7ac7.js


+ 1 - 1
dist/assets/private.680fbb67.js → dist/assets/private.739a04d9.js

@@ -1 +1 @@
-import{Q as a}from"./index.bec96d93.js";const o=t=>a({params:t,method:"GET",url:"chat"}),s=t=>a({params:t,method:"GET",url:"chat/detail"}),r=t=>a({data:t,method:"POST",url:"chat"});export{s as c,o as l,r as m};
+import{Q as a}from"./index.fa73485f.js";const o=t=>a({params:t,method:"GET",url:"chat"}),s=t=>a({params:t,method:"GET",url:"chat/detail"}),r=t=>a({data:t,method:"POST",url:"chat"});export{s as c,o as l,r as m};

+ 1 - 1
dist/assets/rest.6353c1f8.js → dist/assets/rest.c6b659f7.js

@@ -1 +1 @@
-import{_ as w,u as C,bC as B,r as s,o as f,d as r,e as m,g as e,f as a,w as E,h,F as R,j as q,dF as D,n as F,ag as I,x as L}from"./index.bec96d93.js";/* empty css                      *//* empty css                                                           */import{M}from"./index.72c8ddae.js";import{u as z,U as N}from"./useScrollEvent.340ec19c.js";import{l as S}from"./forum.184c447c.js";/* empty css                                                          */import"./index.035289de.js";import"./throttle.cb82641b.js";import"./gather.f348b503.js";/* empty css                 */import"./useUpimages.1824edc2.js";import"./index.95f4c07f.js";import"./index.646b7f34.js";import"./icon3.a1bd7a60.js";const U={class:"forum-container flex-row"},V={class:"context"},$={style:{height:"62px",border:"1px solid #f6f6f6",background:"#fff",padding:"20px","box-sizing":"border-box"}},j={style:{display:"flex"}},G={class:"context-main"},T={class:"inside"},A={__name:"rest",setup(H){const n=C(),i=B(),v=()=>{console.log("%c \u89E6\u5E95\u89E6\u53D1\u52A0\u8F7D\u4E8B\u4EF6 >>>","background: blue; color: #fff")},y=t=>{n.push({path:"/post",query:{id:t}})};z({callback:v});const c=s([]),l=async()=>{try{const{data:t}=await S({is_page:0,status:"normal",user_id:i.query.id});c.value=t}catch{}};f(l);let d=s([{}]);const _=s();_.value="other";const u=async t=>{try{const{data:o}=await D({user_id:i.query.id});d.value=o}catch{}};f(u);const x=()=>{l()},g=()=>{n.go(-1)};return(t,o)=>{const b=F;return r(),m("div",U,[e("div",V,[e("div",$,[e("div",j,[a(b,{size:"22"},{default:E(()=>[a(h(I))]),_:1}),e("div",{onClick:g,class:"return",style:{cursor:"pointer"}},"\u8FD4\u56DE")])]),e("div",G,[(r(!0),m(R,null,q(c.value,(p,k)=>(r(),L(M,{key:k,type:"forum",detail:p,onRefresh:x,onDetail:J=>y(p.id)},null,8,["detail","onDetail"]))),128))])]),e("div",T,[a(N,{onChange:u,type:_.value,detail:h(d)},null,8,["type","detail"])])])}}};var it=w(A,[["__scopeId","data-v-3717478b"]]);export{it as default};
+import{_ as w,u as C,bC as B,r as s,o as f,d as r,e as m,g as e,f as a,w as E,h,F as R,j as q,dF as D,n as F,ag as I,x as L}from"./index.fa73485f.js";/* empty css                      *//* empty css                                                           */import{M}from"./index.59ed6639.js";import{u as z,U as N}from"./useScrollEvent.e7822471.js";import{l as S}from"./forum.9af4d846.js";/* empty css                                                          */import"./index.55c812ef.js";import"./throttle.e60da1c7.js";import"./gather.afe72849.js";/* empty css                 */import"./useUpimages.e87b8ac1.js";import"./index.bf9618b5.js";import"./index.835c7c2c.js";import"./icon3.a1bd7a60.js";const U={class:"forum-container flex-row"},V={class:"context"},$={style:{height:"62px",border:"1px solid #f6f6f6",background:"#fff",padding:"20px","box-sizing":"border-box"}},j={style:{display:"flex"}},G={class:"context-main"},T={class:"inside"},A={__name:"rest",setup(H){const n=C(),i=B(),v=()=>{console.log("%c \u89E6\u5E95\u89E6\u53D1\u52A0\u8F7D\u4E8B\u4EF6 >>>","background: blue; color: #fff")},y=t=>{n.push({path:"/post",query:{id:t}})};z({callback:v});const c=s([]),l=async()=>{try{const{data:t}=await S({is_page:0,status:"normal",user_id:i.query.id});c.value=t}catch{}};f(l);let d=s([{}]);const _=s();_.value="other";const u=async t=>{try{const{data:o}=await D({user_id:i.query.id});d.value=o}catch{}};f(u);const x=()=>{l()},g=()=>{n.go(-1)};return(t,o)=>{const b=F;return r(),m("div",U,[e("div",V,[e("div",$,[e("div",j,[a(b,{size:"22"},{default:E(()=>[a(h(I))]),_:1}),e("div",{onClick:g,class:"return",style:{cursor:"pointer"}},"\u8FD4\u56DE")])]),e("div",G,[(r(!0),m(R,null,q(c.value,(p,k)=>(r(),L(M,{key:k,type:"forum",detail:p,onRefresh:x,onDetail:J=>y(p.id)},null,8,["detail","onDetail"]))),128))])]),e("div",T,[a(N,{onChange:u,type:_.value,detail:h(d)},null,8,["type","detail"])])])}}};var it=w(A,[["__scopeId","data-v-3717478b"]]);export{it as default};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/search.e1dacaf7.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/setting.06b66536.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/sign.9a6133cc.js


+ 1 - 1
dist/assets/text.fae1308c.js → dist/assets/text.7e8ddaf4.js

@@ -1 +1 @@
-import"./index.esm.50fc5199.js";import{o as t,d as _,e as n,F as s,g as e}from"./index.bec96d93.js";const o=e("div",{class:""},null,-1),a=e("text",null,null,-1),p={__name:"text",setup(l){return t(()=>{}),(r,c)=>(_(),n(s,null,[o,a],64))}};export{p as default};
+import"./index.esm.bef530dd.js";import{o as t,d as _,e as n,F as s,g as e}from"./index.fa73485f.js";const o=e("div",{class:""},null,-1),a=e("text",null,null,-1),p={__name:"text",setup(l){return t(()=>{}),(r,c)=>(_(),n(s,null,[o,a],64))}};export{p as default};

+ 1 - 1
dist/assets/throttle.cb82641b.js → dist/assets/throttle.e60da1c7.js

@@ -1 +1 @@
-import{aS as n,aT as l}from"./index.bec96d93.js";var g="Expected a function";function f(i,t,r){var a=!0,e=!0;if(typeof i!="function")throw new TypeError(g);return n(r)&&(a="leading"in r?!!r.leading:a,e="trailing"in r?!!r.trailing:e),l(i,t,{leading:a,maxWait:t,trailing:e})}export{f as t};
+import{aS as n,aT as l}from"./index.fa73485f.js";var g="Expected a function";function f(i,t,r){var a=!0,e=!0;if(typeof i!="function")throw new TypeError(g);return n(r)&&(a="leading"in r?!!r.leading:a,e="trailing"in r?!!r.trailing:e),l(i,t,{leading:a,maxWait:t,trailing:e})}export{f as t};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/topic.0ac2a760.js


+ 1 - 1
dist/assets/topic.ad470035.js → dist/assets/topic.875b6163.js

@@ -1 +1 @@
-import{Q as t}from"./index.bec96d93.js";const e=o=>t({params:o,method:"GET",url:"topic"}),r=o=>t({params:o,method:"GET",url:"topic/my"}),s=o=>t({params:o,method:"GET",url:"topic/category"});export{r as a,s as c,e as l};
+import{Q as t}from"./index.fa73485f.js";const e=o=>t({params:o,method:"GET",url:"topic"}),r=o=>t({params:o,method:"GET",url:"topic/my"}),s=o=>t({params:o,method:"GET",url:"topic/category"});export{r as a,s as c,e as l};

+ 1 - 1
dist/assets/useForum.24b354a1.js → dist/assets/useForum.30b11d93.js

@@ -1 +1 @@
-import{l as p}from"./forum.184c447c.js";import{b as d,r as l}from"./index.bec96d93.js";const _=["latest","comment","upvote"],f={latest:"id",comment:"comment_count",upvote:"like_count"},T={page:1,limit:10};function M(){const a=d({is_page:1,status:"normal",is_boutique:0,order:"id",order_type:"desc"}),e=l("latest"),o=l([]),i=t=>{_.includes(t)&&(e.value=t,s({page:1,order:f[e.value]}))};async function u(t){try{const{data:c=[]}=await p(t),{total:m=0,page:n=1,limit:v=10,last_page:g,list:r=[]}=c;n>=2?o.value.concat(r):o.value=[...r],a.page=n,a.total-m}catch{}}const s=(t={})=>{u({...a,...T,...t})};return{forumType:e,forumTableData:o,handleLoadForumData:s,handleSwitchForumType:i}}export{M as u};
+import{l as p}from"./forum.9af4d846.js";import{b as d,r as l}from"./index.fa73485f.js";const _=["latest","comment","upvote"],f={latest:"id",comment:"comment_count",upvote:"like_count"},T={page:1,limit:10};function M(){const a=d({is_page:1,status:"normal",is_boutique:0,order:"id",order_type:"desc"}),e=l("latest"),o=l([]),i=t=>{_.includes(t)&&(e.value=t,s({page:1,order:f[e.value]}))};async function u(t){try{const{data:c=[]}=await p(t),{total:m=0,page:n=1,limit:v=10,last_page:g,list:r=[]}=c;n>=2?o.value.concat(r):o.value=[...r],a.page=n,a.total-m}catch{}}const s=(t={})=>{u({...a,...T,...t})};return{forumType:e,forumTableData:o,handleLoadForumData:s,handleSwitchForumType:i}}export{M as u};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/usePost.09a3299e.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/usePost.620bea16.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/useScrollEvent.e7822471.js


+ 1 - 1
dist/assets/useUpimages.1824edc2.js → dist/assets/useUpimages.e87b8ac1.js

@@ -1 +1 @@
-import{r as e,aq as t}from"./index.bec96d93.js";const c=async a=>{const r=e("");console.log("formdata",a);try{const o=await t(a);r.value=o.data}catch{throw Error}return{imageFile:r}};export{c as u};
+import{r as e,aq as t}from"./index.fa73485f.js";const c=async a=>{const r=e("");console.log("formdata",a);try{const o=await t(a);r.value=o.data}catch{throw Error}return{imageFile:r}};export{c as u};

+ 1 - 1
dist/assets/video.ec55e2c7.js → dist/assets/video.0b8edbc7.js

@@ -1 +1 @@
-import{Q as d}from"./index.bec96d93.js";const i=o=>d({params:o,method:"GET",url:"video"}),e=o=>d({params:o,method:"GET",url:"admin/video"}),s=o=>d({data:o,method:"POST",url:"video"}),l=o=>d({params:o,method:"PUT",url:`video/${o.id}`}),n=o=>d({params:o,method:"GET",url:`video/${o.id}`}),m=o=>d({method:"DELETE",url:`video/${o.id}`});export{e as a,l as b,m as d,n as i,i as l,s as p};
+import{Q as d}from"./index.fa73485f.js";const i=o=>d({params:o,method:"GET",url:"video"}),e=o=>d({params:o,method:"GET",url:"admin/video"}),s=o=>d({data:o,method:"POST",url:"video"}),l=o=>d({params:o,method:"PUT",url:`video/${o.id}`}),n=o=>d({params:o,method:"GET",url:`video/${o.id}`}),m=o=>d({method:"DELETE",url:`video/${o.id}`});export{e as a,l as b,m as d,n as i,i as l,s as p};

+ 1 - 1
dist/assets/video.c6705ce9.js → dist/assets/video.8f225e6f.js

@@ -1 +1 @@
-import{E as h,R as v}from"./Routers.bae89a5a.js";import{a as u}from"./video.ec55e2c7.js";import{_ as y,a as f,r as x,o as m,d as o,e as a,g as e,h as _,F as g,j as k,f as l,v as n,A as w,B as j}from"./index.bec96d93.js";/* empty css                                                            */const d=i=>(w("data-v-399ce82a"),i=i(),j(),i),B={class:"personal-container",style:{display:"flex"}},I={style:{width:"840px"}},S=d(()=>e("div",{class:"back"},"\u89C6\u9891\u7BA1\u7406",-1)),b={key:0},C=["onClick"],E=["src"],F={style:{"margin-left":"16px",height:"130px",display:"flex","flex-direction":"column","justify-content":"space-between"}},L={class:"title"},N={class:"time"},R={key:1,style:{height:"600px",display:"flex","flex-direction":"column","justify-content":"center"}},V=d(()=>e("div",{style:{"text-align":"center"}},"\u6682\u65E0\u5185\u5BB9",-1)),A=[V],D={style:{"margin-left":"16px"},class:"personal-main flex-row flex-jc-sb"},M={class:"pm-side"},U=d(()=>e("div",{class:"gap"},null,-1)),$={__name:"video",setup(i){f();const r=t=>{window.open(t)};let c=x([]);return m(async()=>{try{const{data:t}=await u({is_page:0});c.value=t}catch{}}),(t,z)=>(o(),a("div",B,[e("div",I,[S,_(c).length>0?(o(),a("div",b,[(o(!0),a(g,null,k(_(c),(s,p)=>(o(),a("div",{key:p,class:"video",style:{display:"flex",cursor:"pointer"},onClick:G=>r(s.url)},[e("img",{src:s.image,style:{width:"240px",height:"135px"},alt:""},null,8,E),e("div",F,[e("div",L,n(s.title),1),e("div",N,n(s.created_at)+"\u521B\u5EFA "+n(s.updated_at)+"\u6709\u8FC7\u4FEE\u6539 ",1)])],8,C))),128))])):(o(),a("div",R,A))]),e("div",D,[e("div",M,[l(h),U,l(v)])])]))}};var P=y($,[["__scopeId","data-v-399ce82a"]]);export{P as default};
+import{E as h,R as v}from"./Routers.a195e5a8.js";import{a as u}from"./video.0b8edbc7.js";import{_ as y,a as f,r as x,o as m,d as o,e as a,g as e,h as _,F as g,j as k,f as l,v as n,A as w,B as j}from"./index.fa73485f.js";/* empty css                                                            */const d=i=>(w("data-v-399ce82a"),i=i(),j(),i),B={class:"personal-container",style:{display:"flex"}},I={style:{width:"840px"}},S=d(()=>e("div",{class:"back"},"\u89C6\u9891\u7BA1\u7406",-1)),b={key:0},C=["onClick"],E=["src"],F={style:{"margin-left":"16px",height:"130px",display:"flex","flex-direction":"column","justify-content":"space-between"}},L={class:"title"},N={class:"time"},R={key:1,style:{height:"600px",display:"flex","flex-direction":"column","justify-content":"center"}},V=d(()=>e("div",{style:{"text-align":"center"}},"\u6682\u65E0\u5185\u5BB9",-1)),A=[V],D={style:{"margin-left":"16px"},class:"personal-main flex-row flex-jc-sb"},M={class:"pm-side"},U=d(()=>e("div",{class:"gap"},null,-1)),$={__name:"video",setup(i){f();const r=t=>{window.open(t)};let c=x([]);return m(async()=>{try{const{data:t}=await u({is_page:0});c.value=t}catch{}}),(t,z)=>(o(),a("div",B,[e("div",I,[S,_(c).length>0?(o(),a("div",b,[(o(!0),a(g,null,k(_(c),(s,p)=>(o(),a("div",{key:p,class:"video",style:{display:"flex",cursor:"pointer"},onClick:G=>r(s.url)},[e("img",{src:s.image,style:{width:"240px",height:"135px"},alt:""},null,8,E),e("div",F,[e("div",L,n(s.title),1),e("div",N,n(s.created_at)+"\u521B\u5EFA "+n(s.updated_at)+"\u6709\u8FC7\u4FEE\u6539 ",1)])],8,C))),128))])):(o(),a("div",R,A))]),e("div",D,[e("div",M,[l(h),U,l(v)])])]))}};var P=y($,[["__scopeId","data-v-399ce82a"]]);export{P as default};

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/assets/wallect.af4dcb99.js


+ 1 - 1
dist/assets/zixun.91186931.js → dist/assets/zixun.648eefb2.js

@@ -1 +1 @@
-import{_ as h,u as f,r as a,o as k,d as s,e as _,g as n,F as x,j as b,h as y,f as u,x as w,A as B,B as z}from"./index.bec96d93.js";import{E as C}from"./pagination.fbf1d98c.js";/* empty css                      *//* empty css                                                           *//* empty css                                                          */import{_ as I}from"./index.b1356415.js";import{Y as E}from"./Footer.15ea5cf4.js";import{l as F}from"./news.72259ab5.js";import"./formatTime.529a6f14.js";/* empty css                 */import"./useUpimages.1824edc2.js";import"./index.95f4c07f.js";const S=o=>(B("data-v-3293cbeb"),o=o(),z(),o),q={class:"articles-container"},L=S(()=>n("div",{class:"title"},"\u7CBE\u9009\u8D44\u8BAF",-1)),N={class:"content-list flex-row"},U={class:"pagination-container"},V={__name:"zixun",setup(o){const p=f(),i=a(1),c=a(0),d=t=>{i.value=t,l()};let r=a([]);const l=async()=>{try{const{data:t}=await F({page:i.value,limit:12,is_page:1,is_boutique:1});r.value=t.list,c.value=t.total}catch{}};k(l);const m=t=>{p.push({name:"news",query:{id:t}})};return(t,Y)=>{const g=C;return s(),_("div",q,[L,n("div",N,[(s(!0),_(x,null,b(y(r),(e,v)=>(s(),w(I,{key:v,onUpdate:j=>m(e.id),title:e.title,"time-ago":e.published_at,"like-count":e.like_count,"comment-count":e.comment_count,image:e.image,is_like:e.is_like,is_collect:e.is_collect},null,8,["onUpdate","title","time-ago","like-count","comment-count","image","is_like","is_collect"]))),128))]),n("div",U,[u(g,{background:"",layout:"prev, pager, next",total:c.value,"page-size":12,onCurrentChange:d},null,8,["total"])]),u(E)])}}};var Q=h(V,[["__scopeId","data-v-3293cbeb"]]);export{Q as default};
+import{_ as h,u as f,r as a,o as k,d as s,e as _,g as n,F as x,j as b,h as y,f as u,x as w,A as B,B as z}from"./index.fa73485f.js";import{E as C}from"./pagination.c972d005.js";/* empty css                      *//* empty css                                                           *//* empty css                                                          */import{_ as I}from"./index.8f606c47.js";import{Y as E}from"./Footer.60e7ba0b.js";import{l as F}from"./news.dc4514a9.js";import"./formatTime.20e70339.js";/* empty css                 */import"./useUpimages.e87b8ac1.js";import"./index.bf9618b5.js";const S=o=>(B("data-v-3293cbeb"),o=o(),z(),o),q={class:"articles-container"},L=S(()=>n("div",{class:"title"},"\u7CBE\u9009\u8D44\u8BAF",-1)),N={class:"content-list flex-row"},U={class:"pagination-container"},V={__name:"zixun",setup(o){const p=f(),i=a(1),c=a(0),d=t=>{i.value=t,l()};let r=a([]);const l=async()=>{try{const{data:t}=await F({page:i.value,limit:12,is_page:1,is_boutique:1});r.value=t.list,c.value=t.total}catch{}};k(l);const m=t=>{p.push({name:"news",query:{id:t}})};return(t,Y)=>{const g=C;return s(),_("div",q,[L,n("div",N,[(s(!0),_(x,null,b(y(r),(e,v)=>(s(),w(I,{key:v,onUpdate:j=>m(e.id),title:e.title,"time-ago":e.published_at,"like-count":e.like_count,"comment-count":e.comment_count,image:e.image,is_like:e.is_like,is_collect:e.is_collect},null,8,["onUpdate","title","time-ago","like-count","comment-count","image","is_like","is_collect"]))),128))]),n("div",U,[u(g,{background:"",layout:"prev, pager, next",total:c.value,"page-size":12,onCurrentChange:d},null,8,["total"])]),u(E)])}}};var Q=h(V,[["__scopeId","data-v-3293cbeb"]]);export{Q as default};

+ 1 - 1
dist/index.html

@@ -6,7 +6,7 @@
   <link rel="icon" href="./favicon.ico" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>Vite App</title>
-  <script type="module" crossorigin src="./assets/index.bec96d93.js"></script>
+  <script type="module" crossorigin src="./assets/index.fa73485f.js"></script>
   <link rel="stylesheet" href="./assets/index.2b703682.css">
 </head>
 

+ 2 - 0
src/components/MomentLayout/index.vue

@@ -198,6 +198,7 @@ const handleReportError = (id) => {
           :title="
             Props.detail.source ? Props.detail.source.title : Props.detail.title
           "
+          
         />
       </template>
       <template v-else-if="Props.type === 'video' && Props.detail">
@@ -215,6 +216,7 @@ const handleReportError = (id) => {
           :introdection="
             Props.detail.source ? Props.detail.source.title : Props.detail.title
           "
+          :content_no_img="Props.detail.source?Props.detail.source.content_no_img : Props.detail.content_no_img"
         />
       </template>
       <template v-else>

+ 7 - 2
src/components/MomentLayout/videoContent.vue

@@ -15,6 +15,10 @@ const Props = defineProps({
     type: String,
     default: "",
   },
+  content_no_img: {
+    type: String,
+    default: "",
+  },
 });
 </script>
 
@@ -32,11 +36,12 @@ const Props = defineProps({
         <ArrowRight />
       </el-icon>
     </div> -->
-    <img :src="Props.image" style="width: 100%; height: 400px" alt="" />
+    <img :alt="Props.videoTitle" :src="Props.image" style="width: 100%; height: 400px"  />
     <p class="description">
       {{ Props.introdection }}
     </p>
-  </div>
+    <!-- <p v-html="content_no_img"></p> -->
+  </div>   
 </template>
 
 <style lang="scss" scoped>

+ 14 - 6
src/useHook/usePost.js

@@ -12,6 +12,10 @@ import * as videoApi from '~/api/video'
 
 import * as forumApi from '~/api/forum'
 
+import { useRouter } from 'vue-router'
+
+
+
 export const usePost = (type, formdata) => {
   // type - [article, news, video, forum]
   const addArticle = articleApi.post
@@ -20,27 +24,31 @@ export const usePost = (type, formdata) => {
   const addForum = forumApi.post
 
   let funcs = null
-  console.log(type,'aaa');
-  switch(type) {
+  console.log(type, 'aaa');
+  switch (type) {
     case 'article':
       funcs = addArticle
-    break
+      break
     case 'news':
       funcs = addNews
-    break
+      break
     case 'video':
       funcs = addVideo
-    break
+      break
     case 'forum':
       funcs = addForum
-    break
+      break
   }
 
   return new Promise((resolve, reject) => {
     try {
       if (funcs) {
+        console.log(3333333);
         funcs(formdata).then(result => {
           resolve(result)
+        }).catch(() => {
+          ElMessage.error('token过期请重新登录');
+          localStorage.clear();
         })
       } else {
         throw new Error('类型错误')

+ 3 - 0
src/useHook/usepuy.js

@@ -41,6 +41,9 @@ export const usePut = (type, formdata) => {
       if (funcs) {
         funcs(formdata).then(result => {
           resolve(result)
+        }).catch(()=>{
+          ElMessage.error('token过期请重新登录');
+          localStorage.clear();
         })
       } else {
         throw new Error('类型错误')

+ 1 - 1
vite.config.js

@@ -29,7 +29,7 @@ export default defineConfig({
   server: {
     proxy: {
       '/api': {
-        target: 'https://vr-new.hdlkeji.com/api/',
+        target: 'https://www.yixiangvr.com/api/',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/api/, ''),
       }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff