Browse Source

居民端配置

preview
jiangyy 4 years ago
parent
commit
a0ff190338
  1. 22
      epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss
  2. 13
      epmet-oper-web/src/components/wx-index/cpt-item.vue

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

@ -859,6 +859,7 @@
// overflow-x: scroll;
overflow: hidden;
margin: 0 13px;
padding:0 0 13px 0;
background-color: white;
.link {
@ -893,24 +894,23 @@
.dots {
position: absolute;
bottom: 12px;
bottom: 10px;
left: 0;
right: 0;
width: 100%;
display: flex;
justify-content: center;
> i {
float: right;
position: relative;
top: 11px;
margin: 0 2px;
width: 5px;
height: 5px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.26);
.dot {
margin: 0 5px;
width: 20px;
height: 4px;
border-radius: 6px;
background-color: #ddd;
transition: all ease $ad1;
&.z-on {
background: rgba(255, 255, 255, 1);
background-color: $c1;
}
}
}

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

@ -187,16 +187,17 @@
</div>
<div class="dots">
<div class="dot z-on"></div>
<div class="dot"></div>
</div>
<!-- <div class="dots">
<i></i>
<i></i>
<i></i>
<i class="z-on"></i>
<!-- <div class="dot {{index==currentIndex ? 'z-on' : ''}}"
wx:key="*this"
wx:for-index="index"
wx:for-item="item"
wx:for="{{list}}"></div> -->
</div>
</div> -->
</div>
</div>

Loading…
Cancel
Save