feat(service-t): 更新页面样式和布局
- 添加页面背景图和标题样式 - 调整标题区域布局,增加图片和样式 - 优化商品区域样式- 更新颜色和字体样式
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 310 KiB After Width: | Height: | Size: 66 KiB |
BIN
src/assets/images/sunful/page-header.png
Normal file
BIN
src/assets/images/sunful/page-header.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
@@ -1,7 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="selectPreservation">
|
<div id="selectPreservation">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
{{ title }}
|
<img src="../../assets/images/sunful/page-header.png" alt="" />
|
||||||
|
<h2>{{ title }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="commodity">
|
<div class="commodity">
|
||||||
<ul ref="shopContent">
|
<ul ref="shopContent">
|
||||||
@@ -148,22 +149,46 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
#selectPreservation {
|
#selectPreservation {
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background-position: 100% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
.title {
|
.title {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 30px 20px 40px 20px;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background: #bd1c2d;
|
background: #ca2736;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
position: absolute;
|
||||||
|
top: 30px;
|
||||||
|
left: 15px;
|
||||||
|
font-family: Alibaba-PuHuiTi, Alibaba-PuHuiTi;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 26px;
|
||||||
|
color: #ffffff;
|
||||||
|
line-height: 32px;
|
||||||
|
text-align: left;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.commodity {
|
.commodity {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
background-image: url('../../assets/images/sunful/page-banner.png');
|
background-image: url('../../assets/images/sunful/page-banner.png');
|
||||||
background-position: 100% 100%;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
//background-position: 100% 100%;
|
||||||
|
|
||||||
.eventList {
|
.eventList {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
margin: 0 15px;
|
margin: 0 15px;
|
||||||
|
|||||||
Reference in New Issue
Block a user