加载更多效果

feature_0521
cuijie 5 years ago
parent 95a51d5ec0
commit 9f27c108cb

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 542 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
dist/favicon.ico vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
dist/images/bg.jpg vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

BIN
dist/images/jt.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

BIN
dist/images/lbx.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

BIN
dist/images/line.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

BIN
dist/images/map.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

1
dist/index.html vendored

@ -1 +0,0 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel=icon href=/dist/favicon.ico><title>优客</title><link href=/dist/assets/js/chunk-753dcded.js rel=prefetch><link href=/dist/assets/css/app.css rel=preload as=style><link href=/dist/assets/css/chunk-vendors.css rel=preload as=style><link href=/dist/assets/js/app.js rel=preload as=script><link href=/dist/assets/js/chunk-vendors.js rel=preload as=script><link href=/dist/assets/css/chunk-vendors.css rel=stylesheet><link href=/dist/assets/css/app.css rel=stylesheet></head><body><noscript><strong>We're sorry but kiisoo-ic-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/dist/assets/js/chunk-vendors.js></script><script src=/dist/assets/js/app.js></script></body></html>

Binary file not shown.

Binary file not shown.

@ -12,30 +12,20 @@
<div class="companyTable">
<div class="companyListClass">
<Row :gutter="10">
<div v-if="loading"
style="padding: 50px 0"
class="loading">
<div v-if="loading" style="padding: 50px 0" class="loading">
<Spin fix>加载中...</Spin>
</div>
<CheckboxGroup size="large"
@on-change="onChange"
v-model="isSelect">
<i-col span="8"
v-if="!item.hide && index < block"
:key="index"
v-for="(item, index) in shopList">
<Checkbox size="large"
:label="item.value"
border>
<span>{{ item.label }}</span>
<CheckboxGroup size="large" @on-change="onChange" v-model="isSelect">
<i-col span="8" v-if="!item.hide && index < block" :key="index" v-for="(item, index) in shopList">
<Checkbox size="large" :label="item.value" border>
<span :title="item.label">{{ item.label.substr(0, 18) }}</span>
</Checkbox>
</i-col>
</CheckboxGroup>
</Row>
</div>
<Spin size="large"
fix
v-if="loading"></Spin>
<Spin size="large" fix v-if="loading"></Spin>
<Button type="info" long v-if="block < orginShopList.length" @click="loadMore"></Button>
</div>
</div>
</template>
@ -144,6 +134,9 @@ export default {
}
});
},
loadMore() {
this.block += 50;
},
getShopInfo () {
let that = this;
let companyIds = [];

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save