@@ -9,39 +9,39 @@ export function initMock() {
99 message : '请求成功' ,
1010 data : [
1111 {
12- url : '/static /home/card0.png' ,
12+ url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card0.png' ,
1313 desc : '少年,星空与梦想' ,
1414 tags : [
1515 { text : 'AI绘画' , theme : 'primary' } ,
1616 { text : '版权素材' , theme : 'success' } ,
1717 ] ,
1818 } ,
1919 {
20- url : '/static /home/card1.png' ,
20+ url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card1.png' ,
2121 desc : '仰望星空的少女' ,
2222 tags : [
2323 { text : 'AI绘画' , theme : 'primary' } ,
2424 { text : '版权素材' , theme : 'success' } ,
2525 ] ,
2626 } ,
2727 {
28- url : '/static /home/card3.png' ,
28+ url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card3.png' ,
2929 desc : '仰望星空的少年' ,
3030 tags : [
3131 { text : 'AI绘画' , theme : 'primary' } ,
3232 { text : '版权素材' , theme : 'success' } ,
3333 ] ,
3434 } ,
3535 {
36- url : '/static /home/card2.png' ,
36+ url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card2.png' ,
3737 desc : '少年,星空与梦想' ,
3838 tags : [
3939 { text : 'AI绘画' , theme : 'primary' } ,
4040 { text : '版权素材' , theme : 'success' } ,
4141 ] ,
4242 } ,
4343 {
44- url : '/static /home/card4.png' ,
44+ url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card4.png' ,
4545 desc : '多彩的天空' ,
4646 tags : [
4747 { text : 'AI绘画' , theme : 'primary' } ,
@@ -55,9 +55,9 @@ export function initMock() {
5555 code : 200 ,
5656 message : '请求成功' ,
5757 data : [
58- { image : '/static /home/swiper0.png' } ,
59- { image : '/static /home/card0.png' } ,
60- { image : '/static /home/card1.png' } ,
58+ { image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/swiper0.png' } ,
59+ { image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card0.png' } ,
60+ { image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /home/card1.png' } ,
6161 ] ,
6262 } ;
6363
@@ -97,10 +97,10 @@ export function initMock() {
9797 code : 200 ,
9898 data : {
9999 service : [
100- { name : '帮助中心' , image : '/static /icon_doc.png' , url : '' } ,
101- { name : '官方地图' , image : '/static /icon_map.png' , url : '' } ,
102- { name : 'QQ群' , image : '/static /icon_qq.png' , url : '' } ,
103- { name : 'TDesign' , image : '/static /icon_td.png' , url : '' } ,
100+ { name : '帮助中心' , image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /icon_doc.png' , url : '' } ,
101+ { name : '官方地图' , image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /icon_map.png' , url : '' } ,
102+ { name : 'QQ群' , image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /icon_qq.png' , url : '' } ,
103+ { name : 'TDesign' , image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /icon_td.png' , url : '' } ,
104104 ] ,
105105 } ,
106106 } ;
@@ -109,16 +109,16 @@ export function initMock() {
109109 code : 200 ,
110110 data : {
111111 name : 'TDesign' ,
112- image : '/static /avatar.jpeg' ,
112+ image : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /avatar.jpeg' ,
113113 star : 'Lv.5' ,
114114 city : '深圳' ,
115115 gender : 0 ,
116116 birth : '2020-01-01' ,
117117 address : [ '440000' , '440300' ] ,
118118 introduction : 'TDesign 是腾讯各业务团队在服务业务过程中沉淀的一套企业级设计体系。' ,
119119 photos : [
120- { url : '/static /image1.png' , name : 'image1.png' , type : 'image' } ,
121- { url : '/static /image2.png' , name : 'image2.png' , type : 'image' } ,
120+ { url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /image1.png' , name : 'image1.png' , type : 'image' } ,
121+ { url : 'https://cdn.uwayfly.com/tdesign-uniapp/starter /image2.png' , name : 'image2.png' , type : 'image' } ,
122122 ] ,
123123 } ,
124124 } ;
0 commit comments