Commit d572bccd by haojie

1

parent e83d0883
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
</div> </div>
</div> </div>
<div class="layout-head-right"> <div class="layout-head-right">
<t-button v-if="token" class="logout" @click="logout"> 退出 </t-button>
<RightSvg></RightSvg> <RightSvg></RightSvg>
</div> </div>
</div> </div>
...@@ -23,7 +24,13 @@ ...@@ -23,7 +24,13 @@
import LeftSvg from '@/assets/svg/header/headerLeft.svg?component'; import LeftSvg from '@/assets/svg/header/headerLeft.svg?component';
import RightSvg from '@/assets/svg/header/headerRight.svg?component'; import RightSvg from '@/assets/svg/header/headerRight.svg?component';
import { ref } from '@vue/reactivity'; import { ref } from '@vue/reactivity';
import { computed } from '@vue/runtime-core';
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import { useStore } from 'vuex';
import { useLogout } from '@/utils/api/userApi';
import { MessagePlugin } from 'tdesign-vue-next';
const store = useStore();
const token = computed(() => store.getters['user/token']);
const route = useRoute(); const route = useRoute();
const router = useRouter(); const router = useRouter();
const currentBtn = ref(route.path); const currentBtn = ref(route.path);
...@@ -36,7 +43,25 @@ const btns = [ ...@@ -36,7 +43,25 @@ const btns = [
label: '上传链接', label: '上传链接',
path: '/uploadlink', path: '/uploadlink',
}, },
{
label: '修改简介',
path: '/Introduction',
},
]; ];
const logout = async () => {
try {
let res: any = await useLogout();
if (res.code == 0) {
store.commit('user/removeToken');
MessagePlugin.success('退出成功');
router.replace({
path: '/',
});
}
} catch (e) {
console.log(e);
}
};
const changeBtn = (item: any) => { const changeBtn = (item: any) => {
currentBtn.value = item.path; currentBtn.value = item.path;
router.replace({ router.replace({
...@@ -73,5 +98,14 @@ const changeBtn = (item: any) => { ...@@ -73,5 +98,14 @@ const changeBtn = (item: any) => {
transition: all 0.1s; transition: all 0.1s;
} }
} }
.layout-head-right {
.da();
.logout {
background: #fd1753;
border: none;
margin-right: 20px;
--ripple-color: #fd6053 !important;
}
}
} }
</style> </style>
.custom-change-Introduction-page {
flex: 1;
background: #f9f9f9;
max-height: calc(100vh - 60px);
overflow-y: auto;
.custom-change-Introduction-page-child {
width: 1270px;
margin: 0 auto;
background: white;
min-height: 300px;
margin-top: 72px;
padding: 30px 60px;
.change-Introduction-box {
margin-top: 30px;
.label {
font-weight: 700;
font-size: 20px;
color: #000000;
}
.value {
margin-top: 20px;
.upload-textarea {
.t-textarea__inner {
height: 200px !important;
}
textarea::placeholder {
text-align: center;
line-height: 180px;
font-weight: 500;
font-size: 18px;
color: #8b8b8b;
}
textArea::-webkit-input-placeholder {
text-align: center;
line-height: 180px;
font-weight: 500;
font-size: 18px;
color: #8b8b8b;
}
textArea:-moz-placeholder {
text-align: center;
line-height: 180px;
font-weight: 500;
font-size: 18px;
color: #8b8b8b;
}
textArea::-moz-placeholder {
text-align: center;
line-height: 180px;
font-weight: 500;
font-size: 18px;
color: #8b8b8b;
}
textArea:-ms-input-placeholder {
text-align: center;
line-height: 180px;
font-weight: 500;
font-size: 18px;
color: #8b8b8b;
}
}
}
.submit-btn {
margin-top: 20px;
background: #ebebeb;
border-radius: 8px;
color: #9a9a9a;
width: 164px;
height: 46px;
border: none;
--ripple-color: none !important;
cursor: not-allowed;
}
.active {
background: #fd1753;
color: #ffffff;
cursor: pointer;
}
}
.submit-btn {
margin-top: 20px;
background: #ebebeb;
border-radius: 8px;
color: #9a9a9a;
width: 164px;
height: 46px;
border: none;
--ripple-color: none !important;
cursor: not-allowed;
}
.active {
background: #fd1753;
color: #ffffff;
cursor: pointer;
}
}
}
import { defineComponent, ref, watch } from 'vue';
import './index.less';
import SelectAccount from '@/pages/upload/compontent/selectAccount';
import Animation from '@/components/Animation.vue';
import { useSubmitIntrod } from '@/utils/api/userApi';
import { MessagePlugin } from 'tdesign-vue-next';
export default defineComponent({
setup() {
const accountId = ref(null);
const textValue = ref('');
const BtnStatus = ref(false);
const loading = ref(false);
const textareaChange = (value: string) => {
BtnStatus.value = true;
};
const submit = async () => {
if (!accountId.value || !textValue.value || !BtnStatus.value) {
return;
}
// 通过
try {
loading.value = true;
let obj = {
introduction: textValue.value,
};
let res: any = await useSubmitIntrod({
account_id: accountId.value,
parameters: [obj],
});
if (res.code == 0) {
BtnStatus.value = false;
MessagePlugin.success('提交成功');
}
loading.value = false;
} catch (e) {
console.log(e);
loading.value = false;
}
};
watch(
() => accountId.value,
(v) => {
if (v && textValue.value) {
BtnStatus.value = true;
}
}
);
return () => (
<div class="custom-change-Introduction-page">
<div class="custom-change-Introduction-page-child">
<SelectAccount
record={false}
v-model:accountId={accountId.value}
></SelectAccount>
<div class="change-Introduction-box">
<div class="label">简介</div>
<div class="value">
<t-textarea
placeholder="请输入内容"
class="upload-textarea"
autosize={{ minRows: 3, maxRows: 5 }}
v-model={textValue.value}
onChange={textareaChange}
/>
</div>
</div>
<t-button
class={[
'submit-btn',
accountId.value && textValue.value && BtnStatus.value
? 'active'
: '',
]}
onClick={submit}
>
确认
</t-button>
<Animation
v-show={loading.value}
poistion="fixed"
background="rgba(200,200,200,0.2)"
></Animation>
</div>
</div>
);
},
});
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
.chose-account-select { .chose-account-select {
height: 50px; height: 50px;
margin-top: 20px; margin-top: 20px;
width: 300px !important;
.t-select-input { .t-select-input {
height: 100%; height: 100%;
.t-input__wrap { .t-input__wrap {
......
import { computed, defineComponent, onMounted, ref } from 'vue'; import { computed, defineComponent, onMounted, ref, watch } from 'vue';
import './index.less'; import './index.less';
import SelectAccount from './compontent/selectAccount/index'; import SelectAccount from './compontent/selectAccount/index';
import Upload from './compontent/upload/upload'; import Upload from './compontent/upload/upload';
...@@ -13,18 +13,35 @@ export default defineComponent({ ...@@ -13,18 +13,35 @@ export default defineComponent({
const store = useStore(); const store = useStore();
// 后台配置的地址 // 后台配置的地址
const adminConfigUrl = computed(() => store.getters['user/getadminConfig']); const adminConfigUrl = computed(() => store.getters['user/getadminConfig']);
// 账户列表
const AccountOptions = computed(() => store.getters['user/getOptions']);
// 用户选择的账号 // 用户选择的账号
const accountId = ref(null); const accountId = ref(null);
const loading = ref(false); const loading = ref(false);
onMounted(() => { onMounted(() => {
store.dispatch('user/AdminConfig'); store.dispatch('user/AdminConfig');
}); });
// 根据账户数量循环
const uploadList = ref([ const uploadList = ref([
{ {
textValue: '', textValue: '',
files: '', files: '',
}, },
]); ]);
const uploadList2 = ref<any>({});
watch(
() => AccountOptions.value,
(v) => {
if (v.length) {
// 每个账号一个数组
for (let i in v) {
uploadList2.value[`r${v[i].account_id}`] = JSON.parse(
JSON.stringify(uploadList.value)
);
}
}
}
);
// 默认展示的内容 // 默认展示的内容
const defaultType = ref('upload'); const defaultType = ref('upload');
let obj = { let obj = {
...@@ -32,33 +49,42 @@ export default defineComponent({ ...@@ -32,33 +49,42 @@ export default defineComponent({
files: '', files: '',
}; };
const addNewUpload = () => { const addNewUpload = () => {
uploadList.value.push(obj); if (!accountId.value) {
MessagePlugin.closeAll();
MessagePlugin.warning('未选择账户');
return;
}
// 在对应的账户下添加一个box
uploadList2.value[`r${accountId.value}`].push(
JSON.parse(JSON.stringify(obj))
);
}; };
const ondeleteUploadBox = (index: number) => { const ondeleteUploadBox = (index: number) => {
// 根据下标删除数组对象 // 根据下标删除数组对象
uploadList.value.splice(index, 1); uploadList2.value[`r${accountId.value}`].splice(index, 1);
}; };
// //
// 上传视频成功回调 // 上传视频成功回调
const UploadVideo = (index: number, url: string) => { const UploadVideo = (index: number, url: string) => {
uploadList.value[index].files = url; uploadList2.value[`r${accountId.value}`][index].files = url;
}; };
// 文本提交
const TextareaChange = (index: number, value: string) => { const TextareaChange = (index: number, value: string) => {
uploadList.value[index].textValue = value; uploadList2.value[`r${accountId.value}`][index].textValue = value;
}; };
const SubmitVideo = async (index: number) => { const SubmitVideo = async (index: number) => {
try { try {
if ( if (
!adminConfigUrl.value || !adminConfigUrl.value ||
!accountId.value || !accountId.value ||
!uploadList.value[index].files || !uploadList2.value[`r${accountId.value}`][index].files ||
!uploadList.value[index].textValue !uploadList2.value[`r${accountId.value}`][index].textValue
) { ) {
return; return;
} }
let obj = { let obj = {
video_url: uploadList.value[index].files, video_url: uploadList2.value[`r${accountId.value}`][index].files,
title: uploadList.value[index].textValue, title: uploadList2.value[`r${accountId.value}`][index].textValue,
}; };
loading.value = true; loading.value = true;
let res: any = await UserUploadVideo({ let res: any = await UserUploadVideo({
...@@ -76,27 +102,73 @@ export default defineComponent({ ...@@ -76,27 +102,73 @@ export default defineComponent({
loading.value = false; loading.value = false;
} }
}; };
const uploadHtmlBox = (value: any) => {
return (
<div>
<div v-show={value == accountId.value}>
<div class="custom-upload-box">
<span class="custom-upload-title">上传视频</span>
{Object.keys(uploadList2.value).length > 0 && accountId.value ? (
<div>
{uploadList2.value[`r${accountId.value}`].map(
(item: any, index: number) => (
<Upload
index={index}
accountId={accountId.value}
onDeleteUploadBox={ondeleteUploadBox}
onTextareaChange={TextareaChange}
onSubmitVideo={SubmitVideo}
onUploadVideo={UploadVideo}
></Upload>
)
)}
</div>
) : (
''
)}
</div>
<div class="custom-add-new-upload" onClick={addNewUpload}>
<AddSvg></AddSvg>
<span>新添新上传视频</span>
</div>
</div>
</div>
);
};
// 发布视频 // 发布视频
const uploadVideoHtml = () => { const uploadVideoHtml = () => {
return ( return (
<div v-show={defaultType.value == 'upload'}> <div v-show={defaultType.value == 'upload'}>
<div class="custom-upload-box"> {AccountOptions.value.length > 0 ? (
<span class="custom-upload-title">上传视频</span> <div>
{uploadList.value.map((item: any, index: number) => ( {AccountOptions.value.map((item: any) =>
<Upload uploadHtmlBox(item.value)
index={index} )}
accountId={accountId.value} </div>
onDeleteUploadBox={ondeleteUploadBox} ) : (
onTextareaChange={TextareaChange} ''
onSubmitVideo={SubmitVideo} )}
onUploadVideo={UploadVideo} {accountId.value == null ? (
></Upload> <div>
))} <div class="custom-upload-box">
</div> <span class="custom-upload-title">上传视频</span>
<div class="custom-add-new-upload" onClick={addNewUpload}> <Upload
<AddSvg></AddSvg> index={0}
<span>新添新上传视频</span> accountId={accountId.value}
</div> onDeleteUploadBox={ondeleteUploadBox}
onTextareaChange={TextareaChange}
onSubmitVideo={SubmitVideo}
onUploadVideo={UploadVideo}
></Upload>
</div>
<div class="custom-add-new-upload" onClick={addNewUpload}>
<AddSvg></AddSvg>
<span>新添新上传视频</span>
</div>
</div>
) : (
''
)}
</div> </div>
); );
}; };
......
...@@ -28,6 +28,15 @@ export default [ ...@@ -28,6 +28,15 @@ export default [
header: true, header: true,
}, },
}, },
// Introduction
{
path: '/Introduction',
name: 'Introduction',
component: () => import('@/pages/Introduction/index'),
meta: {
header: true,
},
},
], ],
}, },
]; ];
...@@ -87,3 +87,25 @@ export const SubmitLink = (data: any) => { ...@@ -87,3 +87,25 @@ export const SubmitLink = (data: any) => {
} }
); );
}; };
// 退出登录
export const useLogout = () => {
return request.post(
'/api/users/logout',
{},
{
headers: {
authorization: `Bearer ${getUserCookie()}`,
},
}
);
};
// 简介提交
export const useSubmitIntrod = (data: any) => {
return request.post('/api/users/introduction/upload', data, {
headers: {
authorization: `Bearer ${getUserCookie()}`,
},
});
};
...@@ -7,7 +7,7 @@ const getBaseUrl = () => { ...@@ -7,7 +7,7 @@ const getBaseUrl = () => {
}; };
const instance = axios.create({ const instance = axios.create({
// baseURL: getBaseUrl(), // baseURL: getBaseUrl(),
timeout: 60000, timeout: 6000000,
// withCredentials: mode == 'development' ? false : true, // withCredentials: mode == 'development' ? false : true,
withCredentials: false, withCredentials: false,
}); });
...@@ -15,9 +15,6 @@ const instance = axios.create({ ...@@ -15,9 +15,6 @@ const instance = axios.create({
instance.interceptors.request.use((config: any) => { instance.interceptors.request.use((config: any) => {
return config; return config;
}); });
instance.defaults.timeout = 60000;
instance.interceptors.response.use( instance.interceptors.response.use(
(response) => { (response) => {
const { data, status } = response; const { data, status } = response;
......
import{d as a,J as t,K as l,P as e,X as s,D as o,Y as i,Z as d}from"./vue-1766cb08.js";import{aD as u}from"./_plugin-vue_export-helper-574a79f6.js";const n=a=>(i("data-v-60ab0cfe"),a=a(),d(),a),p=[n((()=>l("div",null,null,-1))),n((()=>l("div",null,null,-1))),n((()=>l("div",null,null,-1)))],b=u(a({__name:"Animation",props:{background:{default:""},position:{default:"absolute"},width:{default:"100%"},left:{default:"0px"},height:{default:"100%"},top:{default:"0px"},isTable:{type:Boolean,default:!1}},setup:a=>(i,d)=>(o(),t("div",{class:e(["custom-loading-box",{"custom-is-table-box":!a.isTable}]),style:s({width:a.width,height:a.height,background:a.background,position:a.position})},[l("div",{class:e(["ball-beat",{"custom-is-table-child":!a.isTable}]),style:s({top:a.top,left:a.left})},p,6)],6))}),[["__scopeId","data-v-60ab0cfe"]]);export{b as A};
System.register(["./vue-legacy-4c3ba68d.js","./_plugin-vue_export-helper-legacy-bfc1263b.js"],(function(t,e){"use strict";var l,a,i,s,u,o,d,n,c;return{setters:[t=>{l=t.d,a=t.J,i=t.K,s=t.P,u=t.X,o=t.D,d=t.Y,n=t.Z},t=>{c=t.aD}],execute:function(){const e=t=>(d("data-v-60ab0cfe"),t=t(),n(),t),p=[e((()=>i("div",null,null,-1))),e((()=>i("div",null,null,-1))),e((()=>i("div",null,null,-1)))],b=l({__name:"Animation",props:{background:{default:""},position:{default:"absolute"},width:{default:"100%"},left:{default:"0px"},height:{default:"100%"},top:{default:"0px"},isTable:{type:Boolean,default:!1}},setup:t=>(e,l)=>(o(),a("div",{class:s(["custom-loading-box",{"custom-is-table-box":!t.isTable}]),style:u({width:t.width,height:t.height,background:t.background,position:t.position})},[i("div",{class:s(["ball-beat",{"custom-is-table-child":!t.isTable}]),style:u({top:t.top,left:t.left})},p,6)],6))});t("A",c(b,[["__scopeId","data-v-60ab0cfe"]]))}}}));
import{D as a,J as l,K as t,d as s,L as e,M as n,r as c,b as o,N as u,F as h,O as r,P as i,Q as v,C as d,R as p,S as f,E as w,U as m}from"./vue-1766cb08.js";const g={width:"35",height:"35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F=[t("path",{d:"M29.64 14.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V1.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),t("path",{d:"M30.59 15.58c-2.495 0-4.92-.818-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.179-4.36-9.179-9.745 0-5.384 4.11-9.745 9.18-9.745.507 0 1 .044 1.48.129v5.585a3.903 3.903 0 0 0-1.441-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V2.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)];const y={render:function(t,s){return a(),l("svg",g,F)}},k={width:"45",height:"45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b=[t("circle",{cx:"22.5",cy:"22.5",r:"22.5",fill:"#393939"},null,-1),t("path",{d:"M34.64 19.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V6.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),t("path",{d:"M35.59 20.58c-2.495 0-4.92-.817-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.178-4.36-9.178-9.745 0-5.384 4.109-9.745 9.178-9.745.508 0 1 .044 1.48.129v5.585a3.902 3.902 0 0 0-1.44-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V7.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)];const M={render:function(t,s){return a(),l("svg",k,b)}},_={class:"custom-layout-head"},x={class:"layout-head-left"},C=t("span",null,"TikToK视频上传",-1),V=["onClick"],D={class:"layout-head-right"},B=s({__name:"header",setup(s){const d=e(),p=n(),f=c(d.path),w=[{label:"上传视频",path:"/upload"},{label:"上传链接",path:"/uploadlink"}];return(s,e)=>(a(),l("div",_,[t("div",x,[o(u(y)),C,(a(),l(h,null,r(w,(a=>t("div",{class:i(["layout-chose-button",{active:a.path===u(f)}]),key:a.path,onClick:l=>(a=>{f.value=a.path,p.replace({path:a.path})})(a)},v(a.label),11,V))),64))]),t("div",D,[o(u(M))])]))}}),K={class:"custom-layout"},T=s({__name:"content",setup(t){const s=e();return(t,e)=>{const n=w("router-view");return a(),l("div",K,[u(s).meta.header?(a(),d(B,{key:0})):p("",!0),o(n,null,{default:f((({Component:l})=>[(a(),d(m(l)))])),_:1})])}}});export{T as default};
System.register(["./vue-legacy-4c3ba68d.js"],(function(l,t){"use strict";var e,a,n,c,u,s,r,h,i,o,v,d,p,f,g,w,y,m;return{setters:[l=>{e=l.D,a=l.J,n=l.K,c=l.d,u=l.L,s=l.M,r=l.r,h=l.b,i=l.N,o=l.F,v=l.O,d=l.P,p=l.Q,f=l.C,g=l.R,w=l.S,y=l.E,m=l.U}],execute:function(){const t={width:"35",height:"35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F=[n("path",{d:"M29.64 14.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V1.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),n("path",{d:"M30.59 15.58c-2.495 0-4.92-.818-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.179-4.36-9.179-9.745 0-5.384 4.11-9.745 9.18-9.745.507 0 1 .044 1.48.129v5.585a3.903 3.903 0 0 0-1.441-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V2.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)],k={render:function(l,n){return e(),a("svg",t,F)}},b={width:"45",height:"45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M=[n("circle",{cx:"22.5",cy:"22.5",r:"22.5",fill:"#393939"},null,-1),n("path",{d:"M34.64 19.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V6.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),n("path",{d:"M35.59 20.58c-2.495 0-4.92-.817-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.178-4.36-9.178-9.745 0-5.384 4.109-9.745 9.178-9.745.508 0 1 .044 1.48.129v5.585a3.902 3.902 0 0 0-1.44-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V7.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)],_={render:function(l,t){return e(),a("svg",b,M)}},x={class:"custom-layout-head"},C={class:"layout-head-left"},V=n("span",null,"TikToK视频上传",-1),D=["onClick"],B={class:"layout-head-right"},K=c({__name:"header",setup(l){const t=u(),c=s(),f=r(t.path),g=[{label:"上传视频",path:"/upload"},{label:"上传链接",path:"/uploadlink"}];return(l,t)=>(e(),a("div",x,[n("div",C,[h(i(k)),V,(e(),a(o,null,v(g,(l=>n("div",{class:d(["layout-chose-button",{active:l.path===i(f)}]),key:l.path,onClick:t=>(l=>{f.value=l.path,c.replace({path:l.path})})(l)},p(l.label),11,D))),64))]),n("div",B,[h(i(_))])]))}}),S={class:"custom-layout"};l("default",c({__name:"content",setup(l){const t=u();return(l,n)=>{const c=y("router-view");return e(),a("div",S,[i(t).meta.header?(e(),f(K,{key:0})):g("",!0),h(c,null,{default:w((({Component:l})=>[(e(),f(m(l)))])),_:1})])}}}))}}}));
import{d as e,c as t,r,x as a,D as o,J as s,b as l,S as n,N as c,V as i,s as u,v as p,K as d,M as v,W as m,E as f}from"./vue-1766cb08.js";import{C as y,D as h,F as b,aG as O,aH as g}from"./_plugin-vue_export-helper-574a79f6.js";import{A as w}from"./Animation-782def3c.js";function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.5 11h5v2H3v1h10v-1H8.5v-2h5a1 1 0 001-1V3a1 1 0 00-1-1h-11a1 1 0 00-1 1v7a1 1 0 001 1zm0-8h11v7h-11V3z",fillOpacity:.9}}]},_=e({name:"DesktopIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:a}=r,o=t((()=>e.size)),{className:s,style:l}=y(o),n=t((()=>["t-icon","t-icon-desktop",s.value])),c=t((()=>k(k({},l.value),a.style))),i=t((()=>({class:n.value,style:c.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>h(P,i.value)}});function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M6 10v1h4v-1H6z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M4.5 5v1H3a.5.5 0 00-.5.5v7c0 .28.22.5.5.5h10a.5.5 0 00.5-.5v-7A.5.5 0 0013 6h-1.5V5a3.5 3.5 0 00-7 0zm6 1h-5V5a2.5 2.5 0 015 0v1zm-7 1h9v6h-9V7z",fillOpacity:.9}}]},z=e({name:"LockOnIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:a}=r,o=t((()=>e.size)),{className:s,style:l}=y(o),n=t((()=>["t-icon","t-icon-lock-on",s.value])),c=t((()=>D(D({},l.value),a.style))),i=t((()=>({class:n.value,style:c.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>h(x,i.value)}});const C={class:"custom-login"},S=d("div",{class:"custom-login-title"},"登录",-1),E=e({__name:"login",setup(e){const d=v(),y=m(),h=r(!1),b=a({account:"",password:""}),j=t((()=>({account:[{required:!0,messgae:"账号不能为空",type:"error"}],password:[{required:!0,message:"密码不能为空",type:"error"}]}))),k=()=>{O.success("重置成功")},P=async({validateResult:e,firstError:t})=>{if(!0===e)try{h.value=!0;let e=await g({email:b.account,password:b.password});0==e.code&&(O.success("登录成功"),y.commit("user/setToken",{token:e.data.access_token,time:e.data.expires_in}),d.replace({path:"/upload"})),h.value=!1}catch(r){h.value=!1}else O.closeAll(),O.warning(t)};return(e,t)=>{const r=f("t-input"),a=f("t-form-item"),d=f("t-button"),v=f("t-form");return o(),s("div",C,[S,l(v,{ref:"form",class:"custom-login-form",data:b,rules:c(j),colon:!0,"label-width":0,onReset:k,onSubmit:P},{default:n((()=>[l(a,{name:"account"},{default:n((()=>[l(r,{modelValue:b.account,"onUpdate:modelValue":t[0]||(t[0]=e=>b.account=e),clearable:"",placeholder:"请输入账户名"},{"prefix-icon":n((()=>[l(c(_))])),_:1},8,["modelValue"])])),_:1}),l(a,{name:"password"},{default:n((()=>[l(r,{modelValue:b.password,"onUpdate:modelValue":t[1]||(t[1]=e=>b.password=e),type:"password",clearable:"",placeholder:"请输入密码"},{"prefix-icon":n((()=>[l(c(z))])),_:1},8,["modelValue"])])),_:1}),l(a,null,{default:n((()=>[l(d,{theme:"primary",type:"submit",block:""},{default:n((()=>[i("登录")])),_:1})])),_:1})])),_:1},8,["data","rules"]),u(l(w,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null,512),[[p,h.value]])])}}}),H={class:"custom-home-page-login"},A=e({__name:"index",setup:e=>(e,t)=>(o(),s("div",H,[l(E)]))});export{A as default};
import{d as a,r as l,b as e,V as u,E as s,s as o,v as t}from"./vue-1766cb08.js";import{S as n}from"./index-02df183b.js";import{aM as c,aG as v}from"./_plugin-vue_export-helper-574a79f6.js";import{A as i}from"./Animation-782def3c.js";const r=a({setup(a){const r=l(null),d=l(""),p=l(!1),m=l(!1),b=a=>{p.value=!!a},f=async()=>{if(r.value&&d.value&&p.value)try{m.value=!0,0==(await c({account_id:r.value,parameters:[{url:d.value}]})).code&&(p.value=!1,v.success("上传成功")),m.value=!1}catch(a){m.value=!1}};return()=>e("div",{class:"custom-upload-link-page narrow-scrollbar"},[e("div",{class:"custom-upload-link-page-child"},[e(n,{record:!1,accountId:r.value,"onUpdate:accountId":a=>r.value=a},null),e("div",{class:"upload-link-box"},[e("div",{class:"label"},[u("上传链接")]),e("div",{class:"value"},[e(s("t-input"),{modelValue:d.value,"onUpdate:modelValue":a=>d.value=a,onChange:b},null)]),e(s("t-button"),{class:["submit-btn",r.value&&d.value&&p.value?"active":""],onClick:f},{default:()=>[u("确认")]})]),o(e(i,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[t,m.value]])])])}});export{r as default};
This source diff could not be displayed because it is too large. You can view the blob instead.
System.register(["./vue-legacy-4c3ba68d.js","./_plugin-vue_export-helper-legacy-bfc1263b.js","./Animation-legacy-c8c92395.js"],(function(e,t){"use strict";var r,a,o,l,n,c,s,i,u,p,d,v,f,m,y,g,h,b,O,w,j,k;return{setters:[e=>{r=e.d,a=e.c,o=e.r,l=e.x,n=e.D,c=e.J,s=e.b,i=e.S,u=e.N,p=e.V,d=e.s,v=e.v,f=e.K,m=e.M,y=e.W,g=e.E},e=>{h=e.C,b=e.D,O=e.F,w=e.aG,j=e.aH},e=>{k=e.A}],execute:function(){function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function P(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?t(Object(a),!0).forEach((function(t){O(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var _={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.5 11h5v2H3v1h10v-1H8.5v-2h5a1 1 0 001-1V3a1 1 0 00-1-1h-11a1 1 0 00-1 1v7a1 1 0 001 1zm0-8h11v7h-11V3z",fillOpacity:.9}}]},V=r({name:"DesktopIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:r}=t,o=a((()=>e.size)),{className:l,style:n}=h(o),c=a((()=>["t-icon","t-icon-desktop",l.value])),s=a((()=>P(P({},n.value),r.style))),i=a((()=>({class:c.value,style:s.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>b(_,i.value)}});function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var z={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M6 10v1h4v-1H6z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M4.5 5v1H3a.5.5 0 00-.5.5v7c0 .28.22.5.5.5h10a.5.5 0 00.5-.5v-7A.5.5 0 0013 6h-1.5V5a3.5 3.5 0 00-7 0zm6 1h-5V5a2.5 2.5 0 015 0v1zm-7 1h9v6h-9V7z",fillOpacity:.9}}]},C=r({name:"LockOnIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:r}=t,o=a((()=>e.size)),{className:l,style:n}=h(o),c=a((()=>["t-icon","t-icon-lock-on",l.value])),s=a((()=>x(x({},n.value),r.style))),i=a((()=>({class:c.value,style:s.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>b(z,i.value)}});const S={class:"custom-login"},E=f("div",{class:"custom-login-title"},"登录",-1),H=r({__name:"login",setup(e){const t=m(),r=y(),f=o(!1),h=l({account:"",password:""}),b=a((()=>({account:[{required:!0,messgae:"账号不能为空",type:"error"}],password:[{required:!0,message:"密码不能为空",type:"error"}]}))),O=()=>{w.success("重置成功")},P=async({validateResult:e,firstError:a})=>{if(!0===e)try{f.value=!0;let e=await j({email:h.account,password:h.password});0==e.code&&(w.success("登录成功"),r.commit("user/setToken",{token:e.data.access_token,time:e.data.expires_in}),t.replace({path:"/upload"})),f.value=!1}catch(o){f.value=!1}else w.closeAll(),w.warning(a)};return(e,t)=>{const r=g("t-input"),a=g("t-form-item"),o=g("t-button"),l=g("t-form");return n(),c("div",S,[E,s(l,{ref:"form",class:"custom-login-form",data:h,rules:u(b),colon:!0,"label-width":0,onReset:O,onSubmit:P},{default:i((()=>[s(a,{name:"account"},{default:i((()=>[s(r,{modelValue:h.account,"onUpdate:modelValue":t[0]||(t[0]=e=>h.account=e),clearable:"",placeholder:"请输入账户名"},{"prefix-icon":i((()=>[s(u(V))])),_:1},8,["modelValue"])])),_:1}),s(a,{name:"password"},{default:i((()=>[s(r,{modelValue:h.password,"onUpdate:modelValue":t[1]||(t[1]=e=>h.password=e),type:"password",clearable:"",placeholder:"请输入密码"},{"prefix-icon":i((()=>[s(u(C))])),_:1},8,["modelValue"])])),_:1}),s(a,null,{default:i((()=>[s(o,{theme:"primary",type:"submit",block:""},{default:i((()=>[p("登录")])),_:1})])),_:1})])),_:1},8,["data","rules"]),d(s(k,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null,512),[[v,f.value]])])}}}),A={class:"custom-home-page-login"};e("default",r({__name:"index",setup:e=>(e,t)=>(n(),c("div",A,[s(H)]))}))}}}));
import{d as t,J as a,K as l,U as e,X as s,D as o,Y as i,Z as d}from"./vue-9e6100c2.js";import{_ as u}from"./_plugin-vue_export-helper-1b428a4d.js";const n=t=>(i("data-v-60ab0cfe"),t=t(),d(),t),p=[n((()=>l("div",null,null,-1))),n((()=>l("div",null,null,-1))),n((()=>l("div",null,null,-1)))],b=u(t({__name:"Animation",props:{background:{default:""},position:{default:"absolute"},width:{default:"100%"},left:{default:"0px"},height:{default:"100%"},top:{default:"0px"},isTable:{type:Boolean,default:!1}},setup:t=>(i,d)=>(o(),a("div",{class:e(["custom-loading-box",{"custom-is-table-box":!t.isTable}]),style:s({width:t.width,height:t.height,background:t.background,position:t.position})},[l("div",{class:e(["ball-beat",{"custom-is-table-child":!t.isTable}]),style:s({top:t.top,left:t.left})},p,6)],6))}),[["__scopeId","data-v-60ab0cfe"]]);export{b as A};
System.register(["./vue-legacy-33acbb9b.js","./_plugin-vue_export-helper-legacy-762b7923.js"],(function(t,e){"use strict";var l,a,i,s,u,o,d,n,c;return{setters:[t=>{l=t.d,a=t.J,i=t.K,s=t.U,u=t.X,o=t.D,d=t.Y,n=t.Z},t=>{c=t._}],execute:function(){const e=t=>(d("data-v-60ab0cfe"),t=t(),n(),t),p=[e((()=>i("div",null,null,-1))),e((()=>i("div",null,null,-1))),e((()=>i("div",null,null,-1)))],b=l({__name:"Animation",props:{background:{default:""},position:{default:"absolute"},width:{default:"100%"},left:{default:"0px"},height:{default:"100%"},top:{default:"0px"},isTable:{type:Boolean,default:!1}},setup:t=>(e,l)=>(o(),a("div",{class:s(["custom-loading-box",{"custom-is-table-box":!t.isTable}]),style:u({width:t.width,height:t.height,background:t.background,position:t.position})},[i("div",{class:s(["ball-beat",{"custom-is-table-child":!t.isTable}]),style:u({top:t.top,left:t.left})},p,6)],6))});t("A",c(b,[["__scopeId","data-v-60ab0cfe"]]))}}}));
const o=(o,t)=>{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _};
System.register([],(function(t,e){"use strict";return{execute:function(){t("_",((t,e)=>{const c=t.__vccOpts||t;for(const[n,r]of e)c[n]=r;return c}))}}}));
import{D as a,J as t,K as l,d as s,L as e,c,M as n,N as o,r as u,E as r,b as h,O as i,F as d,P as p,C as v,Q as f,R as m,S as w,U as g,V as y,W as k}from"./vue-9e6100c2.js";import{aF as F,aG as b}from"./index-aa6361ed.js";const _={width:"35",height:"35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x=[l("path",{d:"M29.64 14.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V1.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),l("path",{d:"M30.59 15.58c-2.495 0-4.92-.818-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.179-4.36-9.179-9.745 0-5.384 4.11-9.745 9.18-9.745.507 0 1 .044 1.48.129v5.585a3.903 3.903 0 0 0-1.441-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V2.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)];const C={render:function(l,s){return a(),t("svg",_,x)}},M={width:"45",height:"45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V=[l("circle",{cx:"22.5",cy:"22.5",r:"22.5",fill:"#393939"},null,-1),l("path",{d:"M34.64 19.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V6.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),l("path",{d:"M35.59 20.58c-2.495 0-4.92-.817-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.178-4.36-9.178-9.745 0-5.384 4.109-9.745 9.178-9.745.508 0 1 .044 1.48.129v5.585a3.902 3.902 0 0 0-1.44-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V7.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)];const D={render:function(l,s){return a(),t("svg",M,V)}},T={class:"custom-layout-head"},j={class:"layout-head-left"},B=l("span",null,"TikToK视频上传",-1),K=["onClick"],Z={class:"layout-head-right"},E=s({__name:"header",setup(s){const k=e(),_=c((()=>k.getters["user/token"])),x=n(),M=o(),V=u(x.path),E=[{label:"上传视频",path:"/upload"},{label:"上传链接",path:"/uploadlink"},{label:"修改简介",path:"/Introduction"}],G=async()=>{try{0==(await F()).code&&(k.commit("user/removeToken"),b.success("退出成功"),M.replace({path:"/"}))}catch(a){}};return(s,e)=>{const c=r("t-button");return a(),t("div",T,[l("div",j,[h(i(C)),B,(a(),t(d,null,p(E,(a=>l("div",{class:g(["layout-chose-button",{active:a.path===i(V)}]),key:a.path,onClick:t=>(a=>{V.value=a.path,M.replace({path:a.path})})(a)},y(a.label),11,K))),64))]),l("div",Z,[i(_)?(a(),v(c,{key:0,class:"logout",onClick:G},{default:f((()=>[m(" 退出 ")])),_:1})):w("",!0),h(i(D))])])}}}),G={class:"custom-layout"},I=s({__name:"content",setup(l){const s=n();return(l,e)=>{const c=r("router-view");return a(),t("div",G,[i(s).meta.header?(a(),v(E,{key:0})):w("",!0),h(c,null,{default:f((({Component:t})=>[(a(),v(k(t)))])),_:1})])}}});export{I as default};
System.register(["./vue-legacy-33acbb9b.js","./index-legacy-930c27be.js"],(function(t,e){"use strict";var l,a,c,n,u,s,o,r,i,h,d,v,p,f,g,y,m,w,k,F,b,_,x;return{setters:[t=>{l=t.D,a=t.J,c=t.K,n=t.d,u=t.L,s=t.c,o=t.M,r=t.N,i=t.r,h=t.E,d=t.b,v=t.O,p=t.F,f=t.P,g=t.C,y=t.Q,m=t.R,w=t.S,k=t.U,F=t.V,b=t.W},t=>{_=t.aF,x=t.aG}],execute:function(){const e={width:"35",height:"35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=[c("path",{d:"M29.64 14.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V1.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),c("path",{d:"M30.59 15.58c-2.495 0-4.92-.818-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.179-4.36-9.179-9.745 0-5.384 4.11-9.745 9.18-9.745.507 0 1 .044 1.48.129v5.585a3.903 3.903 0 0 0-1.441-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V2.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)],M={render:function(t,c){return l(),a("svg",e,C)}},V={width:"45",height:"45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D=[c("circle",{cx:"22.5",cy:"22.5",r:"22.5",fill:"#393939"},null,-1),c("path",{d:"M34.64 19.146c-2.49 0-4.913-.817-6.905-2.33v10.545c0 5.384-4.11 9.744-9.18 9.744-5.07 0-9.18-4.36-9.18-9.744 0-5.384 4.11-9.746 9.18-9.746.508 0 1 .043 1.479.128v5.585a3.905 3.905 0 0 0-1.44-.277c-2.263 0-4.099 1.947-4.099 4.35 0 2.4 1.836 4.348 4.098 4.348 2.26 0 4.095-1.949 4.095-4.348V6.458h5.12c0 4.025 3.076 7.288 6.87 7.288v5.396l-.037.002",fill:"#03FBFF"},null,-1),c("path",{d:"M35.59 20.58c-2.495 0-4.92-.817-6.907-2.327v10.544c0 5.384-4.11 9.745-9.18 9.745-5.069 0-9.178-4.36-9.178-9.745 0-5.384 4.109-9.745 9.178-9.745.508 0 1 .044 1.48.129v5.585a3.902 3.902 0 0 0-1.44-.277c-2.262 0-4.098 1.947-4.098 4.35 0 2.4 1.836 4.35 4.098 4.35 2.26 0 4.095-1.95 4.095-4.35V7.895h5.12c0 4.025 3.075 7.287 6.869 7.287v5.396l-.037.003Z",fill:"#FD1753"},null,-1)],T={render:function(t,e){return l(),a("svg",V,D)}},j={class:"custom-layout-head"},B={class:"layout-head-left"},K=c("span",null,"TikToK视频上传",-1),S=["onClick"],Z={class:"layout-head-right"},E=n({__name:"header",setup(t){const e=u(),n=s((()=>e.getters["user/token"])),b=o(),C=r(),V=i(b.path),D=[{label:"上传视频",path:"/upload"},{label:"上传链接",path:"/uploadlink"},{label:"修改简介",path:"/Introduction"}],E=async()=>{try{0==(await _()).code&&(e.commit("user/removeToken"),x.success("退出成功"),C.replace({path:"/"}))}catch(t){}};return(t,e)=>{const u=h("t-button");return l(),a("div",j,[c("div",B,[d(v(M)),K,(l(),a(p,null,f(D,(t=>c("div",{class:k(["layout-chose-button",{active:t.path===v(V)}]),key:t.path,onClick:e=>(t=>{V.value=t.path,C.replace({path:t.path})})(t)},F(t.label),11,S))),64))]),c("div",Z,[v(n)?(l(),g(u,{key:0,class:"logout",onClick:E},{default:y((()=>[m(" 退出 ")])),_:1})):w("",!0),d(v(T))])])}}}),G={class:"custom-layout"};t("default",n({__name:"content",setup(t){const e=o();return(t,c)=>{const n=h("router-view");return l(),a("div",G,[v(e).meta.header?(l(),g(E,{key:0})):w("",!0),d(n,null,{default:y((({Component:t})=>[(l(),g(b(t)))])),_:1})])}}}))}}}));
import{d as a,r as e,w as l,b as u,R as s,E as t,s as o,v as n}from"./vue-9e6100c2.js";import{S as c}from"./index-f413a1b7.js";import{A as i}from"./Animation-823f804a.js";import{aN as v,aG as r}from"./index-aa6361ed.js";import"./_plugin-vue_export-helper-1b428a4d.js";const d=a({setup(){const a=e(null),d=e(""),m=e(!1),p=e(!1),b=a=>{m.value=!0},g=async()=>{if(a.value&&d.value&&m.value)try{p.value=!0;let e={introduction:d.value};0==(await v({account_id:a.value,parameters:[e]})).code&&(m.value=!1,r.success("提交成功")),p.value=!1}catch(e){p.value=!1}};return l((()=>a.value),(a=>{a&&d.value&&(m.value=!0)})),()=>u("div",{class:"custom-change-Introduction-page"},[u("div",{class:"custom-change-Introduction-page-child"},[u(c,{record:!1,accountId:a.value,"onUpdate:accountId":e=>a.value=e},null),u("div",{class:"change-Introduction-box"},[u("div",{class:"label"},[s("简介")]),u("div",{class:"value"},[u(t("t-textarea"),{placeholder:"请输入内容",class:"upload-textarea",autosize:{minRows:3,maxRows:5},modelValue:d.value,"onUpdate:modelValue":a=>d.value=a,onChange:b},null)])]),u(t("t-button"),{class:["submit-btn",a.value&&d.value&&m.value?"active":""],onClick:g},{default:()=>[s("确认")]}),o(u(i,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[n,p.value]])])])}});export{d as default};
This source diff could not be displayed because it is too large. You can view the blob instead.
import{d as a,r as l,b as e,R as u,E as s,s as o,v as t}from"./vue-9e6100c2.js";import{S as n}from"./index-f413a1b7.js";import{aM as i,aG as c}from"./index-aa6361ed.js";import{A as v}from"./Animation-823f804a.js";import"./_plugin-vue_export-helper-1b428a4d.js";const r=a({setup(a){const r=l(null),d=l(""),p=l(!1),m=l(!1),b=a=>{p.value=!!a},f=async()=>{if(r.value&&d.value&&p.value)try{m.value=!0,0==(await i({account_id:r.value,parameters:[{url:d.value}]})).code&&(p.value=!1,c.success("上传成功")),m.value=!1}catch(a){m.value=!1}};return()=>e("div",{class:"custom-upload-link-page narrow-scrollbar"},[e("div",{class:"custom-upload-link-page-child"},[e(n,{record:!1,accountId:r.value,"onUpdate:accountId":a=>r.value=a},null),e("div",{class:"upload-link-box"},[e("div",{class:"label"},[u("上传链接")]),e("div",{class:"value"},[e(s("t-input"),{modelValue:d.value,"onUpdate:modelValue":a=>d.value=a,onChange:b},null)]),e(s("t-button"),{class:["submit-btn",r.value&&d.value&&p.value?"active":""],onClick:f},{default:()=>[u("确认")]})]),o(e(v,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[t,m.value]])])])}});export{r as default};
import{d as e,c as t,r,x as a,D as o,J as s,b as l,Q as n,O as c,R as i,s as u,v as p,K as d,N as v,L as m,E as f}from"./vue-9e6100c2.js";import{C as y,D as h,F as O,aG as b,aH as g}from"./index-aa6361ed.js";import{A as w}from"./Animation-823f804a.js";import"./_plugin-vue_export-helper-1b428a4d.js";function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.5 11h5v2H3v1h10v-1H8.5v-2h5a1 1 0 001-1V3a1 1 0 00-1-1h-11a1 1 0 00-1 1v7a1 1 0 001 1zm0-8h11v7h-11V3z",fillOpacity:.9}}]},_=e({name:"DesktopIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:a}=r,o=t((()=>e.size)),{className:s,style:l}=y(o),n=t((()=>["t-icon","t-icon-desktop",s.value])),c=t((()=>k(k({},l.value),a.style))),i=t((()=>({class:n.value,style:c.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>h(P,i.value)}});function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var V={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M6 10v1h4v-1H6z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M4.5 5v1H3a.5.5 0 00-.5.5v7c0 .28.22.5.5.5h10a.5.5 0 00.5-.5v-7A.5.5 0 0013 6h-1.5V5a3.5 3.5 0 00-7 0zm6 1h-5V5a2.5 2.5 0 015 0v1zm-7 1h9v6h-9V7z",fillOpacity:.9}}]},z=e({name:"LockOnIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:a}=r,o=t((()=>e.size)),{className:s,style:l}=y(o),n=t((()=>["t-icon","t-icon-lock-on",s.value])),c=t((()=>D(D({},l.value),a.style))),i=t((()=>({class:n.value,style:c.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>h(V,i.value)}});const C={class:"custom-login"},S=d("div",{class:"custom-login-title"},"登录",-1),E=e({__name:"login",setup(e){const d=v(),y=m(),h=r(!1),O=a({account:"",password:""}),j=t((()=>({account:[{required:!0,messgae:"账号不能为空",type:"error"}],password:[{required:!0,message:"密码不能为空",type:"error"}]}))),k=()=>{b.success("重置成功")},P=async({validateResult:e,firstError:t})=>{if(!0===e)try{h.value=!0;let e=await g({email:O.account,password:O.password});0==e.code&&(b.success("登录成功"),y.commit("user/setToken",{token:e.data.access_token,time:e.data.expires_in}),d.replace({path:"/upload"})),h.value=!1}catch(r){h.value=!1}else b.closeAll(),b.warning(t)};return(e,t)=>{const r=f("t-input"),a=f("t-form-item"),d=f("t-button"),v=f("t-form");return o(),s("div",C,[S,l(v,{ref:"form",class:"custom-login-form",data:O,rules:c(j),colon:!0,"label-width":0,onReset:k,onSubmit:P},{default:n((()=>[l(a,{name:"account"},{default:n((()=>[l(r,{modelValue:O.account,"onUpdate:modelValue":t[0]||(t[0]=e=>O.account=e),clearable:"",placeholder:"请输入账户名"},{"prefix-icon":n((()=>[l(c(_))])),_:1},8,["modelValue"])])),_:1}),l(a,{name:"password"},{default:n((()=>[l(r,{modelValue:O.password,"onUpdate:modelValue":t[1]||(t[1]=e=>O.password=e),type:"password",clearable:"",placeholder:"请输入密码"},{"prefix-icon":n((()=>[l(c(z))])),_:1},8,["modelValue"])])),_:1}),l(a,null,{default:n((()=>[l(d,{theme:"primary",type:"submit",block:""},{default:n((()=>[i("登录")])),_:1})])),_:1})])),_:1},8,["data","rules"]),u(l(w,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null,512),[[p,h.value]])])}}}),H={class:"custom-home-page-login"},A=e({__name:"index",setup:e=>(e,t)=>(o(),s("div",H,[l(E)]))});export{A as default};
import{d as e,c as a,r as o,o as l,b as t,V as s,E as u,W as c}from"./vue-1766cb08.js";const n=e({props:{modelValue:String,record:Boolean},emits:["update:modelValue","update:accountId"],setup(e,{emit:n}){const d=c(),i=a((()=>d.getters["user/getOptions"])),p=o(""),r=({value:e,e:a})=>{},m=({value:e,e:a})=>{},v=e=>{n("update:accountId",e)},h=({value:e,e:a,inputValue:o})=>{},V=()=>{const{modelValue:a}=e;n("update:modelValue","upload"==a?"table":"upload")};return l((()=>{i.value.length||d.dispatch("user/AcountOptions")})),()=>t("div",{class:"custom-chose-account"},[t("div",{class:"chose-account-left"},[t("div",{class:"chose-account-title"},[s("选择账户")]),t(u("t-select"),{class:"chose-account-select",modelValue:p.value,"onUpdate:modelValue":e=>p.value=e,placeholder:"选择一个账户",options:i.value,style:"width: 200px; display: inline-block;",filterable:!0,onblur:r,onfocus:m,onenter:h,onChange:v},null)]),t("div",{class:"choose-account-right"},[e.record?t(u("t-button"),{onClick:V},{default:()=>["upload"==e.modelValue?"发布记录":"发布视频"]}):""])])}});export{n as S}; import{d as e,c as a,r as o,o as l,b as t,R as s,E as u,L as c}from"./vue-9e6100c2.js";const n=e({props:{modelValue:String,record:Boolean},emits:["update:modelValue","update:accountId"],setup(e,{emit:n}){const d=c(),i=a((()=>d.getters["user/getOptions"])),p=o(""),r=({value:e,e:a})=>{},m=({value:e,e:a})=>{},v=e=>{n("update:accountId",e)},h=({value:e,e:a,inputValue:o})=>{},V=()=>{const{modelValue:a}=e;n("update:modelValue","upload"==a?"table":"upload")};return l((()=>{i.value.length||d.dispatch("user/AcountOptions")})),()=>t("div",{class:"custom-chose-account"},[t("div",{class:"chose-account-left"},[t("div",{class:"chose-account-title"},[s("选择账户")]),t(u("t-select"),{class:"chose-account-select",modelValue:p.value,"onUpdate:modelValue":e=>p.value=e,placeholder:"选择一个账户",options:i.value,style:"width: 200px; display: inline-block;",filterable:!0,onblur:r,onfocus:m,onenter:h,onChange:v},null)]),t("div",{class:"choose-account-right"},[e.record?t(u("t-button"),{onClick:V},{default:()=>["upload"==e.modelValue?"发布记录":"发布视频"]}):""])])}});export{n as S};
System.register(["./vue-legacy-33acbb9b.js","./index-legacy-930c27be.js","./Animation-legacy-609dc06f.js","./_plugin-vue_export-helper-legacy-762b7923.js"],(function(e,t){"use strict";var r,a,o,l,n,c,s,i,u,p,d,v,f,m,y,g,h,O,b,w,j,k;return{setters:[e=>{r=e.d,a=e.c,o=e.r,l=e.x,n=e.D,c=e.J,s=e.b,i=e.Q,u=e.O,p=e.R,d=e.s,v=e.v,f=e.K,m=e.N,y=e.L,g=e.E},e=>{h=e.C,O=e.D,b=e.F,w=e.aG,j=e.aH},e=>{k=e.A},null],execute:function(){function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function P(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?t(Object(a),!0).forEach((function(t){b(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var _={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.5 11h5v2H3v1h10v-1H8.5v-2h5a1 1 0 001-1V3a1 1 0 00-1-1h-11a1 1 0 00-1 1v7a1 1 0 001 1zm0-8h11v7h-11V3z",fillOpacity:.9}}]},x=r({name:"DesktopIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:r}=t,o=a((()=>e.size)),{className:l,style:n}=h(o),c=a((()=>["t-icon","t-icon-desktop",l.value])),s=a((()=>P(P({},n.value),r.style))),i=a((()=>({class:c.value,style:s.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>O(_,i.value)}});function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var z={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M6 10v1h4v-1H6z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M4.5 5v1H3a.5.5 0 00-.5.5v7c0 .28.22.5.5.5h10a.5.5 0 00.5-.5v-7A.5.5 0 0013 6h-1.5V5a3.5 3.5 0 00-7 0zm6 1h-5V5a2.5 2.5 0 015 0v1zm-7 1h9v6h-9V7z",fillOpacity:.9}}]},C=r({name:"LockOnIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:r}=t,o=a((()=>e.size)),{className:l,style:n}=h(o),c=a((()=>["t-icon","t-icon-lock-on",l.value])),s=a((()=>V(V({},n.value),r.style))),i=a((()=>({class:c.value,style:s.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>O(z,i.value)}});const S={class:"custom-login"},E=f("div",{class:"custom-login-title"},"登录",-1),H=r({__name:"login",setup(e){const t=m(),r=y(),f=o(!1),h=l({account:"",password:""}),O=a((()=>({account:[{required:!0,messgae:"账号不能为空",type:"error"}],password:[{required:!0,message:"密码不能为空",type:"error"}]}))),b=()=>{w.success("重置成功")},P=async({validateResult:e,firstError:a})=>{if(!0===e)try{f.value=!0;let e=await j({email:h.account,password:h.password});0==e.code&&(w.success("登录成功"),r.commit("user/setToken",{token:e.data.access_token,time:e.data.expires_in}),t.replace({path:"/upload"})),f.value=!1}catch(o){f.value=!1}else w.closeAll(),w.warning(a)};return(e,t)=>{const r=g("t-input"),a=g("t-form-item"),o=g("t-button"),l=g("t-form");return n(),c("div",S,[E,s(l,{ref:"form",class:"custom-login-form",data:h,rules:u(O),colon:!0,"label-width":0,onReset:b,onSubmit:P},{default:i((()=>[s(a,{name:"account"},{default:i((()=>[s(r,{modelValue:h.account,"onUpdate:modelValue":t[0]||(t[0]=e=>h.account=e),clearable:"",placeholder:"请输入账户名"},{"prefix-icon":i((()=>[s(u(x))])),_:1},8,["modelValue"])])),_:1}),s(a,{name:"password"},{default:i((()=>[s(r,{modelValue:h.password,"onUpdate:modelValue":t[1]||(t[1]=e=>h.password=e),type:"password",clearable:"",placeholder:"请输入密码"},{"prefix-icon":i((()=>[s(u(C))])),_:1},8,["modelValue"])])),_:1}),s(a,null,{default:i((()=>[s(o,{theme:"primary",type:"submit",block:""},{default:i((()=>[p("登录")])),_:1})])),_:1})])),_:1},8,["data","rules"]),d(s(k,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null,512),[[v,f.value]])])}}}),A={class:"custom-home-page-login"};e("default",r({__name:"index",setup:e=>(e,t)=>(n(),c("div",A,[s(H)]))}))}}}));
System.register(["./vue-legacy-4c3ba68d.js","./_plugin-vue_export-helper-legacy-bfc1263b.js"],(function(e,t){"use strict";var n,r,o,l,a,i,u,c,s,d,v,f,p,h,g,b,m,y,w,O,C,x,j,S,P,_,E,D,k,F,I,R,A,T,B,M,N,L,z,K,V,H,W,U,q,X,$,Y,Z,G,J,Q,ee,te,ne,re,oe,le,ae,ie,ue,ce,se,de,ve,fe,pe,he,ge,be,me,ye,we,Oe,Ce,xe,je,Se,Pe,_e,Ee,De,ke,Fe,Ie,Re,Ae,Te,Be,Me,Ne,Le,ze,Ke,Ve,He,We,Ue,qe,Xe,$e,Ye,Ze,Ge,Je,Qe,et,tt,nt,rt,ot,lt,at,it,ut,ct,st,dt,vt,ft,pt,ht,gt,bt,mt,yt,wt,Ot,Ct;return{setters:[e=>{n=e.r,r=e.o,o=e.a,l=e.c,a=e.i,i=e.g,u=e.d,c=e.b,s=e.h,d=e.F,v=e.w,f=e.e,p=e.f,h=e.j,g=e.n,b=e.T,m=e.m,y=e.k,w=e.l,O=e.p,C=e.t,x=e.q,j=e.s,S=e.v,P=e.u,_=e.x,E=e.y,D=e.z,k=e.A,F=e.B,I=e.C,R=e.D,A=e.E},e=>{T=e._,B=e.a,M=e.i,N=e.b,L=e.c,z=e.d,K=e.e,V=e.f,H=e.g,W=e.h,U=e.j,q=e.k,X=e.l,$=e.m,Y=e.n,Z=e.o,G=e.p,J=e.q,Q=e.r,ee=e.s,te=e.t,ne=e.E,re=e.u,oe=e.v,le=e.w,ae=e.x,ie=e.y,ue=e.L,ce=e.z,se=e.A,de=e.B,ve=e.C,fe=e.D,pe=e.F,he=e.G,ge=e.H,be=e.I,me=e.J,ye=e.K,we=e.M,Oe=e.N,Ce=e.O,xe=e.P,je=e.Q,Se=e.R,Pe=e.S,_e=e.T,Ee=e.U,De=e.V,ke=e.W,Fe=e.X,Ie=e.Y,Re=e.Z,Ae=e.$,Te=e.a0,Be=e.a1,Me=e.a2,Ne=e.a3,Le=e.a4,ze=e.a5,Ke=e.a6,Ve=e.a7,He=e.a8,We=e.a9,Ue=e.aa,qe=e.ab,Xe=e.ac,$e=e.ad,Ye=e.ae,Ze=e.af,Ge=e.ag,Je=e.ah,Qe=e.ai,et=e.aj,tt=e.ak,nt=e.al,rt=e.am,ot=e.an,lt=e.ao,at=e.ap,it=e.aq,ut=e.ar,ct=e.as,st=e.at,dt=e.au,vt=e.av,ft=e.aw,pt=e.ax,ht=e.ay,gt=e.az,bt=e.aA,mt=e.aB,yt=e.aC,wt=e.aD,Ot=e.aE,Ct=e.aF}],execute:function(){function e(e,t){if(null==e)return{};var n,r,o= System.register(["./vue-legacy-33acbb9b.js","./index-legacy-930c27be.js","./_plugin-vue_export-helper-legacy-762b7923.js"],(function(e,t){"use strict";var n,r,o,l,a,i,u,c,s,d,v,f,p,h,g,b,m,y,w,O,C,x,j,S,P,_,E,D,k,F,I,R,A,T,B,M,N,L,z,K,V,H,W,U,q,X,$,Y,Z,G,J,Q,ee,te,ne,re,oe,le,ae,ie,ue,ce,se,de,ve,fe,pe,he,ge,be,me,ye,we,Oe,Ce,xe,je,Se,Pe,_e,Ee,De,ke,Fe,Ie,Re,Ae,Te,Be,Me,Ne,Le,ze,Ke,Ve,He,We,Ue,qe,Xe,$e,Ye,Ze,Ge,Je,Qe,et,tt,nt,rt,ot,lt,at,it,ut,ct,st,dt,vt,ft,pt,ht,gt,bt,mt,yt,wt,Ot,Ct;return{setters:[e=>{n=e.r,r=e.o,o=e.a,l=e.c,a=e.i,i=e.g,u=e.d,c=e.b,s=e.h,d=e.F,v=e.w,f=e.e,p=e.f,h=e.j,g=e.n,b=e.T,m=e.m,y=e.k,w=e.l,O=e.p,C=e.t,x=e.q,j=e.s,S=e.v,P=e.u,_=e.x,E=e.y,D=e.z,k=e.A,F=e.B,I=e.C,R=e.D,A=e.E},e=>{T=e._,B=e.a,M=e.i,N=e.b,L=e.c,z=e.d,K=e.e,V=e.f,H=e.g,W=e.h,U=e.j,q=e.k,X=e.l,$=e.m,Y=e.n,Z=e.o,G=e.p,J=e.q,Q=e.r,ee=e.s,te=e.t,ne=e.E,re=e.u,oe=e.v,le=e.w,ae=e.x,ie=e.y,ue=e.L,ce=e.z,se=e.A,de=e.B,ve=e.C,fe=e.D,pe=e.F,he=e.G,ge=e.H,be=e.I,me=e.J,ye=e.K,we=e.M,Oe=e.N,Ce=e.O,xe=e.P,je=e.Q,Se=e.R,Pe=e.S,_e=e.T,Ee=e.U,De=e.V,ke=e.W,Fe=e.X,Ie=e.Y,Re=e.Z,Ae=e.$,Te=e.a0,Be=e.a1,Me=e.a2,Ne=e.a3,Le=e.a4,ze=e.a5,Ke=e.a6,Ve=e.a7,He=e.a8,We=e.a9,Ue=e.aa,qe=e.ab,Xe=e.ac,$e=e.ad,Ye=e.ae,Ze=e.af,Ge=e.ag,Je=e.ah,Qe=e.ai,et=e.aj,tt=e.ak,nt=e.al,rt=e.am,ot=e.an,lt=e.ao,at=e.ap,it=e.aq,ut=e.ar,ct=e.as,st=e.at,dt=e.au,vt=e.av,ft=e.aw,pt=e.ax,ht=e.ay,gt=e.az,bt=e.aA,mt=e.aB,yt=e.aC,wt=e.aD,Ot=e.aE},e=>{Ct=e._}],execute:function(){function e(e,t){if(null==e)return{};var n,r,o=
/** /**
* tdesign v1.0.5 * tdesign v1.0.5
* (c) 2023 tdesign * (c) 2023 tdesign
...@@ -2320,4 +2320,4 @@ function My(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj ...@@ -2320,4 +2320,4 @@ function My(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
* tdesign v1.0.5 * tdesign v1.0.5
* (c) 2023 tdesign * (c) 2023 tdesign
* @license MIT * @license MIT
*/const Uy=[cv,fp,Hf,Wf,Ic,xr,Wy,oh,Ov],qy={install(e){Uy.forEach(((t,n)=>{e.component(t.name,t)})),e.component("t-table",sy)}},Xy=F(wt({},[["render",function(e,t){const n=A("router-view");return R(),I(n)}]]));Xy.use(Ot),Xy.use(Ct),Xy.use(qy),Xy.mount("#app")}}})); */const Uy=[cv,fp,Hf,Wf,Ic,xr,Wy,oh,Ov],qy={install(e){Uy.forEach(((t,n)=>{e.component(t.name,t)})),e.component("t-table",sy)}},Xy=F(Ct({},[["render",function(e,t){const n=A("router-view");return R(),I(n)}]]));Xy.use(wt),Xy.use(Ot),Xy.use(qy),Xy.mount("#app")}}}));
System.register(["./vue-legacy-4c3ba68d.js"],(function(e,t){"use strict";var l,o,u,a,c,s,n,d;return{setters:[e=>{l=e.d,o=e.c,u=e.r,a=e.o,c=e.b,s=e.V,n=e.E,d=e.W}],execute:function(){e("S",l({props:{modelValue:String,record:Boolean},emits:["update:modelValue","update:accountId"],setup(e,{emit:t}){const l=d(),i=o((()=>l.getters["user/getOptions"])),r=u(""),p=({value:e,e:t})=>{},v=({value:e,e:t})=>{},h=e=>{t("update:accountId",e)},m=({value:e,e:t,inputValue:l})=>{},V=()=>{const{modelValue:l}=e;t("update:modelValue","upload"==l?"table":"upload")};// 选择列表 System.register(["./vue-legacy-33acbb9b.js"],(function(e,t){"use strict";var l,o,u,a,c,s,n,d;return{setters:[e=>{l=e.d,o=e.c,u=e.r,a=e.o,c=e.b,s=e.R,n=e.E,d=e.L}],execute:function(){e("S",l({props:{modelValue:String,record:Boolean},emits:["update:modelValue","update:accountId"],setup(e,{emit:t}){const l=d(),i=o((()=>l.getters["user/getOptions"])),r=u(""),p=({value:e,e:t})=>{},v=({value:e,e:t})=>{},h=e=>{t("update:accountId",e)},m=({value:e,e:t,inputValue:l})=>{},g=()=>{const{modelValue:l}=e;t("update:modelValue","upload"==l?"table":"upload")};// 选择列表
return a((()=>{i.value.length||l.dispatch("user/AcountOptions")})),()=>c("div",{class:"custom-chose-account"},[c("div",{class:"chose-account-left"},[c("div",{class:"chose-account-title"},[s("选择账户")]),c(n("t-select"),{class:"chose-account-select",modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,placeholder:"选择一个账户",options:i.value,style:"width: 200px; display: inline-block;",filterable:!0,onblur:p,onfocus:v,onenter:m,onChange:h},null)]),c("div",{class:"choose-account-right"},[e.record?c(n("t-button"),{onClick:V},{default:()=>["upload"==e.modelValue?"发布记录":"发布视频"]}):""])])}}))}}})); return a((()=>{i.value.length||l.dispatch("user/AcountOptions")})),()=>c("div",{class:"custom-chose-account"},[c("div",{class:"chose-account-left"},[c("div",{class:"chose-account-title"},[s("选择账户")]),c(n("t-select"),{class:"chose-account-select",modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,placeholder:"选择一个账户",options:i.value,style:"width: 200px; display: inline-block;",filterable:!0,onblur:p,onfocus:v,onenter:m,onChange:h},null)]),c("div",{class:"choose-account-right"},[e.record?c(n("t-button"),{onClick:g},{default:()=>["upload"==e.modelValue?"发布记录":"发布视频"]}):""])])}}))}}}));
System.register(["./vue-legacy-33acbb9b.js","./index-legacy-3f8ead16.js","./Animation-legacy-609dc06f.js","./index-legacy-930c27be.js","./_plugin-vue_export-helper-legacy-762b7923.js"],(function(e,a){"use strict";var l,u,t,c,n,s,o,v,i,d,r,g;return{setters:[e=>{l=e.d,u=e.r,t=e.w,c=e.b,n=e.R,s=e.E,o=e.s,v=e.v},e=>{i=e.S},e=>{d=e.A},e=>{r=e.aN,g=e.aG},null],execute:function(){e("default",l({setup(){const e=u(null),a=u(""),l=u(!1),p=u(!1),m=e=>{l.value=!0},b=async()=>{if(e.value&&a.value&&l.value)// 通过
try{p.value=!0;let u={introduction:a.value};0==(await r({account_id:e.value,parameters:[u]})).code&&(l.value=!1,g.success("提交成功")),p.value=!1}catch(u){p.value=!1}};return t((()=>e.value),(e=>{e&&a.value&&(l.value=!0)})),()=>c("div",{class:"custom-change-Introduction-page"},[c("div",{class:"custom-change-Introduction-page-child"},[c(i,{record:!1,accountId:e.value,"onUpdate:accountId":a=>e.value=a},null),c("div",{class:"change-Introduction-box"},[c("div",{class:"label"},[n("简介")]),c("div",{class:"value"},[c(s("t-textarea"),{placeholder:"请输入内容",class:"upload-textarea",autosize:{minRows:3,maxRows:5},modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,onChange:m},null)])]),c(s("t-button"),{class:["submit-btn",e.value&&a.value&&l.value?"active":""],onClick:b},{default:()=>[n("确认")]}),o(c(d,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[v,p.value]])])])}}))}}}));
System.register(["./vue-legacy-4c3ba68d.js","./index-legacy-18505e5c.js","./_plugin-vue_export-helper-legacy-bfc1263b.js","./Animation-legacy-c8c92395.js"],(function(a,e){"use strict";var l,u,t,c,s,n,v,o,i,d,r;return{setters:[a=>{l=a.d,u=a.r,t=a.b,c=a.V,s=a.E,n=a.s,v=a.v},a=>{o=a.S},a=>{i=a.aM,d=a.aG},a=>{r=a.A}],execute:function(){a("default",l({setup(a){const e=u(null),l=u(""),p=u(!1),g=u(!1),b=a=>{p.value=!!a},m=async()=>{if(e.value&&l.value&&p.value)// 通过 System.register(["./vue-legacy-33acbb9b.js","./index-legacy-3f8ead16.js","./index-legacy-930c27be.js","./Animation-legacy-609dc06f.js","./_plugin-vue_export-helper-legacy-762b7923.js"],(function(a,e){"use strict";var l,u,t,c,s,n,v,i,o,d,r;return{setters:[a=>{l=a.d,u=a.r,t=a.b,c=a.R,s=a.E,n=a.s,v=a.v},a=>{i=a.S},a=>{o=a.aM,d=a.aG},a=>{r=a.A},null],execute:function(){a("default",l({setup(a){const e=u(null),l=u(""),p=u(!1),g=u(!1),b=a=>{p.value=!!a},m=async()=>{if(e.value&&l.value&&p.value)// 通过
try{g.value=!0,0==(await i({account_id:e.value,parameters:[{url:l.value}]})).code&&(// 成功-将提交按钮置灰 try{g.value=!0,0==(await o({account_id:e.value,parameters:[{url:l.value}]})).code&&(// 成功-将提交按钮置灰
p.value=!1,d.success("上传成功")),g.value=!1}catch(a){g.value=!1}};return()=>t("div",{class:"custom-upload-link-page narrow-scrollbar"},[t("div",{class:"custom-upload-link-page-child"},[t(o,{record:!1,accountId:e.value,"onUpdate:accountId":a=>e.value=a},null),t("div",{class:"upload-link-box"},[t("div",{class:"label"},[c("上传链接")]),t("div",{class:"value"},[t(s("t-input"),{modelValue:l.value,"onUpdate:modelValue":a=>l.value=a,onChange:b},null)]),t(s("t-button"),{class:["submit-btn",e.value&&l.value&&p.value?"active":""],onClick:m},{default:()=>[c("确认")]})]),n(t(r,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[v,g.value]])])])}}))}}})); p.value=!1,d.success("上传成功")),g.value=!1}catch(a){g.value=!1}};return()=>t("div",{class:"custom-upload-link-page narrow-scrollbar"},[t("div",{class:"custom-upload-link-page-child"},[t(i,{record:!1,accountId:e.value,"onUpdate:accountId":a=>e.value=a},null),t("div",{class:"upload-link-box"},[t("div",{class:"label"},[c("上传链接")]),t("div",{class:"value"},[t(s("t-input"),{modelValue:l.value,"onUpdate:modelValue":a=>l.value=a,onChange:b},null)]),t(s("t-button"),{class:["submit-btn",e.value&&l.value&&p.value?"active":""],onClick:m},{default:()=>[c("确认")]})]),n(t(r,{poistion:"fixed",background:"rgba(200,200,200,0.2)"},null),[[v,g.value]])])])}}))}}}));
...@@ -333,7 +333,10 @@ function(e,t,n,o,r,s){return Vo(Wo(e,t,n,o,r,s,!0/* isBlock */))} ...@@ -333,7 +333,10 @@ function(e,t,n,o,r,s){return Vo(Wo(e,t,n,o,r,s,!0/* isBlock */))}
* `dynamicChildren` array. * `dynamicChildren` array.
* *
* @private * @private
*/,K:Wo,L: */,K:Wo,L:function(e){return void 0===e&&(e=null),tn(null!==e?e:Si)}
/**
* forEach for object
*/,M:
/** /**
* Returns the current route location. Equivalent to using `$route` inside * Returns the current route location. Equivalent to using `$route` inside
* templates. * templates.
...@@ -343,7 +346,7 @@ function(){return tn(pi)} ...@@ -343,7 +346,7 @@ function(){return tn(pi)}
* vuex v4.1.0 * vuex v4.1.0
* (c) 2022 Evan You * (c) 2022 Evan You
* @license MIT * @license MIT
*/,M:function(){return tn(fi)},N:mt,O: */,N:function(){return tn(fi)},O:mt,P:
/** /**
* Actual implementation * Actual implementation
*/ */
...@@ -352,20 +355,17 @@ function(e,t,n,o){let r;const s=n&&n[o];if(x(e)||O(e)){r=new Array(e.length);for ...@@ -352,20 +355,17 @@ function(e,t,n,o){let r;const s=n&&n[o];if(x(e)||O(e)){r=new Array(e.length);for
* #2437 In Vue 3, functional components do not have a public instance proxy but * #2437 In Vue 3, functional components do not have a public instance proxy but
* they exist in the internal parent chain. For code that relies on traversing * they exist in the internal parent chain. For code that relies on traversing
* public $parent chains, skip functional ones and go to the parent instead. * public $parent chains, skip functional ones and go to the parent instead.
*/,P:l,R: */,Q:Qt,R:Ko,S:
/** /**
* @private * @private
*/ */
function(e="",// when used as the v-else branch, the comment node must be created as a function(e="",// when used as the v-else branch, the comment node must be created as a
// block to ensure correct updates. // block to ensure correct updates.
t=!1){return t?(To(),No(Ro,null,e)):zo(Ro,null,e)},S:Qt,U: t=!1){return t?(To(),No(Ro,null,e)):zo(Ro,null,e)},U:l,W:
/** /**
* @private * @private
*/ */
function(e){return O(e)?Nn(In,e,!1)||e:e||Vn},V:Ko,W:function(e){return void 0===e&&(e=null),tn(null!==e?e:Si)} function(e){return O(e)?Nn(In,e,!1)||e:e||Vn},X:n,Y:
/**
* forEach for object
*/,X:n,Y:
/** /**
* Set scope id when creating hoisted vnodes. * Set scope id when creating hoisted vnodes.
* @private compiler helper * @private compiler helper
...@@ -405,7 +405,7 @@ function a(e){return!!e||""===e} ...@@ -405,7 +405,7 @@ function a(e){return!!e||""===e}
/** /**
* For converting {{ interpolation }} values to displayed strings. * For converting {{ interpolation }} values to displayed strings.
* @private * @private
*/e("Q",(e=>O(e)?e:null==e?"":x(e)||A(e)&&(e.toString===P||!E(e.toString))?JSON.stringify(e,u,2):String(e)));const u=(e,t)=>// can't use isRef here since @vue/shared has no deps */e("V",(e=>O(e)?e:null==e?"":x(e)||A(e)&&(e.toString===P||!E(e.toString))?JSON.stringify(e,u,2):String(e)));const u=(e,t)=>// can't use isRef here since @vue/shared has no deps
t&&t.__v_isRef?u(e,t.value):C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()]}:!A(t)||x(t)||M(t)?t:String(t),f={},p=[],d=()=>{},h=()=>!1,g=/^on[^a-z]/,m=e=>g.test(e),v=e=>e.startsWith("onUpdate:"),y=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},b=Object.prototype.hasOwnProperty,w=(e,t)=>b.call(e,t),x=Array.isArray,C=e=>"[object Map]"===R(e),S=e=>"[object Set]"===R(e),E=e=>"function"==typeof e,O=e=>"string"==typeof e,k=e=>"symbol"==typeof e,A=e=>null!==e&&"object"==typeof e,j=e=>A(e)&&E(e.then)&&E(e.catch),P=Object.prototype.toString,R=e=>P.call(e),M=e=>"[object Object]"===R(e),F=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(// the leading comma is intentional so empty string "" is also included t&&t.__v_isRef?u(e,t.value):C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()]}:!A(t)||x(t)||M(t)?t:String(t),f={},p=[],d=()=>{},h=()=>!1,g=/^on[^a-z]/,m=e=>g.test(e),v=e=>e.startsWith("onUpdate:"),y=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},b=Object.prototype.hasOwnProperty,w=(e,t)=>b.call(e,t),x=Array.isArray,C=e=>"[object Map]"===R(e),S=e=>"[object Set]"===R(e),E=e=>"function"==typeof e,O=e=>"string"==typeof e,k=e=>"symbol"==typeof e,A=e=>null!==e&&"object"==typeof e,j=e=>A(e)&&E(e.then)&&E(e.catch),P=Object.prototype.toString,R=e=>P.call(e),M=e=>"[object Object]"===R(e),F=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(// the leading comma is intentional so empty string "" is also included
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$=/-(\w)/g,I=T((e=>e.replace($,((e,t)=>t?t.toUpperCase():"")))),V=/\B([A-Z])/g,N=T((e=>e.replace(V,"-$1").toLowerCase())),U=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),B=T((e=>e?`on${U(e)}`:"")),D=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},W=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let z,H;class K{constructor(e=!1){this.detached=e, ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$=/-(\w)/g,I=T((e=>e.replace($,((e,t)=>t?t.toUpperCase():"")))),V=/\B([A-Z])/g,N=T((e=>e.replace(V,"-$1").toLowerCase())),U=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),B=T((e=>e?`on${U(e)}`:"")),D=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},W=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let z,H;class K{constructor(e=!1){this.detached=e,
/** /**
......
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/> />
<title>TikTok-upload</title> <title>TikTok-upload</title>
<script type="module" crossorigin src="/assets/index-b4a2dafc.js"></script> <script type="module" crossorigin src="/assets/index-5e1fb5e0.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vue-1766cb08.js"> <link rel="modulepreload" crossorigin href="/assets/vue-9e6100c2.js">
<link rel="modulepreload" crossorigin href="/assets/_plugin-vue_export-helper-574a79f6.js"> <link rel="modulepreload" crossorigin href="/assets/index-aa6361ed.js">
<link rel="stylesheet" href="/assets/style-4740619b.css"> <link rel="modulepreload" crossorigin href="/assets/_plugin-vue_export-helper-1b428a4d.js">
<link rel="stylesheet" href="/assets/style-cceb2b6d.css">
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script> <script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script> <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head> </head>
...@@ -20,6 +21,6 @@ ...@@ -20,6 +21,6 @@
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script> <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-b7b22370.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-b7b22370.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-7062491f.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> <script nomodule crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-2e8d666c.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment