Skip to content

Commit 90f35f2

Browse files
committed
fix:替换图片资源地址
1 parent d0b7df3 commit 90f35f2

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ npm run dev:h5
7373
</a>
7474
<a href="https://hellouniapp.dcloud.net.cn/" target="_blank" class="clear-style barcode-view">
7575
<div class="barcode-img-box">
76-
<img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/bb3ef7c0-517d-11eb-bdc1-8bd33eb6adaa.png" width="160" />
76+
<img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/uni-h5-hosting-qr.png" width="160" />
7777
</div>
7878
<b>H5版</b>
7979
</a>

pages/API/share/share.vue

+9-9
Original file line numberDiff line numberDiff line change
@@ -135,26 +135,26 @@
135135
methods: {
136136
async share(e) {
137137
console.log('分享通道:'+ e.id +'; 分享类型:' + this.shareType);
138-
138+
139139
if(!this.shareText && (this.shareType === 1 || this.shareType === 0)){
140140
uni.showModal({
141141
content:'分享内容不能为空',
142142
showCancel:false
143143
})
144144
return;
145145
}
146-
146+
147147
if(!this.image && (this.shareType === 2 || this.shareType === 0)){
148148
uni.showModal({
149149
content:'分享图片不能为空',
150150
showCancel:false
151151
})
152152
return;
153153
}
154-
154+
155155
let shareOPtions = {
156156
provider: e.id,
157-
scene: e.type && e.type === 'WXSceneTimeline' ? 'WXSceneTimeline' : 'WXSceneSession', //WXSceneSession”分享到聊天界面,“WXSceneTimeline”分享到朋友圈,“WXSceneFavorite”分享到微信收藏
157+
scene: e.type && e.type === 'WXSceneTimeline' ? 'WXSceneTimeline' : 'WXSceneSession', //WXSceneSession”分享到聊天界面,“WXSceneTimeline”分享到朋友圈,“WXSceneFavorite”分享到微信收藏
158158
type: this.shareType,
159159
success: (e) => {
160160
console.log('success', e);
@@ -174,7 +174,7 @@
174174
console.log('分享操作结束!')
175175
}
176176
}
177-
177+
178178
switch (this.shareType){
179179
case 0:
180180
shareOPtions.summary = this.shareText;
@@ -189,7 +189,7 @@
189189
shareOPtions.imageUrl = this.image;
190190
break;
191191
case 5:
192-
shareOPtions.imageUrl = this.image ? this.image : 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b6304f00-5168-11eb-bd01-97bc1429a9ff.png'
192+
shareOPtions.imageUrl = this.image ? this.image : 'https://web-ext-storage.dcloud.net.cn/hello-uni-app/share.png'
193193
shareOPtions.title = '欢迎体验uniapp';
194194
shareOPtions.miniProgram = {
195195
id:'gh_33446d7f7a26',
@@ -201,8 +201,8 @@
201201
default:
202202
break;
203203
}
204-
205-
if(shareOPtions.type === 0 && plus.os.name === 'iOS'){//如果是图文分享,且是ios平台,则压缩图片
204+
205+
if(shareOPtions.type === 0 && plus.os.name === 'iOS'){//如果是图文分享,且是ios平台,则压缩图片
206206
shareOPtions.imageUrl = await this.compress();
207207
}
208208
if(shareOPtions.type === 1 && shareOPtions.provider === 'qq'){//如果是分享文字到qq,则必须加上href和title
@@ -253,7 +253,7 @@
253253
console.log('after' + localPath);
254254
// 压缩size
255255
plus.io.resolveLocalFileSystemURL(localPath, (entry) => {
256-
entry.file((file) => {// 可通过entry对象操作图片
256+
entry.file((file) => {// 可通过entry对象操作图片
257257
console.log('getFile:' + JSON.stringify(file));
258258
if(file.size > 20480) {// 压缩后size 大于20Kb
259259
plus.zip.compressImage({

pages/extUI/collapse/collapse.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262
<uni-section title="配置图片" type="line">
6363
<uni-collapse>
6464
<uni-collapse-item title="标题文字"
65-
thumb="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png">
65+
thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png">
6666
<view class="content">
6767
<text class="text">折叠内容主体,可自定义内容及样式</text>
6868
</view>
6969
</uni-collapse-item>
7070
<uni-collapse-item title="标题文字"
71-
thumb="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png">
71+
thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png">
7272
<view class="content">
7373
<text class="text">折叠内容主体,可自定义内容及样式</text>
7474
</view>
@@ -96,7 +96,7 @@
9696
<uni-list-item title="列表右侧显示 switch" :show-switch="true"></uni-list-item>
9797
<uni-list-item :show-extra-icon="true" :extra-icon="extraIcon" title="列表左侧带扩展图标"></uni-list-item>
9898
<uni-list-item title="列表左侧带略缩图" note="列表描述信息"
99-
thumb="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png"
99+
thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png"
100100
thumb-size="lg" rightText="右侧文字" showArrow></uni-list-item>
101101
<uni-list-item title="开启点击反馈" clickable showArrow @click="onClick"></uni-list-item>
102102
</uni-list>

pages/extUI/file-picker/file-picker.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@
7979
extname: 'png',
8080
name: 'shuijiao.png'
8181
}, {
82-
url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',
82+
url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg',
8383
extname: 'png',
8484
name: 'uniapp-logo.png'
8585
}, {
86-
url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',
86+
url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg',
8787
extname: 'png',
8888
name: 'shuijiao.png'
8989
}]

pages/extUI/list/list.nvue

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
thumb="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png"
7070
thumb-size="base" rightText="默认" />
7171
<uni-list-item title="列表左侧带略缩图" note="列表描述信息" showArrow
72-
thumb="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png"
72+
thumb="https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png"
7373
thumb-size="lg" rightText="大图" />
7474
</uni-list>
7575
</uni-section>
@@ -112,7 +112,7 @@
112112
data() {
113113
return {
114114
cover: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
115-
avatar: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png',
115+
avatar: 'https://web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
116116
extraIcon: {
117117
color: '#4cd964',
118118
size: '22',

pages/extUI/swiper-dot/swiper-dot.nvue

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
},
6464
{
6565
colorClass: 'uni-bg-green',
66-
url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
66+
url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
6767
content: '内容 B'
6868
},
6969
{
7070
colorClass: 'uni-bg-blue',
71-
url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
71+
url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
7272
content: '内容 C'
7373
}
7474
],

pages/template/tabbar/tabbar.nvue

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
"width": 563,
7979
"height": 316
8080
}, {
81-
"url": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b4cd3000-517d-11eb-a16f-5b3e54966275.jpg",
81+
"url": "https://web-ext-storage.dcloud.net.cn/hello-uni-app/template-tabbar-2.jpg",
8282
"width": 641,
8383
"height": 360
8484
}, {
85-
"url": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",
85+
"url": "https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg",
8686
"width": 640,
8787
"height": 360
8888
}],
@@ -95,7 +95,7 @@
9595
"datetime": "2小时前",
9696
"article_type": 4,
9797
"title": "uni-app 支持原生小程序自定义组件,更开放、更自由",
98-
"image_url": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b2e201d0-517d-11eb-8a36-ebb87efcf8c0.jpg",
98+
"image_url": "https://web-ext-storage.dcloud.net.cn/hello-uni-app/template-tabbar-1.jpg",
9999
"source": "DCloud",
100100
"comment_count": 69
101101
}

platforms/app-plus/shake/shake.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
computed:{
2222
pageIndex() {
2323
if (this.index === 1) {
24-
return 'aff47ed0-517d-11eb-8ff1-d5dcf8779628'
24+
return 'shake-1'
2525
} else if (this.index === 2) {
26-
return '1fc36f80-5199-11eb-a16f-5b3e54966275'
26+
return 'shake-2'
2727
} else if (this.index === 3) {
28-
return '20a3bd60-5199-11eb-97b7-0dc4655d6e68'
28+
return 'shake-3'
2929
} else if (this.index === 4) {
30-
return '8b872410-51a7-11eb-8a36-ebb87efcf8c0'
30+
return 'shake-4'
3131
} else {
32-
return 'aff47ed0-517d-11eb-8ff1-d5dcf8779628'
32+
return 'shake-1'
3333
}
3434
}
3535
},
@@ -46,7 +46,7 @@
4646
if (this.index > 4) {
4747
this.index = 1
4848
}
49-
this.img = 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/' + this.pageIndex + '.jpg';
49+
this.img = 'https://web-ext-storage.dcloud.net.cn/hello-uni-app/' + this.pageIndex + '.jpg';
5050
}, 2000);
5151
this.show = true;
5252
if (t) {

0 commit comments

Comments
 (0)