Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
salesgpt-project
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5478756a
authored
Feb 27, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
图片
1 parent
851faf1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
src/utils/constants.js
src/views/ai/car.vue
src/utils/constants.js
View file @
5478756
...
...
@@ -4,16 +4,16 @@
* @Author: limin
* @Date: 2021-06-15 14:41:02
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-02-27
19:49:32
* @LastEditTime: 2024-02-27
21:17:54
*/
export
const
STORE_USER_KEY
=
'STORE_USER_KEY'
export
const
CAR_TYPE
=
[
{
type
:
'问界M5'
},
{
type
:
'问界M7'
},
{
type
:
'问界M9'
}
{
type
:
'问界M5'
,
url
:
'https://youjia-image.cdn.bcebos.com/modelImage/f9703216b72d9ceef7eaa8d412c91240/1690527021648110972d.JPG@!thumbnail'
},
{
type
:
'问界M7'
,
url
:
'https://youjia-image.cdn.bcebos.com/modelImage/12b1c02853894390ec478997adc1fef7/17005384204889266694.jpg@!thumbnail'
},
{
type
:
'问界M9'
,
url
:
'https://youjia-image.cdn.bcebos.com/modelImage/2ef3a04eff07e2a441bb16c61f3ff531/17035819401703266694.jpg@!thumbnail'
}
]
export
const
CAR_SCENE
=
[
'日常代步'
,
'短途自驾'
,
'商务出行'
,
'货物搬运'
,
'长途旅行'
]
export
const
CAR_IDENTITY
=
[
'有钱的小老板'
,
'上班族'
,
'退休大爷'
,
'全职太太'
,
'车迷学生'
]
export
const
CAR_SCENE
=
[
'日常代步'
,
'短途自驾'
,
'商务出行'
,
'货物搬运'
,
'长途旅行'
]
export
const
CAR_IDENTITY
=
[
'有钱的小老板'
,
'上班族'
,
'退休大爷'
,
'全职太太'
,
'车迷学生'
]
// export const CAR_TYPE_SCENE = [
// `{
// 意向车型:问界M7
...
...
@@ -102,7 +102,7 @@ export const CAR_TYPE_DESC = [
综合油耗(L/100km):7.2
}`
]
export
const
CAR_TIPS
=
(
product
,
scene
,
identity
)
=>
{
export
const
CAR_TIPS
=
(
product
,
scene
,
identity
)
=>
{
return
`
你需要扮演一个购车客户,模拟与4S店销售人员对话。对话风格尽量自然、简短,每次提问的信息点不超过2个。
你意向的车型是
...
...
src/views/ai/car.vue
View file @
5478756
...
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-02-23 09:47:18
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-02-27
19:48:11
* @LastEditTime: 2024-02-27
21:21:08
* @FilePath: \dj-scrm-wx-work-attachment-psd\src\views\ai\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -10,7 +10,7 @@
<div
class=
"ai-container"
>
<div
class=
"car-box"
>
<div
class=
"car-item"
@
click=
"handleSelectCar(item)"
v-for=
"(item, index) in carList"
:key=
"index"
>
<div
class=
"car-img"
><img
src=
"https://ms.bdimg.com/pacific/0/pic/1771248042_197108611.jpg?x=0&y=0&h=146&w=259&vh=146.00&vw=259.00&oh=146.00&ow=259.00
"
/></div>
<div
class=
"car-img"
><img
:src=
"item.url
"
/></div>
<div
class=
"car-desc"
>
{{
item
.
type
}}
</div>
</div>
</div>
...
...
@@ -84,7 +84,7 @@ export default {
.car-item
{
.car-img
{
width
:
100%
;
height
:
8
0px
;
height
:
10
0px
;
}
.car-desc
{
text-align
:
center
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment