Browse Source

搜索完成一半

pull/19/head
zyronon 4 years ago
parent
commit
3503e68032
  1. 6
      src/components/slide/SlideRowList.vue
  2. 8
      src/config/index.js

6
src/components/slide/SlideRowList.vue

@ -24,8 +24,8 @@ @@ -24,8 +24,8 @@
<Loading class="loading" style="width: 4rem;" :style="loadingStyle" :is-full-screen="false"/>
</div>
<div class="indicator-bullets" v-if="indicatorType === 'bullets'">
<div class="bullet" :class="{active:currentSlideItemIndex === item}" v-for="item in slideItems.length-1"></div>
<div class="indicator-bullets" v-if="indicatorType === 'bullets' && slideItems.length">
<div class="bullet" :class="{active:currentSlideItemIndex === item-1}" v-for="item in slideItems.length"></div>
</div>
<div id="base-slide-list" ref="slideList"
@ -141,7 +141,7 @@ export default { @@ -141,7 +141,7 @@ export default {
isNeedCheck: true,
slideList: null,
slideItems: null,
slideItems: [],
indicatorRef: null,
slideItemsWidths: [],
tabIndicatorRelationActiveIndexLefts: [],//slideItemindexleft,

8
src/config/index.js

@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
export default {
// baseUrl: 'http://192.168.0.103/index.php/v1',
// filePreview:'http://192.168.0.103/static/uploads/',
baseUrl: 'http://192.168.10.164/index.php/v1',
filePreview:'http://192.168.10.164/static/uploads/'
baseUrl: 'http://192.168.0.103/index.php/v1',
filePreview:'http://192.168.0.103/static/uploads/',
// baseUrl: 'http://192.168.10.164/index.php/v1',
// filePreview:'http://192.168.10.164/static/uploads/'
// baseUrl: 'http://localhost/index.php/v1',
// filePreview:'http://localhost/static/uploads/'
}
Loading…
Cancel
Save