Skip to content

Commit 578e139

Browse files
committedNov 21, 2019
Images path.
1 parent 6e659a9 commit 578e139

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed
 

‎docs/.vuepress/components/brush-circle.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
scratchType: SCRATCH_TYPE.CIRCLE,
7575
containerWidth: scContainer.offsetWidth,
7676
containerHeight: 300,
77-
imageForwardSrc: '/images/scratchcard.jpg',
78-
imageBackgroundSrc: '/images/result.png',
77+
imageForwardSrc: '../images/scratchcard.jpg',
78+
imageBackgroundSrc: '../images/result.png',
7979
htmlBackground: '',
8080
clearZoneRadius: 20,
8181
nPoints: 30,

‎docs/.vuepress/components/brush-html.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
containerWidth: scContainer.offsetWidth,
137137
containerHeight: 300,
138138
brushSrc: '',
139-
imageForwardSrc: '/images/scratchcard.jpg',
139+
imageForwardSrc: '../images/scratchcard.jpg',
140140
imageBackgroundSrc: '',
141141
htmlBackground: `<div class="inner_html"><p>Html content</p></div>`,
142142
clearZoneRadius: 30,

‎docs/.vuepress/components/brush-img.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
scratchType: SCRATCH_TYPE.BRUSH,
7676
containerWidth: scContainer.offsetWidth,
7777
containerHeight: 300,
78-
brushSrc: '/images/brush.png',
79-
imageForwardSrc: '/images/scratchcard.jpg',
80-
imageBackgroundSrc: '/images/result.png',
78+
brushSrc: '../images/brush.png',
79+
imageForwardSrc: '../images/scratchcard.jpg',
80+
imageBackgroundSrc: '../images/result.png',
8181
htmlBackground: '',
8282
clearZoneRadius: 0,
8383
nPoints: 30,

‎docs/.vuepress/components/brush-spray.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
scratchType: SCRATCH_TYPE.SPRAY,
7575
containerWidth: scContainer.offsetWidth,
7676
containerHeight: 300,
77-
imageForwardSrc: '/images/scratchcard.jpg',
78-
imageBackgroundSrc: '/images/result.png',
77+
imageForwardSrc: '../images/scratchcard.jpg',
78+
imageBackgroundSrc: '../images/result.png',
7979
htmlBackground: '',
8080
clearZoneRadius: 50,
8181
nPoints: 30,

0 commit comments

Comments
 (0)
Failed to load comments.