Vue3 + Pinia + Vite5 仿抖音,完全度90% . Vue3 + Pinia + Vite5 imitate TikTok with 90% completeness
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

44 lines
845 B

export default {
REDIRECT: 'redirect',
// 请求方法
POST: 'post',
GET: 'get',
PATCH: 'patch',
DELETE: 'delete',
PUT: 'put',
PAGE_NUMBER: 1,
PAGE_SIZE: 10,
DELAY_TIME: 250,
SUCCESS: 200,
RELATE_ENUM: {
RECOMMEND_NO_REMOVE: -2,//推荐,不能移除
RECOMMEND: -1,//推荐
FOLLOW_ME: 1,//只关注我
FOLLOW_EACH_OTHER: 2,//互相关注
FOLLOW_HE: 3,//我关注他
REQUEST_FOLLOW: 4//关注请求
}
}
export const SlideType = {
HORIZONTAL: 0,
VERTICAL: 1,
}
/*图集操作状态*/
export const SlideAlbumOperationStatus = {
Normal: 'Normal',
Zooming: 'Zooming',
Detail: 'Detail',
}
/*图集播放状态*/
export const SlideAlbumPlayStatus = {
HORIZONTAL: 0,
VERTICAL: 1,
}
/*播放状态*/
export const SlideItemPlayStatus = {
Play: 'Play',
Stop: 'Stop',
Pause: 'Pause',
}