Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training-new
Commits
f7e083da
提交
f7e083da
authored
9月 23, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修改用户分析bug
上级
117258ba
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
30 行增加
和
23 行删除
+30
-23
AppMenu.vue
src/components/base/AppMenu.vue
+3
-1
ProductsResult.vue
src/modules/product-analysis/components/ProductsResult.vue
+1
-1
Report.vue
src/modules/product-analysis/views/Report.vue
+1
-1
Result.vue
src/modules/product-analysis/views/Result.vue
+25
-20
没有找到文件。
src/components/base/AppMenu.vue
浏览文件 @
f7e083da
...
...
@@ -52,13 +52,15 @@ export default {
}
},
selectProducts
()
{
console
.
log
(
2222
)
this
.
$confirm
(
'切换案例,当前填写的内容不会保存'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
console
.
log
(
1111
)
this
.
$router
.
push
({
path
:
'/product-analysis'
})
})
})
.
catch
(()
=>
{})
},
fetchWorkStatus
()
{
return
new
Promise
((
resolve
)
=>
{
...
...
src/modules/product-analysis/components/ProductsResult.vue
浏览文件 @
f7e083da
...
...
@@ -36,7 +36,7 @@ ul {
margin-right
:
18px
;
margin-bottom
:
13px
;
width
:
198px
;
height
:
fit-content
;
//
height: fit-content;
padding-bottom
:
27px
;
background
:
#f1fcf9
;
border
:
1px
solid
#b8ebde
;
...
...
src/modules/product-analysis/views/Report.vue
浏览文件 @
f7e083da
...
...
@@ -139,7 +139,7 @@ export default {
})
setTimeout
(()
=>
{
this
.
$router
.
push
({
path
:
'/product-analysis/result'
})
},
3
000
)
},
2
000
)
}).
catch
(
err
=>
{
this
.
$message
.
error
(
err
.
message
||
'稍后再试'
)
})
...
...
src/modules/product-analysis/views/Result.vue
浏览文件 @
f7e083da
...
...
@@ -2,8 +2,11 @@
<div
class=
"result-box"
>
<div
class=
"pop-layer"
></div>
<div
class=
"trophy-box"
>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/trophy.png"
>
<div
class=
"text"
>
你的得分是
<span>
{{
score
}}
</span>
分
</div>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/trophy.png"
/>
<div
class=
"text"
>
你的得分是
<span>
{{
score
}}
</span
>
分
</div>
</div>
<div
class=
"title-box"
>
<div
class=
"title"
>
产品分析报告
</div>
...
...
@@ -50,71 +53,73 @@ export default {
const
localData
=
JSON
.
parse
(
window
.
localStorage
.
reportData
)
this
.
completions
=
localData
.
data
this
.
score
=
localData
.
score
this
.
title
=
this
.
completions
.
find
(
item
=>
{
return
item
.
tag
===
'title'
}).
value
this
.
title
=
this
.
completions
.
find
(
item
=>
{
return
item
.
tag
===
'title'
}).
value
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.result-box
{
.result-box
{
margin
:
66px
auto
;
width
:
714px
;
background
:
#
FFFFFF
;
border
:
1px
solid
#
DCDCDC
;
background
:
#
ffffff
;
border
:
1px
solid
#
dcdcdc
;
border-radius
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
position
:
relative
;
.pop-layer
{
.pop-layer
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
99
99
;
z-index
:
99
;
width
:
100%
;
height
:
100%
;
}
.trophy-box
{
.trophy-box
{
padding
:
50px
0
38px
0
;
position
:
relative
;
&
:
:
after
{
content
:
""
;
&
:
:
after
{
content
:
''
;
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
transform
:
translateX
(
-50%
);
width
:
620px
;
border-bottom
:
1px
dashed
#
C0C0C
0
;
border-bottom
:
1px
dashed
#
c0c0c
0
;
}
img
{
img
{
width
:
69px
;
display
:
block
;
margin
:
0
auto
;
}
.text
{
.text
{
font-size
:
18px
;
color
:
#666666
;
text-align
:
center
;
margin-top
:
18px
;
span
{
span
{
color
:
rgba
(
67
,
169
,
143
,
1
);
font-size
:
26px
;
}
}
}
.title-box
{
.title-box
{
padding
:
28px
0
50px
;
.title
{
.title
{
text-align
:
center
;
font-size
:
24px
;
font-weight
:
bold
;
color
:
#4
CAC
94
;
color
:
#4
cac
94
;
line-height
:
100%
;
}
.code
{
.code
{
width
:
310px
;
line-height
:
47px
;
margin
:
29px
auto
0
;
border-bottom
:
1px
solid
#
B4B4B
4
;
border-bottom
:
1px
solid
#
b4b4b
4
;
text-align
:
center
;
font-size
:
18px
;
color
:
#656565
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论