Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training
Commits
0024eaac
提交
0024eaac
authored
2月 07, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改样式
上级
f7bb9469
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
37 行增加
和
4 行删除
+37
-4
explain.vue
src/pages/home/explain.vue
+1
-0
practice3.vue
src/pages/practice/components/practice3.vue
+1
-1
preview.vue
src/pages/practice/components/preview.vue
+13
-1
index.vue
src/pages/practice/index.vue
+22
-2
没有找到文件。
src/pages/home/explain.vue
浏览文件 @
0024eaac
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
color
:
#222222
;
color
:
#222222
;
line-height
:
25px
;
line-height
:
25px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
margin-top
:
16px
;
}
}
.doce
{
.doce
{
p
{
p
{
...
...
src/pages/practice/components/practice3.vue
浏览文件 @
0024eaac
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<preview
v-show=
"isEdit"
@
confirm=
"confirm"
></preview>
<preview
:navItemIndex=
"navItemIndex"
v-show=
"isEdit"
@
confirm=
"confirm"
></preview>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
...
src/pages/practice/components/preview.vue
浏览文件 @
0024eaac
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
v-model=
"textarea"
>
v-model=
"textarea"
>
</el-input>
</el-input>
</div>
</div>
<div
class=
"upload-box"
>
<div
class=
"upload-box"
v-if=
"showActiveIndex == 0 || showActiveIndex == 4 || showActiveIndex == 5 || showActiveIndex == 6 "
>
<div
class=
"name"
>
上传图片
</div>
<div
class=
"name"
>
上传图片
</div>
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
...
@@ -84,6 +84,9 @@
...
@@ -84,6 +84,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
navItemIndex
:
{}
},
data
()
{
data
()
{
return
{
return
{
textarea
:
''
,
textarea
:
''
,
...
@@ -116,6 +119,15 @@ export default {
...
@@ -116,6 +119,15 @@ export default {
computed
:
{
computed
:
{
getStyle
()
{
getStyle
()
{
return
`background:url(
${
this
.
url
}
);background-size: cover;`
return
`background:url(
${
this
.
url
}
);background-size: cover;`
},
dataWatch
()
{
return
this
.
navItemIndex
}
},
watch
:
{
dataWatch
(
newV
)
{
this
.
showActiveIndex
=
this
.
navItemIndex
this
.
$forceUpdate
()
}
}
}
}
}
}
...
...
src/pages/practice/index.vue
浏览文件 @
0024eaac
<
template
>
<
template
>
<div>
<div>
<div
class=
"head-steps"
>
<div
class=
"head-steps"
>
<div
class=
"title"
>
产品分析
</div>
<div
class=
"title"
>
<div
class=
"name"
v-if=
"dataParam.stepIndex == 0"
>
产品分析
</div>
<div
class=
"name"
v-if=
"dataParam.stepIndex == 1"
>
用户分析
</div>
<div
class=
"name"
v-if=
"dataParam.stepIndex == 2"
>
用户触达
</div>
<div
class=
"tab-btns"
@
click=
"$router.push('/index')"
>
切换案例
</div>
</div>
<ul
class=
"steps-box"
>
<ul
class=
"steps-box"
>
<li
@
click=
"stepChange(0)"
:class=
"dataParam.stepIndex == 0 && 'active'"
>
1. 产品分析
</li>
<li
@
click=
"stepChange(0)"
:class=
"dataParam.stepIndex == 0 && 'active'"
>
1. 产品分析
</li>
<li
@
click=
"stepChange(1)"
:class=
"dataParam.stepIndex == 1 && 'active'"
>
2. 用户分析
</li>
<li
@
click=
"stepChange(1)"
:class=
"dataParam.stepIndex == 1 && 'active'"
>
2. 用户分析
</li>
...
@@ -77,8 +82,23 @@ export default {
...
@@ -77,8 +82,23 @@ export default {
padding
:
0
16px
;
padding
:
0
16px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.title
{
.title
{
line-height
:
54px
;
// line-height: 54px;
height
:
54px
;
display
:
flex
;
align-items
:
center
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
.tab-btns
{
width
:
104px
;
height
:
32px
;
background
:
linear-gradient
(
315deg
,
rgba
(
225
,
47
,
116
,
0
.83
)
0%
,
#C01540
100%
);
border-radius
:
4px
;
margin-left
:
auto
;
font-size
:
14px
;
color
:
#F8F8F8
;
cursor
:
pointer
;
text-align
:
center
;
line-height
:
32px
;
}
}
}
.steps-box
{
.steps-box
{
display
:
flex
;
display
:
flex
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论