Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training-new
Commits
6c101959
提交
6c101959
authored
9月 23, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: #2225,#2226
上级
0e3d5b13
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
43 行增加
和
37 行删除
+43
-37
Cost.vue
src/modules/product-analysis/components/Cost.vue
+30
-35
Products.vue
src/modules/product-analysis/components/Products.vue
+13
-2
没有找到文件。
src/modules/product-analysis/components/Cost.vue
浏览文件 @
6c101959
<
template
>
<
template
>
<box
title=
"基金涉及费用"
>
<box
title=
"基金涉及费用"
>
<div
class=
"cost-box"
>
<div
class=
"cost-box"
>
<div
class=
"li"
>
<div
class=
"li"
v-for=
"item in data.completions"
:key=
"item.id"
>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/cost-i1.png"
class=
"icon"
>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/cost-i2.png"
class=
"icon"
v-if=
"item.tag === 'management_expense_completion'"
/>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/cost-i1.png"
class=
"icon"
v-else
/>
<div
class=
"right-con"
>
<div
class=
"right-con"
>
<div
class=
"num"
>
<div
class=
"num"
>
<input
v-model=
"
data.completions[0].commit_answer"
type=
"text"
placeholder=
"请输入"
>
<input
v-model=
"
item.commit_answer"
type=
"text"
placeholder=
"请输入"
/
>
<span>
%
</span>
<span>
%
</span>
</div>
</div>
<div
class=
"name"
>
托管费
</div>
<div
class=
"name"
>
{{
item
.
subject
}}
</div>
</div>
</div>
<div
class=
"li"
>
<img
src=
"https://webapp-pub.ezijing.com/x-training-new/cost-i2.png"
class=
"icon"
>
<div
class=
"right-con col-blue"
>
<div
class=
"num"
>
<input
v-model=
"data.completions[1].commit_answer"
type=
"text"
placeholder=
"请输入"
>
<span>
%
</span>
</div>
<div
class=
"name"
>
管理费
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -39,72 +34,72 @@ export default {
...
@@ -39,72 +34,72 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.cost-box
{
.cost-box
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
padding-top
:
30px
;
padding-top
:
30px
;
.li
{
.li
+
.li
{
margin-left
:
20px
;
}
.li
{
width
:
225px
;
width
:
225px
;
height
:
97px
;
height
:
97px
;
background
:
#
FFFFFF
;
background
:
#
ffffff
;
box-shadow
:
0px
9px
9px
0px
rgba
(
175
,
175
,
175
,
0
.27
);
box-shadow
:
0px
9px
9px
0px
rgba
(
175
,
175
,
175
,
0
.27
);
border-radius
:
10px
;
border-radius
:
10px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.icon
{
.icon
{
width
:
53px
;
width
:
53px
;
height
:
53px
;
height
:
53px
;
display
:
block
;
display
:
block
;
margin-left
:
24px
;
margin-left
:
24px
;
}
}
.right-con
{
.right-con
{
margin-left
:
24px
;
margin-left
:
24px
;
&
.col-blue
{
&
.col-blue
{
.num
{
.num
{
input
{
input
{
color
:
#47
BCDE
;
color
:
#47
bcde
;
}
}
span
{
span
{
color
:
#47
BCDE
;
color
:
#47
bcde
;
}
}
}
}
}
}
.num
{
.num
{
display
:
flex
;
display
:
flex
;
input
{
input
{
outline
:
none
;
outline
:
none
;
background
:
none
;
background
:
none
;
width
:
80px
;
width
:
80px
;
font-size
:
30px
;
font-size
:
30px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#4
EB
198
;
color
:
#4
eb
198
;
line-height
:
100%
;
line-height
:
100%
;
font-weight
:
bold
;
font-weight
:
bold
;
height
:
28px
;
height
:
28px
;
width
:
65px
;
width
:
65px
;
text-align
:
right
;
text-align
:
right
;
&
:
:-
webkit-input-placeholder
{
&
:
:-
webkit-input-placeholder
{
font-size
:
16px
;
font-size
:
16px
;
}
}
}
}
span
{
span
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#4
EB
198
;
color
:
#4
eb
198
;
line-height
:
100%
;
line-height
:
100%
;
margin-top
:
12px
;
margin-top
:
12px
;
margin-left
:
3px
;
margin-left
:
3px
;
}
}
}
}
.name
{
.name
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#666666
;
color
:
#666666
;
line-height
:
100%
;
line-height
:
100%
;
margin-top
:
10px
;
margin-top
:
10px
;
}
}
}
}
&
:nth-child
(
1
)
{
margin-right
:
30px
;
}
}
}
}
}
</
style
>
</
style
>
src/modules/product-analysis/components/Products.vue
浏览文件 @
6c101959
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<box
title=
"产品概括"
>
<box
title=
"产品概括"
>
<ul>
<ul>
<li
v-for=
"(item, index) in data.completions"
:key=
"index"
>
<li
v-for=
"(item, index) in data.completions"
:key=
"index"
>
<img
:src=
"
`https://webapp-pub.ezijing.com/x-training-new/products$
{index + 1}.png`
" class="icon" />
<img
:src=
"
iconUrl(item)
"
class=
"icon"
/>
<div
class=
"tag"
>
{{
item
.
subject
}}
</div>
<div
class=
"tag"
>
{{
item
.
subject
}}
</div>
<textarea
placeholder=
"请输入"
v-model=
"item.commit_answer"
></textarea>
<textarea
placeholder=
"请输入"
v-model=
"item.commit_answer"
></textarea>
</li>
</li>
...
@@ -20,7 +20,18 @@ export default {
...
@@ -20,7 +20,18 @@ export default {
data
()
{
data
()
{
return
{}
return
{}
},
},
created
()
{
methods
:
{
iconUrl
(
item
)
{
const
map
=
{
product_overview_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products1.png'
,
operation_mode_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products2.png'
,
open_frequency_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products3.png'
,
transaction_currency_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products4.png'
,
fund_manager_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products5.png'
,
fund_principal_completion
:
'https://webapp-pub.ezijing.com/x-training-new/products6.png'
}
return
map
[
item
.
tag
]
}
}
}
}
}
</
script
>
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论