Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-h5
Commits
268560aa
提交
268560aa
authored
7月 25, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore:marywood营销页面添加按钮
上级
2c0b5b1e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
55 行增加
和
22 行删除
+55
-22
MaryBanner.vue
components/marywood/MaryBanner.vue
+55
-22
没有找到文件。
components/marywood/MaryBanner.vue
浏览文件 @
268560aa
<
template
>
<div
class=
"main_content"
>
<a
href=
"https://marywood-plus.ezijing.com"
target=
"_blank"
>
<img
src=
"https://webapp-pub.ezijing.com/www/h5/marywood/mary_banner1.png"
alt=
""
/>
</a>
<a
href=
"https://marywood.ezijing.com"
target=
"_blank"
>
<img
src=
"https://webapp-pub.ezijing.com/www/h5/marywood/mary_banner2.png"
alt=
""
/>
</a>
<div
class=
"main_content "
>
<div
class=
"container_item banner1"
>
<a
href=
"https://marywood-plus.ezijing.com"
target=
"_blank"
>
<div
class=
"btn_detail"
>
查看详情
</div>
</a>
</div>
<div
class=
"container_item banner2"
>
<a
href=
"https://marywood.ezijing.com"
target=
"_blank"
>
<div
class=
"btn_detail"
>
查看详情
</div>
</a>
</div>
</div>
</
template
>
<
script
>
export
default
{}
</
script
>
<
script
>
export
default
{}
</
script
>
<
style
scoped
>
.main_content
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
}
img
{
<
style
lang=
"scss"
scoped
>
.main_content
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
.container_item
{
width
:
2
.75rem
;
height
:
2
.75rem
;
margin-top
:
.37rem
;
}
</
style
>
</template>
margin-top
:
0
.42rem
;
position
:
relative
;
.btn_detail
{
width
:
0
.87rem
;
height
:
0
.25rem
;
border
:
1px
solid
#ffffff
;
line-height
:
0
.25rem
;
text-align
:
center
;
font-size
:
0
.15rem
;
font-weight
:
500
;
color
:
#ffffff
;
position
:
absolute
;
top
:
2
.15rem
;
left
:
50%
;
transform
:
translateX
(
-50%
);
cursor
:
pointer
;
}
// .btn_detail:hover {
// background: #ffffff;
// color: #333333;
// }
}
.banner1
{
background
:
url(https://webapp-pub.ezijing.com/www/h5/marywood/mary_banner1.png)
no-repeat
;
background-size
:
100%
100%
;
}
.banner2
{
background
:
url(https://webapp-pub.ezijing.com/www/h5/marywood/mary_banner2.png)
;
background-size
:
contain
;
}
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论