Skip to content

Commit

Permalink
chore: update scroll example's img (didi#372)
Browse files Browse the repository at this point in the history
* chore: update scroll example's img

* chore: replace img links
  • Loading branch information
tank0317 authored and dolymood committed Dec 13, 2018
1 parent 870a302 commit 54fb5e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions example/pages/scroll/jd.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<template>
<cube-page type="scroll-view" title="Scroll" class="jd">
<div slot="content" class="scroll-list-wrap">
<header ref="topHeader"><img src="http://om0jxp12h.bkt.clouddn.com/jd_header2.png"></header>
<header ref="topHeader"><img src="https://dpubstatic.udache.com/static/dpubimg/_tEw0ofPJ9/jd_header2.png"></header>
<cube-scroll
ref="scroll"
:data="[]"
:scroll-events="['scroll']"
:options="options"
@scroll="onScrollHandle"
@pulling-down="onPullingDown">
<img src="http://om0jxp12h.bkt.clouddn.com/jd_content.JPG">
<img src="https://dpubstatic.udache.com/static/dpubimg/RWEjWgWJ4x/jd_content.JPG">
<template slot="pulldown" slot-scope="props">
<div
v-if="props.pullDownRefresh"
class="cube-pulldown-wrapper"
:style="pullDownStyle">
<div class="pulldown-content">
<img src="http://om0jxp12h.bkt.clouddn.com/pulldow-img.jpg" @load="onImgLoad">
<img src="https://dpubstatic.udache.com/static/dpubimg/7d895941-251f-471f-abc4-3eca25762465.jpg" @load="onImgLoad">
<span v-if="props.beforePullDown">{{ pullDownTip }}</span>
<template v-else>
<span v-if="props.isPullingDown">正在更新...</span>
Expand All @@ -26,12 +26,12 @@
</div>
</template>
</cube-scroll>
<footer><img src="http://om0jxp12h.bkt.clouddn.com/jd_footer2.png"></footer>
<footer><img src="https://dpubstatic.udache.com/static/dpubimg/cVujBAH2sp/jd_footer2.png"></footer>
<transition name="surprise-page">
<div v-if="triggerSurprise"
@click="surpriseHandle"
class="surprise-page">
<img src="http://om0jxp12h.bkt.clouddn.com/ad_fullpage2.jpg">
<img src="https://dpubstatic.udache.com/static/dpubimg/42DhMSHmIY/ad_fullpage2.jpg">
</div>
</transition>
</div>
Expand Down
10 changes: 5 additions & 5 deletions example/pages/scroll/toutiao.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<cube-page type="scroll-view" title="Scroll" class="toutiao">
<template slot="content">
<header ref="topHeader"><img src="http://om0jxp12h.bkt.clouddn.com/toutiao_header2.png"></header>
<header ref="topHeader"><img src="https://dpubstatic.udache.com/static/dpubimg/0K9-YvWB-Q/toutiao_header2.png"></header>
<div class="nav-scroll-list-wrap">
<cube-scroll ref="navScroll" direction="horizontal">
<ul class="nav-wrapper">
Expand Down Expand Up @@ -47,7 +47,7 @@
</cube-scroll>
</div>
</div>
<footer ref="footer"><img src="http://om0jxp12h.bkt.clouddn.com/toutiao_footer2.png"></footer>
<footer ref="footer"><img src="https://dpubstatic.udache.com/static/dpubimg/1KRE2YnAim/toutiao_footer2.png"></footer>
</template>
</cube-page>
</template>
Expand All @@ -57,13 +57,13 @@ import CubePage from '../../components/cube-page.vue'
const imgs = [
{
url: 'http://om0jxp12h.bkt.clouddn.com/toutiao_12.JPG'
url: 'https://dpubstatic.udache.com/static/dpubimg/7EzIhoEvnG/toutiao_12.JPG'
},
{
url: 'http://om0jxp12h.bkt.clouddn.com/toutiao_21.JPG'
url: 'https://dpubstatic.udache.com/static/dpubimg/GR0Piaf5sz/toutiao_21.JPG'
},
{
url: 'http://om0jxp12h.bkt.clouddn.com/toutiao_31.JPG'
url: 'https://dpubstatic.udache.com/static/dpubimg/K1JqUN8HSA/toutiao_31.JPG'
}
]
Expand Down

0 comments on commit 54fb5e2

Please sign in to comment.