diff --git a/USED.md b/USED.md deleted file mode 100644 index 613cf1a5b..000000000 --- a/USED.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: 谁在用 -# description: -spline: explain ---- - -## 上线项目案例 - -目前已上线 400+个小程序,部分小程序二维码如下 - -
- -
- 沃尔玛 -
- - -
-
- -
- 李宁 -
- - -
-
- -
- WonderLab -
- - -
-
- -
- 美宜佳 -
- - -
-
- -
- 丸美 -
- - -
-
- -
- 珀莱雅 -
- - -
-
- -
- 维达 -
- - -
-
- -
- YEETHAY -
- - -
-
- -
diff --git a/site/data/projects.ts b/site/data/projects.ts index bbc616ff6..bb6a8646d 100644 --- a/site/data/projects.ts +++ b/site/data/projects.ts @@ -43,10 +43,16 @@ export default [ qrcode: 'https://tdesign.gtimg.com/miniprogram/case/xiaoyunkapian-code.jpg', }, { - name: '小楼助教', - tags: ['效率工具'], - preview: ['https://tdesign.gtimg.com/miniprogram/case/xiaolouzhujiao.png'], - qrcode: 'https://tdesign.gtimg.com/miniprogram/case/xiaolouzhujiao-code.png', + name: '上海慈善基金会', + tags: ['服务'], + preview: ['https://tdesign.gtimg.com/miniprogram/case/cishanjijinhui.jpg'], + qrcode: 'https://tdesign.gtimg.com/miniprogram/case/cishanjijinhui-code.png', + }, + { + name: '区白白', + tags: ['服务'], + preview: ['https://tdesign.gtimg.com/miniprogram/case/qubaibai.jpg'], + qrcode: 'https://tdesign.gtimg.com/miniprogram/case/qubaibai-code.png', }, { name: 'frmall', diff --git a/src/_common b/src/_common index 03f67a1ec..b3d58500b 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 03f67a1eccd9eccf9485d27a02d5b91554b6d9c5 +Subproject commit b3d58500b007f2c5d75742274e29acf2b0e2def1 diff --git a/src/action-sheet/_example/grid/index.js b/src/action-sheet/_example/grid/index.js index 8049b70ff..dc53fcab4 100644 --- a/src/action-sheet/_example/grid/index.js +++ b/src/action-sheet/_example/grid/index.js @@ -3,19 +3,19 @@ import ActionSheet, { ActionSheetTheme } from 'tdesign-miniprogram/action-sheet/ const firstGrid = [ { label: '微信', - image: 'https://tdesign.gtimg.com/miniprogram/logo/wechat.png', + image: 'https://tdesign.gtimg.com/mobile/demos/wechat.png', }, { label: '朋友圈', - image: 'https://tdesign.gtimg.com/miniprogram/logo/times.png', + image: 'https://tdesign.gtimg.com/mobile/demos/times.png', }, { label: 'QQ', - image: 'https://tdesign.gtimg.com/miniprogram/logo/qq.png', + image: 'https://tdesign.gtimg.com/mobile/demos/qq.png', }, { label: '企业微信', - image: 'https://tdesign.gtimg.com/miniprogram/logo/wecom.png', + image: 'https://tdesign.gtimg.com/mobile/demos/wecom.png', }, { label: '收藏', diff --git a/src/avatar/__test__/__snapshots__/demo.test.js.snap b/src/avatar/__test__/__snapshots__/demo.test.js.snap index fa3684f29..cbb5bc42e 100644 --- a/src/avatar/__test__/__snapshots__/demo.test.js.snap +++ b/src/avatar/__test__/__snapshots__/demo.test.js.snap @@ -7,22 +7,22 @@ exports[`Avatar Avatar action demo works fine 1`] = ` max="5" > @@ -41,7 +41,7 @@ exports[`Avatar Avatar badge-avatar demo works fine 1`] = ` } }}" class="avatar-example" - image="https://tdesign.gtimg.com/miniprogram/images/avatar1.png" + image="https://tdesign.gtimg.com/mobile/demos/avatar1.png" /> @@ -139,11 +139,11 @@ exports[`Avatar Avatar image-avatar demo works fine 1`] = ` @@ -156,7 +156,7 @@ exports[`Avatar Avatar size demo works fine 1`] = ` > diff --git a/src/cell/_example/multiple/index.wxml b/src/cell/_example/multiple/index.wxml index 4f13a892f..6ac55f111 100644 --- a/src/cell/_example/multiple/index.wxml +++ b/src/cell/_example/multiple/index.wxml @@ -18,7 +18,7 @@ title="多行带图片" description="一段很长很长的内容文字" align="top" - image="https://tdesign.gtimg.com/miniprogram/images/cell1.png" + image="https://tdesign.gtimg.com/mobile/demos/avatar1.png" hover bordered="{{false}}" /> diff --git a/src/dialog/__test__/__snapshots__/demo.test.js.snap b/src/dialog/__test__/__snapshots__/demo.test.js.snap index 694fe840a..e9de0793f 100644 --- a/src/dialog/__test__/__snapshots__/demo.test.js.snap +++ b/src/dialog/__test__/__snapshots__/demo.test.js.snap @@ -393,7 +393,7 @@ exports[`Dialog Dialog with-image demo works fine 1`] = ` > @@ -426,7 +426,7 @@ exports[`Dialog Dialog with-image demo works fine 1`] = ` > diff --git a/src/dialog/_example/with-image/index.wxml b/src/dialog/_example/with-image/index.wxml index 13c5ff582..84f321988 100644 --- a/src/dialog/_example/with-image/index.wxml +++ b/src/dialog/_example/with-image/index.wxml @@ -18,7 +18,7 @@ bind:confirm="closeDialog" bind:cancel="closeDialog" > - + - + diff --git a/src/empty/__test__/__snapshots__/demo.test.js.snap b/src/empty/__test__/__snapshots__/demo.test.js.snap index c4da1269d..adaf871fd 100644 --- a/src/empty/__test__/__snapshots__/demo.test.js.snap +++ b/src/empty/__test__/__snapshots__/demo.test.js.snap @@ -30,7 +30,7 @@ exports[`Empty Empty imageEmpty demo works fine 1`] = ` diff --git a/src/empty/_example/imageEmpty/index.js b/src/empty/_example/imageEmpty/index.js index df1133c40..7694235ba 100644 --- a/src/empty/_example/imageEmpty/index.js +++ b/src/empty/_example/imageEmpty/index.js @@ -1,5 +1,5 @@ Component({ data: { - image: 'https://tdesign.gtimg.com/miniprogram/images/empty1.png', + image: 'https://tdesign.gtimg.com/mobile/demos/empty1.png', }, }); diff --git a/src/fab/__test__/__snapshots__/demo.test.js.snap b/src/fab/__test__/__snapshots__/demo.test.js.snap index c4b571c5b..1e5194378 100644 --- a/src/fab/__test__/__snapshots__/demo.test.js.snap +++ b/src/fab/__test__/__snapshots__/demo.test.js.snap @@ -25,3 +25,16 @@ exports[`Fab Fab base demo works fine 1`] = ` /> `; + +exports[`Fab Fab draggable demo works fine 1`] = ` + + + +`; diff --git a/src/fab/__test__/demo.test.js b/src/fab/__test__/demo.test.js index 22966d52a..a2634c421 100644 --- a/src/fab/__test__/demo.test.js +++ b/src/fab/__test__/demo.test.js @@ -5,7 +5,7 @@ import path from 'path'; import simulate from 'miniprogram-simulate'; -const mapper = ['advance', 'base']; +const mapper = ['advance', 'base', 'draggable']; describe('Fab', () => { mapper.forEach((demoName) => { diff --git a/src/footer/__test__/__snapshots__/demo.test.js.snap b/src/footer/__test__/__snapshots__/demo.test.js.snap index 0acded27c..2a58d8d34 100644 --- a/src/footer/__test__/__snapshots__/demo.test.js.snap +++ b/src/footer/__test__/__snapshots__/demo.test.js.snap @@ -58,7 +58,7 @@ exports[`Footer Footer logo demo works fine 1`] = ` diff --git a/src/footer/_example/logo/index.js b/src/footer/_example/logo/index.js index 2d40a5f36..9c05ca422 100644 --- a/src/footer/_example/logo/index.js +++ b/src/footer/_example/logo/index.js @@ -2,11 +2,11 @@ Component({ data: { logoList: [ { - icon: 'https://tdesign.gtimg.com/miniprogram/images/logo2.png', + icon: 'https://tdesign.gtimg.com/mobile/demos/logo2.png', title: '品牌名称', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/logo1.png', + url: 'https://tdesign.gtimg.com/mobile/demos/logo1.png', }, ], }, diff --git a/src/grid/__test__/__snapshots__/demo.test.js.snap b/src/grid/__test__/__snapshots__/demo.test.js.snap index 57096a980..97e572913 100644 --- a/src/grid/__test__/__snapshots__/demo.test.js.snap +++ b/src/grid/__test__/__snapshots__/demo.test.js.snap @@ -11,7 +11,7 @@ exports[`Grid Grid badge demo works fine 1`] = ` "dot": true, } }}" - image="https://tdesign.gtimg.com/miniprogram/images/example1.png" + image="https://tdesign.gtimg.com/mobile/demos/example1.png" text="标题文字" /> @@ -52,23 +52,23 @@ exports[`Grid Grid base demo works fine 1`] = ` column="{{5}}" > @@ -76,19 +76,19 @@ exports[`Grid Grid base demo works fine 1`] = ` class="block" > @@ -97,15 +97,15 @@ exports[`Grid Grid base demo works fine 1`] = ` column="{{3}}" > @@ -126,15 +126,15 @@ exports[`Grid Grid border demo works fine 1`] = ` column="{{3}}" > @@ -153,13 +153,13 @@ exports[`Grid Grid border demo works fine 1`] = ` > @@ -176,35 +176,35 @@ exports[`Grid Grid card demo works fine 1`] = ` theme="card" > @@ -221,17 +221,17 @@ exports[`Grid Grid description demo works fine 1`] = ` > @@ -245,13 +245,13 @@ exports[`Grid Grid description demo works fine 1`] = ` > @@ -306,35 +306,35 @@ exports[`Grid Grid multiple demo works fine 1`] = ` column="{{4}}" > @@ -348,27 +348,27 @@ exports[`Grid Grid scroll demo works fine 1`] = ` column="{{0}}" > diff --git a/src/grid/_example/badge/index.js b/src/grid/_example/badge/index.js index ca32b14a8..bdc68ea2d 100644 --- a/src/grid/_example/badge/index.js +++ b/src/grid/_example/badge/index.js @@ -1,7 +1,7 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, }); diff --git a/src/grid/_example/base/index.js b/src/grid/_example/base/index.js index ca32b14a8..bdc68ea2d 100644 --- a/src/grid/_example/base/index.js +++ b/src/grid/_example/base/index.js @@ -1,7 +1,7 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, }); diff --git a/src/grid/_example/border/index.js b/src/grid/_example/border/index.js index 2735d0e30..10844541c 100644 --- a/src/grid/_example/border/index.js +++ b/src/grid/_example/border/index.js @@ -1,8 +1,8 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', border: { color: '#f6f6f6', }, diff --git a/src/grid/_example/card/index.js b/src/grid/_example/card/index.js index ca32b14a8..bdc68ea2d 100644 --- a/src/grid/_example/card/index.js +++ b/src/grid/_example/card/index.js @@ -1,7 +1,7 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, }); diff --git a/src/grid/_example/description/index.js b/src/grid/_example/description/index.js index ca32b14a8..bdc68ea2d 100644 --- a/src/grid/_example/description/index.js +++ b/src/grid/_example/description/index.js @@ -1,7 +1,7 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, }); diff --git a/src/grid/_example/multiple/index.js b/src/grid/_example/multiple/index.js index ca32b14a8..bdc68ea2d 100644 --- a/src/grid/_example/multiple/index.js +++ b/src/grid/_example/multiple/index.js @@ -1,7 +1,7 @@ Component({ data: { - img1: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', - img2: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', - img3: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img1: 'https://tdesign.gtimg.com/mobile/demos/example1.png', + img2: 'https://tdesign.gtimg.com/mobile/demos/example2.png', + img3: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, }); diff --git a/src/grid/_example/scroll/index.js b/src/grid/_example/scroll/index.js index fb7b05fc2..3263525f7 100644 --- a/src/grid/_example/scroll/index.js +++ b/src/grid/_example/scroll/index.js @@ -3,27 +3,27 @@ Component({ gridItemList: [ { text: '标题文字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example1.png', }, { text: '标题文字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example2.png', }, { text: '标题文字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, { text: '最多五个字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example1.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example1.png', }, { text: '最多五个字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example2.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example2.png', }, { text: '最多五个字', - img: 'https://tdesign.gtimg.com/miniprogram/images/example3.png', + img: 'https://tdesign.gtimg.com/mobile/demos/example3.png', }, ], }, diff --git a/src/icon/__test__/__snapshots__/demo.test.js.snap b/src/icon/__test__/__snapshots__/demo.test.js.snap index 3c108b947..1697b0a78 100644 --- a/src/icon/__test__/__snapshots__/demo.test.js.snap +++ b/src/icon/__test__/__snapshots__/demo.test.js.snap @@ -18140,8 +18140,8 @@ exports[`Icon Icon iconImage demo works fine 1`] = ` class="demo__card" > @@ -18150,8 +18150,8 @@ exports[`Icon Icon iconImage demo works fine 1`] = ` class="demo__card" > diff --git a/src/icon/_example/iconImage/index.js b/src/icon/_example/iconImage/index.js index 2eb8e2913..9118a3220 100644 --- a/src/icon/_example/iconImage/index.js +++ b/src/icon/_example/iconImage/index.js @@ -1,8 +1,8 @@ Component({ data: { imageIconList: [ - 'https://tdesign.gtimg.com/miniprogram/images/icon1.png', - 'https://tdesign.gtimg.com/miniprogram/images/icon2.png', + 'https://tdesign.gtimg.com/mobile/demos/icon1.png', + 'https://tdesign.gtimg.com/mobile/demos/icon2.png', ], }, diff --git a/src/image-viewer/_example/base/index.js b/src/image-viewer/_example/base/index.js index e301528dc..6b0009811 100644 --- a/src/image-viewer/_example/base/index.js +++ b/src/image-viewer/_example/base/index.js @@ -12,8 +12,8 @@ Component({ onClick() { this.setData({ images: [ - 'https://tdesign.gtimg.com/miniprogram/images/swiper1.png', - 'https://tdesign.gtimg.com/miniprogram/images/swiper2.png', + 'https://tdesign.gtimg.com/mobile/demos/swiper1.png', + 'https://tdesign.gtimg.com/mobile/demos/swiper2.png', ], showIndex: true, visible: true, diff --git a/src/image-viewer/_example/delete/index.js b/src/image-viewer/_example/delete/index.js index 082a68b02..e7b2c9e5a 100644 --- a/src/image-viewer/_example/delete/index.js +++ b/src/image-viewer/_example/delete/index.js @@ -12,8 +12,8 @@ Component({ onClick() { this.setData({ images: [ - 'https://tdesign.gtimg.com/miniprogram/images/swiper1.png', - 'https://tdesign.gtimg.com/miniprogram/images/swiper2.png', + 'https://tdesign.gtimg.com/mobile/demos/swiper1.png', + 'https://tdesign.gtimg.com/mobile/demos/swiper2.png', ], showIndex: true, visible: true, diff --git a/src/image/__test__/__snapshots__/demo.test.js.snap b/src/image/__test__/__snapshots__/demo.test.js.snap index 3927bef0e..9e0fca7cd 100644 --- a/src/image/__test__/__snapshots__/demo.test.js.snap +++ b/src/image/__test__/__snapshots__/demo.test.js.snap @@ -17,7 +17,7 @@ exports[`Image Image base demo works fine 1`] = ` ariaLabel="一个放置在墙角的黄色行李箱" height="72" mode="aspectFill" - src="https://tdesign.gtimg.com/miniprogram/images/image1.jpeg" + src="https://tdesign.gtimg.com/mobile/demos/image1.jpeg" width="72" /> @@ -33,7 +33,7 @@ exports[`Image Image base demo works fine 1`] = ` ariaLabel="一个放置在墙角的黄色行李箱" height="72" mode="heightFix" - src="https://tdesign.gtimg.com/miniprogram/images/image1.jpeg" + src="https://tdesign.gtimg.com/mobile/demos/image1.jpeg" width="72" /> @@ -48,7 +48,7 @@ exports[`Image Image base demo works fine 1`] = ` @@ -68,7 +68,7 @@ exports[`Image Image base demo works fine 1`] = ` ariaLabel="一个放置在墙角的黄色行李箱" height="72" mode="aspectFill" - src="https://tdesign.gtimg.com/miniprogram/images/image1.jpeg" + src="https://tdesign.gtimg.com/mobile/demos/image1.jpeg" width="72" /> @@ -84,7 +84,7 @@ exports[`Image Image base demo works fine 1`] = ` ariaLabel="一个放置在墙角的黄色行李箱" height="72" shape="round" - src="https://tdesign.gtimg.com/miniprogram/images/image1.jpeg" + src="https://tdesign.gtimg.com/mobile/demos/image1.jpeg" width="72" /> @@ -100,7 +100,7 @@ exports[`Image Image base demo works fine 1`] = ` ariaLabel="一个放置在墙角的黄色行李箱" height="72" shape="circle" - src="https://tdesign.gtimg.com/miniprogram/images/image1.jpeg" + src="https://tdesign.gtimg.com/mobile/demos/image1.jpeg" width="72" /> @@ -113,7 +113,7 @@ exports[`Image Image size demo works fine 1`] = ` diff --git a/src/image/_example/base/index.js b/src/image/_example/base/index.js index 16597daeb..9f289525c 100644 --- a/src/image/_example/base/index.js +++ b/src/image/_example/base/index.js @@ -1,5 +1,5 @@ Component({ data: { - imageSrc: 'https://tdesign.gtimg.com/miniprogram/images/image1.jpeg', + imageSrc: 'https://tdesign.gtimg.com/mobile/demos/image1.jpeg', }, }); diff --git a/src/image/_example/size/index.js b/src/image/_example/size/index.js index 2411ca3d9..287bcc3e8 100644 --- a/src/image/_example/size/index.js +++ b/src/image/_example/size/index.js @@ -7,6 +7,6 @@ Component({ }, data: { - imageSrc: 'https://tdesign.gtimg.com/miniprogram/images/image1.jpeg', + imageSrc: 'https://tdesign.gtimg.com/mobile/demos/image1.jpeg', }, }); diff --git a/src/navbar/__test__/__snapshots__/demo.test.js.snap b/src/navbar/__test__/__snapshots__/demo.test.js.snap index 44e88ff13..8179df410 100644 --- a/src/navbar/__test__/__snapshots__/demo.test.js.snap +++ b/src/navbar/__test__/__snapshots__/demo.test.js.snap @@ -71,7 +71,7 @@ exports[`Navbar Navbar img demo works fine 1`] = ` > diff --git a/src/navbar/_example/img/index.js b/src/navbar/_example/img/index.js index 2a723310f..86abe5c0d 100644 --- a/src/navbar/_example/img/index.js +++ b/src/navbar/_example/img/index.js @@ -1,5 +1,5 @@ Component({ data: { - image: 'https://tdesign.gtimg.com/miniprogram/images/logo1.png', + image: 'https://tdesign.gtimg.com/mobile/demos/logo1.png', }, }); diff --git a/src/result/__test__/__snapshots__/demo.test.js.snap b/src/result/__test__/__snapshots__/demo.test.js.snap index 48f613fe6..190f3f17c 100644 --- a/src/result/__test__/__snapshots__/demo.test.js.snap +++ b/src/result/__test__/__snapshots__/demo.test.js.snap @@ -3,7 +3,7 @@ exports[`Result Result custom demo works fine 1`] = ` + 自定义结果 描述文字 diff --git a/src/side-bar/__test__/__snapshots__/demo.test.js.snap b/src/side-bar/__test__/__snapshots__/demo.test.js.snap index bc7f8635c..dd62e166d 100644 --- a/src/side-bar/__test__/__snapshots__/demo.test.js.snap +++ b/src/side-bar/__test__/__snapshots__/demo.test.js.snap @@ -63,7 +63,7 @@ exports[`SideBar SideBar base demo works fine 1`] = ` column="{{3}}" > @@ -1113,7 +1113,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1124,7 +1124,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1135,7 +1135,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1146,7 +1146,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1157,7 +1157,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1168,7 +1168,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1179,7 +1179,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1190,7 +1190,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1201,7 +1201,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1212,7 +1212,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1223,7 +1223,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1249,7 +1249,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1260,7 +1260,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1271,7 +1271,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1282,7 +1282,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1293,7 +1293,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1304,7 +1304,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1315,7 +1315,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1326,7 +1326,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1337,7 +1337,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1348,7 +1348,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1374,7 +1374,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1385,7 +1385,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1396,7 +1396,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1407,7 +1407,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1418,7 +1418,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1429,7 +1429,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1455,7 +1455,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1466,7 +1466,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1477,7 +1477,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1488,7 +1488,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1499,7 +1499,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1510,7 +1510,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1521,7 +1521,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1532,7 +1532,7 @@ exports[`SideBar SideBar switch demo works fine 1`] = ` lazy="{{true}}" shape="round" slot="image" - src="https://tdesign.gtimg.com/miniprogram/images/example2.png" + src="https://tdesign.gtimg.com/mobile/demos/example2.png" tClass="image" /> @@ -1625,7 +1625,7 @@ exports[`SideBar SideBar with-icon demo works fine 1`] = ` column="{{3}}" > diff --git a/src/steps/_example/vertical/index.wxml b/src/steps/_example/vertical/index.wxml index 580b7f781..c05945057 100644 --- a/src/steps/_example/vertical/index.wxml +++ b/src/steps/_example/vertical/index.wxml @@ -39,12 +39,7 @@ - 图标 + 图标 diff --git a/src/swipe-cell/__test__/__snapshots__/demo.test.js.snap b/src/swipe-cell/__test__/__snapshots__/demo.test.js.snap index 2313fb8c5..411ea87a8 100644 --- a/src/swipe-cell/__test__/__snapshots__/demo.test.js.snap +++ b/src/swipe-cell/__test__/__snapshots__/demo.test.js.snap @@ -85,7 +85,7 @@ exports[`SwipeCell SwipeCell icon demo works fine 1`] = ` @@ -144,7 +144,7 @@ exports[`SwipeCell SwipeCell left demo works fine 1`] = ` diff --git a/src/swipe-cell/_example/icon/index.wxml b/src/swipe-cell/_example/icon/index.wxml index ab639735b..681f24552 100644 --- a/src/swipe-cell/_example/icon/index.wxml +++ b/src/swipe-cell/_example/icon/index.wxml @@ -12,7 +12,7 @@ title="左滑大列表-仅带图标双操作" description="一段很长很长的内容文字" note="辅助信息" - image="https://tdesign.gtimg.com/miniprogram/images/default.svg" + image="https://tdesign.gtimg.com/mobile/demos/avatar1.png" /> diff --git a/src/swipe-cell/_example/left/index.wxml b/src/swipe-cell/_example/left/index.wxml index 2d266613e..1be3ae5ac 100644 --- a/src/swipe-cell/_example/left/index.wxml +++ b/src/swipe-cell/_example/left/index.wxml @@ -9,7 +9,7 @@ title="左滑大列表" description="一段很长很长的内容文字" note="辅助信息" - image="https://tdesign.gtimg.com/miniprogram/images/default.svg" + image="https://tdesign.gtimg.com/mobile/demos/avatar1.png" /> 删除 diff --git a/src/swiper/__test__/__snapshots__/demo.test.js.snap b/src/swiper/__test__/__snapshots__/demo.test.js.snap index 5e2add506..b3656e1f6 100644 --- a/src/swiper/__test__/__snapshots__/demo.test.js.snap +++ b/src/swiper/__test__/__snapshots__/demo.test.js.snap @@ -9,11 +9,11 @@ exports[`Swiper Swiper base demo works fine 1`] = ` interval="{{5000}}" list="{{ Array [ - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", ] }}" navigation="{{ @@ -45,11 +45,11 @@ exports[`Swiper Swiper cards demo works fine 1`] = ` interval="{{5000}}" list="{{ Array [ - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", ] }}" navigation="{{ @@ -79,11 +79,11 @@ exports[`Swiper Swiper cards demo works fine 1`] = ` interval="{{5000}}" list="{{ Array [ - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", ] }}" navigation="{{ @@ -113,19 +113,19 @@ exports[`Swiper Swiper custom demo works fine 1`] = ` Array [ Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, ] }}" @@ -147,11 +147,11 @@ exports[`Swiper Swiper fraction demo works fine 1`] = ` interval="{{5000}}" list="{{ Array [ - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", - "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", + "https://tdesign.gtimg.com/mobile/demos/swiper2.png", + "https://tdesign.gtimg.com/mobile/demos/swiper1.png", ] }}" navigation="{{ @@ -175,19 +175,19 @@ exports[`Swiper Swiper nav-btn demo works fine 1`] = ` Array [ Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, ] }}" @@ -217,19 +217,19 @@ exports[`Swiper Swiper vertical demo works fine 1`] = ` Array [ Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, Object { "ariaLabel": "图片1", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper1.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper1.png", }, Object { "ariaLabel": "图片2", - "value": "https://tdesign.gtimg.com/miniprogram/images/swiper2.png", + "value": "https://tdesign.gtimg.com/mobile/demos/swiper2.png", }, ] }}" diff --git a/src/swiper/_example/base/index.js b/src/swiper/_example/base/index.js index a77d37ac3..b3cf11fa8 100644 --- a/src/swiper/_example/base/index.js +++ b/src/swiper/_example/base/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ `${imageCdn}/swiper1.png`, `${imageCdn}/swiper2.png`, diff --git a/src/swiper/_example/cards/index.js b/src/swiper/_example/cards/index.js index 5b6b8f926..a9bf0ba63 100644 --- a/src/swiper/_example/cards/index.js +++ b/src/swiper/_example/cards/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ `${imageCdn}/swiper1.png`, `${imageCdn}/swiper2.png`, diff --git a/src/swiper/_example/custom/index.js b/src/swiper/_example/custom/index.js index fdd0ae096..a8c47d33c 100644 --- a/src/swiper/_example/custom/index.js +++ b/src/swiper/_example/custom/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ { value: `${imageCdn}/swiper1.png`, diff --git a/src/swiper/_example/fraction/index.js b/src/swiper/_example/fraction/index.js index 8018cfab3..0c05aa03a 100644 --- a/src/swiper/_example/fraction/index.js +++ b/src/swiper/_example/fraction/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ `${imageCdn}/swiper1.png`, `${imageCdn}/swiper2.png`, diff --git a/src/swiper/_example/nav-btn/index.js b/src/swiper/_example/nav-btn/index.js index b3a044416..9679cf2e1 100644 --- a/src/swiper/_example/nav-btn/index.js +++ b/src/swiper/_example/nav-btn/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ { value: `${imageCdn}/swiper1.png`, diff --git a/src/swiper/_example/vertical/index.js b/src/swiper/_example/vertical/index.js index f4aef7022..8699bdd0f 100644 --- a/src/swiper/_example/vertical/index.js +++ b/src/swiper/_example/vertical/index.js @@ -1,4 +1,4 @@ -const imageCdn = 'https://tdesign.gtimg.com/miniprogram/images'; +const imageCdn = 'https://tdesign.gtimg.com/mobile/demos'; const swiperList = [ { value: `${imageCdn}/swiper1.png`, diff --git a/src/upload/__test__/__snapshots__/demo.test.js.snap b/src/upload/__test__/__snapshots__/demo.test.js.snap index 4cac05150..5022494f8 100644 --- a/src/upload/__test__/__snapshots__/demo.test.js.snap +++ b/src/upload/__test__/__snapshots__/demo.test.js.snap @@ -1,5 +1,54 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`Upload Upload drag demo works fine 1`] = ` + + + + + +`; + exports[`Upload Upload messageFile demo works fine 1`] = ` { mapper.forEach((demoName) => { diff --git a/src/upload/_example/drag/index.js b/src/upload/_example/drag/index.js index 1febcdcef..0dce9256b 100644 --- a/src/upload/_example/drag/index.js +++ b/src/upload/_example/drag/index.js @@ -2,17 +2,17 @@ Component({ data: { originFiles: [ { - url: 'https://tdesign.gtimg.com/miniprogram/images/example4.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example4.png', name: 'uploaded1.png', type: 'image', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example6.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example6.png', name: 'uploaded2.png', type: 'image', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example5.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example5.png', name: 'uploaded3.png', type: 'image', }, diff --git a/src/upload/_example/messageFile/index.js b/src/upload/_example/messageFile/index.js index 543ac5a55..fd07c5f09 100644 --- a/src/upload/_example/messageFile/index.js +++ b/src/upload/_example/messageFile/index.js @@ -2,7 +2,7 @@ Component({ data: { originFiles: [ { - url: 'https://tdesign.gtimg.com/miniprogram/images/example4.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example4.png', name: 'uploaded1.png', type: 'image', }, diff --git a/src/upload/_example/multiple/index.js b/src/upload/_example/multiple/index.js index c9ac75157..736d74c59 100644 --- a/src/upload/_example/multiple/index.js +++ b/src/upload/_example/multiple/index.js @@ -2,17 +2,17 @@ Component({ data: { originFiles: [ { - url: 'https://tdesign.gtimg.com/miniprogram/images/example4.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example4.png', name: 'uploaded1.png', type: 'image', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example6.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example6.png', name: 'uploaded2.png', type: 'image', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example5.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example5.png', name: 'uploaded3.png', type: 'image', }, diff --git a/src/upload/_example/status/index.js b/src/upload/_example/status/index.js index fe5abf656..f280ec72b 100644 --- a/src/upload/_example/status/index.js +++ b/src/upload/_example/status/index.js @@ -2,26 +2,26 @@ Component({ data: { originFiles: [ { - url: 'https://tdesign.gtimg.com/miniprogram/images/example4.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example4.png', name: 'uploaded1.png', type: 'image', status: 'loading', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example7.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example5.png', name: 'uploaded2.png', type: 'image', percent: 68, status: 'loading', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example6.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example6.png', name: 'uploaded3.png', type: 'image', status: 'reload', }, { - url: 'https://tdesign.gtimg.com/miniprogram/images/example5.png', + url: 'https://tdesign.gtimg.com/mobile/demos/example5.png', name: 'uploaded4.png', type: 'image', status: 'failed',