feat: 添加点赞动画效果和优化点赞图标
- 新增点赞动画效果,使用CSS动画实现点赞时的缩放效果 - 替换点赞图标为红色版本,并在点赞时显示动画 - 在评论列表和详情页统一使用新的点赞图标 - 添加Like组件用于显示点赞动画 - 优化代码结构,调整部分样式和布局
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"date": "2025-06-30T04:04:32.460Z",
|
||||
"date": "2025-08-22T03:07:11.480Z",
|
||||
"preset": "node-server",
|
||||
"framework": {
|
||||
"name": "nuxt",
|
||||
|
||||
@@ -1 +1 @@
|
||||
import{_ as s,t as a,v as i,x as u,y as e,z as o}from"./J8M3-1Y-.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},m=s(f,[["__scopeId","data-v-84d937c0"]]);export{m as default};
|
||||
import{_ as s,t as a,v as i,x as u,y as e,z as o}from"./CkuURki0.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},m=s(f,[["__scopeId","data-v-84d937c0"]]);export{m as default};
|
||||
File diff suppressed because one or more lines are too long
26
.output/public/static/CkuURki0.js
Normal file
26
.output/public/static/CkuURki0.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"id":"76caa3f8-2d85-420c-8d74-c9c8e20b9fa3","timestamp":1751256258477}
|
||||
{"id":"c3cfde6f-ffe6-4b0f-aabd-5fae107805d9","timestamp":1755832011198}
|
||||
@@ -1 +0,0 @@
|
||||
{"id":"76caa3f8-2d85-420c-8d74-c9c8e20b9fa3","timestamp":1751256258477,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
||||
@@ -0,0 +1 @@
|
||||
{"id":"c3cfde6f-ffe6-4b0f-aabd-5fae107805d9","timestamp":1755832011198,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
||||
File diff suppressed because one or more lines are too long
1
.output/public/static/entry.BNr0VOhy.css
Normal file
1
.output/public/static/entry.BNr0VOhy.css
Normal file
File diff suppressed because one or more lines are too long
@@ -2609,75 +2609,75 @@ const assets$1 = {
|
||||
"size": 2238,
|
||||
"path": "../public/favicon.ico"
|
||||
},
|
||||
"/static/DMIdnJL4.js": {
|
||||
"/static/B8JHZsmT.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"d3c-V3Ok/x1pL5e6DfjN+Gzv5tsGUpQ\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"etag": "\"d3c-ApFfFNBADhrzMMCVKoc8rNi6P/k\"",
|
||||
"mtime": "2025-08-22T03:07:00.086Z",
|
||||
"size": 3388,
|
||||
"path": "../public/static/DMIdnJL4.js"
|
||||
"path": "../public/static/B8JHZsmT.js"
|
||||
},
|
||||
"/static/Dt57OhDI.js": {
|
||||
"/static/ChpL9YP_.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"24c9-wh2g9guGc3w+rvx5dCchXeqyLVc\"",
|
||||
"mtime": "2025-06-30T04:04:22.174Z",
|
||||
"etag": "\"24c9-MlYqrkhVQ/bZRx5vwa/wmfb8trI\"",
|
||||
"mtime": "2025-08-22T03:07:00.062Z",
|
||||
"size": 9417,
|
||||
"path": "../public/static/Dt57OhDI.js"
|
||||
"path": "../public/static/ChpL9YP_.js"
|
||||
},
|
||||
"/static/CkuURki0.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"5df1a-cBzmu/HTdpyqLfeJL7vTpqg8Nxk\"",
|
||||
"mtime": "2025-08-22T03:07:00.087Z",
|
||||
"size": 384794,
|
||||
"path": "../public/static/CkuURki0.js"
|
||||
},
|
||||
"/static/empty-icon.CyaRoygc.png": {
|
||||
"type": "image/png",
|
||||
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"mtime": "2025-08-22T03:07:00.086Z",
|
||||
"size": 6111,
|
||||
"path": "../public/static/empty-icon.CyaRoygc.png"
|
||||
},
|
||||
"/static/entry.Ac-gJZ5d.css": {
|
||||
"/static/entry.BNr0VOhy.css": {
|
||||
"type": "text/css; charset=utf-8",
|
||||
"etag": "\"18a30-qmndbce/ZiLfG/YK0OQ7Cl+gk+8\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"size": 100912,
|
||||
"path": "../public/static/entry.Ac-gJZ5d.css"
|
||||
"etag": "\"18ba1-P0cWrZ0tpXItO3I/GC89fPN83QE\"",
|
||||
"mtime": "2025-08-22T03:07:00.061Z",
|
||||
"size": 101281,
|
||||
"path": "../public/static/entry.BNr0VOhy.css"
|
||||
},
|
||||
"/static/error-404.CZkObG7r.css": {
|
||||
"type": "text/css; charset=utf-8",
|
||||
"etag": "\"de4-qBee3TVrfYv3V1By16k8mWrjcVQ\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"mtime": "2025-08-22T03:07:00.062Z",
|
||||
"size": 3556,
|
||||
"path": "../public/static/error-404.CZkObG7r.css"
|
||||
},
|
||||
"/static/error-500.BFrSi6nG.css": {
|
||||
"type": "text/css; charset=utf-8",
|
||||
"etag": "\"75c-1DSF9z8DiRXW3VbuCpNqepB9vI0\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"mtime": "2025-08-22T03:07:00.062Z",
|
||||
"size": 1884,
|
||||
"path": "../public/static/error-500.BFrSi6nG.css"
|
||||
},
|
||||
"/static/J8M3-1Y-.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"5b19a-BlDSQ+kfR2ksbHIOIkvZjFdRGzM\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"size": 373146,
|
||||
"path": "../public/static/J8M3-1Y-.js"
|
||||
},
|
||||
"/static/logo.DlviZpxD.png": {
|
||||
"type": "image/png",
|
||||
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
|
||||
"mtime": "2025-06-30T04:04:22.176Z",
|
||||
"mtime": "2025-08-22T03:07:00.061Z",
|
||||
"size": 33855,
|
||||
"path": "../public/static/logo.DlviZpxD.png"
|
||||
},
|
||||
"/static/builds/latest.json": {
|
||||
"type": "application/json",
|
||||
"etag": "\"47-8+cfIfequOGIfk25N4g4NjJwfos\"",
|
||||
"mtime": "2025-06-30T04:04:24.776Z",
|
||||
"etag": "\"47-f0JEb8JLxINOJpbdT8MD9nUCi4M\"",
|
||||
"mtime": "2025-08-22T03:07:02.876Z",
|
||||
"size": 71,
|
||||
"path": "../public/static/builds/latest.json"
|
||||
},
|
||||
"/static/builds/meta/76caa3f8-2d85-420c-8d74-c9c8e20b9fa3.json": {
|
||||
"/static/builds/meta/c3cfde6f-ffe6-4b0f-aabd-5fae107805d9.json": {
|
||||
"type": "application/json",
|
||||
"etag": "\"8b-3M5XX0nXEaOOr6pY/0Uq1A9+HrA\"",
|
||||
"mtime": "2025-06-30T04:04:24.776Z",
|
||||
"etag": "\"8b-ZVvqt8PnVKNhA6P8EIB6ONjpVeo\"",
|
||||
"mtime": "2025-08-22T03:07:02.876Z",
|
||||
"size": 139,
|
||||
"path": "../public/static/builds/meta/76caa3f8-2d85-420c-8d74-c9c8e20b9fa3.json"
|
||||
"path": "../public/static/builds/meta/c3cfde6f-ffe6-4b0f-aabd-5fae107805d9.json"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -4349,7 +4349,7 @@ function _expandFromEnv(value) {
|
||||
const _inlineRuntimeConfig = {
|
||||
"app": {
|
||||
"baseURL": "/",
|
||||
"buildId": "76caa3f8-2d85-420c-8d74-c9c8e20b9fa3",
|
||||
"buildId": "c3cfde6f-ffe6-4b0f-aabd-5fae107805d9",
|
||||
"buildAssetsDir": "/static/",
|
||||
"cdnURL": ""
|
||||
},
|
||||
@@ -5035,5 +5035,5 @@ function setupGracefulShutdown(listener, nitroApp) {
|
||||
});
|
||||
}
|
||||
|
||||
export { trapUnhandledNodeErrors as a, useNitroApp as b, getResponseStatus as c, destr as d, defineRenderHandler as e, getQuery as f, getResponseStatusText as g, createError$1 as h, getRouteRules as i, joinRelativeURL as j, createHooks as k, getContext as l, sanitizeStatusCode as m, toRouteMatcher as n, createRouter$1 as o, setupGracefulShutdown as s, toNodeListener as t, useRuntimeConfig as u };
|
||||
export { trapUnhandledNodeErrors as a, useNitroApp as b, getResponseStatus as c, destr as d, defineRenderHandler as e, getQuery as f, getResponseStatusText as g, createError$1 as h, getRouteRules as i, joinRelativeURL as j, sanitizeStatusCode as k, getContext as l, createHooks as m, toRouteMatcher as n, createRouter$1 as o, setupGracefulShutdown as s, toNodeListener as t, useRuntimeConfig as u };
|
||||
//# sourceMappingURL=nitro.mjs.map
|
||||
|
||||
6
.output/server/chunks/build/Like-styles.BIsA7GNG.mjs
Normal file
6
.output/server/chunks/build/Like-styles.BIsA7GNG.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import { L as Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang } from './entry-styles-1.mjs-P7Us7tvy.mjs';
|
||||
|
||||
const LikeStyles_BIsA7GNG = [Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang];
|
||||
|
||||
export { LikeStyles_BIsA7GNG as default };
|
||||
//# sourceMappingURL=Like-styles.BIsA7GNG.mjs.map
|
||||
1
.output/server/chunks/build/Like-styles.BIsA7GNG.mjs.map
Normal file
1
.output/server/chunks/build/Like-styles.BIsA7GNG.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Like-styles.BIsA7GNG.mjs","sources":["../../../../.nuxt/dist/server/static/Like-styles.BIsA7GNG.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,4BAAe,CAACA,oDAAO;;;;"}
|
||||
6
.output/server/chunks/build/Like-styles.DQDennjP.mjs
Normal file
6
.output/server/chunks/build/Like-styles.DQDennjP.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import { L as Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang } from './entry-styles-1.mjs-P7Us7tvy.mjs';
|
||||
|
||||
const LikeStyles_DQDennjP = [Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang, Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang];
|
||||
|
||||
export { LikeStyles_DQDennjP as default };
|
||||
//# sourceMappingURL=Like-styles.DQDennjP.mjs.map
|
||||
1
.output/server/chunks/build/Like-styles.DQDennjP.mjs.map
Normal file
1
.output/server/chunks/build/Like-styles.DQDennjP.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Like-styles.DQDennjP.mjs","sources":["../../../../.nuxt/dist/server/static/Like-styles.DQDennjP.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,4BAAe,CAACA,oDAAO,EAAEC,oDAAO;;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { a as app_vue_vue_type_style_index_0_lang } from './entry-styles-7.mjs.mjs';
|
||||
|
||||
const appStyles_CoC7fGAv = [app_vue_vue_type_style_index_0_lang, app_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { appStyles_CoC7fGAv as default };
|
||||
//# sourceMappingURL=app-styles.CoC7fGAv.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"app-styles.CoC7fGAv.mjs","sources":["../../../../.nuxt/dist/server/static/app-styles.CoC7fGAv.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,2BAAe,CAACA,mCAAO,EAAEC,mCAAO;;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { a as app_vue_vue_type_style_index_0_lang } from './entry-styles-7.mjs.mjs';
|
||||
|
||||
const appStyles_DjCRiSL = [app_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { appStyles_DjCRiSL as default };
|
||||
//# sourceMappingURL=app-styles.DjCRi-SL.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"app-styles.DjCRi-SL.mjs","sources":["../../../../.nuxt/dist/server/static/app-styles.DjCRi-SL.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,0BAAe,CAACA,mCAAO;;;;"}
|
||||
6
.output/server/chunks/build/app-styles.NJLpJCEo.mjs
Normal file
6
.output/server/chunks/build/app-styles.NJLpJCEo.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import { a as app_vue_vue_type_style_index_0_lang } from './entry-styles-8.mjs-z1cdWdc_.mjs';
|
||||
|
||||
const appStyles_NJLpJCEo = [app_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { appStyles_NJLpJCEo as default };
|
||||
//# sourceMappingURL=app-styles.NJLpJCEo.mjs.map
|
||||
1
.output/server/chunks/build/app-styles.NJLpJCEo.mjs.map
Normal file
1
.output/server/chunks/build/app-styles.NJLpJCEo.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"app-styles.NJLpJCEo.mjs","sources":["../../../../.nuxt/dist/server/static/app-styles.NJLpJCEo.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,2BAAe,CAACA,mCAAO;;;;"}
|
||||
6
.output/server/chunks/build/app-styles.u9BOTL1s.mjs
Normal file
6
.output/server/chunks/build/app-styles.u9BOTL1s.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import { a as app_vue_vue_type_style_index_0_lang } from './entry-styles-8.mjs-z1cdWdc_.mjs';
|
||||
|
||||
const appStyles_u9BOTL1s = [app_vue_vue_type_style_index_0_lang, app_vue_vue_type_style_index_0_lang];
|
||||
|
||||
export { appStyles_u9BOTL1s as default };
|
||||
//# sourceMappingURL=app-styles.u9BOTL1s.mjs.map
|
||||
1
.output/server/chunks/build/app-styles.u9BOTL1s.mjs.map
Normal file
1
.output/server/chunks/build/app-styles.u9BOTL1s.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"app-styles.u9BOTL1s.mjs","sources":["../../../../.nuxt/dist/server/static/app-styles.u9BOTL1s.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,2BAAe,CAACA,mCAAO,EAAEC,mCAAO;;;;"}
|
||||
@@ -18,7 +18,7 @@ const client_manifest = {
|
||||
"module": true,
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"file": "Dt57OhDI.js",
|
||||
"file": "ChpL9YP_.js",
|
||||
"name": "error-404",
|
||||
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue",
|
||||
"isDynamicEntry": true,
|
||||
@@ -38,7 +38,7 @@ const client_manifest = {
|
||||
"module": true,
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"file": "DMIdnJL4.js",
|
||||
"file": "B8JHZsmT.js",
|
||||
"name": "error-500",
|
||||
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue",
|
||||
"isDynamicEntry": true,
|
||||
@@ -58,7 +58,7 @@ const client_manifest = {
|
||||
"module": true,
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"file": "J8M3-1Y-.js",
|
||||
"file": "CkuURki0.js",
|
||||
"name": "entry",
|
||||
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js",
|
||||
"isEntry": true,
|
||||
@@ -67,7 +67,7 @@ const client_manifest = {
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue"
|
||||
],
|
||||
"css": [
|
||||
"entry.Ac-gJZ5d.css"
|
||||
"entry.BNr0VOhy.css"
|
||||
],
|
||||
"assets": [
|
||||
"logo.DlviZpxD.png",
|
||||
@@ -75,8 +75,8 @@ const client_manifest = {
|
||||
],
|
||||
"_globalCSS": true
|
||||
},
|
||||
"entry.Ac-gJZ5d.css": {
|
||||
"file": "entry.Ac-gJZ5d.css",
|
||||
"entry.BNr0VOhy.css": {
|
||||
"file": "entry.BNr0VOhy.css",
|
||||
"resourceType": "style",
|
||||
"prefetch": true,
|
||||
"preload": true
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
const Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang = ".like[data-v-972d2ebd]{height:120px;left:50%;position:fixed;top:50%;transform:translate(-50%,-50%);width:120px}";
|
||||
|
||||
export { Like_vue_vue_type_style_index_0_scoped_972d2ebd_lang as L };
|
||||
//# sourceMappingURL=entry-styles-1.mjs-P7Us7tvy.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"entry-styles-1.mjs-P7Us7tvy.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"entry-styles-7.mjs.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"entry-styles-8.mjs-z1cdWdc_.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"entry-styles.BMEJ6WCM.mjs","sources":["../../../../.nuxt/dist/server/static/entry-styles.BMEJ6WCM.mjs"],"sourcesContent":null,"names":["style_0","style_1","style_2","style_3","style_4","style_5","style_6"],"mappings":";;;;;;;;;;;;;;AAOA,6BAAe,CAACA,IAAO,EAAEC,QAAO,EAAEC,QAAO,EAAEC,SAAO,EAAEC,OAAO,EAAEC,SAAO,EAAEC,mCAAO;;;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"entry-styles.BfamiQlr.mjs","sources":["../../../../.nuxt/dist/server/static/entry-styles.BfamiQlr.mjs"],"sourcesContent":null,"names":["style_0","style_1","style_2","style_3","style_4","style_5","style_6","style_7"],"mappings":";;;;;;;;;;;;;;;AAQA,6BAAe,CAACA,oDAAO,EAAEC,IAAO,EAAEC,QAAO,EAAEC,QAAO,EAAEC,SAAO,EAAEC,OAAO,EAAEC,SAAO,EAAEC,mCAAO;;;;"}
|
||||
@@ -1,17 +1,21 @@
|
||||
import { defineComponent, ref, h, resolveComponent, computed, mergeProps, withCtx, createTextVNode, toDisplayString, useSSRContext } from 'vue';
|
||||
import { u as useRouter, a as useNuxtApp, p as parseQuery, h as hasProtocol, r as resolveRouteObject, j as joinURL, b as useRuntimeConfig, n as navigateTo, w as withTrailingSlash, c as withoutTrailingSlash, d as nuxtLinkDefaults, _ as _export_sfc, e as useHead } from './server.mjs';
|
||||
import { mergeProps, withCtx, createTextVNode, toDisplayString, defineComponent, ref, h, resolveComponent, computed, useSSRContext } from 'vue';
|
||||
import { _ as _export_sfc, e as useHead, u as useRouter, a as useNuxtApp, p as parseQuery, h as hasProtocol, r as resolveRouteObject, j as joinURL, b as useRuntimeConfig, n as navigateTo, w as withTrailingSlash, c as withoutTrailingSlash, d as nuxtLinkDefaults } from './server.mjs';
|
||||
import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent } from 'vue/server-renderer';
|
||||
import '../_/nitro.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:events';
|
||||
import 'node:zlib';
|
||||
import 'node:stream';
|
||||
import 'node:buffer';
|
||||
import 'node:fs';
|
||||
import 'node:util';
|
||||
import 'node:url';
|
||||
import 'node:net';
|
||||
import 'node:fs';
|
||||
import 'node:path';
|
||||
import 'node:crypto';
|
||||
import '../routes/renderer.mjs';
|
||||
import 'vue-bundle-renderer/runtime';
|
||||
import '../_/nitro.mjs';
|
||||
import 'node:events';
|
||||
import 'node:crypto';
|
||||
import 'unhead/server';
|
||||
import 'unhead/utils';
|
||||
import 'devalue';
|
||||
@@ -42,6 +46,7 @@ function defineNuxtLink(options) {
|
||||
return resolvedPath;
|
||||
}
|
||||
function useNuxtLink(props) {
|
||||
var _a, _b, _c;
|
||||
const router = useRouter();
|
||||
const config = useRuntimeConfig();
|
||||
const hasTarget = computed(() => !!props.target && props.target !== "_self");
|
||||
@@ -70,7 +75,8 @@ function defineNuxtLink(options) {
|
||||
});
|
||||
const link = isExternal.value ? void 0 : useBuiltinLink == null ? void 0 : useBuiltinLink({ ...props, to });
|
||||
const href = computed(() => {
|
||||
var _a;
|
||||
var _a3;
|
||||
var _a2;
|
||||
if (!to.value || isAbsoluteUrl.value || isHashLinkWithoutHashMode(to.value)) {
|
||||
return to.value;
|
||||
}
|
||||
@@ -84,7 +90,7 @@ function defineNuxtLink(options) {
|
||||
);
|
||||
}
|
||||
if (typeof to.value === "object") {
|
||||
return ((_a = router.resolve(to.value)) == null ? void 0 : _a.href) ?? null;
|
||||
return (_a3 = (_a2 = router.resolve(to.value)) == null ? void 0 : _a2.href) != null ? _a3 : null;
|
||||
}
|
||||
return resolveTrailingSlashBehavior(
|
||||
joinURL(config.app.baseURL, to.value),
|
||||
@@ -99,9 +105,9 @@ function defineNuxtLink(options) {
|
||||
isExternal,
|
||||
//
|
||||
href,
|
||||
isActive: (link == null ? void 0 : link.isActive) ?? computed(() => to.value === router.currentRoute.value.path),
|
||||
isExactActive: (link == null ? void 0 : link.isExactActive) ?? computed(() => to.value === router.currentRoute.value.path),
|
||||
route: (link == null ? void 0 : link.route) ?? computed(() => router.resolve(to.value)),
|
||||
isActive: (_a = link == null ? void 0 : link.isActive) != null ? _a : computed(() => to.value === router.currentRoute.value.path),
|
||||
isExactActive: (_b = link == null ? void 0 : link.isExactActive) != null ? _b : computed(() => to.value === router.currentRoute.value.path),
|
||||
route: (_c = link == null ? void 0 : link.route) != null ? _c : computed(() => router.resolve(to.value)),
|
||||
async navigate(_e) {
|
||||
await navigateTo(href.value, { replace: props.replace, external: isExternal.value || hasTarget.value });
|
||||
}
|
||||
@@ -287,7 +293,6 @@ function applyTrailingSlashBehavior(to, trailingSlash) {
|
||||
}
|
||||
return normalizeFn(to, true);
|
||||
}
|
||||
|
||||
const _sfc_main = {
|
||||
__name: "error-404",
|
||||
__ssrInlineRender: true,
|
||||
@@ -363,4 +368,4 @@ _sfc_main.setup = (props, ctx) => {
|
||||
const error404 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-075d74b5"]]);
|
||||
|
||||
export { error404 as default };
|
||||
//# sourceMappingURL=error-404.vue.mjs.map
|
||||
//# sourceMappingURL=error-404-BlVDShWL.mjs.map
|
||||
1
.output/server/chunks/build/error-404-BlVDShWL.mjs.map
Normal file
1
.output/server/chunks/build/error-404-BlVDShWL.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-404-BlVDShWL.mjs","sources":["../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/nuxt-link.js","../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue"],"sourcesContent":null,"names":["_a"],"mappings":"","x_google_ignoreList":[0,1]}
|
||||
@@ -1,4 +1,4 @@
|
||||
const error404_vue_vue_type_style_index_0_scoped_075d74b5_lang = '.spotlight[data-v-075d74b5]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-075d74b5]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-075d74b5]{background-color:#ffffff4d}.gradient-border[data-v-075d74b5]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-075d74b5]{background-color:#1414144d}.gradient-border[data-v-075d74b5]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-075d74b5]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-075d74b5]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-075d74b5]{position:fixed}.left-0[data-v-075d74b5]{left:0}.right-0[data-v-075d74b5]{right:0}.z-10[data-v-075d74b5]{z-index:10}.z-20[data-v-075d74b5]{z-index:20}.grid[data-v-075d74b5]{display:grid}.mb-16[data-v-075d74b5]{margin-bottom:4rem}.mb-8[data-v-075d74b5]{margin-bottom:2rem}.max-w-520px[data-v-075d74b5]{max-width:520px}.min-h-screen[data-v-075d74b5]{min-height:100vh}.w-full[data-v-075d74b5]{width:100%}.flex[data-v-075d74b5]{display:flex}.cursor-pointer[data-v-075d74b5]{cursor:pointer}.place-content-center[data-v-075d74b5]{place-content:center}.items-center[data-v-075d74b5]{align-items:center}.justify-center[data-v-075d74b5]{justify-content:center}.overflow-hidden[data-v-075d74b5]{overflow:hidden}.bg-white[data-v-075d74b5]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-075d74b5]{padding-left:1rem;padding-right:1rem}.px-8[data-v-075d74b5]{padding-left:2rem;padding-right:2rem}.py-2[data-v-075d74b5]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-075d74b5]{text-align:center}.text-8xl[data-v-075d74b5]{font-size:6rem;line-height:1}.text-xl[data-v-075d74b5]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-075d74b5]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-075d74b5]{font-weight:300}.font-medium[data-v-075d74b5]{font-weight:500}.leading-tight[data-v-075d74b5]{line-height:1.25}.font-sans[data-v-075d74b5]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-075d74b5]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\\:bg-black[data-v-075d74b5]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\\:text-white[data-v-075d74b5]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\\:px-0[data-v-075d74b5]{padding-left:0;padding-right:0}.sm\\:px-6[data-v-075d74b5]{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-3[data-v-075d74b5]{padding-bottom:.75rem;padding-top:.75rem}.sm\\:text-4xl[data-v-075d74b5]{font-size:2.25rem;line-height:2.5rem}.sm\\:text-xl[data-v-075d74b5]{font-size:1.25rem;line-height:1.75rem}}';
|
||||
|
||||
export { error404_vue_vue_type_style_index_0_scoped_075d74b5_lang as e };
|
||||
//# sourceMappingURL=error-404-styles-1.mjs.mjs.map
|
||||
//# sourceMappingURL=error-404-styles-1.mjs-BtRiOws7.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-404-styles-1.mjs-BtRiOws7.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-404-styles-1.mjs.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { e as error404_vue_vue_type_style_index_0_scoped_075d74b5_lang } from './error-404-styles-1.mjs.mjs';
|
||||
|
||||
const error404Styles_BNmKahfp = [error404_vue_vue_type_style_index_0_scoped_075d74b5_lang];
|
||||
|
||||
export { error404Styles_BNmKahfp as default };
|
||||
//# sourceMappingURL=error-404-styles.BNmKahfp.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-404-styles.BNmKahfp.mjs","sources":["../../../../.nuxt/dist/server/static/error-404-styles.BNmKahfp.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,gCAAe,CAACA,wDAAO;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { e as error404_vue_vue_type_style_index_0_scoped_075d74b5_lang } from './error-404-styles-1.mjs-BtRiOws7.mjs';
|
||||
|
||||
const error404Styles_BshXrwM5 = [error404_vue_vue_type_style_index_0_scoped_075d74b5_lang, error404_vue_vue_type_style_index_0_scoped_075d74b5_lang];
|
||||
|
||||
export { error404Styles_BshXrwM5 as default };
|
||||
//# sourceMappingURL=error-404-styles.BshXrwM5.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-404-styles.BshXrwM5.mjs","sources":["../../../../.nuxt/dist/server/static/error-404-styles.BshXrwM5.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,gCAAe,CAACA,wDAAO,EAAEC,wDAAO;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { e as error404_vue_vue_type_style_index_0_scoped_075d74b5_lang } from './error-404-styles-1.mjs-BtRiOws7.mjs';
|
||||
|
||||
const error404Styles_CuaO5MB7 = [error404_vue_vue_type_style_index_0_scoped_075d74b5_lang];
|
||||
|
||||
export { error404Styles_CuaO5MB7 as default };
|
||||
//# sourceMappingURL=error-404-styles.CuaO5MB7.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-404-styles.CuaO5MB7.mjs","sources":["../../../../.nuxt/dist/server/static/error-404-styles.CuaO5MB7.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,gCAAe,CAACA,wDAAO;;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { e as error404_vue_vue_type_style_index_0_scoped_075d74b5_lang } from './error-404-styles-1.mjs.mjs';
|
||||
|
||||
const error404Styles_wRz_Rw1 = [error404_vue_vue_type_style_index_0_scoped_075d74b5_lang, error404_vue_vue_type_style_index_0_scoped_075d74b5_lang];
|
||||
|
||||
export { error404Styles_wRz_Rw1 as default };
|
||||
//# sourceMappingURL=error-404-styles.wRz_-Rw1.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-404-styles.wRz_-Rw1.mjs","sources":["../../../../.nuxt/dist/server/static/error-404-styles.wRz_-Rw1.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,+BAAe,CAACA,wDAAO,EAAEC,wDAAO;;;;"}
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-404.vue.mjs","sources":["../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/nuxt-link.js","../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue"],"sourcesContent":null,"names":[],"mappings":"","x_google_ignoreList":[0,1]}
|
||||
@@ -1,17 +1,21 @@
|
||||
import { mergeProps, useSSRContext } from 'vue';
|
||||
import { ssrRenderAttrs, ssrInterpolate } from 'vue/server-renderer';
|
||||
import { _ as _export_sfc, e as useHead } from './server.mjs';
|
||||
import '../_/nitro.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:events';
|
||||
import 'node:zlib';
|
||||
import 'node:stream';
|
||||
import 'node:buffer';
|
||||
import 'node:fs';
|
||||
import 'node:util';
|
||||
import 'node:url';
|
||||
import 'node:net';
|
||||
import 'node:fs';
|
||||
import 'node:path';
|
||||
import 'node:crypto';
|
||||
import '../routes/renderer.mjs';
|
||||
import 'vue-bundle-renderer/runtime';
|
||||
import '../_/nitro.mjs';
|
||||
import 'node:events';
|
||||
import 'node:crypto';
|
||||
import 'unhead/server';
|
||||
import 'unhead/utils';
|
||||
import 'devalue';
|
||||
@@ -72,4 +76,4 @@ _sfc_main.setup = (props, ctx) => {
|
||||
const error500 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-84d937c0"]]);
|
||||
|
||||
export { error500 as default };
|
||||
//# sourceMappingURL=error-500.vue.mjs.map
|
||||
//# sourceMappingURL=error-500-k1TrraF0.mjs.map
|
||||
1
.output/server/chunks/build/error-500-k1TrraF0.mjs.map
Normal file
1
.output/server/chunks/build/error-500-k1TrraF0.mjs.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-500-k1TrraF0.mjs","sources":["../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue"],"sourcesContent":null,"names":[],"mappings":"","x_google_ignoreList":[0]}
|
||||
@@ -1,4 +1,4 @@
|
||||
const error500_vue_vue_type_style_index_0_scoped_84d937c0_lang = ".spotlight[data-v-84d937c0]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-84d937c0]{position:fixed}.-bottom-1\\/2[data-v-84d937c0]{bottom:-50%}.left-0[data-v-84d937c0]{left:0}.right-0[data-v-84d937c0]{right:0}.grid[data-v-84d937c0]{display:grid}.mb-16[data-v-84d937c0]{margin-bottom:4rem}.mb-8[data-v-84d937c0]{margin-bottom:2rem}.h-1\\/2[data-v-84d937c0]{height:50%}.max-w-520px[data-v-84d937c0]{max-width:520px}.min-h-screen[data-v-84d937c0]{min-height:100vh}.place-content-center[data-v-84d937c0]{place-content:center}.overflow-hidden[data-v-84d937c0]{overflow:hidden}.bg-white[data-v-84d937c0]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-84d937c0]{padding-left:2rem;padding-right:2rem}.text-center[data-v-84d937c0]{text-align:center}.text-8xl[data-v-84d937c0]{font-size:6rem;line-height:1}.text-xl[data-v-84d937c0]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-84d937c0]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-84d937c0]{font-weight:300}.font-medium[data-v-84d937c0]{font-weight:500}.leading-tight[data-v-84d937c0]{line-height:1.25}.font-sans[data-v-84d937c0]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-84d937c0]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\\:bg-black[data-v-84d937c0]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\\:text-white[data-v-84d937c0]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\\:px-0[data-v-84d937c0]{padding-left:0;padding-right:0}.sm\\:text-4xl[data-v-84d937c0]{font-size:2.25rem;line-height:2.5rem}}";
|
||||
|
||||
export { error500_vue_vue_type_style_index_0_scoped_84d937c0_lang as e };
|
||||
//# sourceMappingURL=error-500-styles-1.mjs.mjs.map
|
||||
//# sourceMappingURL=error-500-styles-1.mjs-C679oEWc.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-500-styles-1.mjs-C679oEWc.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-500-styles-1.mjs.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { e as error500_vue_vue_type_style_index_0_scoped_84d937c0_lang } from './error-500-styles-1.mjs.mjs';
|
||||
|
||||
const error500Styles_Cx3AJg0u = [error500_vue_vue_type_style_index_0_scoped_84d937c0_lang];
|
||||
|
||||
export { error500Styles_Cx3AJg0u as default };
|
||||
//# sourceMappingURL=error-500-styles.Cx3AJg0u.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-500-styles.Cx3AJg0u.mjs","sources":["../../../../.nuxt/dist/server/static/error-500-styles.Cx3AJg0u.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,gCAAe,CAACA,wDAAO;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { e as error500_vue_vue_type_style_index_0_scoped_84d937c0_lang } from './error-500-styles-1.mjs-C679oEWc.mjs';
|
||||
|
||||
const error500Styles_DIlGYe2L = [error500_vue_vue_type_style_index_0_scoped_84d937c0_lang];
|
||||
|
||||
export { error500Styles_DIlGYe2L as default };
|
||||
//# sourceMappingURL=error-500-styles.DIlGYe2L.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-500-styles.DIlGYe2L.mjs","sources":["../../../../.nuxt/dist/server/static/error-500-styles.DIlGYe2L.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":";;AACA,gCAAe,CAACA,wDAAO;;;;"}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { e as error500_vue_vue_type_style_index_0_scoped_84d937c0_lang } from './error-500-styles-1.mjs-C679oEWc.mjs';
|
||||
|
||||
const error500Styles_DobFeJtS = [error500_vue_vue_type_style_index_0_scoped_84d937c0_lang, error500_vue_vue_type_style_index_0_scoped_84d937c0_lang];
|
||||
|
||||
export { error500Styles_DobFeJtS as default };
|
||||
//# sourceMappingURL=error-500-styles.DobFeJtS.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"error-500-styles.DobFeJtS.mjs","sources":["../../../../.nuxt/dist/server/static/error-500-styles.DobFeJtS.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,gCAAe,CAACA,wDAAO,EAAEC,wDAAO;;;;"}
|
||||
@@ -1,6 +0,0 @@
|
||||
import { e as error500_vue_vue_type_style_index_0_scoped_84d937c0_lang } from './error-500-styles-1.mjs.mjs';
|
||||
|
||||
const error500Styles_TwxDbBgG = [error500_vue_vue_type_style_index_0_scoped_84d937c0_lang, error500_vue_vue_type_style_index_0_scoped_84d937c0_lang];
|
||||
|
||||
export { error500Styles_TwxDbBgG as default };
|
||||
//# sourceMappingURL=error-500-styles.TwxDbBgG.mjs.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-500-styles.TwxDbBgG.mjs","sources":["../../../../.nuxt/dist/server/static/error-500-styles.TwxDbBgG.mjs"],"sourcesContent":null,"names":["style_0","style_1"],"mappings":";;AAEA,gCAAe,CAACA,wDAAO,EAAEC,wDAAO;;;;"}
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"error-500.vue.mjs","sources":["../../../../node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue"],"sourcesContent":null,"names":[],"mappings":"","x_google_ignoreList":[0]}
|
||||
178
.output/server/chunks/build/multipart-parser-42k3zbcc.mjs
Normal file
178
.output/server/chunks/build/multipart-parser-42k3zbcc.mjs
Normal file
@@ -0,0 +1,178 @@
|
||||
import { Z as Zt, Y as Yr } from './server.mjs';
|
||||
import 'vue';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:zlib';
|
||||
import 'node:stream';
|
||||
import 'node:buffer';
|
||||
import 'node:util';
|
||||
import 'node:url';
|
||||
import 'node:net';
|
||||
import 'node:fs';
|
||||
import 'node:path';
|
||||
import '../routes/renderer.mjs';
|
||||
import 'vue-bundle-renderer/runtime';
|
||||
import '../_/nitro.mjs';
|
||||
import 'node:events';
|
||||
import 'node:crypto';
|
||||
import 'unhead/server';
|
||||
import 'unhead/utils';
|
||||
import 'vue/server-renderer';
|
||||
import 'devalue';
|
||||
import 'unhead/plugins';
|
||||
import 'axios';
|
||||
|
||||
var U = Object.defineProperty;
|
||||
var E = (_, o) => U(_, "name", { value: o, configurable: true });
|
||||
let D = 0;
|
||||
const t = { START_BOUNDARY: D++, HEADER_FIELD_START: D++, HEADER_FIELD: D++, HEADER_VALUE_START: D++, HEADER_VALUE: D++, HEADER_VALUE_ALMOST_DONE: D++, HEADERS_ALMOST_DONE: D++, PART_DATA_START: D++, PART_DATA: D++, END: D++ };
|
||||
let F = 1;
|
||||
const u = { PART_BOUNDARY: F, LAST_BOUNDARY: F *= 2 }, g = 10, N = 13, V = 32, S = 45, Y = 58, x = 97, C = 122, I = E((_) => _ | 32, "lower"), p = E(() => {
|
||||
}, "noop");
|
||||
const _M = class _M2 {
|
||||
constructor(o) {
|
||||
this.index = 0, this.flags = 0, this.onHeaderEnd = p, this.onHeaderField = p, this.onHeadersEnd = p, this.onHeaderValue = p, this.onPartBegin = p, this.onPartData = p, this.onPartEnd = p, this.boundaryChars = {}, o = `\r
|
||||
--` + o;
|
||||
const n = new Uint8Array(o.length);
|
||||
for (let r = 0; r < o.length; r++) n[r] = o.charCodeAt(r), this.boundaryChars[n[r]] = true;
|
||||
this.boundary = n, this.lookbehind = new Uint8Array(this.boundary.length + 8), this.state = t.START_BOUNDARY;
|
||||
}
|
||||
write(o) {
|
||||
let n = 0;
|
||||
const r = o.length;
|
||||
let d = this.index, { lookbehind: l, boundary: c, boundaryChars: m, index: e, state: i, flags: A } = this;
|
||||
const H = this.boundary.length, O = H - 1, y = o.length;
|
||||
let a, L;
|
||||
const f = E((h) => {
|
||||
this[h + "Mark"] = n;
|
||||
}, "mark"), s = E((h) => {
|
||||
delete this[h + "Mark"];
|
||||
}, "clear"), T = E((h, P, R, k) => {
|
||||
(P === void 0 || P !== R) && this[h](k && k.subarray(P, R));
|
||||
}, "callback"), b = E((h, P) => {
|
||||
const R = h + "Mark";
|
||||
R in this && (P ? (T(h, this[R], n, o), delete this[R]) : (T(h, this[R], o.length, o), this[R] = 0));
|
||||
}, "dataCallback");
|
||||
for (n = 0; n < r; n++) switch (a = o[n], i) {
|
||||
case t.START_BOUNDARY:
|
||||
if (e === c.length - 2) {
|
||||
if (a === S) A |= u.LAST_BOUNDARY;
|
||||
else if (a !== N) return;
|
||||
e++;
|
||||
break;
|
||||
} else if (e - 1 === c.length - 2) {
|
||||
if (A & u.LAST_BOUNDARY && a === S) i = t.END, A = 0;
|
||||
else if (!(A & u.LAST_BOUNDARY) && a === g) e = 0, T("onPartBegin"), i = t.HEADER_FIELD_START;
|
||||
else return;
|
||||
break;
|
||||
}
|
||||
a !== c[e + 2] && (e = -2), a === c[e + 2] && e++;
|
||||
break;
|
||||
case t.HEADER_FIELD_START:
|
||||
i = t.HEADER_FIELD, f("onHeaderField"), e = 0;
|
||||
case t.HEADER_FIELD:
|
||||
if (a === N) {
|
||||
s("onHeaderField"), i = t.HEADERS_ALMOST_DONE;
|
||||
break;
|
||||
}
|
||||
if (e++, a === S) break;
|
||||
if (a === Y) {
|
||||
if (e === 1) return;
|
||||
b("onHeaderField", true), i = t.HEADER_VALUE_START;
|
||||
break;
|
||||
}
|
||||
if (L = I(a), L < x || L > C) return;
|
||||
break;
|
||||
case t.HEADER_VALUE_START:
|
||||
if (a === V) break;
|
||||
f("onHeaderValue"), i = t.HEADER_VALUE;
|
||||
case t.HEADER_VALUE:
|
||||
a === N && (b("onHeaderValue", true), T("onHeaderEnd"), i = t.HEADER_VALUE_ALMOST_DONE);
|
||||
break;
|
||||
case t.HEADER_VALUE_ALMOST_DONE:
|
||||
if (a !== g) return;
|
||||
i = t.HEADER_FIELD_START;
|
||||
break;
|
||||
case t.HEADERS_ALMOST_DONE:
|
||||
if (a !== g) return;
|
||||
T("onHeadersEnd"), i = t.PART_DATA_START;
|
||||
break;
|
||||
case t.PART_DATA_START:
|
||||
i = t.PART_DATA, f("onPartData");
|
||||
case t.PART_DATA:
|
||||
if (d = e, e === 0) {
|
||||
for (n += O; n < y && !(o[n] in m); ) n += H;
|
||||
n -= O, a = o[n];
|
||||
}
|
||||
if (e < c.length) c[e] === a ? (e === 0 && b("onPartData", true), e++) : e = 0;
|
||||
else if (e === c.length) e++, a === N ? A |= u.PART_BOUNDARY : a === S ? A |= u.LAST_BOUNDARY : e = 0;
|
||||
else if (e - 1 === c.length) if (A & u.PART_BOUNDARY) {
|
||||
if (e = 0, a === g) {
|
||||
A &= ~u.PART_BOUNDARY, T("onPartEnd"), T("onPartBegin"), i = t.HEADER_FIELD_START;
|
||||
break;
|
||||
}
|
||||
} else A & u.LAST_BOUNDARY && a === S ? (T("onPartEnd"), i = t.END, A = 0) : e = 0;
|
||||
if (e > 0) l[e - 1] = a;
|
||||
else if (d > 0) {
|
||||
const h = new Uint8Array(l.buffer, l.byteOffset, l.byteLength);
|
||||
T("onPartData", 0, d, h), d = 0, f("onPartData"), n--;
|
||||
}
|
||||
break;
|
||||
case t.END:
|
||||
break;
|
||||
default:
|
||||
throw new Error(`Unexpected state entered: ${i}`);
|
||||
}
|
||||
b("onHeaderField"), b("onHeaderValue"), b("onPartData"), this.index = e, this.state = i, this.flags = A;
|
||||
}
|
||||
end() {
|
||||
if (this.state === t.HEADER_FIELD_START && this.index === 0 || this.state === t.PART_DATA && this.index === this.boundary.length) this.onPartEnd();
|
||||
else if (this.state !== t.END) throw new Error("MultipartParser.end(): stream ended unexpectedly");
|
||||
}
|
||||
};
|
||||
E(_M, "MultipartParser");
|
||||
let M = _M;
|
||||
function $(_) {
|
||||
const o = _.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
|
||||
if (!o) return;
|
||||
const n = o[2] || o[3] || "";
|
||||
let r = n.slice(n.lastIndexOf("\\") + 1);
|
||||
return r = r.replace(/%22/g, '"'), r = r.replace(/&#(\d{4});/g, (d, l) => String.fromCharCode(l)), r;
|
||||
}
|
||||
E($, "_fileName");
|
||||
async function v(_, o) {
|
||||
if (!/multipart/i.test(o)) throw new TypeError("Failed to fetch");
|
||||
const n = o.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
|
||||
if (!n) throw new TypeError("no or bad content-type header, no multipart boundary");
|
||||
const r = new M(n[1] || n[2]);
|
||||
let d, l, c, m, e, i;
|
||||
const A = [], H = new Zt(), O = E((s) => {
|
||||
c += f.decode(s, { stream: true });
|
||||
}, "onPartData"), y = E((s) => {
|
||||
A.push(s);
|
||||
}, "appendToFile"), a = E(() => {
|
||||
const s = new Yr(A, i, { type: e });
|
||||
H.append(m, s);
|
||||
}, "appendFileToFormData"), L = E(() => {
|
||||
H.append(m, c);
|
||||
}, "appendEntryToFormData"), f = new TextDecoder("utf-8");
|
||||
f.decode(), r.onPartBegin = function() {
|
||||
r.onPartData = O, r.onPartEnd = L, d = "", l = "", c = "", m = "", e = "", i = null, A.length = 0;
|
||||
}, r.onHeaderField = function(s) {
|
||||
d += f.decode(s, { stream: true });
|
||||
}, r.onHeaderValue = function(s) {
|
||||
l += f.decode(s, { stream: true });
|
||||
}, r.onHeaderEnd = function() {
|
||||
if (l += f.decode(), d = d.toLowerCase(), d === "content-disposition") {
|
||||
const s = l.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
|
||||
s && (m = s[2] || s[3] || ""), i = $(l), i && (r.onPartData = y, r.onPartEnd = a);
|
||||
} else d === "content-type" && (e = l);
|
||||
l = "", d = "";
|
||||
};
|
||||
for await (const s of _) r.write(s);
|
||||
return r.end(), H;
|
||||
}
|
||||
E(v, "toFormData");
|
||||
|
||||
export { v as toFormData };
|
||||
//# sourceMappingURL=multipart-parser-42k3zbcc.mjs.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"multipart-parser-42k3zbcc.mjs","sources":["../../../../node_modules/.store/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs"],"sourcesContent":null,"names":["_M","w","B"],"mappings":"","x_google_ignoreList":[0]}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,12 +1,14 @@
|
||||
const interopDefault = r => r.default || r || [];
|
||||
const styles = {
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js": () => import('./entry-styles.BMEJ6WCM.mjs').then(interopDefault),
|
||||
"app.vue": () => import('./app-styles.CoC7fGAv.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.wRz_-Rw1.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.TwxDbBgG.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=075d74b5&lang.css": () => import('./error-404-styles.BNmKahfp.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.Cx3AJg0u.mjs').then(interopDefault),
|
||||
"app.vue?vue&type=style&index=0&lang.css": () => import('./app-styles.DjCRi-SL.mjs').then(interopDefault)
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js": () => import('./entry-styles.BfamiQlr.mjs').then(interopDefault),
|
||||
"app.vue": () => import('./app-styles.u9BOTL1s.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.BshXrwM5.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.DobFeJtS.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=075d74b5&lang.css": () => import('./error-404-styles.CuaO5MB7.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.DIlGYe2L.mjs').then(interopDefault),
|
||||
"components/Like.vue": () => import('./Like-styles.DQDennjP.mjs').then(interopDefault),
|
||||
"app.vue?vue&type=style&index=0&lang.css": () => import('./app-styles.NJLpJCEo.mjs').then(interopDefault),
|
||||
"components/Like.vue?vue&type=style&index=0&scoped=972d2ebd&lang.css": () => import('./Like-styles.BIsA7GNG.mjs').then(interopDefault)
|
||||
};
|
||||
|
||||
export { styles as default };
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"styles.mjs","sources":["../../../../.nuxt/dist/server/styles.mjs"],"sourcesContent":null,"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,IAAI;AAC9C,eAAe;AACf,EAAE,qEAAqE,EAAE,MAAM,OAAO,6BAAoC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAChJ,EAAE,SAAS,EAAE,MAAM,OAAO,2BAAkC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAClF,EAAE,qFAAqF,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpK,EAAE,qFAAqF,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpK,EAAE,qIAAqI,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpN,EAAE,qIAAqI,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpN,EAAE,yCAAyC,EAAE,MAAM,OAAO,2BAAkC,CAAC,CAAC,IAAI,CAAC,cAAc;AACjH;;;;"}
|
||||
{"version":3,"file":"styles.mjs","sources":["../../../../.nuxt/dist/server/styles.mjs"],"sourcesContent":null,"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,IAAI;AAC9C,eAAe;AACf,EAAE,qEAAqE,EAAE,MAAM,OAAO,6BAAoC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAChJ,EAAE,SAAS,EAAE,MAAM,OAAO,2BAAkC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAClF,EAAE,qFAAqF,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpK,EAAE,qFAAqF,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpK,EAAE,qIAAqI,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpN,EAAE,qIAAqI,EAAE,MAAM,OAAO,iCAAwC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AACpN,EAAE,qBAAqB,EAAE,MAAM,OAAO,4BAAmC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAC/F,EAAE,yCAAyC,EAAE,MAAM,OAAO,2BAAkC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;AAClH,EAAE,qEAAqE,EAAE,MAAM,OAAO,4BAAmC,CAAC,CAAC,IAAI,CAAC,cAAc;AAC9I;;;;"}
|
||||
@@ -86,6 +86,9 @@ const componentIslands = false;
|
||||
|
||||
const appId = "nuxt-app";
|
||||
|
||||
function baseURL() {
|
||||
return useRuntimeConfig().app.baseURL;
|
||||
}
|
||||
function buildAssetsDir() {
|
||||
return useRuntimeConfig().app.buildAssetsDir;
|
||||
}
|
||||
@@ -107,7 +110,7 @@ const getEntryIds = () => getClientManifest().then((r) => Object.values(r).filte
|
||||
r2._globalCSS
|
||||
)
|
||||
).map((r2) => r2.src));
|
||||
const getServerEntry = () => import('../build/server.mjs').then(function (n) { return n.s; }).then((r) => r.default || r);
|
||||
const getServerEntry = () => import('../build/server.mjs').then((r) => r.default || r);
|
||||
const getSSRStyles = lazyCachedFunction(() => import('../build/styles.mjs').then((r) => r.default || r));
|
||||
const getSSRRenderer = lazyCachedFunction(async () => {
|
||||
const manifest = await getClientManifest();
|
||||
@@ -405,5 +408,5 @@ const renderer$1 = /*#__PURE__*/Object.freeze({
|
||||
default: renderer
|
||||
});
|
||||
|
||||
export { headSymbol as h, renderer$1 as r, useHead as u };
|
||||
export { baseURL as b, headSymbol as h, renderer$1 as r, useHead as u };
|
||||
//# sourceMappingURL=renderer.mjs.map
|
||||
|
||||
28
app.vue
28
app.vue
@@ -209,7 +209,7 @@
|
||||
<div class="operate-list flexacenter">
|
||||
<div class="operate-item flexacenter" @click="operateLike()">
|
||||
<img class="operate-icon operate-like-icon" v-if="islike == 0" src="/img/like-icon.png" />
|
||||
<img class="operate-icon operate-like-icon" v-else src="/img/like-icon-colours.png" />
|
||||
<img class="operate-icon operate-like-icon pitch" v-else src="/img/like-red-pitch.png" />
|
||||
{{ detailsInfo.likenum || "赞" }}
|
||||
</div>
|
||||
<ClientOnly>
|
||||
@@ -493,6 +493,8 @@
|
||||
<!-- <RespondPop v-if="respondPopState" :respondDetail="respondDetail" :respondPopObj="respondPopObj" @closePopList="closePopList" @selectEomji="selectEomji"></RespondPop> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Like v-if="isLikeGif"></Like>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -511,7 +513,7 @@ import axios from "axios";
|
||||
export default {
|
||||
name: "#answer-app",
|
||||
async setup() {
|
||||
const author = "cdJRj8D8cnmc81J14MZwm18Mw48c4R88Zrh4ctm1";
|
||||
const author = "01346a38444d71aaadb3adad52b52c39";
|
||||
|
||||
if (process.env.NODE_ENV !== "production" && document) document.cookie = "miucms_session=" + author;
|
||||
|
||||
@@ -651,14 +653,12 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (params["ispublish"]) questionsInit();
|
||||
}, 500);
|
||||
|
||||
});
|
||||
|
||||
let realname = ref(1); // 是否已经实名
|
||||
|
||||
const getUserInfoWin = () => {
|
||||
|
||||
const checkUser = () => {
|
||||
const checkUser = () => {
|
||||
const u = window.userInfoWin;
|
||||
if (!u) return;
|
||||
document.removeEventListener("getUser", checkUser);
|
||||
@@ -1098,9 +1098,20 @@ export default {
|
||||
$ajax("/api/operate/like", { token: detailsToken }).then((res) => {
|
||||
if (res.code != 200) return;
|
||||
let data = res.data;
|
||||
islike.value = data.status || 0;
|
||||
const status = data.status || 0;
|
||||
|
||||
islike.value = status;
|
||||
detailsInfo.value["likenum"] = data.count || 0;
|
||||
handleMsg("success", res["message"] || "操作成功");
|
||||
|
||||
if (status) {
|
||||
isLikeGif.value = false;
|
||||
clearTimeout(isLikeTimer);
|
||||
nextTick(() => {
|
||||
isLikeGif.value = true;
|
||||
isLikeTimer = setTimeout(() => (isLikeGif.value = false), 2000);
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -2327,7 +2338,10 @@ export default {
|
||||
});
|
||||
};
|
||||
|
||||
return { handleUpdateAnswers, commentListRef, closeEmojiMask, emojiMaskState, isCommentList, commentList, islike, handleLookOnly, zeroreply, replaceNumberObj, closeMyModel, myModelList, myModelState, listHeight, bottomTpsStyle, TAHomePage, sendMessage, avatarState, openUserInfo, isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, yourAnswer, handleLogo, inTheEndState, setItemUrl, seo, originUrl, handleMenuState, reasonList, checkList, alertShow, alertText, selectRadio, alertSubmit, cutType, dialogSrc, answerPage, handleDetailsScroll, replaceState, copyText, boxClass, questionPlaceholderState, yourAnswerPlaceholderState, handleInput, handlePaste, itemStyle, listStyle, listBoxStyle, myType, type, pitchIndex, cut, list, keyword, keywordText, getList, total, typeList, typePitch, getDetails, detailsInfo, detailsIsanswered, detailsIscollection, detailsIsmyself, detailShare, detailLoading, answerList, operateLike, operateCollect, IAnswerState, IAnswerEditState, IAnswerInfo, amendIAnswer, openCommentState, handleAllComment, myCollectionList, myCollectionCount, myQuestionsList, myQuestionsCount, myAnswerList, myAnswerCount, cutAnswerPopupState, handleDate, handleCollectionScroll, handleAnswersScroll, handleQuestionsScroll, cancelCollection, getMyCollection, questionsSetp, questionsObj, cutAnonymous, cutQuestionsSetp, cutQuestionsPopupState, questionsTypeList, postingIssue, choosingTheme, handleMy, changeAnonymous, changeAnonymousQuestions, pageHeaderHeight, pageListHeight, questionsTransmitState, questionsTransmitMaskState, closeAllTransmitState, closeTransmitState, handleAnswerTransmitList, closeDetailMode, tabListFixeState, handleListScroll, historicalSearchState, historicalSearchList, searchFocus, searchBlur, searchClick, handleClickHistoricalItem, handleClickClear, isSearchMode, questionsInit, myCount, msg, myOpenDetails, handleAnswerText, getCurrentUrl, loading };
|
||||
let isLikeGif = ref(false);
|
||||
let isLikeTimer = null
|
||||
|
||||
return { isLikeGif, handleUpdateAnswers, commentListRef, closeEmojiMask, emojiMaskState, isCommentList, commentList, islike, handleLookOnly, zeroreply, replaceNumberObj, closeMyModel, myModelList, myModelState, listHeight, bottomTpsStyle, TAHomePage, sendMessage, avatarState, openUserInfo, isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, yourAnswer, handleLogo, inTheEndState, setItemUrl, seo, originUrl, handleMenuState, reasonList, checkList, alertShow, alertText, selectRadio, alertSubmit, cutType, dialogSrc, answerPage, handleDetailsScroll, replaceState, copyText, boxClass, questionPlaceholderState, yourAnswerPlaceholderState, handleInput, handlePaste, itemStyle, listStyle, listBoxStyle, myType, type, pitchIndex, cut, list, keyword, keywordText, getList, total, typeList, typePitch, getDetails, detailsInfo, detailsIsanswered, detailsIscollection, detailsIsmyself, detailShare, detailLoading, answerList, operateLike, operateCollect, IAnswerState, IAnswerEditState, IAnswerInfo, amendIAnswer, openCommentState, handleAllComment, myCollectionList, myCollectionCount, myQuestionsList, myQuestionsCount, myAnswerList, myAnswerCount, cutAnswerPopupState, handleDate, handleCollectionScroll, handleAnswersScroll, handleQuestionsScroll, cancelCollection, getMyCollection, questionsSetp, questionsObj, cutAnonymous, cutQuestionsSetp, cutQuestionsPopupState, questionsTypeList, postingIssue, choosingTheme, handleMy, changeAnonymous, changeAnonymousQuestions, pageHeaderHeight, pageListHeight, questionsTransmitState, questionsTransmitMaskState, closeAllTransmitState, closeTransmitState, handleAnswerTransmitList, closeDetailMode, tabListFixeState, handleListScroll, historicalSearchState, historicalSearchList, searchFocus, searchBlur, searchClick, handleClickHistoricalItem, handleClickClear, isSearchMode, questionsInit, myCount, msg, myOpenDetails, handleAnswerText, getCurrentUrl, loading };
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
41
components/Like.vue
Normal file
41
components/Like.vue
Normal file
File diff suppressed because one or more lines are too long
@@ -29,7 +29,7 @@
|
||||
<span class="file-hint">最多可上传1张图片,支持在输入框中直接粘贴图片。</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="numberwords" style="margin: 0;" v-if="editInput">{{ editInput.length }}/1000</div>
|
||||
<div class="numberwords" style="margin: 0" v-if="editInput">{{ editInput.length }}/1000</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-list flexacenter">
|
||||
@@ -109,7 +109,7 @@
|
||||
<img class="comment-icon" @click="openAnswerCommentsChild(index)" src="/img/comment-icon-gray.svg" />
|
||||
<div class="flexacenter like-box" @click="operateAnswerCommentsLike(item.token, index)">
|
||||
<img class="like-icon" v-if="item['islike'] == 0" src="/img/like-icon-gray.png" />
|
||||
<img class="like-icon" v-else src="/img/like-icon-colours.png" />
|
||||
<img class="like-icon" v-else src="/img/like-red-pitch.png" />
|
||||
<div class="like-quantity">{{ item["likenum"] || "" }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -184,7 +184,7 @@
|
||||
<img class="comment-icon" @click="openAnswerCommentsChild(index, i)" src="/img/comment-icon-gray.svg" />
|
||||
<div class="flexacenter like-box" @click="operateAnswerCommentsLike(ite.token, index, i)">
|
||||
<img class="like-icon" v-if="ite['islike'] == 0" src="/img/like-icon-gray.png" />
|
||||
<img class="like-icon" v-else src="/img/like-icon-colours.png" />
|
||||
<img class="like-icon" v-else src="/img/like-red-pitch.png" />
|
||||
<div class="like-quantity">{{ ite["likenum"] || "" }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -248,6 +248,8 @@
|
||||
</template>
|
||||
</el-dialog>
|
||||
</div>
|
||||
|
||||
<Like v-if="isLikeGif"></Like>
|
||||
</template>
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
@@ -369,7 +371,6 @@ let picture = ref({});
|
||||
|
||||
let inputTextarea = ref("");
|
||||
|
||||
|
||||
// 监听 detailsToken 的变化
|
||||
watch(
|
||||
detailsToken,
|
||||
@@ -646,8 +647,11 @@ const submitAnswerComments = (index, i) => {
|
||||
});
|
||||
};
|
||||
|
||||
let isLikeGif = ref(false);
|
||||
let isLikeTimer = null;
|
||||
|
||||
// 回答-评论 点赞
|
||||
const operateAnswerCommentsLike = (token, index, i) => {
|
||||
const operateAnswerCommentsLike = (token, index, i) => {
|
||||
if (realname.value == 0 && user.value.uin > 0) {
|
||||
openAttest();
|
||||
return;
|
||||
@@ -663,16 +667,26 @@ const operateAnswerCommentsLike = (token, index, i) => {
|
||||
}).then((res) => {
|
||||
if (res.code != 200) return;
|
||||
let data = res.data;
|
||||
const status = data["status"] || 0;
|
||||
|
||||
if (i != undefined) {
|
||||
commentList.value[index].child[i]["islike"] = data["status"];
|
||||
commentList.value[index].child[i]["islike"] = status;
|
||||
commentList.value[index].child[i]["likenum"] = data["likenum"];
|
||||
} else {
|
||||
commentList.value[index]["islike"] = data["status"];
|
||||
commentList.value[index]["islike"] = status;
|
||||
commentList.value[index]["likenum"] = data["likenum"];
|
||||
}
|
||||
|
||||
handleMsg("success", res["message"] || "操作成功");
|
||||
|
||||
if (status) {
|
||||
isLikeGif.value = false;
|
||||
clearTimeout(isLikeTimer);
|
||||
nextTick(() => {
|
||||
isLikeGif.value = true;
|
||||
isLikeTimer = setTimeout(() => (isLikeGif.value = false), 2000);
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -683,7 +697,7 @@ const openAnswerCommentsChild = (index, i) => {
|
||||
openAttest();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (isNeedLogin.value) {
|
||||
goLogin();
|
||||
return;
|
||||
|
||||
@@ -1630,6 +1630,20 @@ a {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
#answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item .operate-icon.operate-like-icon.pitch {
|
||||
animation: liftAndReset 0.3s forwards;
|
||||
}
|
||||
@keyframes liftAndReset {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
#answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item.operate-transmit:hover::after {
|
||||
content: "";
|
||||
width: 100%;
|
||||
|
||||
@@ -1964,6 +1964,22 @@ a {
|
||||
&.operate-like-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
||||
&.pitch {
|
||||
animation: liftAndReset 0.3s forwards;
|
||||
}
|
||||
|
||||
@keyframes liftAndReset {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2516,10 +2532,9 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.numberwords {
|
||||
color: #b9b8b8;
|
||||
text-align: right;
|
||||
// padding: 0 14px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
BIN
img/like-red-pitch.png
Normal file
BIN
img/like-red-pitch.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 965 B |
Reference in New Issue
Block a user