File tree Expand file tree Collapse file tree 8 files changed +22
-23
lines changed Expand file tree Collapse file tree 8 files changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,14 @@ const list1 = ref([
6969 value: ' 李雷' ,
7070 disabled: false ,
7171 payload: {
72- avatar: ' https://unpkg. com/wot-design-uni-assets/redpanda.jpg'
72+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /redpanda.jpg'
7373 }
7474 },
7575 {
7676 value: ' 韩梅梅' ,
7777 disabled: false ,
7878 payload: {
79- avatar: ' https://unpkg. com/wot-design-uni-assets/capybara.jpg'
79+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /capybara.jpg'
8080 }
8181 }
8282])
Original file line number Diff line number Diff line change 1616const current = ref <number >(0 )
1717
1818const swiperList = ref ([
19- ' https://unpkg. com/wot-design-uni-assets/redpanda.jpg' ,
20- ' https://unpkg. com/wot-design-uni-assets/capybara.jpg' ,
21- ' https://unpkg. com/wot-design-uni-assets/panda.jpg' ,
22- ' https://unpkg. com/wot-design-uni-assets/moon.jpg' ,
23- ' https://unpkg. com/wot-design-uni-assets/meng.jpg'
19+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /redpanda.jpg' ,
20+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /capybara.jpg' ,
21+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /panda.jpg' ,
22+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /moon.jpg' ,
23+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /meng.jpg'
2424])
2525function handleClick(e ) {
2626 console .log (e )
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const tabbar = ref(1)
8686 <wd-tabbar-item :value =" 2" title =" 首页" icon =" home" ></wd-tabbar-item >
8787 <wd-tabbar-item :value =" 2" icon =" cart" title =" 分类" >
8888 <template #icon >
89- <wd-img round height =" 40rpx" width =" 40rpx" src =" https://unpkg. com/wot-design-uni-assets/panda.jpg" ></wd-img >
89+ <wd-img round height =" 40rpx" width =" 40rpx" src =" https://registry.npmmirror. com/wot-design-uni-assets/*/files /panda.jpg" ></wd-img >
9090 </template >
9191 </wd-tabbar-item >
9292 <wd-tabbar-item :value =" 3" title =" 我的" icon =" user" ></wd-tabbar-item >
Original file line number Diff line number Diff line change 11<!--
22 * @Author: weisheng
33 * @Date: 2023-08-01 11:12:05
4- * @LastEditTime: 2023-11-02 19:01:52
4+ * @LastEditTime: 2024-07-11 19:13:17
55 * @LastEditors: weisheng
66 * @Description:
77 * @FilePath: \wot-design-uni\src\components\demo-block\demo-block.vue
@@ -70,6 +70,7 @@ function setStyle() {
7070
7171.demo-block {
7272 position : relative ;
73+ color : #666 ;
7374
7475 & :not (:first-child ) {
7576 margin-top : 15px ;
@@ -78,8 +79,6 @@ function setStyle() {
7879 & :not (:last-child ) {
7980 margin-bottom : 15px ;
8081 }
81-
82- color : #666 ;
8382}
8483
8584.is-white {
Original file line number Diff line number Diff line change @@ -60,28 +60,28 @@ const list1 = ref([
6060 value: ' 李雷' ,
6161 disabled: false ,
6262 payload: {
63- avatar: ' https://unpkg. com/wot-design-uni-assets/redpanda.jpg'
63+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /redpanda.jpg'
6464 }
6565 },
6666 {
6767 value: ' 韩梅梅' ,
6868 disabled: false ,
6969 payload: {
70- avatar: ' https://unpkg. com/wot-design-uni-assets/capybara.jpg'
70+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /capybara.jpg'
7171 }
7272 },
7373 {
7474 value: ' 林涛' ,
7575 disabled: true ,
7676 payload: {
77- avatar: ' https://unpkg. com/wot-design-uni-assets/panda.jpg'
77+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /panda.jpg'
7878 }
7979 },
8080 {
8181 value: ' Tom' ,
8282 disabled: false ,
8383 payload: {
84- avatar: ' https://unpkg. com/wot-design-uni-assets/meng.jpg'
84+ avatar: ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /meng.jpg'
8585 }
8686 }
8787])
Original file line number Diff line number Diff line change 131131import { ref } from ' vue'
132132
133133const swiperList = ref ([
134- ' https://unpkg. com/wot-design-uni-assets/redpanda.jpg' ,
135- ' https://unpkg. com/wot-design-uni-assets/capybara.jpg' ,
136- ' https://unpkg. com/wot-design-uni-assets/panda.jpg' ,
137- ' https://unpkg. com/wot-design-uni-assets/moon.jpg' ,
138- ' https://unpkg. com/wot-design-uni-assets/meng.jpg'
134+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /redpanda.jpg' ,
135+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /capybara.jpg' ,
136+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /panda.jpg' ,
137+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /moon.jpg' ,
138+ ' https://registry.npmmirror. com/wot-design-uni-assets/*/files /meng.jpg'
139139])
140140
141141const current = ref <number >(0 )
Original file line number Diff line number Diff line change 4040 <wd-tabbar-item :value =" 2" title =" 首页" icon =" home" ></wd-tabbar-item >
4141 <wd-tabbar-item :value =" 2" icon =" cart" title =" 分类" >
4242 <template #icon >
43- <wd-img round height =" 40rpx" width =" 40rpx" src =" https://img.yzcdn.cn/vant/cat.jpeg " ></wd-img >
43+ <wd-img round height =" 40rpx" width =" 40rpx" src =" https://registry.npmmirror.com/wot-design-uni-assets/*/files/panda.jpg " ></wd-img >
4444 </template >
4545 </wd-tabbar-item >
4646 <wd-tabbar-item :value =" 3" title =" 我的" icon =" user" ></wd-tabbar-item >
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ import { ref } from 'vue'
7474const action: string = ' https://mockapi.eolink.com/zhTuw2P8c29bc981a741931bdd86eb04dc1e8fd64865cb5/upload'
7575const fileList = ref <UploadFile []>([
7676 {
77- url: ' https://img.yzcdn.cn/vant/cat.jpeg '
77+ url: ' https://registry.npmmirror.com/wot-design-uni-assets/*/files/panda.jpg '
7878 }
7979])
8080
@@ -207,7 +207,7 @@ function handleChange({ fileList }: any) {
207207function handleChange1({ fileList }: { fileList: UploadFile [] }) {
208208 // fileList.forEach((item) => {
209209 // if (!item.thumb) {
210- // item.thumb = 'https://unpkg. com/wot-design-uni-assets/redpanda.jpg'
210+ // item.thumb = 'https://registry.npmmirror. com/wot-design-uni-assets/*/files /redpanda.jpg'
211211 // }
212212 // })
213213 fileList1 .value = fileList
You can’t perform that action at this time.
0 commit comments