Browse Source

居民端配置

dev
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-x: scroll;
overflow: hidden; overflow: hidden;
margin: 0 13px; margin: 0 13px;
padding:0 0 13px 0;
background-color: white; background-color: white;
.link { .link {
@ -893,24 +894,23 @@
.dots { .dots {
position: absolute; position: absolute;
bottom: 12px; bottom: 10px;
left: 0; left: 0;
right: 0; right: 0;
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
> i { .dot {
float: right; margin: 0 5px;
position: relative; width: 20px;
top: 11px; height: 4px;
margin: 0 2px; border-radius: 6px;
width: 5px; background-color: #ddd;
height: 5px; transition: all ease $ad1;
border-radius: 50%;
background: rgba(0, 0, 0, 0.26);
&.z-on { &.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>
<div class="dots"> <div class="dots">
<div class="dot z-on"></div>
<div class="dot"></div>
</div>
<!-- <div class="dots">
<i></i> <i></i>
<i></i> <i></i>
<i></i> <i></i>
<i class="z-on"></i> <i class="z-on"></i>
<!-- <div class="dot {{index==currentIndex ? 'z-on' : ''}}"
wx:key="*this" </div> -->
wx:for-index="index"
wx:for-item="item"
wx:for="{{list}}"></div> -->
</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save