Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
tokcos-socket-web-ts-user
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
小豪
tokcos-socket-web-ts-user
Commits
cc9b12b0
提交
cc9b12b0
authored
4月 16, 2024
作者:
Hao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
合并代码
父级
749e555b
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
25 行增加
和
3 行删除
+25
-3
components.d.ts
+7
-0
src/assets/camera.png
+0
-0
src/assets/css/reset.css
+6
-0
src/assets/link.svg
+2
-0
src/assets/right.png
+0
-0
src/components/AutomaticPrompt.vue
+2
-2
src/utils/index.ts
+8
-0
src/views/HomeView.vue
+0
-0
src/views/loginView.vue
+0
-1
没有找到文件。
components.d.ts
浏览文件 @
cc9b12b0
...
@@ -8,12 +8,19 @@ export {}
...
@@ -8,12 +8,19 @@ export {}
declare
module
'vue'
{
declare
module
'vue'
{
export
interface
GlobalComponents
{
export
interface
GlobalComponents
{
AutomaticPrompt
:
typeof
import
(
'./src/components/AutomaticPrompt.vue'
)[
'default'
]
AutomaticPrompt
:
typeof
import
(
'./src/components/AutomaticPrompt.vue'
)[
'default'
]
ElAside
:
typeof
import
(
'element-plus/es'
)[
'ElAside'
]
ElButton
:
typeof
import
(
'element-plus/es'
)[
'ElButton'
]
ElButton
:
typeof
import
(
'element-plus/es'
)[
'ElButton'
]
ElContainer
:
typeof
import
(
'element-plus/es'
)[
'ElContainer'
]
ElContainer
:
typeof
import
(
'element-plus/es'
)[
'ElContainer'
]
ElFooter
:
typeof
import
(
'element-plus/es'
)[
'ElFooter'
]
ElFooter
:
typeof
import
(
'element-plus/es'
)[
'ElFooter'
]
ElForm
:
typeof
import
(
'element-plus/es'
)[
'ElForm'
]
ElFormItem
:
typeof
import
(
'element-plus/es'
)[
'ElFormItem'
]
ElHeader
:
typeof
import
(
'element-plus/es'
)[
'ElHeader'
]
ElHeader
:
typeof
import
(
'element-plus/es'
)[
'ElHeader'
]
ElIcon
:
typeof
import
(
'element-plus/es'
)[
'ElIcon'
]
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElMain
:
typeof
import
(
'element-plus/es'
)[
'ElMain'
]
ElMain
:
typeof
import
(
'element-plus/es'
)[
'ElMain'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
EmotionComponent
:
typeof
import
(
'./src/components/EmotionComponent.vue'
)[
'default'
]
EmotionComponent
:
typeof
import
(
'./src/components/EmotionComponent.vue'
)[
'default'
]
IndexComponent
:
typeof
import
(
'./src/components/IndexComponent.vue'
)[
'default'
]
IndexComponent
:
typeof
import
(
'./src/components/IndexComponent.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
...
...
src/assets/camera.png
0 → 100644
浏览文件 @
cc9b12b0
4.0 KB
src/assets/css/reset.css
浏览文件 @
cc9b12b0
...
@@ -102,6 +102,12 @@ section {
...
@@ -102,6 +102,12 @@ section {
display
:
block
;
display
:
block
;
}
}
*
{
padding
:
0
;
margin
:
0
;
box-sizing
:
border-box
;
}
body
{
body
{
line-height
:
1
;
line-height
:
1
;
}
}
...
...
src/assets/link.svg
0 → 100644
浏览文件 @
cc9b12b0
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1712030397294"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"12884"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><path
d=
"M603.75168 775.371386 539.791973 775.371386 320.738955 328.101643 234.988965 328.101643 234.988965 293.685809 303.81961 293.685809 441.416432 293.685809 480.703203 293.685809 598.688361 594.7077 716.674543 293.685809 819.919998 293.685809Z"
fill=
"#1296db"
p-id=
"12885"
></path></svg>
\ No newline at end of file
src/assets/right.png
0 → 100644
浏览文件 @
cc9b12b0
547 Bytes
src/components/AutomaticPrompt.vue
浏览文件 @
cc9b12b0
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
alt=
""
alt=
""
/>
/>
</div>
</div>
<div
class=
"chat-bar-right"
>
<
!--
<
div
class=
"chat-bar-right"
>
<img
<img
src=
"../assets/icon_folder_s1_01.png"
src=
"../assets/icon_folder_s1_01.png"
@
click=
"upfile"
@
click=
"upfile"
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
alt=
""
alt=
""
/>
/>
快捷回复
快捷回复
</div>
</div>
-->
</div>
</div>
<div
<div
class=
"el-autocomplete textarea"
class=
"el-autocomplete textarea"
...
...
src/utils/index.ts
浏览文件 @
cc9b12b0
...
@@ -19,3 +19,11 @@ export function getShortDate(): string {
...
@@ -19,3 +19,11 @@ export function getShortDate(): string {
return
month
+
"-"
+
day
+
" "
+
hour
+
":"
+
minutes
;
return
month
+
"-"
+
day
+
" "
+
hour
+
":"
+
minutes
;
}
}
export
const
require
=
(
imgPath
:
any
)
=>
{
try
{
const
handlePath
=
imgPath
.
replace
(
"@"
,
".."
);
return
new
URL
(
handlePath
,
import
.
meta
.
url
).
href
;
}
catch
(
error
)
{
console
.
warn
(
error
);
}
};
src/views/HomeView.vue
浏览文件 @
cc9b12b0
差异被折叠。
点击展开。
src/views/loginView.vue
浏览文件 @
cc9b12b0
...
@@ -90,7 +90,6 @@ export default {
...
@@ -90,7 +90,6 @@ export default {
Login
(
data
).
then
(({
success
,
message
,
result
}:
any
)
=>
{
Login
(
data
).
then
(({
success
,
message
,
result
}:
any
)
=>
{
if
(
success
)
{
if
(
success
)
{
router
.
push
(
'/'
)
router
.
push
(
'/'
)
store
.
setUserInfo
({
store
.
setUserInfo
({
...
result
.
userInfo
,
...
result
.
userInfo
,
token
:
result
.
token
,
token
:
result
.
token
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论