Browse Source

分类书展开

dev
jiangyy 4 years ago
parent
commit
48aa55687a
  1. 39
      epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss
  2. 17
      epmet-oper-web/src/components/wx-index/cpt-item.vue
  3. 2
      epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue

39
epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss

@ -865,23 +865,32 @@
width: 100%; width: 100%;
position: relative; position: relative;
> img { .link-item{
width: 308px; display: inline;
margin: 13px; position: relative;
height: 160px;
border-radius: 10px; > img {
} width:45%;
span { // width: 308px;
position: absolute; margin: 8px;
top: 30px; // height: 160px;
left: 20px; border-radius: 10px;
color: #fff; }
font-size: 22px; span {
font-family: PingFang SC; position: absolute;
font-weight: bold; top: -10px;
color: #ffffff; left: 20px;
color: #fff;
font-size: 15px;
font-family: PingFang SC;
font-weight: bold;
color: #ffffff;
}
} }
} }
.dots { .dots {
position: absolute; position: absolute;
bottom: 12px; bottom: 12px;

17
epmet-oper-web/src/components/wx-index/cpt-item.vue

@ -173,14 +173,19 @@
<div class="d-cpt-wrap"> <div class="d-cpt-wrap">
<div class="link"> <div class="link">
<img src="@/assets/img/modules/wx-mini/index-set/wailian-bg.jpg" <div class="link-item">
mode="aspectFill" /> <img src="@/assets/img/modules/wx-mini/index-set/wailian-bg.jpg"
<span>{{'建议直通车'}}</span> mode="aspectFill" />
<img src="@/assets/img/modules/wx-mini/index-set/wailian-bg.jpg" <span>{{'建议直通车'}}</span>
mode="aspectFill" /> </div>
<span>{{'建议直通车'}}</span> <div class="link-item">
<img src="@/assets/img/modules/wx-mini/index-set/wailian-bg.jpg"
mode="aspectFill" />
<span>{{'建议直通车'}}</span>
</div>
</div> </div>
<div class="dots"> <div class="dots">
<i></i> <i></i>
<i></i> <i></i>

2
epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue

@ -14,7 +14,7 @@
</div> </div>
<el-table v-loading="dataListLoading" <el-table v-loading="dataListLoading"
:data="dataList" :data="dataList"
:default-expand-all="true" :default-expand-all="false"
row-key="categoryId" row-key="categoryId"
:cell-style="cellStyle" :cell-style="cellStyle"
border border

Loading…
Cancel
Save