-
6canvas-container/components/canvasEditPage.vue
-
36canvas-container/components/canvasShow/basics/classifyheader/app/index.vue
-
1canvas-container/components/canvasShow/basics/classifyheader/mixin.js
-
44canvas-container/components/canvasShow/basics/classifyheader/pc/index.vue
-
667canvas-container/components/canvasShow/basics/product/app/index.vue
-
62canvas-container/components/canvasShow/basics/product/mixin.js
-
734canvas-container/components/canvasShow/basics/product/pc/index.vue
-
10canvas-container/components/canvasShow/basics/text.vue
-
BINcanvas-container/components/canvasShow/static/images/product/icon_add.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_index_1.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_index_2.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_index_3.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_love.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_right_arrow.png
-
BINcanvas-container/components/canvasShow/static/images/product/icon_star.png
-
7canvas-container/components/leftBar/panelList.js
-
27canvas-container/components/toolBar/BasicsComp/classifyheaderTool.vue
-
29canvas-container/components/toolBar/goodsComp/productList.vue
-
26canvas-container/components/toolBar/toolModule/tool-product-source.vue
-
3canvas-container/locales/en.json
-
4canvas-container/locales/zh-CN.json
-
7src/locales/en.json
-
8src/locales/zh-CN.json
-
3src/views/stock/stocknote/Edit.vue
@ -1,226 +1,632 @@ |
|||
<template> |
|||
<div class="product-list" :class="'terminal'+terminal"> |
|||
<div class="product-list" :class="'terminal' + terminal"> |
|||
<div class="picListWarp" v-if="componentContent.arrangeType == '横向滑动'"> |
|||
<div class="picList" v-if="productData && productData.length>0"> |
|||
<div class="picList" v-if="productData && productData.length > 0"> |
|||
<div class="swiper-button-prev"></div> |
|||
<div class="swiper-button-next"></div> |
|||
<swiper ref="swiper" class="products-swiper" :options="swiperOption"> |
|||
<swiper-slide class="products-swiper-slide item" v-for="(item,index) in productData" :key="index"> |
|||
<div class="a-link" @click="jumpProductDetail(item)"> |
|||
<div class="itemImgBox"> |
|||
<div class="imgBox"> |
|||
<el-image |
|||
:src="item.image" |
|||
fit="contain"></el-image> |
|||
</div> |
|||
<swiper-slide class="products-swiper-slide item" v-for="(item, index) in productData" :key="index"> |
|||
|
|||
<div class="a-link" v-if="componentContent.productStyleValue == '1'" @click="jumpProductDetail(item)"> |
|||
<div class="itemImgBox"> |
|||
<div class="imgBox"> |
|||
<el-image :src="item.image" fit="contain"></el-image> |
|||
</div> |
|||
<div class="text"> |
|||
<h4 class="h4">{{item.productName}}</h4> |
|||
<div class="priceBox"> |
|||
<span>¥{{item.price}}</span> |
|||
<span class="discount" v-if="item.originalPrice">¥{{item.originalPrice}}</span> |
|||
</div> |
|||
<div class="text"> |
|||
<h4 class="h4">{{ item.productName }}</h4> |
|||
<div class="priceBox"> |
|||
<span>¥{{ item.price }}</span> |
|||
<span class="discount" v-if="item.originalPrice">¥{{ item.originalPrice }}</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="product-swiper-item" v-if="componentContent.productStyleValue == '2'" |
|||
@click="jumpProductDetail(item)"> |
|||
<div class="product-swiper-img"> |
|||
<img class="img pic-img default-img" :src="item.image" |
|||
onerror="this.src='url(https://ceres.zkthink.com/static/root/default.png) no-repeat center';this.οnerrοr=null"> |
|||
</div> |
|||
<div class="product-swiper-info"> |
|||
<div class="product-info-content"> |
|||
<div class="product-name-row"> |
|||
<label class="product-name">{{ item.productName }}</label> |
|||
<img class="product-star" src="../../../static/images/product/icon_star.png"> |
|||
|
|||
<label class="product-star-text">{{ item.qaNum || 3.5 }}</label> |
|||
</div> |
|||
<div class="product-price-row"> |
|||
<div class="price-warp"> |
|||
¥ {{ item.price }} |
|||
</div> |
|||
<img class="product-add" src="../../../static/images/product/icon_add.png"> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="item3" v-if="componentContent.productStyleValue == '3'" @click="jumpProductDetail(item)"> |
|||
<div class="item3_name">{{ item.productName }}</div> |
|||
<div class="item3_image"><el-image :src="item.image" fit="contain"></el-image></div> |
|||
<div class="item3_btn_row"> |
|||
<div class="item3_btn">点击</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="item4" v-if="componentContent.productStyleValue == '4'" @click="jumpProductDetail(item)"> |
|||
|
|||
<div class="item4_content"> |
|||
<div class="item4_image"><el-image :src="item.image" fit="contain"></el-image></div> |
|||
<div class="item4_info"> |
|||
<div class="item4_name">{{ item.productName }}</div> |
|||
<div class="item4_price">¥{{ item.price }}</div> |
|||
</div> |
|||
|
|||
<div class="item4_arrow"> |
|||
<img src="../../../static/images/product/icon_right_arrow.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="item4_index_image" v-if="index < 3"> |
|||
<img src="../../../static/images/product/icon_index_1.png" v-if="index == 0"> |
|||
<img src="../../../static/images/product/icon_index_2.png" v-if="index == 1"> |
|||
<img src="../../../static/images/product/icon_index_3.png" v-if="index == 2"> |
|||
</div> |
|||
</div> |
|||
|
|||
</swiper-slide> |
|||
</swiper> |
|||
</div> |
|||
</div> |
|||
<div v-else class="picList" > |
|||
<ul class="clearfix" :class="'imgTextNum' + componentContent.productNum"> |
|||
<li class="item" v-for="(item,index) in productData.slice(0, componentContent.productRowNum * componentContent.productNum)" :key="index"> |
|||
<div class="a-link" @click="jumpProductDetail(item)"> |
|||
<div v-else class="picList"> |
|||
<ul class="clearfix" :class="'imgTextNum' + componentContent.productNum"> |
|||
<li class="item" |
|||
v-for="(item, index) in productData.slice(0, componentContent.productRowNum * componentContent.productNum)" |
|||
:key="index"> |
|||
|
|||
|
|||
<div class="a-link" v-if="componentContent.productStyleValue == '1'" @click="jumpProductDetail(item)"> |
|||
<div class="itemImgBox"> |
|||
<div class="imgBox"> |
|||
<el-image |
|||
:src="item.image" |
|||
fit="contain"></el-image> |
|||
<el-image :src="item.image" fit="contain"></el-image> |
|||
</div> |
|||
</div> |
|||
<div class="text"> |
|||
<h4 class="h4">{{item.productName}}</h4> |
|||
<h4 class="h4">{{ item.productName }}</h4> |
|||
<div class="priceBox"> |
|||
<span>¥{{item.price}}</span> |
|||
<span class="discount" v-if="item.originalPrice">¥{{item.originalPrice}}</span> |
|||
<span>¥{{ item.price }}</span> |
|||
<span class="discount" v-if="item.originalPrice">¥{{ item.originalPrice }}</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="product-swiper-item" v-if="componentContent.productStyleValue == '2'" |
|||
@click="jumpProductDetail(item)"> |
|||
<div class="product-swiper-img"> |
|||
<img class="img pic-img default-img" :src="item.image" |
|||
onerror="this.src='url(https://ceres.zkthink.com/static/root/default.png) no-repeat center';this.οnerrοr=null"> |
|||
</div> |
|||
<div class="product-swiper-info"> |
|||
<div class="product-info-content"> |
|||
<div class="product-name-row"> |
|||
<label class="product-name">{{ item.productName }}</label> |
|||
<img class="product-star" src="../../../static/images/product/icon_star.png"> |
|||
|
|||
<label class="product-star-text">{{ item.qaNum || 3.5 }}</label> |
|||
</div> |
|||
<div class="product-price-row"> |
|||
<div class="price-warp"> |
|||
¥ {{ item.price }} |
|||
</div> |
|||
<img class="product-add" src="../../../static/images/product/icon_add.png"> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="item3" v-if="componentContent.productStyleValue == '3'" @click="jumpProductDetail(item)"> |
|||
<div class="item3_name">{{ item.productName }}</div> |
|||
<div class="item3_image"><el-image :src="item.image" fit="contain"></el-image></div> |
|||
<div class="item3_btn_row"> |
|||
<div class="item3_btn">点击</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="item4" v-if="componentContent.productStyleValue == '4'" @click="jumpProductDetail(item)"> |
|||
|
|||
<div class="item4_content"> |
|||
<div class="item4_image"><el-image :src="item.image" fit="contain"></el-image></div> |
|||
<div class="item4_info"> |
|||
<div class="item4_name">{{ item.productName }}</div> |
|||
<div class="item4_price">¥{{ item.price }}</div> |
|||
</div> |
|||
|
|||
<div class="item4_arrow"> |
|||
<img src="../../../static/images/product/icon_right_arrow.png"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="item4_index_image" v-if="index < 3"> |
|||
<img src="../../../static/images/product/icon_index_1.png" v-if="index == 0"> |
|||
<img src="../../../static/images/product/icon_index_2.png" v-if="index == 1"> |
|||
<img src="../../../static/images/product/icon_index_3.png" v-if="index == 2"> |
|||
</div> |
|||
</div> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<button v-show="componentContent.showMore" class="btn-more" @click="jumpLink(componentContent.linkObj)">{{ $t('common.seeall') }} <span class="icon iconfont icon-arrow-right"></span></button> |
|||
<button v-show="componentContent.showMore" class="btn-more" @click="jumpLink(componentContent.linkObj)">{{ |
|||
$t('common.seeall') }} <span class="icon iconfont icon-arrow-right"></span></button> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import {commonMixin} from '../mixin' |
|||
export default { |
|||
mixins: [commonMixin], |
|||
data () { |
|||
return { |
|||
swiperOption: { |
|||
slidesPerView: 4, // 显示数量 |
|||
spaceBetween: 13, // 间隔 |
|||
autoplay: false, // 可选选项,自动滑动 |
|||
loop: true, |
|||
pagination: { |
|||
el: '.product-pagination' |
|||
}, |
|||
navigation: { |
|||
nextEl: '.swiper-button-next', |
|||
prevEl: '.swiper-button-prev' |
|||
} |
|||
import { commonMixin } from '../mixin' |
|||
export default { |
|||
mixins: [commonMixin], |
|||
data() { |
|||
return { |
|||
swiperOption: { |
|||
slidesPerView: 4, // 显示数量 |
|||
spaceBetween: 13, // 间隔 |
|||
autoplay: false, // 可选选项,自动滑动 |
|||
loop: true, |
|||
pagination: { |
|||
el: '.product-pagination' |
|||
}, |
|||
navigation: { |
|||
nextEl: '.swiper-button-next', |
|||
prevEl: '.swiper-button-prev' |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.product-list{ |
|||
padding: 20px 0; |
|||
background-color: #fff; |
|||
.picListWarp{ |
|||
width: 1380px; |
|||
max-width: 100%; |
|||
margin: 0 auto; |
|||
position: relative; |
|||
.product-list { |
|||
padding: 20px 0; |
|||
background-color: #FAFAFA; |
|||
|
|||
.picListWarp { |
|||
width: 1380px; |
|||
max-width: 100%; |
|||
margin: 0 auto; |
|||
position: relative; |
|||
} |
|||
|
|||
.picList { |
|||
width: 1200px; |
|||
max-width: 100%; |
|||
margin: 0 auto; |
|||
|
|||
.swiper-button-prev, |
|||
.swiper-button-next { |
|||
width: 50px; |
|||
height: 50px; |
|||
position: absolute; |
|||
cursor: pointer; |
|||
top: 140px; |
|||
background-repeat: no-repeat; |
|||
|
|||
&:after { |
|||
content: ''; |
|||
} |
|||
} |
|||
.picList{ |
|||
width: 1200px; |
|||
max-width: 100%; |
|||
margin: 0 auto; |
|||
.swiper-button-prev,.swiper-button-next{ |
|||
width: 50px; |
|||
height: 50px; |
|||
position: absolute; |
|||
cursor:pointer; |
|||
top: 140px; |
|||
background-repeat: no-repeat; |
|||
&:after{ |
|||
content: ''; |
|||
|
|||
.swiper-button-prev { |
|||
left: 0; |
|||
background: url('../../../static/images/btn-prev.png'); |
|||
} |
|||
|
|||
.swiper-button-next { |
|||
right: 0; |
|||
background: url('../../../static/images/btn-next.png'); |
|||
} |
|||
|
|||
.a-link { |
|||
cursor: pointer; |
|||
|
|||
&:hover { |
|||
box-shadow: 3px 4px 20px 0px rgba(186, 186, 186, 0.5); |
|||
} |
|||
|
|||
.itemImgBox { |
|||
height: auto; |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
|
|||
.imgBox { |
|||
padding-bottom: 100%; |
|||
background-color: #cacaca; |
|||
position: relative; |
|||
|
|||
.el-image { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
} |
|||
} |
|||
} |
|||
.swiper-button-prev{ |
|||
left: 0; |
|||
background: url('../../../static/images/btn-prev.png'); |
|||
|
|||
.text { |
|||
padding: 25px 20px 17px; |
|||
text-align: center; |
|||
|
|||
//height: 180px; |
|||
.h4 { |
|||
font-size: 18px; |
|||
line-height: 24px; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
color: #333333; |
|||
//max-height: 48px; |
|||
} |
|||
|
|||
.p { |
|||
color: #999; |
|||
font-size: 16px; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
padding-top: 18px; |
|||
position: relative; |
|||
margin-top: 8px; |
|||
|
|||
&:after { |
|||
position: absolute; |
|||
top: 0; |
|||
left: 50%; |
|||
margin-left: -80px; |
|||
width: 160px; |
|||
height: 2px; |
|||
background: #F0F0F0; |
|||
content: ''; |
|||
} |
|||
} |
|||
|
|||
.priceBox { |
|||
padding-top: 11px; |
|||
line-height: 33px; |
|||
|
|||
span { |
|||
font-size: 25px; |
|||
color: #C83732; |
|||
padding-right: 12px; |
|||
} |
|||
|
|||
span.discount { |
|||
font-size: 18px; |
|||
color: #ccc; |
|||
text-decoration: line-through; |
|||
} |
|||
} |
|||
} |
|||
.swiper-button-next{ |
|||
right: 0; |
|||
background: url('../../../static/images/btn-next.png'); |
|||
} |
|||
|
|||
ul { |
|||
margin: -15px 0 0 -15px; |
|||
display: flex; |
|||
flex-wrap: wrap; |
|||
|
|||
li { |
|||
flex: 0 0 50%; |
|||
padding: 15px; |
|||
width: 0; |
|||
} |
|||
} |
|||
|
|||
.imgTextNum2 { |
|||
li { |
|||
flex: 0 0 50%; |
|||
} |
|||
} |
|||
|
|||
.imgTextNum3 { |
|||
li { |
|||
flex: 0 0 33.33%; |
|||
} |
|||
} |
|||
|
|||
.imgTextNum4 { |
|||
li { |
|||
flex: 0 0 25%; |
|||
} |
|||
} |
|||
|
|||
.imgTextNum5 { |
|||
li { |
|||
flex: 0 0 20%; |
|||
} |
|||
.a-link{ |
|||
cursor: pointer; |
|||
&:hover{ |
|||
box-shadow: 3px 4px 20px 0px rgba(186, 186, 186, 0.5); |
|||
} |
|||
|
|||
|
|||
.product-swiper-item { |
|||
height: 320px; |
|||
width: 242px !important; |
|||
position: relative; |
|||
|
|||
.product-swiper-img { |
|||
width: 210px; |
|||
height: 220px; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
background: #F6F6F8; |
|||
border: 2px solid #FFFFFF; |
|||
border-radius: 16px; |
|||
position: relative; |
|||
padding: 20px; |
|||
z-index: 2; |
|||
|
|||
.img { |
|||
width: 100%; |
|||
height: 100%; |
|||
object-fit: contain; |
|||
} |
|||
.itemImgBox { |
|||
height: auto; |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
.imgBox { |
|||
padding-bottom: 100%; |
|||
background-color: #cacaca; |
|||
position: relative; |
|||
.el-image { |
|||
} |
|||
|
|||
.product-swiper-info { |
|||
width: 242px; |
|||
height: 210px; |
|||
position: absolute; |
|||
top: 110px; |
|||
background: #FDFDFD; |
|||
box-shadow: 0px 16px 24px 0px #F6F6F6; |
|||
border-radius: 16px; |
|||
text-align: center; |
|||
|
|||
.product-info-content { |
|||
margin-top: 125px; |
|||
|
|||
.product-name-row { |
|||
width: 100%; |
|||
height: 22px; |
|||
line-height: 22px; |
|||
display: flex; |
|||
flex-direction: row; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: flex-start; |
|||
align-items: center; |
|||
|
|||
.product-name { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
height: auto; |
|||
font-size: 16px; |
|||
font-family: Source Han Sans CN; |
|||
font-weight: bold; |
|||
color: #252744; |
|||
display: block; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
line-height: 28px; |
|||
margin-left: 24px; |
|||
text-align: left; |
|||
} |
|||
|
|||
.product-star { |
|||
width: 22px; |
|||
height: 22px; |
|||
} |
|||
|
|||
.product-star-text { |
|||
width: auto; |
|||
height: 28px; |
|||
line-height: 28px; |
|||
font-size: 14px; |
|||
font-family: Source Han Sans CN; |
|||
font-weight: bold; |
|||
color: #A5A5AD; |
|||
margin-right: 20px; |
|||
margin-left: 5px; |
|||
} |
|||
} |
|||
} |
|||
.text{ |
|||
padding:25px 20px 17px; |
|||
text-align: center; |
|||
//height: 180px; |
|||
.h4{ |
|||
font-size: 18px; |
|||
line-height: 24px; |
|||
overflow: hidden; |
|||
text-overflow:ellipsis; |
|||
white-space: nowrap; |
|||
color: #333333; |
|||
//max-height: 48px; |
|||
} |
|||
.p{ |
|||
color: #999; |
|||
font-size: 16px; |
|||
overflow: hidden; |
|||
text-overflow:ellipsis; |
|||
white-space: nowrap; |
|||
padding-top: 18px; |
|||
position: relative; |
|||
margin-top: 8px; |
|||
&:after{ |
|||
position: absolute; |
|||
top: 0; |
|||
left: 50%; |
|||
margin-left: -80px; |
|||
width: 160px; |
|||
height: 2px; |
|||
background: #F0F0F0; |
|||
content: ''; |
|||
|
|||
.product-sku-row { |
|||
width: 100%; |
|||
height: 28px; |
|||
line-height: 28px; |
|||
margin-top: 15px; |
|||
display: flex; |
|||
flex-direction: row; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: flex-start; |
|||
align-items: center; |
|||
|
|||
.product-sku-name { |
|||
font-size: 24px; |
|||
font-family: Source Han Sans CN; |
|||
font-weight: 400; |
|||
color: #90919C; |
|||
margin-left: 30px; |
|||
} |
|||
} |
|||
.priceBox { |
|||
padding-top: 11px; |
|||
line-height: 33px; |
|||
span { |
|||
font-size: 25px; |
|||
color: #C83732; |
|||
padding-right: 12px; |
|||
|
|||
.product-price-row { |
|||
width: 100%; |
|||
height: 50px; |
|||
line-height: 50px; |
|||
display: flex; |
|||
flex-direction: row; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
margin-top: 10px; |
|||
|
|||
.price-warp { |
|||
display: flex; |
|||
align-items: center; |
|||
line-height: 28px; |
|||
margin-left: 24px; |
|||
justify-content: flex-start; |
|||
width: auto; |
|||
flex-direction: row; |
|||
flex-wrap: nowrap; |
|||
font-size: 14px; |
|||
font-family: Source Han Sans CN; |
|||
font-weight: bold; |
|||
color: #252744; |
|||
} |
|||
span.discount { |
|||
font-size: 18px; |
|||
color: #ccc; |
|||
text-decoration: line-through; |
|||
|
|||
.product-add { |
|||
width: 50px; |
|||
height: 50px; |
|||
margin-right: 24px; |
|||
} |
|||
} |
|||
|
|||
|
|||
} |
|||
} |
|||
ul{ |
|||
margin: -15px 0 0 -15px; |
|||
display: flex; |
|||
flex-wrap: wrap; |
|||
li{ |
|||
flex: 0 0 50%; |
|||
padding: 15px 0 0 15px; |
|||
width: 0; |
|||
} |
|||
} |
|||
|
|||
.item3 { |
|||
display: flex; |
|||
flex-direction: column; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: center; |
|||
align-items: center; |
|||
background: #F6F6F8; |
|||
box-shadow: 0px 12px 24px 0px #EDEDED; |
|||
border-radius: 24px; |
|||
border: 1px solid #FFFFFF; |
|||
|
|||
.item3_name { |
|||
font-family: Source Han Sans CN; |
|||
font-weight: 400; |
|||
font-size: 14px; |
|||
color: #252744; |
|||
margin-top: 15px; |
|||
} |
|||
.imgTextNum2 { |
|||
li { |
|||
flex: 0 0 50%; |
|||
} |
|||
|
|||
.item3_image { |
|||
margin: 15px; |
|||
} |
|||
.imgTextNum3 { |
|||
li { |
|||
flex: 0 0 33.33%; |
|||
|
|||
.item3_btn_row { |
|||
margin-bottom: 15px; |
|||
|
|||
.item3_btn { |
|||
background: #252744; |
|||
border-radius: 16px; |
|||
font-family: Microsoft YaHei; |
|||
font-weight: 400; |
|||
font-size: 12px; |
|||
color: #FFFFFF; |
|||
padding-left: 20px; |
|||
padding-right: 20px; |
|||
padding-top: 8px; |
|||
padding-bottom: 8px; |
|||
} |
|||
} |
|||
.imgTextNum4 { |
|||
li { |
|||
flex: 0 0 25%; |
|||
} |
|||
|
|||
.item4 { |
|||
|
|||
height: 210px; |
|||
background: #FDFDFD; |
|||
box-shadow: 0px 24px 60px 0px #E5E5E5; |
|||
border-radius: 16px; |
|||
position: relative; |
|||
|
|||
.item4_index_image { |
|||
width: 50px; |
|||
height: 50px; |
|||
position: absolute; |
|||
left: 26px; |
|||
z-index: 100; |
|||
|
|||
img{ |
|||
width: 100%; |
|||
} |
|||
} |
|||
.imgTextNum5 { |
|||
li { |
|||
flex: 0 0 20%; |
|||
|
|||
.item4_content { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
display: flex; |
|||
flex-direction: row; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
|
|||
.item4_image { |
|||
width: 164px; |
|||
height: 164px; |
|||
background: #F6F6F7; |
|||
border-radius: 8rpx; |
|||
margin: 24px; |
|||
|
|||
img{ |
|||
width: 100%; |
|||
} |
|||
} |
|||
|
|||
.item4_info { |
|||
height: 100%; |
|||
padding-top: 46px; |
|||
padding-bottom: 46px; |
|||
flex: 1; |
|||
display: flex; |
|||
flex-direction: column; |
|||
flex-wrap: nowrap; |
|||
align-content: center; |
|||
justify-content: space-between; |
|||
align-items: flex-start; |
|||
|
|||
.item4_name { |
|||
font-family: Microsoft YaHei; |
|||
font-weight: bold; |
|||
font-size: 20px; |
|||
color: #252744; |
|||
} |
|||
|
|||
.item4_price { |
|||
font-family: Source Han Sans CN; |
|||
font-weight: 400; |
|||
font-size: 20px; |
|||
color: #252744; |
|||
} |
|||
} |
|||
|
|||
.item4_arrow { |
|||
width: 20px; |
|||
height: 20px; |
|||
margin: 24px; |
|||
img{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
.btn-more { |
|||
width: 130px; |
|||
height: 41px; |
|||
border: 2px solid #C5AA7B; |
|||
color: #C5AA7B; |
|||
font-size: 18px; |
|||
background-color: transparent; |
|||
margin: 20px auto 0; |
|||
display: block; |
|||
} |
|||
</style> |
|||
} |
|||
|
|||
.btn-more { |
|||
width: 130px; |
|||
height: 41px; |
|||
border: 2px solid #C5AA7B; |
|||
color: #C5AA7B; |
|||
font-size: 18px; |
|||
background-color: transparent; |
|||
margin: 20px auto 0; |
|||
display: block; |
|||
}</style> |
After Width: 114 | Height: 114 | Size: 16 KiB |
After Width: 128 | Height: 126 | Size: 2.0 KiB |
After Width: 128 | Height: 126 | Size: 2.2 KiB |
After Width: 128 | Height: 126 | Size: 2.4 KiB |
After Width: 105 | Height: 105 | Size: 9.9 KiB |
After Width: 200 | Height: 200 | Size: 4.7 KiB |
After Width: 50 | Height: 50 | Size: 1.7 KiB |