|
@@ -1,20 +1,20 @@
|
|
|
<template>
|
|
|
<div class="client-gangwei-box">
|
|
|
<div class="client-container">
|
|
|
- <h4 class="gangwei-label" v-if="label">{{label}}</h4>
|
|
|
+ <h4 class="gangwei-title" v-if="label">{{label}}</h4>
|
|
|
|
|
|
- <div class="gangwei-row mta-hidden-xs" :class="rowClassPc" v-for="(rowList,index) in myListPc" :key="`pc-${index}`">
|
|
|
+ <div class="gangwei-cp-row mta-hidden-xs" :class="rowClassPc" v-for="(rowList,index) in myListPc" :key="`pc-${index}`">
|
|
|
<template v-for="(des,ind) in rowList">
|
|
|
<!-- 站位div -->
|
|
|
<div v-if="des.type === 'empty'"></div>
|
|
|
- <iconGangwei v-else class="my-icon" :key="ind" :des="des" :style="iconStylePc"></iconGangwei>
|
|
|
+ <iconGangwei v-else :key="ind" :des="des" :style="iconStylePc"></iconGangwei>
|
|
|
</template>
|
|
|
</div>
|
|
|
- <div class="gangwei-row mta-hidden-sm cur-h5" :class="rowClassH5"v-for="(rowList,index) in myListH5" :key="`h5${index}`">
|
|
|
+ <div class="gangwei-phone-row mta-hidden-sm" :class="rowClassH5"v-for="(rowList,index) in myListH5" :key="`h5${index}`">
|
|
|
<template v-for="(des,ind) in rowList">
|
|
|
<!-- 站位div -->
|
|
|
<div v-if="des.type === 'empty'"></div>
|
|
|
- <iconGangwei v-else class="my-icon" :key="ind" :des="des" :style="iconStyleH5"></iconGangwei>
|
|
|
+ <iconGangwei v-else :key="ind" :des="des" :style="iconStyleH5"></iconGangwei>
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -98,45 +98,51 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
-.client-gangwei-box {
|
|
|
- margin: 0 auto;
|
|
|
+<style lang="scss">
|
|
|
+ .client-gangwei-box {
|
|
|
+ // 标题
|
|
|
+ .gangwei-title {font-size: 30px;color: #333;font-weight: 800;text-align: center;margin: 92px 0 105px;}
|
|
|
|
|
|
- .gangwei-row {
|
|
|
- width: 98%;
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- justify-content: center;
|
|
|
- margin-bottom: 119px;
|
|
|
-
|
|
|
- .my-icon {
|
|
|
- &:last-child {
|
|
|
- margin-right: 0 !important;
|
|
|
+ /**************** pc样式 ****************/
|
|
|
+ .gangwei-cp-row{display: flex;flex-wrap: wrap;}
|
|
|
+ // 图标列表
|
|
|
+ .gangwei-icon-three,.gangwei-icon-four{
|
|
|
+ text-align: center;
|
|
|
+ .gangwei-icon{margin-bottom: 116px}
|
|
|
+ .gangwei-icon-content{
|
|
|
+ display: inline-block;margin: 0 auto;text-align: center;
|
|
|
+ i{width:164px;height:164px;margin:0 auto 22px;display: block;
|
|
|
+ background-repeat: no-repeat;background-position: center;background-size: contain;}
|
|
|
+ p{font-size: 18px;font-weight: 800;color: #333333;}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
|
|
|
- .gangwei-label {
|
|
|
- text-align: center;
|
|
|
- font-size: 30px;
|
|
|
- color: #333;
|
|
|
- margin-bottom: 160px;
|
|
|
- margin-top: 90px;
|
|
|
- font-weight: 800;
|
|
|
- }
|
|
|
+ // 一行三个
|
|
|
+ .gangwei-icon-three{
|
|
|
+ .gangwei-icon{width: 33.33%;}
|
|
|
+ }
|
|
|
|
|
|
-}
|
|
|
-.client-gangwei-box {
|
|
|
- @media (max-width: 768px){
|
|
|
- .gangwei-label {
|
|
|
- margin-bottom: 60px;
|
|
|
+ // 一行四个
|
|
|
+ .gangwei-icon-four{
|
|
|
+ .gangwei-icon{width: 25%;}
|
|
|
}
|
|
|
|
|
|
- .gangwei-row {
|
|
|
- margin-bottom: 60px;
|
|
|
+ /**************** 手机样式 ****************/
|
|
|
+ @media (max-width: 768px){
|
|
|
+ // 标题
|
|
|
+ .gangwei-title {font-size: 18px;margin: 50px 0 26px;}
|
|
|
+ .gangwei-phone-row{display: flex;flex-wrap: wrap;}
|
|
|
+ .gangwei-icon-two{
|
|
|
+ text-align: center;
|
|
|
+ .gangwei-icon{width: 50%;margin-bottom: 25px;}
|
|
|
+ .gangwei-icon-content{
|
|
|
+ display: inline-block;margin: 0 auto;text-align: center;
|
|
|
+ i{width:75px;height:75px;margin:0 auto 10px;display: block;
|
|
|
+ background-repeat: no-repeat;background-position: center;background-size: contain;}
|
|
|
+ p{font-size: 16px;font-weight: normal;color: #333333;}
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
</style>
|