Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
7bd06acb
Commit
7bd06acb
authored
Sep 09, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
ecfd9269
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
Chat.vue
src/views/Chat/Chat.vue
+7
-14
index.vue
src/views/Crop/index.vue
+1
-1
vue.config.js
vue.config.js
+6
-0
No files found.
src/views/Chat/Chat.vue
View file @
7bd06acb
...
...
@@ -24,33 +24,26 @@
<
script
lang=
"ts"
>
/* eslint-disable */
import
NavBar
from
"@/components/NavBar/index.vue"
;
import
{
defineComponent
,
onBeforeUnmount
,
onMounted
,
reactive
,
ref
,
watch
}
from
"vue"
;
import
ChatContentVue
from
"./ChatContent.vue"
;
import
ChatInputVue
from
"./ChatInput.vue"
;
import
{
defineComponent
,
onBeforeUnmount
,
onMounted
,
reactive
,
ref
,
watch
,
defineAsyncComponent
}
from
"vue"
;
import
{
connectionState
}
from
"@/store/connectionStore"
;
import
{
privateKey
,
publicKey
,
target
}
from
"@/store/appCallerStore"
;
import
{
token
,
from
,
orderid
}
from
"@/store/appCallerStore"
;
import
{
generateToken
}
from
"@/utils/generateToken/generate-token"
;
import
ChatOption
from
"@/components/ChatOptions/index.vue"
;
import
ServiceRating
from
"@/components/ServiceRating/index.vue"
;
import
CommonUseSentence
from
"@/components/CommonUseSentence/index.vue"
import
{
textInputStore
}
from
"@/store/textInputStore"
;
import
{
messageStore
}
from
"@/store/messagesStore"
;
import
ChatMessageDB
from
"@/db/ChatMessageDB"
;
import
{
chatCardTimeStamp
}
from
"@/store/chatCardStore"
;
import
ChatListCardDB
from
"@/db/ChatListCardDB"
;
import
{
v4
as
uuidv4
}
from
'uuid'
import
{
ChatMessageTypes
}
from
"@/types/chatMessageTypes"
;
import
{
fffList
}
from
"@/store/test"
;
export
default
defineComponent
({
components
:
{
ChatContentVue
,
ChatInputVue
,
ChatContentVue
:
defineAsyncComponent
(()
=>
import
(
/* webpackChunkName: 'ChatContentVue' */
"./ChatContent.vue"
))
,
ChatInputVue
:
defineAsyncComponent
(()
=>
import
(
/* webpackChunkName: 'ChatInputVue' */
"./ChatInput.vue"
))
,
NavBar
,
ServiceRating
,
ChatOption
,
CommonUseSentence
ServiceRating
:
defineAsyncComponent
(()
=>
import
(
/* webpackChunkName: 'serviceRating' */
"@/components/ServiceRating/index.vue"
))
,
ChatOption
:
defineAsyncComponent
(()
=>
import
(
/* webpackChunkName: 'ChatOption' */
"@/components/ChatOptions/index.vue"
))
,
CommonUseSentence
:
defineAsyncComponent
(()
=>
import
(
/* webpackChunkName: 'CommonUseSentence' */
"@/components/CommonUseSentence/index.vue"
))
},
setup
()
{
...
...
src/views/Crop/index.vue
View file @
7bd06acb
...
...
@@ -29,7 +29,7 @@ import { onMounted } from '@vue/runtime-core'
const
cropper
=
ref
<
VueCropperMethods
>
()
// const imgSrc =
// const imgSrc =
// 'https://upload.jianshu.io/users/upload_avatars/4515180/f63fc045-482d-403c-96a6-8ea5167522c6.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/120/h/120'
const
imgSrc
=
'https://cn.bing.com/th?id=OHR.LivrariaLello_EN-CN3399107740_1920x1080.jpg&rf=LaDigue_1920x1080.jpg'
...
...
vue.config.js
0 → 100644
View file @
7bd06acb
module
.
exports
=
{
configureWebpack
:
{
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment